Fix sigwait namespace (bug 21550).
[glibc.git] / ChangeLog
bloba066151215de957629f7c7cafb5aaa18ffac527f
1 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21550]
4         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
6 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
8         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9         strcpy-sse2 and stpcpy-sse2.
10         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
11         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
12         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
13         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
14         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
15         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
16         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
17         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
18         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
22         (libc_hidden_def): Always defined as empty.
23         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
24         Always Defined as empty.
26 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
28         [BZ #15105]
29         [BZ #19463]
30         * include/string.h: Add internal redirect for __stpcpy.
31         * string/Makefile: Remove bits/string2.h.
32         * string/string.h: Update comment.
33         * string/string-inlines.c: Remove bits/string2.h include and comment.
34         * string/bits/string2.h: Remove file.
36 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
38         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
39         * sunrpc/clnt_gen.c (clnt_create): Likewise.
40         * sunrpc/des_impl.c (_des_crypt): Likewise.
41         * sunrpc/key_call.c (key_gendes): Likewise.
42         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
43         * sunrpc/svc_simple.c (universal): Likewise.
44         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
45         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
46         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
48 2017-06-10  Zack Weinberg  <zackw@panix.com>
50         * stdlib/errno.h: Correct an outdated comment.
52 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
54         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
55         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
56         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
57         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
58         New file.  Invoke newly supported sysconf values for powerpc,
59         and report results.  If none are supported, report so.
60         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
61         tst-sysconf.
63 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65         * include/sys/auxv.h (__getauxval): Add a prototype and its
66         libc_hidden_proto.
67         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
69 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
71         [BZ #21561]
72         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
73         [__USE_XOPEN_EXTENDED].
74         (id_t): Likewise.
75         (include of <bits/types/siginfo_t.h): Likewise.
76         (waitid): Likewise.
77         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
78         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
79         (WEXITED): Likewise.
80         (WCONTINUED): Likewise.
81         (WNOWAIT): Likewise.
82         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
83         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
84         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
86         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
87         libc.so PLT entry optional.
88         (__gtsf2): Likewise.
89         (__unorddf2): Likewise.
90         (__unordsf2): Likewise.
91         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
92         New optional libc.so PLT entry.
94         [BZ #21554]
95         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
96         not [__USE_XOPEN].
98         [BZ #21560]
99         * posix/sys/wait.h: Condition include of <signal.h> on
100         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
101         unconditionally.
102         [!__pid_t_defined] (pid_t): Define typedef.
104 2017-06-09  Zack Weinberg  <zackw@panix.com>
106         * include/errno.h (__errno_location): Use __attribute_const__
107         instead of bare __attribute__.
109 2017-06-09  Zack Weinberg  <zackw@panix.com>
111         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
112         (common-generated): Add libc-modules.h and libc-modules.stmp in a
113         more appropriate location. Also add dl-tunable-list.h and
114         dl-tunable-list.stmp.
116 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
120 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
123         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
125         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
126         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
127         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
128         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
129         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
130         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
131         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
132         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
134 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
137         memrchr-sse2 and memrchr-avx2.
138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
139         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
140         __memrchr_sse2.
141         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
142         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
143         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
145 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
148         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
149         wcschr-sse2 and wcschr-avx2.
150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
151         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
152         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
153         __wcschr_sse2.
154         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
155         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
156         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
157         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
158         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
159         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
160         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
161         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
162         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
163         * sysdeps/x86_64/multiarch/strchr.S: Removed.
165 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
168         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
169         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
171         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
172         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
173         __wcslen_sse2 and __wcsnlen_avx2.
174         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
175         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
176         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
177         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
178         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
179         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
180         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
181         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
182         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
183         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
184         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
185         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
186         vzeroupper is preferred and AVX unaligned load is fast.
188 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
190         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
191         USE_AS_WMEMCHR is defined.
192         (PCMPEQ): Likewise.
193         (memchr): Renamed to ...
194         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
195         Replace pcmpeqb with PCMPEQ.
196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
197         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
198         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
199         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
200         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
201         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
202         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
203         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
204         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
205         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
206         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
207         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
208         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
210         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
211         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
212         __wmemchr_sse2.
214 2017-06-09  Florian Weimer  <fweimer@redhat.com>
216         * malloc/Makefile (test-srcs): Remove tst-dynarray,
217         tst-dynarray-fail.
219 2017-06-09  Florian Weimer  <fweimer@redhat.com>
221         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
222         * support/support_test_verify_impl.c
223         (support_test_verify_exit_impl): Split from
224         support_test_verify_impl.
225         * support/check.h (TEST_VERIFY): Drop status argument from
226         support_test_verify_impl call.
227         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
228         (support_test_verify_impl): Remove status argument.
229         (support_test_verify_exit_impl): Declare.
231 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
233         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
234         mention of magic numbers in comments.
235         (_dl_procinfo): Fix undefined behavior
237 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
239         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
240         [XPG4].
241         (WEXITED): Likewise.
242         (WSTOPPED): Likewise.
243         (WCONTINUED): Likewise.
244         (WNOHANG): Likewise.
245         (WNOWAIT): Likewise.
246         (idtype_t): Likewise.
247         (P_ALL): Likewise.
248         (P_PID): Likewise.
249         (P_PGID): Likewise.
250         (id_t): Likewise.
251         (siginfo_t): Likewise.
252         (wait3): Likewise.
253         (waitid): Likewise.
254         (signal.h): Do not allow header for [XPG4].
255         (sys/resource.h): Likewise.
256         (si_*): Do not allow for [XPG4].
257         (W*): Likewise.
258         (P_*): Likewise.
259         (BUS_): Likewise.
260         (CLD_): Likewise.
261         (FPE_): Likewise.
262         (ILL_): Likewise.
263         (POLL_): Likewise.
264         (SEGV_): Likewise.
265         (SI_): Likewise.
266         (TRAP_): Likewise.
267         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
268         variable.
270 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
272         [BZ #21528]
273         * elf/dl-minimal.c (__strtoul_internal): Removed.
274         (strtoul): Likewise.
275         * elf/dl-misc.c (_dl_strtoul): New function.
276         * elf/dl-tunables.c (tunables_strtoul): Removed.
277         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
278         * elf/rtld.c (process_envvars): Likewise.
279         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
280         Likewise.
281         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
283 2017-06-08  Zack Weinberg  <zackw@panix.com>
285         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
286         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
287         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
288         * wctype/bits/wctype-wchar.h: New file holding declarations shared
289         between wctype.h and wchar.h.
291         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
292         Install them.
294         * include/bits/types/FILE.h, include/bits/types/__FILE.h
295         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
296         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
297         New wrappers.
298         * include/stdio.h, include/wchar.h, include/wctype.h:
299         No need to handle __need macros.
301         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
302         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
303         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
304         * wcsmbs/wchar.h, wctype/wctype.h
305         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
306         Use the new files instead of __need macros.
308 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
310         * string/test-memrchr.c (test_main): Add tests for len == 0
311         and tests for positions close to the beginning, which are
312         equivalent to positions close to the end for memchr.
314 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
317         comments.
318         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
319         instead of wmemset.h.
320         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
321         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
322         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
324 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
326         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
327         spec->info.is_binary128 to zero.
328         * stdio-common/printf.h (printf_info): Add new member is_binary128
329         to indicate that the number being converted to string is compatible
330         with the IEC 60559 binary128 format.
331         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
332         _Float128 numbers.
333         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
334         ldbl-128/printf_fphex_macros.h
335         (__printf_fphex): Add code to deal with _Float128 numbers.
336         * stdio-common/printf_size.c (__printf_size): Likewise.
337         * stdio-common/vfprintf.c (process_arg): Initialize member
338         info.is_binary128 to zero.
339         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
340         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
341         (strfromf128): New declaration.
342         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
343         to one.
344         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
345         * sysdeps/ieee754/float128/Versions: Likewise.
346         * sysdeps/ieee754/float128/strfromf128.c: New file.
348 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
350         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
351         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
352         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
353         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
354         (PRINT_FPHEX): New function-like macro that can be used for long
355         double, as well as for _Float128
357 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
359         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
360         (__printf_fp_l): Use the new macro to avoid duplicating code.
361         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
362         (__printf_fphex): Use the new macro to avoid duplicating code.
363         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
364         (__printf_size): Use the new macro to avoid duplicating code.
366 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
368         * include/gmp.h: Include bits/floatn.h
369         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
370         * stdlib/gmp-impl.h: Also check if alloca is not defined before
371         including stack-alloc.h.  It could have been defined by other header
372         which not necessarily defines HAVE_ALLOCA.
373         * sysdeps/ieee754/float128/Makefile: New file.
374         * sysdeps/ieee754/float128/float1282mpn.c: New file.
375         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
376         redefining __mpn_extract_long_double to __mpn_extract_float128, then
377         redefine __mpn_extract_long_double to __mpn_extract_float128.
378         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
379         _Float128 to allow float128_private.h overrides.
381 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
383         * stdlib/fpioconst.h: Include bits/floatn.h.
384         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
385         power of ten table should be.
386         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
387         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
388         to include larger tables when _Float128 support is enabled.
389         (_fpioconst_pow10): Likewise.
391 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
393         * include/bits/types/clock_t.h: Use #include <path> instead of
394         #include "../../path".
395         * include/bits/types/clockid_t.h: Likewise.
396         * include/bits/types/struct_iovec.h: Likewise.
397         * include/bits/types/struct_itimerspec.h: Likewise.
398         * include/bits/types/struct_osockaddr.h: Likewise.
399         * include/bits/types/struct_sigstack.h: Likewise.
400         * include/bits/types/struct_timespec.h: Likewise.
401         * include/bits/types/struct_timeval.h: Likewise.
402         * include/bits/types/struct_tm.h: Likewise.
403         * include/bits/types/time_t.h: Likewise.
404         * include/bits/types/timer_t.h: Likewise.
406         [BZ #14096]
407         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
408         America/New_York.
410 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
412         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
413         into ...
414         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
415         ifunc-sse4_1.h.
417 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
419         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
420         Remove check for NULL 'buf'.
421         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
423 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
425         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
426         include test-skeleton.c.
427         Include support/check.h and support/test-driver.c.
429 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
431         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
432         (_dl_aarch64_cap_flags): New array.
433         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
434         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
435         functions.
437         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
438         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
439         Likewise.
440         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
441         up hwcap and hwcap_mask.
443         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
444         (init_cpu_features): Use glibc.tune.hwcap_mask.
445         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
447         * elf/dl-hwcaps.h: New file.
448         * elf/dl-hwcaps.c: Include it.
449         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
450         glibc.tune.hwcap_mask.
451         * elf/dl-cache.c: Include dl-hwcaps.h.
452         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
453         glibc.tune.hwcap_mask.
454         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
455         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
456         _dl_hwcap_mask.
457         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
458         _dl_hwcap_mask.
459         (process_envvars)[HAVE_TUNABLES]: Likewise.
460         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
461         Likewise.
462         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
463         initialize dl_hwcap_mask when tunables are enabled.
465         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
466         guard.
467         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
469         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
470         * scripts/gen-tunables.awk: Include dl-procinfo.h.
471         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
473         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
474         * elf/dl-tunables.c: Likewise.
475         (do_tunable_update_val): New function.
476         (__tunable_set_val): New function.
477         (__tunable_get_val): Call CB only if the tunable was externally
478         initialized.
479         (tunables_strtoul): Replace strval with initialized.
480         * elf/dl-tunables.h (strval): Replace with a bool initialized.
481         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
482         prevent collision.
483         (__tunable_set_val): New function.
484         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
485         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
486         (TUNABLE_SET_VAL): Remove.
487         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
488         * README.tunables: Document the new macros.
489         * malloc/arena.c (ptmalloc_init): Adjust.
491 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
494         wcsnlen-sse4_1 and wcsnlen-c.
495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
496         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
497         __wcsnlen_sse2.
498         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
499         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
500         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
501         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
502         * sysdeps/x86_64/wcsnlen.S: Removed.
504 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
506         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
507         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
508         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
509         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
511 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
513         * NEWS: Mention new spinlock implementation.
514         * include/atomic.h:
515         (__atomic_val_bysize): Cast type to omit volatile qualifier.
516         (atomic_exchange_acq): Likewise.
517         (atomic_load_relaxed): Likewise.
518         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
519         * nptl/pthread_spin_init.c (pthread_spin_init):
520         Use atomic_store_relaxed.
521         * nptl/pthread_spin_lock.c (pthread_spin_lock):
522         Use C11-like atomic macros.
523         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
524         Likewise.
525         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
526         Use atomic_store_release.
527         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
528         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
529         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
530         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
531         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
532         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
533         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
534         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
535         * sysdeps/alpha/atomic-machine.h: Likewise.
536         * sysdeps/arm/atomic-machine.h: Likewise.
537         * sysdeps/i386/atomic-machine.h: Likewise.
538         * sysdeps/ia64/atomic-machine.h: Likewise.
539         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
540         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
541         * sysdeps/microblaze/atomic-machine.h: Likewise.
542         * sysdeps/mips/atomic-machine.h: Likewise.
543         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
544         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
545         * sysdeps/s390/atomic-machine.h: Likewise.
546         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
547         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
548         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
549         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
550         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
551         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
552         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
553         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
554         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
555         * sysdeps/x86_64/atomic-machine.h: Likewise.
557 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
559         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
560         and use it instead of dl_x86_cpu_features.
561         (handle_intel): Replace maxidx with cpu_features.  Pass
562         cpu_features to intel_check_word.
563         (__cache_sysconf): Pass cpu_features to handle_intel.
564         (init_cacheinfo): Likewise.  Use cpu_features instead of
565         dl_x86_cpu_features.
567 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
569         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
571         memcmp-avx2 and wmemcmp-avx2.
572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
573         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
574         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
575         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
576         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
577         2 machines if AVX unaligned load is fast and vzeroupper is
578         preferred.
579         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
580         2 machines if AVX unaligned load is fast and vzeroupper is
581         preferred.
583 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
585         * include/wchar.h (__wmemset_chk): New.
586         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
587         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
588         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
589         (WMEMSET_CHK_SYMBOL): Likewise.
590         (WMEMSET_SYMBOL): Likewise.
591         (__wmemset): Add hidden definition.
592         (wmemset): Add weak hidden definition.
593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
594         wmemset_chk-nonshared.
595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
596         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
597         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
598         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
599         and __wmemset_chk_avx512_unaligned.
600         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
601         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
602         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
603         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
604         (WMEMSET_SYMBOL): Likewise.
605         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
606         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
607         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
608         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
609         (WMEMSET_SYMBOL): Likewise.
610         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
611         (WMEMSET_CHK_SYMBOL): New.
612         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
613         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
614         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
615         (libc_hidden_builtin_def): Also define __GI_wmemset and
616         __GI___wmemset.
617         (weak_alias): New.
618         * sysdeps/x86_64/multiarch/wmemset.c: New file.
619         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
620         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
621         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
622         * sysdeps/x86_64/wmemset.c: Likewise.
623         * sysdeps/x86_64/wmemset_chk.c: Likewise.
625 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
626             H.J. Lu  <hongjiu.lu@intel.com>
628         * sysdeps/x86/init-arch.h (PASTER1): New.
629         (EVALUATOR1): Likewise.
630         (PASTER2): Likewise.
631         (EVALUATOR2): Likewise.
632         (REDIRECT_NAME): Likewise.
633         (OPTIMIZE): Likewise.
634         (IFUNC_SELECTOR): Likewise.
636 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
638         * sysdeps/x86_64/strlen.S (PMINU): New.
639         (PCMPEQ): Likewise.
640         (SHIFT_RETURN): Likewise.
641         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
642         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
643         pminub with PCMPEQ and PMINU.
644         * sysdeps/x86_64/wcsnlen.S: New file.
646 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
648         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
649         the lower 32 bits.  Remove redundant instructions.
651 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
654         0 as the high part of offset.
655         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
657 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
659         [BZ #21538]
660         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
661         [__USE_UNIX98].
662         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
663         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
664         Likewise.
665         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
666         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
667         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
668         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
669         Likewise.
671         [BZ #21517]
672         * bits/types/stack_t.h (stack_t): Remove struct tag.
673         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
674         Likewise.
675         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
676         Likewise.
677         * debug/segfault.c (install_handler): Use stack_t instead of
678         struct sigaltstack.
679         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
680         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
681         * include/signal.h (__sigaltstack): Likwise.
682         * signal/sigaltstack.c (__sigaltstack): Likewise.
683         * signal/signal.h (sigaltstack): Likewise.
684         * sysdeps/mach/hurd/i386/signal-defines.sym
685         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
686         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
687         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
688         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
689         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
690         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
691         elf_prstatus): Likewise.
692         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
693         Likewise.
694         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
695         Likewise.
696         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
697         Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
699         elf_prstatus): Likewise.
700         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
701         Likewise.
702         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
703         Likewise.
705 2017-06-04  Zack Weinberg  <zackw@panix.com>
707         * sysdeps/gnu/errlist.c: Regenerate.
709 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
711         * benchtests/bench-memchr.c (do_test): Print out both length
712         and position.
713         (test_main): Also test the position close to the beginning for
714         memrchr.
716 2017-06-04  Zack Weinberg  <zackw@panix.com>
718         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
719         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
720         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
721         * nis/nis_destroygroup.c, nis/nis_domain_of.c
722         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
723         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
724         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
725         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
726         * nis/nis_print_group_entry.c, nis/nis_remove.c
727         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
728         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
729         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
730         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
731         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
732         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
733         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
734         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
735         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
736         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
737         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
738         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
739         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
740         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
741         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
742         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
743         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
744         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
745         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
746         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
748         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
749         abi-versions.h as well as shlib-compat.h.
750         * sunrpc/get_myaddr.c: Remove obsolete comment.
751         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
752         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
753         * resolv/res_libc.c: Include shlib-compat.h only once.
755 2017-06-03  Florian Weimer  <fweimer@redhat.com>
757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
758         of strdup.
760 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
762         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
763         Set to the 3/4 of the total shared cache size.
765 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
767         * manual/errno.texi: Remove redundant error strings.
768         * manual/macros.texi (@errno): Render the error string in every
769         description.
771 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
773         [BZ #21543]
774         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
775         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
776         [__USE_XOPEN_EXTENDED].
778 2017-06-02  Florian Weimer  <fweimer@redhat.com>
780         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
781         strdupa.
782         (getcanonname): Use __strdup instead of strdup.
784 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
786         * misc/Makefile (CFLAGS-preadv2.c): New rule.
787         (CFLAGS-preadv64v2.c): Likewise.
788         (CFLAGS-pwritev2.c): Likewise.
789         (CFLAGS-pwritev64v2.c): Likewise.
791 2017-06-02  Florian Weimer  <fweimer@redhat.com>
793         Test res_init with several configuration files.
794         * resolv/Makefile [build-shared] (tests-internal): Add
795         tst-resolv-res_init, tst-resolv-res_init-thread.
796         (tst-resolv-res_init): Link against libdl, libresolv.
797         (tst-resolv-res_init-thread): Link against libdl, libresolv,
798         libpthread.
799         * resolv/tst-resolv-res_init.c: New file.
800         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
801         * resolv/tst-resolv-res_init-thread.c: Likewise.
802         * support/Makefile (libsupport-routines): Add support-xstat,
803         support_can_chroot, support_capture_subprocess_check,
804         support_isolate_in_subprocess, support_shared_allocate,
805         support_write_file_string, xchroot, xmkdir, xopen.
806         * support/capture_subprocess.h (enum support_capture_allow): Define.
807         (support_capture_subprocess_check): Declare.
808         * support/namespace.h (support_can_chroot)
809         (support_isolate_in_subprocess): Declare.
810         * support/support-xstat.c: New file.
811         * support/support.h (support_shared_allocate, support_shared_free)
812         (support_write_file_string): Declare.
813         * support/support_can_chroot.c: New file.
814         * support/support_capture_subprocess_check.c: Likewise.
815         * support/support_isolate_in_subprocess.c: Likewise.
816         * support/support_shared_allocate.c: Likewise.
817         * support/support_write_file_string.c: Likewise.
818         * support/xchroot.c: Likwise.
819         * support/xmkdir.c: Likwise.
820         * support/xopen.c: Likwise.
821         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
823 2017-06-02  Florian Weimer  <fweimer@redhat.com>
825         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
826         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
828 2017-06-02  Florian Weimer  <fweimer@redhat.com>
830         * malloc/Makefile (routines): Add dynarray_at_failure,
831         dynarray_emplace_enlarge, dynarray_finalize.
832         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
833         tst-dynarray-at-fail.
834         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
835         (tests-special): Add tst-dynarray-mem.out,
836         tst-dynarray-mem-fail.out.
837         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
838         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
839         mtrace.
840         * malloc/Versions (__libc_dynarray_at_failure)
841         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
842         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
843         GLIBC_PRIVATE.
844         * malloc/dynarray.h: New file.
845         * malloc/dynarray-skeleton.c: Likewise.
846         * malloc/dynarray_at_failure.c: Likewise.
847         * malloc/dynarray_emplace_enlarge.c: Likewise.
848         * malloc/dynarray_finalize.c: Likewise.
849         * malloc/dynarray_resize.c: Likewise.
850         * malloc/dynarray_resize_clear.c: Likewise.
851         * malloc/tst-dynarray.c: Likewise.
852         * malloc/tst-dynarray-fail.c: Likewise.
853         * malloc/tst-dynarray-at-fail.c: Likewise.
854         * malloc/tst-dynarray-shared.h: Likewise.
855         * support/Makefile (libsupport-routines): Add
856         support_capture_subprocess, xdup2, xpipe.
857         (tests): Add tst-support_capture_subprocess.
858         * support/capture_subprocess.h: New file.
859         * support/support_capture_subprocess.c: Likewise.
860         * support/tst-support_capture_subprocess.c: Likewise.
861         * support/xdup2.c: Likewise.
862         * support/xpipe.c: Likewise.
863         * support/xunistd.h (xdup2, xpipe): Declare.
865 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
867         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
868         macros MAX and MIN.
870 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
872         * conform/data/signal.h-data (sa_sigaction): Do not expect for
873         [XPG4].
874         (SA_SIGINFO): Likewise.
875         (SA_ONSTACK): Likewise.
876         (SA_RESETHAND): Likewise.
877         (SA_RESTART): Likewise.
878         (SA_NOCLDWAIT): Likewise.
879         (SA_NODEFER): Likewise.
880         (SS_ONSTACK): Likewise.
881         (SS_DISABLE): Likewise.
882         (MINSIGSTKSZ): Likewise.
883         (SIGSTKSZ): Likewise.
884         (ucontext_t): Likewise.
885         (stack_t): Likewise.
886         (struct sigstack): Likewise.
887         (SI_USER): Do not expect for [XPG4 || XPG42].
888         (SI_QUEUE): Likewise.
889         (SI_TIMER): Likewise.
890         (SI_ASYNCIO): Likewise.
891         (SI_MESGQ): Likewise.
892         (bsd_signal): Do not expect for [XPG4].
893         (killpg): Likewise.
894         (sigaltstack): Likewise.
895         (sighold): Likewise.
896         (sigignore): Likewise.
897         (siginterrupt): Likewise.
898         (sigpause): Likewise.
899         (sigrelse): Likewise.
900         (sigset): Likewise.
901         (sigwait): Do not expect for [XPG4 || XPG42].
903 2017-06-01  Zack Weinberg  <zackw@panix.com>
905         [BZ #21514]
906         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
907         pointing to the generated file in <builddir>/misc/bits/syscall.h.
909 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #21457]
912         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
913         NGREG to __NGREG if [__USE_MISC].
914         (gregset_t): Define using __NGREG.
915         (__ctx): New macro.
916         (mcontext_t): Use __ctx in defining fields.
917         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
918         define NGREG to __NGREG if [__USE_MISC].
919         (gregset_t): Define using __NGREG.
920         (__ctx): New macro.
921         (__ctxt): Likewise.
922         (fpregset_t): Use __ctx and __ctxt in defining fields.
923         (mcontext_t): Likewise.
924         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
925         define NGREG to __NGREG if [__USE_MISC].
926         (gregset_t): Define using __NGREG.
927         (__ctx): New macro.
928         (mcontext_t): Use __ctx in defining fields.
929         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
930         define NGREG to __NGREG if [__USE_MISC].
931         (gregset_t): Define using __NGREG.
932         (__ctx): New macro.
933         (fpregset_t): Use __ctx in defining fields.
934         (mcontext_t): Likewise.
935         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
936         __NGREG and define NGREG to __NGREG if [__USE_MISC].
937         (gregset_t): Define using __NGREG.
938         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
939         [__USE_MISC].
940         (fpregset_t): Define using __NFPREG.
941         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
942         __NGREG and define NGREG to __NGREG if [__USE_MISC].
943         (gregset_t): Define using __NGREG.
944         (__ctx): New macro.
945         (fpregset_t): Use __ctx in defining fields.
946         (mcontext_t): Likewise.
947         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
948         __NGREG and define NGREG to __NGREG if [__USE_MISC].
949         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
950         [__USE_MISC].
951         (gregset_t): Define using __NGREG.
952         (__ctx): New macro.
953         (fpregset_t): Use __ctx in defining fields.
954         (mcontext_t): Likewise.
955         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
956         (mcontext_t): Use __ctx in defining fields.
957         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
958         macro.
959         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
960         __NGREG if [__USE_MISC].
961         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
962         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
963         (mcontext_t): Likewise.
964         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
965         __NGREG if [__USE_MISC].
966         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
967         to __NFPREG if [__USE_MISC].
968         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
969         to __NVRREG if [__USE_MISC].
970         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
971         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
972         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
973         [__WORDSIZE != 32] (vrregset_t): Likewise.
974         [__WORDSIZE != 32] (mcontext_t): Likewise.
975         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
976         (__psw_t): Use __ctx in defining fields.
977         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
978         [__USE_MISC].
979         (gregset_t): Define using __NGREG.
980         (fpreg_t): Use __ctx in defining fields.
981         (fpregset_t): Likewise.
982         (mcontext_t): Likewise.
983         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
984         __NGREG and define NGREG to __NGREG if [__USE_MISC].
985         (gregset_t): Define using __NGREG.
986         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
987         [__USE_MISC].
988         (fpregset_t): Define using __NFPREG.
989         (__ctx): New macro.
990         (mcontext_t): Use __ctx in defining fields.
991         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
992         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
993         __NGREG if [__USE_MISC].
994         [__x86_64__] (gregset_t): Define using __NGREG.
995         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
996         [__x86_64__] (struct _libc_fpstate): Likewise.
997         [__x86_64__] (mcontext_t): Likewise.
998         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
999         __NGREG if [__USE_MISC].
1000         [!__x86_64__] (gregset_t): Define using __NGREG.
1001         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1002         [!__x86_64__] (struct _libc_fpstate): Likewise.
1003         [!__x86_64__] (mcontext_t): Likewise.
1005 2017-06-01  Zack Weinberg  <zackw@panix.com>
1007         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1008         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1009         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1010         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1011         libpthread.so no longer references __errno_location.
1013 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1015         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1016         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1017         pwritev64v2.
1018         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1019         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1020         pwritev64v2.
1021         * misc/preadv2.c: New file.
1022         * misc/preadv64v2.c: Likewise.
1023         * misc/pwritev2.c: Likewise.
1024         * misc/pwritev64v2.c: Likewise.
1025         * misc/tst-preadvwritev2.c: Likewise.
1026         * misc/tst-preadvwritev64v2.c: Likewise.
1027         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1028         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1029         prototype.
1030         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1031         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1032         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1033         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1034         (PWRITEV): Likewise.
1035         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1036         ENOSYS.
1037         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1038         (tf_preadv2): Likewise.
1039         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1040         * sysdeps/posix/preadv2.c: Likewise.
1041         * sysdeps/posix/preadv64v2.c: Likewise.
1042         * sysdeps/posix/pwritev2.c: Likewise.
1043         * sysdeps/posix/pwritev64v2.c: Likewise.
1044         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1045         support in kernel.
1046         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1047         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1048         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1049         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1050         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1051         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1052         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1053         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1054         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1055         support flags on Linux.
1056         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1057         preadv2, preadv64v2, pwritev2, pwritev64v2.
1058         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1059         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1060         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1061         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1062         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1063         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1076         Likewise.
1077         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1079         (GLIBC_2.26): Likewise.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1081         (GLIBC_2.26): Likewise.
1082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1083         Likewise.
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1085         (GLIBC_2.26): Likewise.
1086         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1089         Likewise.
1090         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1092         Likewise.
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1094         Likewise.
1095         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1096         Likewise.
1097         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1098         Likewise.
1099         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1102         Likewise.
1103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1104         Likewise.
1106 2017-05-31  Andreas Schwab  <schwab@suse.de>
1108         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1109         (main): Rename to do_test and make static.
1111 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1113         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1114         ARCH_INIT_CPU_FEATURES.
1115         (LIBC_START_MAIN): Call it.
1116         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1117         (__libc_start_main): Remove.
1118         (ARCH_INIT_CPU_FEATURES): New macro.
1119         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1120         (ARCH_INIT_CPU_FEATURES): New macro.
1122 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1123             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1125         * include/stdlib.h (__libc_reallocarray): New declaration.
1126         * malloc/Makefile (routines): Add reallocarray.
1127         (tests): Add tst-reallocarray.c.
1128         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1129         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1130         function.
1131         * malloc/malloc.h (reallocarray): New declaration.
1132         * stdlib/stdlib.h (reallocarray): Likewise.
1133         * malloc/reallocarray.c: New file.
1134         * malloc/tst-reallocarray.c: New test file.
1135         * manual/memory.texi: Document reallocarray.
1136         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1137         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1140         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1143         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1146         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1147         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1149         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1151         Likewise.
1152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1153         Likewise.
1154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1156         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1157         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1158         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1159         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1160         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1163         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1164         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1165         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1167 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1169         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1170         the lower 32 bits.
1172 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1174         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1175         $(build-pie-default) = yes]: Define.
1177 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1179         * string/test-memchr.c (test_main): Add tests for n == 0.
1181 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1183         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1184         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1185         (tests-internal): ... here.
1187 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1188              H.J. Lu  <hongjiu.lu@intel.com>
1190         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1191         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1192         (__tunable_set_val): Likewise.
1194 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1196         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1197         dl-tunables.list in subdirectories.
1199 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1200             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1201             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1203         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1204         (SNANF128): New macro.
1205         * math/e_sqrtf128.c: New file.
1206         * math/s_fmaxmag_template.c: Include math_private.h in order to
1207         make inline expansion of fabs128().
1208         * math/s_fminmag_template.c: Likewise.
1210         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1211         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1212         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1213         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1214         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1215         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1216         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1217         * sysdeps/ieee754/float128/e_expf128.c: New file.
1218         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1219         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1220         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1221         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1222         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1223         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1224         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1225         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1226         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1227         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1228         * sysdeps/ieee754/float128/e_logf128.c: New file.
1229         * sysdeps/ieee754/float128/e_powf128.c: New file.
1230         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1231         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1232         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1233         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1234         * sysdeps/ieee754/float128/float128_private.h: New file.
1235         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1236         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1237         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1238         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1239         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1240         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1241         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1242         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1243         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1244         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1245         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1246         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1247         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1248         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1249         * sysdeps/ieee754/float128/s_erff128.c: New file.
1250         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1251         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1252         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1253         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1254         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1255         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1256         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1257         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1258         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1259         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1260         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1261         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1262         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1263         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1264         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1265         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1266         * sysdeps/ieee754/float128/s_logbf128.c: New file.
1267         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1268         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1269         * sysdeps/ieee754/float128/s_modff128.c: New file.
1270         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1271         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1272         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1273         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1274         * sysdeps/ieee754/float128/s_remquof128.c: New file.
1275         * sysdeps/ieee754/float128/s_rintf128.c: New file.
1276         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1277         * sysdeps/ieee754/float128/s_roundf128.c: New file.
1278         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1279         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1280         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1281         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1282         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1283         * sysdeps/ieee754/float128/s_significandf128.c: New file.
1284         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1285         * sysdeps/ieee754/float128/s_sinf128.c: New file.
1286         * sysdeps/ieee754/float128/s_tanf128.c: New file.
1287         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1288         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1289         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1290         * sysdeps/ieee754/float128/s_truncf128.c: New file.
1291         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1292         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1293         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1294         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1296         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1297         (__iscanonicalf128): Define as a macro.
1299 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1301         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1302         (memmove): Use MEMMOVE for name.
1303         (memcpy): Use MEMCPY for name.  Change internal labels
1304         to external labels.
1305         * sysdeps/aarch64/multiarch/Makefile: New file.
1306         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1307         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1308         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1309         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1310         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1311         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1313 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1315         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1316         (_dl_arm_cap_flags): Fix array subscript.
1317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1318         Fix count.
1320 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1322         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1324 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1326         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1327         (is_amd): Likewise.
1328         (max_cpuid): Likewise.
1329         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1330         (init_cacheinfo): Likewise.
1332 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
1334         [BZ #21511]
1335         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1336         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1337         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1338         !__USE_XOPEN2K) || __USE_MISC].
1339         * conform/data/signal.h-data (struct sigstack): Expect type only
1340         if [!XOPEN2K8 && !POSIX2008].
1341         (sigstack): Expect function only if [XPG42 || UNIX98].
1343         [BZ #21457]
1344         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1345         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1346         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1347         <bits/types/__sigset_t.h>.
1348         (ucontext_t): Use sigset_t instead of __sigset_t.
1349         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1350         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1351         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1352         <bits/types/__sigset_t.h>.
1353         (ucontext_t): Use sigset_t instead of __sigset_t.
1354         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1355         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1356         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1357         <bits/types/__sigset_t.h>.
1358         (ucontext_t): Use sigset_t instead of __sigset_t.
1359         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1360         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1361         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1362         <bits/types/__sigset_t.h>.
1363         (ucontext_t): Use sigset_t instead of __sigset_t.
1364         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1365         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1366         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1367         <bits/types/__sigset_t.h>.
1368         (ucontext_t): Use sigset_t instead of __sigset_t.
1369         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1370         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1371         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1372         <bits/types/__sigset_t.h>.
1373         (ucontext_t): Use sigset_t instead of __sigset_t.
1374         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1375         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1376         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1377         <bits/types/__sigset_t.h>.
1378         (ucontext_t): Use sigset_t instead of __sigset_t.
1379         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1380         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1381         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1382         <bits/types/__sigset_t.h>.
1383         (ucontext_t): Use sigset_t instead of __sigset_t.
1384         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1385         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1386         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1387         <bits/types/__sigset_t.h>.
1388         (ucontext_t): Use sigset_t instead of __sigset_t.
1389         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1390         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1391         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1392         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1393         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1394         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1395         <bits/types/__sigset_t.h>.
1396         (ucontext_t): Use sigset_t instead of __sigset_t.
1397         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1398         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1399         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1400         <bits/types/__sigset_t.h>.
1401         (ucontext_t): Use sigset_t instead of __sigset_t.
1402         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1403         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1404         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1405         <bits/types/__sigset_t.h>.
1406         (ucontext_t): Use sigset_t instead of __sigset_t.
1407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1408         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1409         <bits/ss_flags.h>.
1410         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1411         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1412         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1413         <bits/types/__sigset_t.h>.
1414         (ucontext_t): Use sigset_t instead of __sigset_t.
1415         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1416         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1417         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1418         <bits/types/__sigset_t.h>.
1419         (ucontext_t): Use sigset_t instead of __sigset_t.
1420         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1421         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1422         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1423         <bits/types/__sigset_t.h>.
1424         (ucontext_t): Use sigset_t instead of __sigset_t.
1425         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1426         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1427         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1428         <bits/types/__sigset_t.h>.
1429         (ucontext_t): Use sigset_t instead of __sigset_t.
1430         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1431         <bits/types.h>.
1432         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1433         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1434         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1435         <bits/types/__sigset_t.h>.
1436         (ucontext_t): Use sigset_t instead of __sigset_t.
1438 2017-05-22  Zack Weinberg  <zackw@panix.com>
1440         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1441         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1442         bits/siginfo-arch.h, only if not already defined.
1443         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1444         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1445         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1446         Likewise.
1448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1449         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1450         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1451         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1452         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1453         Unconditionally define __SI_* macros.
1455 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1457         [BZ #21393]
1458         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1459         and add a check for dup3 failure.
1460         * libio/freopen64.c (freopen64): Likewise.
1461         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1462         libsupport.
1463         (do_test_bz21398): New test.
1464         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1466 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1469         Remove invalid comment.
1471 2017-05-21  Zack Weinberg  <zackw@panix.com>
1473         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1475 2017-05-20  Zack Weinberg  <zackw@panix.com>
1477         * bits/sigevent-consts.h
1478         * bits/siginfo-consts.h
1479         * bits/types/__sigset_t.h
1480         * bits/types/sigevent_t.h
1481         * bits/types/siginfo_t.h
1482         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1483         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1484         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1485         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1486         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1487         New system-dependent bits headers.
1489         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1490         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1491         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1492         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1493         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1495         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1496         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1497         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1498         New Linux-only system-dependent bits headers.
1500         * signal/bits/types/sig_atomic_t.h
1501         * signal/bits/types/sigset_t.h
1502         * signal/bits/types/sigval_t.h:
1503         New non-system-dependent bits headers.
1505         * sysdeps/generic/sigsetops.h
1506         * sysdeps/unix/sysv/linux/sigsetops.h:
1507         New internal headers.
1509         * include/bits/types/sig_atomic_t.h
1510         * include/bits/types/sigset_t.h
1511         * include/bits/types/sigval_t.h:
1512         New wrappers.
1514         * signal/sigsetops.h
1515         * bits/siginfo.h
1516         * bits/sigset.h
1517         * sysdeps/unix/sysv/linux/bits/siginfo.h
1518         * sysdeps/unix/sysv/linux/bits/sigset.h
1519         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1520         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1521         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1522         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1523         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1524         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1525         Deleted.
1527         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1528         Update lists of installed headers.
1530         * posix/bits/types.h: Define __sig_atomic_t here.
1531         * signal/signal.h: Use the new bits headers; no need to handle
1532         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1533         to define sigmask.
1534         * include/signal.h: No need to handle __need_sig_atomic_t
1535         nor __need_sigset_t.  Don't define __sigemptyset.
1537         * io/sys/poll.h, setjmp/setjmp.h
1538         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1539         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1540         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1541         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1542         * sysdeps/pthread/bits/sigthread.h
1543         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1544         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1545         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1546         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1548         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1549         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1550         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1551         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1552         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1553         Use bits/types/__sigset_t.h.
1555         * misc/sys/select.h, posix/spawn.h
1556         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1557         * sysdeps/unix/sysv/linux/sys/epoll.h
1558         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1559         Use bits/types/sigset_t.h.
1561         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1562         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1563         * socket/sys/socket.h: Don't include bits/sigset.h.
1565         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1566         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1567         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1568         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1569         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1570         * sysdeps/unix/sysv/linux/nptl-signals.h:
1571         Include sigsetops.h.
1573         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1574         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1575         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1576         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1577         now return no value.
1579         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1580         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1581         "sigsetops.h".
1583         * signal/sigsetops.c: Explicitly define __sigismember,
1584         __sigaddset, and __sigdelset as compatibility symbols.
1586         * signal/Versions: Correct commentary on __sigpause,
1587         __sigaddset, __sigdelset, __sigismember.
1589         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1590         __sigblock/__sigsetmask to use __sigprocmask and friends.
1592         * resolv/resolv.h: Remove __need_res_state logic.
1593         Move definition of res_state and related constants to ...
1594         * resolv/bits/types/res_state.h: ...this new file.
1595         * resolv/Makefile: Install bits/types/res_state.h.
1596         * include/bits/types/res_state.h: New wrapper.
1597         * include/list.h: Remove __need_list_t logic.
1598         Move definition of list_t to ...
1599         * include/list_t.h: ...this new file.
1601         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1602         instead of list.h and resolv.h.
1604         * resolv/resolv.h: Remove __need_res_state logic.
1605         Move definition of res_state and related constants to ...
1606         * resolv/bits/types/res_state.h: ...this new file.
1607         * resolv/Makefile: Install bits/types/res_state.h.
1608         * include/bits/types/res_state.h: New wrapper.
1609         * include/list.h: Remove __need_list_t logic.
1610         Move definition of list_t to ...
1611         * include/list_t.h: ...this new file.
1613         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1614         instead of list.h and resolv.h.
1616 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1618         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1620 2017-05-20  Zack Weinberg  <zackw@panix.com>
1622         * sysdeps/arm/sysdep.h
1623         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1625         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1626         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1627         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1628         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1629         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1630         * sysdeps/arm/armv6t2/strlen.S
1631         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1632         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1633         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1634         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1635         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1636         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1638 2017-05-20  Zack Weinberg  <zackw@panix.com>
1640         Remove the NaCl port.
1641         * sysdeps/arm/nacl: Remove directory and contents.
1642         * sysdeps/nacl: Remove directory and contents.
1643         * abi-tags: Remove .*-.*-nacl.* entry.
1645 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1647         * manual/errno.texi: Convert @comment-based errno documentation to
1648         @errno.
1649         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1650         their values, and messages, adding the error string to the Concept
1651         Index.  Provide a warning in the comment about external (to the
1652         manual) dependencies.
1653         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1654         * sysdeps/mach/hurd/errnos.awk: Likewise.
1656 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1658         * bits/ss_flags.h: New file.
1659         * bits/types/stack_t.h: Likewise.
1660         * include/bits/types/struct_sigstack.h: Likewise.
1661         * signal/bits/types/struct_sigstack.h: Likewise.
1662         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1663         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1664         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1665         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1666         bits/types/stack_t.h and bits/ss_flags.h.
1667         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1668         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1669         <bits/ss_flags.h>.
1670         * bits/sigstack.h (struct sigstack): Remove.
1671         (stack_t): Likewise.
1672         (SS_ONSTACK): Likewise.
1673         (SS_DISABLE): Likewise.
1674         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1675         (struct sigstack): Likewise.
1676         (stack_t): Likewise.
1677         (SS_ONSTACK): Likewise.
1678         (SS_DISABLE): Likewise.
1679         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1680         Likewise.
1681         (stack_t): Likewise.
1682         (SS_ONSTACK): Likewise.
1683         (SS_DISABLE): Likewise.
1684         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1685         Likewise.
1686         (stack_t): Likewise.
1687         (SS_ONSTACK): Likewise.
1688         (SS_DISABLE): Likewise.
1689         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1690         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1691         Likewise.
1692         (stack_t): Likewise.
1693         (SS_ONSTACK): Likewise.
1694         (SS_DISABLE): Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1696         (struct sigstack): Likewise.
1697         (stack_t): Likewise.
1698         (SS_ONSTACK): Likewise.
1699         (SS_DISABLE): Likewise.
1700         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1701         Likewise.
1702         (stack_t): Likewise.
1703         (SS_ONSTACK): Likewise.
1704         (SS_DISABLE): Likewise.
1705         * sysdeps/arm/sys/ucontext.h: Include
1706         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1707         <bits/ss_flags.h>.
1708         * sysdeps/generic/sys/ucontext.h: Likewise.
1709         * sysdeps/i386/sys/ucontext.h: Likewise.
1710         * sysdeps/m68k/sys/ucontext.h: Likewise.
1711         * sysdeps/mips/sys/ucontext.h: Likewise.
1712         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1713         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1714         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1715         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1716         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1717         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1718         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1719         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1720         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1722         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1723         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1724         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1725         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1726         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1728 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1730         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1731         "edx + ecx - 16" to avoid possible addition overflow.
1732         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1734 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1736         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1737         (CFLAGS-splice.c): Likewise.
1738         (CFLAGS-open_by_handle_at.c): Likewise.
1739         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1740         (CFLAGS-splice.c): Likewise.
1741         (CFLAGS-open_by_handle_at.c): Likewise.
1743 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1745         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1746         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1747         <ldbl-compat-choose.h>.
1748         (maybe_long_double_symbol): New macro.
1749         [!declare_mgen_alias] (declare_mgen_alias): Use
1750         maybe_long_double_symbol.
1751         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1752         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1753         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1754         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1755         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1756         * Makerules [$(build-shared) = yes && !avoid-generated]
1757         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1758         [$(build-shared) = yes && !avoid-generated]
1759         ($(common-objpfx)ldbl-compat-choose.h): New target.
1761         * scripts/versions.awk: Generate first-versions.h.
1762         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1763         <first-versions.h>.
1764         (LDOUBLE_cabsl_libm_version): Remove macro.
1765         (LDOUBLE_cargl_libm_version): Likewise.
1766         (LDOUBLE_cimagl_libm_version): Likewise.
1767         (LDOUBLE_conjl_libm_version): Likewise.
1768         (LDOUBLE_creall_libm_version): Likewise.
1769         (LDOUBLE_cacosl_libm_version): Likewise.
1770         (LDOUBLE_cacoshl_libm_version): Likewise.
1771         (LDOUBLE_ccosl_libm_version): Likewise.
1772         (LDOUBLE_ccoshl_libm_version): Likewise.
1773         (LDOUBLE_casinl_libm_version): Likewise.
1774         (LDOUBLE_csinl_libm_version): Likewise.
1775         (LDOUBLE_casinhl_libm_version): Likewise.
1776         (LDOUBLE_csinhl_libm_version): Likewise.
1777         (LDOUBLE_catanl_libm_version): Likewise.
1778         (LDOUBLE_catanhl_libm_version): Likewise.
1779         (LDOUBLE_ctanl_libm_version): Likewise.
1780         (LDOUBLE_ctanhl_libm_version): Likewise.
1781         (LDOUBLE_cexpl_libm_version): Likewise.
1782         (LDOUBLE_clogl_libm_version): Likewise.
1783         (LDOUBLE_cprojl_libm_version): Likewise.
1784         (LDOUBLE_csqrtl_libm_version): Likewise.
1785         (LDOUBLE_cpowl_libm_version): Likewise.
1786         (LDOUBLE_clog10l_libm_version): Likewise.
1787         (LDOUBLE___clog10l_libm_version): Likewise.
1788         (LDOUBLE_fdiml_libm_version): Likewise.
1789         (LDOUBLE_fmaxl_libm_version): Likewise.
1790         (LDOUBLE_fminl_libm_version): Likewise.
1791         (LDOUBLE_ilogbl_libm_version): Likewise.
1792         (LDOUBLE_nanl_libm_version): Likewise.
1793         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1794         FIRST_VERSION_libm_* macros.
1795         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1796         * Makerules [$(build-shared) = yes && !avoid-generated]
1797         (before-compile): Add $(common-objpfx)first-versions.h.
1798         [$(build-shared) = yes && !avoid-generated]
1799         ($(common-objpfx)first-versions.h): New target.
1800         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1801         building $(common-objpfx)versions.stmp.
1803 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1805         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1806         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1807         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1808         auto-generation list.
1810         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1811         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1812         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1813         from auto-generation list.
1815         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1816         open_by_handle_at.
1817         (CFLAGS-open_by_handle_at.c): New flag.
1818         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1819         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1820         file.
1821         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1823         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1824         (CFLAGS-splice.c): New flag.
1825         * sysdeps/unix/sysv/linux/splice.c: New file.
1826         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1827         auto-generation syscall list.
1828         * misc/Makefile (CFLAGS-splice.c): New rule.
1830         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1831         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1832         auto-generation syscall list.
1833         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1834         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1836         * misc/Makefile (CFLAGS-fsync.c): New flag.
1837         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1838         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1839         syscall list.
1840         * sysdeps/unix/sysv/linux/fsync.c: New file.
1841         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1842         (__errno_location): Remove.
1844         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1845         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1846         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1847         list.
1848         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1850         * misc/Makefile (CFLAGS-msync.c): New rule.
1851         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1852         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1853         * sysdeps/unix/sysv/linux/msync.c: New file.
1855         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1856         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1857         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1858         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1859         (CFLAGS-sigsuspend.c): Remove rule.
1861         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1862         (CFLAGS-tee.c): New rule.
1863         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1864         auto-generated list.
1865         * sysdeps/unix/sysv/linux/tee.c: New file.
1867         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1868         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1869         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1870         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1871         auto-generated list.
1873         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1874         auto-generated list.
1875         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1876         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1877         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1878         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1879         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1881         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1882         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1883         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1884         (__NR_pause): Undefine.
1885         * sysdeps/unix/sysv/linux/pause.c: New file.
1886         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1887         auto-generation list.
1888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1889         Remove rule.
1890         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1892 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1894         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1895         comments.
1897 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1899         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1900         LD_HWCAP_MASK.
1902 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1904         * manual/conf.texi: Convert @tables of annotated @items to
1905         @vtables.
1906         * manual/lang.texi: Likewise.
1907         * manual/pattern.texi: Likewise.
1908         * manual/resource.texi: Likewise.
1909         * manual/socket.texi: Likewise.
1911 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1913         * manual/crypt.texi: Move a comment out of an @*x list.
1914         * manual/filesys.texi: Refactor some comments, one of which looks
1915         like a standard.  Fix incorrectly separated standards.
1916         * manual/locale.texi: Invert an annotation.
1917         * manual/resource.texi: Fix incorrectly separated standards.
1918         * manual/time.texi: Refactor a @vtable that obscures an
1919         annotation.
1920         * manual/users.texi: Refactor multiple headers to occupy a single
1921         @comment.
1923 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1925         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1926         (sysdep_routines): Add memcmp-power8.
1927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1928         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1929         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1930         (memcmp): Add __memcmp_power8 to ifunc list.
1931         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1932         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1934 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1935             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1937         * math/math.h (__MATH_TG): Extend the conditions to add
1938         _Float128 support.
1939         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1941 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1944         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1945         s_cosf-ppc64.
1946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1949         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1951 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1953         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1954         (gen-libm-calls): Add e_exp2F to use the template.
1955         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1956         * math/e_exp2_template.c: New file, renamed from
1957         math/e_exp2l.c, and made into a template.
1958         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1960 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1962         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1963         TUNABLE_TYPE_UINT_64.
1964         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1965         Simplify computation of overflow.
1966         (tunable_set_val_if_valid_range_signed,
1967         tunable_set_val_if_valid_range_unsigned): Remove and replace
1968         with this...
1969         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1970         (tunable_initialize): Adjust.  Add uint64_t support.
1971         (__tunable_set_val): Add uint64_t support.
1972         * README.tunables: Document it.
1974         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1975         dl-tunables.list.
1976         * README.tunables: Document it.
1978 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1980         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1981         * sysdeps/posix/preadv64.c: Likewise.
1982         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1983         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1984         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1985         * sysdeps/posix/pwritev64.c: Likewise.
1986         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1987         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1988         * sysdeps/posix/preadv_common.c: New file.
1989         * sysdeps/posix/pwritev_common.c: Likewise.
1991 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1993         * sysdeps/generic/math-type-macros-float128.h
1994         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1995         wrapper templates.
1997 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1998             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2000         * include/complex.h (__kernel_casinhf128): New declaration.
2001         * include/float.h: New file.
2002         * include/math.h (__finitef128): Add a hidden def.
2003         (__isinff128): Likewise.
2004         (__isnanf128): Likewise.
2005         (__fpclassify): Likewise.
2006         (__issignalling): Likewise.
2007         (__expf128): Likewise.
2008         (__expm1f128): Likewise.
2010         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2011         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2012         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2014         * sysdeps/generic/math-type-macros-float128.h: New file.
2016         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2017         math_private_calls.h for _Float128.
2018         (__isinff128): New inline implementation used when GCC < 7.0,
2019         since in this case __builtin_isinf_sign is broken.
2020         (fabsf128): New inline implementation that calls the builtin.
2021         (__EXPR_FLT128): New macro.
2022         (min_of_type): Optionally include _Float128 types too.
2024         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2025         Declare for _Float128.
2026         (__kernel_rem_pio2): Likewise.
2028         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2029         (__DECL_SIMD_sincos_disablef128): New macro.
2031 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2033         * math/math.h: Include bits/math-finite.h for float128.
2034         (__MATH_DECLARING_FLOATN): Define to control declaration of
2035         float128 functions.
2036         * math/bits/math-finite.h (pow10): Do not declare for float128.
2037         (gamma): Likewise.
2038         (scalb): Likewise.
2040 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2041             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2043         * bits/floatn.h: New file.
2044         * bits/huge_val_flt128.h: Likewise.
2046         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2047         (__DECL_SIMD_sinf128): Likewise.
2048         (__DECL_SIMD_sincosf128): Likewise.
2049         (__DECL_SIMD_logf128): Likewise.
2050         (__DECL_SIMD_expf128): Likewise.
2051         (__DECL_SIMD_powf128): Likewise.
2053         * math/Makefile (headers): Install bits/floatn.h and
2054         bits/huge_val_flt128.h.
2056         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2057         defined.
2059         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2060         (isnan, gamma, nexttoward, scalb): Only define if not
2061         __MATH_DECLARING_FLOATN.
2062         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2063         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2064         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2065         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2067         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2068         Include bits/cmathcalls.h to get the declarations of _Float128
2069         versions of complex functions.
2070         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2071         Define macro.
2073         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2074         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2075         get the declarations of _Float128 versions of math functions.
2076         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2077         _FloatN types.
2078         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2079         is type-generic, so use it without __MATH_TG.
2080         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2081         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2082         _Float128 type and GCC < 7.0, otherwise use the builtin.
2083         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2084         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2085         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2086         New _GNU_SOURCE enabled macros.
2088 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2090         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2091         (signbitf): Likewise.
2092         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2093         Likewise.
2094         (signbitl): Likewise.
2095         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2096         Likewise.
2097         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2098         (signbitl): Likewise.
2099         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2101 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2103         [BZ #21386]
2104         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2105         parent PID.  The assertion in the child is incorrect with PID
2106         namespaces.
2108 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2110         * sysdeps/unix/sysv/linux/kernel-features.h
2111         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2112         * sysdeps/unix/sysv/linux/internal_statvfs.c
2113         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2115 2017-05-11  Zack Weinberg  <zackw@panix.com>
2117         * Makerules: New subdir configuration variables 'tests-internal'
2118         and 'test-internal-extras'.  Test files in these categories will
2119         still be compiled with MODULE_NAME=nonlib.  Test files in the
2120         existing categories (tests, xtests, test-srcs, test-extras) are
2121         now compiled with MODULE_NAME=testsuite.
2122         New subdir configuration variable 'modules-names-tests'.  Files
2123         which are in both 'modules-names' and 'modules-names-tests' will
2124         be compiled with MODULE_NAME=testsuite instead of
2125         MODULE_NAME=extramodules.
2126         (gen-as-const-headers): Move to tests-internal.
2127         (do-tests-clean, common-mostlyclean): Support tests-internal.
2128         * Makeconfig (built-modules): Add testsuite.
2129         * Makefile: Change libof-check-installed-headers-c and
2130         libof-check-installed-headers-cxx to 'testsuite'.
2131         * Rules: Likewise.  Support tests-internal.
2132         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2133         Remove extra-modules.mk.
2135         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2136         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2137         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2138         very top of the file and rationalize their order.
2139         If MODULE_NAME is not defined at all, define IS_IN to always be
2140         false, and don't define _ISOMAC.
2141         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2142         true, define _ISOMAC and suppress everything else in this file,
2143         starting with the inclusion of config.h.
2144         Do check for inappropriate definitions of __OPTIMIZE__ and
2145         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2146         Correct some out-of-date commentary.
2148         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2149         and _Mlong_double_ before including math.h.
2150         * include/string.h: If _ISOMAC is defined, don't expose
2151         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2152         location.
2154         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2155         * include/time.h, include/unistd.h, include/wchar.h: No need to
2156         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2158         * misc/sys/cdefs.h (__NTHNL): New macro.
2159         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2160         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2162         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2163         defined, for HAVE_TUNABLES.
2164         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2165         * intl/tst-gettext2.c: Provide own definition of N_.
2166         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2167         * math/test-signgam-main.c: No need to define _ISOMAC.
2168         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2169         * stdlib/tst-strtod1i.c: ...this new file.
2170         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2171         Split tests of __strtod_internal to...
2172         * stdlib/tst-strtod5i.c: ...this new file.
2173         * string/test-string.h: Include stdint.h. Duplicate definition of
2174         inhibit_loop_to_libcall here (from libc-symbols.h).
2175         * string/test-strstr.c: Provide dummy definition of
2176         libc_hidden_builtin_def when including strstr.c.
2177         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2178         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2179         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2180         Don't include init-arch.h.
2181         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2182         Don't include init-arch.h.
2184         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2185         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2186         unload, unload2, circleload1, neededtest, neededtest2,
2187         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2188         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2189         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2190         ifunc tests to tests-internal.
2191         Don't add $(modules-names) to test-extras.
2192         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2193         Add tst-deadline to tests-static-internal.
2194         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2195         tests-internal.
2196         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2197         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2198         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2199         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2200         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2201         Link tests-internal with libpthread also.
2202         Don't add $(modules-names) to test-extras.
2203         * nss/Makefile: Move tst-field to tests-internal.
2204         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2205         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2206         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2207         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2208         tests-internal.
2209         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2210         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2211         test-get_hwcap-static to tests-internal.
2212         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2213         tests-internal.
2214         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2215         modules-names-tests.
2217 2017-05-11  Zack Weinberg  <zackw@panix.com>
2219         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2220         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2221         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2222         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2223         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2224         already defined.
2225         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2226         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2227         appropriately.
2228         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2229         Define _IO_lock_t_defined after defining _IO_lock_t.
2231 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2233         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2234         void* for argument type and use VDSO_SYMBOL macro.
2235         (is_sigtramp_address_rt): Likewise.
2236         (__backtrace): Setup expected frame pointer address for signal
2237         handling.
2238         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2239         void* for argumetn type and use VSDO_SYMBOL macro.
2240         (__backtrace): Setup expected frame pointer address for signal
2241         handling.
2243         * sysdeps/unix/sysv/linux/writev.c: New file.
2245         * sysdeps/unix/sysv/linux/readv.c: New file.
2247         * include/unistd.h (write): Add hidden proto.
2248         * io/Makefile (CFLAGS-write.c): New define.
2249         * nptl/Makefile (CFLAGS-write.c): Likewise.
2250         * sysdeps/unix/sysv/linux/write.c: New file.
2252         [BZ #21428]
2253         * include/unistd.h (read): Add hidden proto.
2254         * io/Makefile (CFLAGS-read.c): New define.
2255         * nptl/Makefile (CFLAGS-read.c): Likewise.
2256         * sysdeps/unix/sysv/linux/read.c: New file.
2258         * io/Makefile (CFLAGS-creat.c): New rule.
2259         (CFLAGS-creat64.c): Likewise.
2260         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2261         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2262         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2263         * sysdeps/unix/sysv/linux/creat.c: New file.
2264         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2265         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2266         auto-generated list.
2267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2269         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2270         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2271         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2272         * sysdeps/unix/sysv/linux/open.c: New file.
2273         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2274         iff __WORDSIZE != 64 and use __NR_openat when available.
2275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2276         from auto-generated list.
2278         * nptl/Makefile (CFLAGS-close.c): New flag.
2279         * sysdeps/unix/sysv/linux/close.c: New file.
2281 2017-05-11  DJ Delorie  <dj@redhat.com>
2283         * MAINTAINERS: New.  Points to wiki.
2285 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2287         * scripts/gen-tunables.awk: Add attribute_relro to
2288         tunable_list.
2290 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #21457]
2293         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2294         (R1): Likewise.
2295         (R2): Likewise.
2296         (R3): Likewise.
2297         (R4): Likewise.
2298         (R5): Likewise.
2299         (R6): Likewise.
2300         (R7): Likewise.
2301         (R8): Likewise.
2302         (R9): Likewise.
2303         (R10): Likewise.
2304         (R11): Likewise.
2305         (R12): Likewise.
2306         (R13): Likewise.
2307         (R14): Likewise.
2308         (R15): Likewise.
2309         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2310         (REG_FS): Likewise.
2311         (REG_ES): Likewise.
2312         (REG_DS): Likewise.
2313         (REG_EDI): Likewise.
2314         (REG_ESI): Likewise.
2315         (REG_EBP): Likewise.
2316         (REG_ESP): Likewise.
2317         (REG_EBX): Likewise.
2318         (REG_EDX): Likewise.
2319         (REG_ECX): Likewise.
2320         (REG_EAX): Likewise.
2321         (REG_TRAPNO): Likewise.
2322         (REG_ERR): Likewise.
2323         (REG_EIP): Likewise.
2324         (REG_CS): Likewise.
2325         (REG_EFL): Likewise.
2326         (REG_UESP): Likewise.
2327         (REG_SS): Likewise.
2328         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2329         (R_D1): Likewise.
2330         (R_D2): Likewise.
2331         (R_D3): Likewise.
2332         (R_D4): Likewise.
2333         (R_D5): Likewise.
2334         (R_D6): Likewise.
2335         (R_D7): Likewise.
2336         (R_A0): Likewise.
2337         (R_A1): Likewise.
2338         (R_A2): Likewise.
2339         (R_A3): Likewise.
2340         (R_A4): Likewise.
2341         (R_A5): Likewise.
2342         (R_A6): Likewise.
2343         (R_A7): Likewise.
2344         (R_SP): Likewise.
2345         (R_PC): Likewise.
2346         (R_PS): Likewise.
2347         (fpregset_t): Likewise.
2348         (MCONTEXT_VERSION): Likewise.
2349         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2350         (CTX_AT): Likewise.
2351         (CTX_V0): Likewise.
2352         (CTX_V1): Likewise.
2353         (CTX_A0): Likewise.
2354         (CTX_A1): Likewise.
2355         (CTX_A2): Likewise.
2356         (CTX_A3): Likewise.
2357         (CTX_T0): Likewise.
2358         (CTX_T1): Likewise.
2359         (CTX_T2): Likewise.
2360         (CTX_T3): Likewise.
2361         (CTX_T4): Likewise.
2362         (CTX_T5): Likewise.
2363         (CTX_T6): Likewise.
2364         (CTX_T7): Likewise.
2365         (CTX_S0): Likewise.
2366         (CTX_S1): Likewise.
2367         (CTX_S2): Likewise.
2368         (CTX_S3): Likewise.
2369         (CTX_S4): Likewise.
2370         (CTX_S5): Likewise.
2371         (CTX_S6): Likewise.
2372         (CTX_S7): Likewise.
2373         (CTX_T8): Likewise.
2374         (CTX_T9): Likewise.
2375         (CTX_K0): Likewise.
2376         (CTX_K1): Likewise.
2377         (CTX_GP): Likewise.
2378         (CTX_SP): Likewise.
2379         (CTX_S8): Likewise.
2380         (CTX_RA): Likewise.
2381         (CTX_MDLO): Likewise.
2382         (CTX_MDHI): Likewise.
2383         (CTX_CAUSE): Likewise.
2384         (CTX_EPC): Likewise.
2385         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2386         inclusion of <sys/procfs.h> on [__USE_MISC].
2387         (greg_t): Condition on [__USE_MISC].
2388         (gregset_t): Likewise.
2389         (fpregset_t): Likewise.
2390         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2391         (NGREG): Likewise.
2392         (gregset_t): Likewise.
2393         (REG_R0): Likewise.
2394         (REG_R1): Likewise.
2395         (REG_R2): Likewise.
2396         (REG_R3): Likewise.
2397         (REG_R4): Likewise.
2398         (REG_R5): Likewise.
2399         (REG_R6): Likewise.
2400         (REG_R7): Likewise.
2401         (REG_R8): Likewise.
2402         (REG_R9): Likewise.
2403         (REG_R10): Likewise.
2404         (REG_R11): Likewise.
2405         (REG_R12): Likewise.
2406         (REG_R13): Likewise.
2407         (REG_R14): Likewise.
2408         (REG_R15): Likewise.
2409         (struct _libc_fpstate): Likewise.
2410         (fpregset_t): Likewise.
2411         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2412         (NFPREG): Likewise.
2413         (gregset_t): Likewise.
2414         (fpregset_t): Likewise.
2415         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2416         (R_D1): Likewise.
2417         (R_D2): Likewise.
2418         (R_D3): Likewise.
2419         (R_D4): Likewise.
2420         (R_D5): Likewise.
2421         (R_D6): Likewise.
2422         (R_D7): Likewise.
2423         (R_A0): Likewise.
2424         (R_A1): Likewise.
2425         (R_A2): Likewise.
2426         (R_A3): Likewise.
2427         (R_A4): Likewise.
2428         (R_A5): Likewise.
2429         (R_A6): Likewise.
2430         (R_A7): Likewise.
2431         (R_SP): Likewise.
2432         (R_PC): Likewise.
2433         (R_PS): Likewise.
2434         (fpregset_t): Likewise.
2435         (MCONTEXT_VERSION): Likewise.
2436         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2437         Likewise.
2438         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2439         (REG_R1): Likewise.
2440         (REG_R2): Likewise.
2441         (REG_R3): Likewise.
2442         (REG_R4): Likewise.
2443         (REG_R5): Likewise.
2444         (REG_R6): Likewise.
2445         (REG_R7): Likewise.
2446         (REG_R8): Likewise.
2447         (REG_R9): Likewise.
2448         (REG_R10): Likewise.
2449         (REG_R11): Likewise.
2450         (REG_R12): Likewise.
2451         (REG_R13): Likewise.
2452         (REG_R14): Likewise.
2453         (REG_R15): Likewise.
2454         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2455         of <arch/abi.h> on [__USE_MISC].
2456         (greg_t): Condition on [__USE_MISC].
2457         (NGREG): Likewise.
2458         (gregset_t): Likewise.
2460 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2462         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2463         (__pthread_rwlock_arch_t): Remove __data definition.
2464         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2465         (__pthread_rwlock_arch_t): Likewise.
2467 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2469         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2470         internal_function on static functions.
2472 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2474         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2475         from format_ai_flags.
2476         (format_ai_flags): New function.  Incorporate flag formatting code
2477         from format_ai_one.
2478         (format_ai_canonname): New function.
2479         (format_ai_one): Remove flags parameter.
2480         (format_ai_family): Likewise.
2481         (support_format_addrinfo): Call format_ai_flags,
2482         format_ai_canonname.
2483         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2484         check_ai.
2485         (check_ai): Call check_ai_hints.
2486         (do_test): Add AI_CANONNAME tests.
2488 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2490         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2491         (gaih_inet): Likewise.
2493 2017-05-10  Andreas Schwab  <schwab@suse.de>
2495         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2496         (main): Rename to do_test and make static.
2498 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2500         * string/rawmemchr.c: Include <libc-diag.h>.
2501         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2502         with size (size_t)-1.
2504 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2506         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2507         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2508         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2510         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2511         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2512         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2513         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2514         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2515         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2516         * sysdeps/unix/sysv/linux/kernel-features.h
2517         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2518         socket syscalls.
2519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2521         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2522         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2523         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2525         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2526         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2527         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2528         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2529         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2530         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2531         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2532         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2533         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2535 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2537         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2538         thread-shared-types.h.
2539         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2540         specific thread definition.
2541         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2542         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2543         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2544         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2545         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2546         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2547         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2548         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2549         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2550         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2551         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2552         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2553         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2554         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2555         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2556         thread definition between POSIX and C11.
2557         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2558         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2559         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2560         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2561         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2562         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2563         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2564         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2565         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2566         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2567         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2568         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2569         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2570         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2571         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2572         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2573         definitions shared across all architectures.
2575 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2577         * sysdeps/unix/sysv/linux/kernel-features.h
2578         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2579         (__ASSUME_SENDMMSG): Likewise.
2580         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2581         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2582         sendmmsg syscall if that can be assumed to be present, socketcall
2583         otherwise, with no fallback for runtime failure.
2585         * sysdeps/unix/sysv/linux/kernel-features.h
2586         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2587         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2588         (__ASSUME_RECVMMSG): Likewise.
2589         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2590         recvmmsg syscall if it can be assumed to be present, socketcall
2591         otherwise, with no fallback for runtime failure.
2593 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2594             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2596         * bits/libc-header-start.h:
2597         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2598         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2599         * manual/creature.texi: Likewise.
2601 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2602             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2604         * math/Makefile:
2605         (type-float128-suffix): New variable
2606         (type-float128-routines): Likewise
2607         (type-float128-yes): Likewise
2608         (types): Append float128 if supported
2609         (types-basic): New variable to control the use of templates for
2610         float, double, and long double, but not for float128 or newer types.
2611         (type-basic-foreach): Likewise.
2613         * sysdeps/ieee754/float128/Makeconfig: New file.
2614         * sysdeps/ieee754/float128/Versions: New file.
2616 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2619         Remove macro.
2620         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2621         prlimit64 is always available and does not give an ENOSYS error.
2622         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2623         unconditional.
2624         [!__NR_prlimit64]: Remove conditional code.
2625         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2626         prlimit64 is always available and does not give an ENOSYS error.
2627         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2629 2017-05-09  Zack Weinberg  <zackw@panix.com>
2631         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2633 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2635         [BZ #21474]
2636         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2637         (__res_maybe_init): Likewise.
2639 2017-05-09  Zack Weinberg  <zackw@panix.com>
2641         * extra-modules.mk: Delete file.
2642         * cppflags-iterator.mk: Rename to ...
2643         * libof-iterator.mk: ...this.  Adjust comments.
2645         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2646         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2647         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2648         Use libof-iterator.mk instead of cppflags-iterator.mk or
2649         extra-modules.mk.
2651         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2652         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2654 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2656         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2658 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2660         * stdio-common/vfprintf.c (EXTSIZ): Define.
2661         (vfprintf): Use EXTSIZ.
2662         (printf_positional): Likewise.
2664 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2666         * sysdeps/unix/sysv/linux/kernel-features.h
2667         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2668         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2669         <kernel-features.h>.
2670         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2672         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2673         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2675 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2677         Prevent multiple deletion of temporary files.
2678         * support/temp_file.c (struct temp_name_list): Add owner member.
2679         (add_temp_file): Record owner.
2680         (support_delete_temp_files): Delete file only if owner matches.
2681         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2682         (do_prepare): Use create_temp_file instead of add_temp_file.
2683         Initialize temp_fd1, temp_fd2.
2684         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2685         framework remove the temporary files.
2686         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2687         (do_prepare): Use create_temp_file instead of add_temp_file.
2688         Initialize temp_fd1, temp_fd2, temp_fd3.
2689         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2690         the test framework remove the temporary files.
2691         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2692         deletion.
2693         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2694         temporary directory.  It is removed by the test framework.
2695         * dirent/tst-scandir.c (do_test): Likewise.
2697 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2699         Delete temporary files in LIFO order.
2700         * support/temp_file.c (struct temp_name_list): Replace q member
2701         with next.
2702         (add_temp_file): Add new file to front of linked list.
2703         (support_delete_temp_files): Use next member.
2704         (support_print_temp_files): Likewise.
2706 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2709         sys/ultrasound.h.
2710         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2712 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2714         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2715         Remove.
2716         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2717         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2718         (arch_minimum_kernel): Remove.
2719         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2720         * README: Update statement about Linux kernel requirements.
2722 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2724         * manual/llio.texi: Add preadv and pwritev documentation.
2726 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2728         [BZ #21455]
2729         * bits/stdint-intn.h: New file.
2730         * bits/stdint-uintn.h: Likewise.
2731         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2732         bits/stdint-uintn.h.
2733         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2734         <stdint.h>.
2735         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2736         (__int8_t_defined): Do not define here.
2737         (int8_t): Likewise.
2738         (int16_t): Likewise.
2739         (int32_t): Likewise.
2740         (int64_t): Likewise.
2741         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2742         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2743         <stdint.h>.
2744         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2745         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2746         <bits/stdint-uintn.h>.
2747         (int8_t): Do not define here.
2748         (int16_t): Likewise.
2749         (int32_t): Likewise.
2750         (int64_t): Likewise.
2751         (uint8_t): Likewise.
2752         (uint16_t): Likewise.
2753         (uint32_t): Likewise.
2754         (uint64_t): Likewise.
2755         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2756         variable.
2757         (test-xfail-XPG42/netdb.h/conform): Likewise.
2758         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2759         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2760         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2761         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2763 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2765         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2766         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2767         the above.
2768         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2769         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2771 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2773         [BZ #21445]
2774         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2776         [BZ #21457]
2777         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2778         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2779         __glibc_reserved1.
2780         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2781         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2782         (struct _fpxreg): Likewise.
2783         [!__x86_64__] (struct _fpstate): Rename field reserved to
2784         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2785         [__x86_64__] (struct _fpstate): Rename field padding to
2786         __glibc_reserved1.
2787         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2788         Rename field reserved2 to __glibc_reserved2.
2789         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2790         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2791         __glibc_reserved1.
2792         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2793         __glibc_reserved1.
2795 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2797         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2798         variable name.
2800 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2802         [BZ #21391]
2803         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2804         Only call init_cpu_features.
2805         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2806         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2807         * sysdeps/i386/dl-procinfo.h: Removed.
2808         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2809         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2810         <sysdeps/x86/dl-procinfo.h>.
2811         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2812         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2813         Include <sysdeps/x86/dl-procinfo.h> instead of
2814          <sysdeps/generic/dl-procinfo.h>.
2815         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2816         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2817         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2818         (bit_cpu_MOVBE): Likewise.
2819         (bit_cpu_BMI1): Likewise.
2820         (bit_cpu_BMI2): Likewise.
2821         (index_cpu_BMI1): Likewise.
2822         (index_cpu_BMI2): Likewise.
2823         (index_cpu_LZCNT): Likewise.
2824         (index_cpu_MOVBE): Likewise.
2825         (index_cpu_POPCNT): Likewise.
2826         (reg_BMI1): Likewise.
2827         (reg_BMI2): Likewise.
2828         (reg_LZCNT): Likewise.
2829         (reg_MOVBE): Likewise.
2830         (reg_POPCNT): Likewise.
2831         * sysdeps/x86/dl-hwcap.h: New file.
2832         * sysdeps/x86/dl-procinfo.h: Likewise.
2833         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2834         (_dl_x86_platforms): Likewise.
2836 2017-05-03  DJ Delorie  <dj@redhat.com>
2838         [BZ #21411]
2839         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2841 2017-05-03  Phil Blundell  <pb@pbcl.net>
2843         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2844         comments.
2846 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2848         [BZ #20116]
2849         * nptl/pthread_create.c: Expand comments to describe
2850         semaphore-like and mutex-like uses of PD->lock.
2852 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2854         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2855         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2856         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2857         auto-generation list.
2858         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2859         epoll_wait.
2860         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2861         Remove epoll_wait.
2863         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2864         osf_select.
2865         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2866         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2867         osf_select from auto-generation list.
2868         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2870         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2871         * sysdeps/unix/sysv/linux/select.c: New file.
2873         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2874         * sysdeps/unix/sysv/linux/poll.c: New file.
2875         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2876         auto-generation list.
2878 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2880         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2881         New macro.
2883 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2885         [BZ #21179]
2886         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2887         R_SPARC_REGISTER relocations.
2889 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2891         * include/unistd.h (__pread): Add libc_hidden_proto.
2892         (__pread64): Likewise.
2893         (__pwrite): Likewise.
2894         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2895         (__pread64): Remove.
2896         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2897         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2898         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2900 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2904 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2906         * nptl/tst-cancel4-common.c: Use libsupport.
2907         * nptl/tst-cancel4-common.h: Likewise.
2908         * nptl/tst-cancel4.c (tf_read): Likewise.
2909         (tf_readv): Likewise.
2910         (tf_write): Likewise.
2911         (tf_writev): Likewise.
2912         (tf_sleep): Likewise.
2913         (tf_usleep): Likewise.
2914         (tf_nanosleep): Likewise.
2915         (tf_select): Likewise.
2916         (tf_pselect): Likewise.
2917         (tf_poll): Likewise.
2918         (tf_ppoll): Likewise.
2919         (tf_wait): Likewise.
2920         (tf_waitpid): Likewise.
2921         (tf_waitid): Likewise.
2922         (tf_sigpause): Likewise.
2923         (tf_sigsuspend): Likewise.
2924         (tf_sigwait): Likewise.
2925         (tf_sigwaitinfo): Likewise.
2926         (tf_sigtimedwait): Likewise.
2927         (tf_pause): Likewise.
2928         (tf_accept): Likewise.
2929         (tf_send): Likewise.
2930         (tf_recv): Likewise.
2931         (tf_recvfrom): Likewise.
2932         (tf_recvmsg): Likewise.
2933         (tf_open): Likewise.
2934         (tf_close): Likewise.
2935         (tf_pread): Likewise.
2936         (tf_pwrite): Likewise.
2937         (tf_preadv): Likewise.
2938         (tf_pwritev): Likewise.
2939         (tf_fsync): Likewise.
2940         (tf_fdatasync): Likewise.
2941         (tf_msync): Likewise.
2942         (tf_sendto): Likewise.
2943         (tf_sendmsg): Likewise.
2944         (tf_creat): Likewise.
2945         (tf_connect): Likewise.
2946         (tf_tcdrain): Likewise.
2947         (tf_msgrcv): Likewise.
2948         (tf_msgsnd): Likewise.
2949         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2950         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2952         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2953         expected arguments.
2954         (do_test): Adapt to use libsupport.
2956 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2958         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2960         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2961         (PF_MAX): Set to 44.
2962         (AF_SMC): New macro.
2964         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2965         kernel version to 4.11.
2967 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2969         [BZ #21280]
2970         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2971         signal of subnormals and adjust the exponent of power of 2 down
2972         when low part has opposite sign.
2974 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2976         * sysdeps/powerpc/powerpc64le/Implies: New file.
2977         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2978         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2979         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2980         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2981         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2982         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2983         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2984         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2985         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2986         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2987         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2988         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2989         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2990         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2991         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2992         * sysdeps/powerpc/preconfigure: New file.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2996 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2998         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2999         inclusion.
3000         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3001         Remove.
3003 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3005         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3006         (XPG3): Rename standard to XPG4.
3007         * conform/Makefile: Likewise.
3008         * conform/list-header-symbols.pl: Likewise.
3009         * conform/data/aio.h-data: Likewise.
3010         * conform/data/arpa/inet.h-data: Likewise.
3011         * conform/data/complex.h-data: Likewise.
3012         * conform/data/ctype.h-data: Likewise.
3013         * conform/data/dlfcn.h-data: Likewise.
3014         * conform/data/fcntl.h-data: Likewise.
3015         * conform/data/fenv.h-data: Likewise.
3016         * conform/data/float.h-data: Likewise.
3017         * conform/data/fmtmsg.h-data: Likewise.
3018         * conform/data/ftw.h-data: Likewise.
3019         * conform/data/grp.h-data: Likewise.
3020         * conform/data/inttypes.h-data: Likewise.
3021         * conform/data/iso646.h-data: Likewise.
3022         * conform/data/langinfo.h-data: Likewise.
3023         * conform/data/libgen.h-data: Likewise.
3024         * conform/data/limits.h-data: Likewise.
3025         * conform/data/locale.h-data: Likewise.
3026         * conform/data/math.h-data: Likewise.
3027         * conform/data/mqueue.h-data: Likewise.
3028         * conform/data/ndbm.h-data: Likewise.
3029         * conform/data/net/if.h-data: Likewise.
3030         * conform/data/netdb.h-data: Likewise.
3031         * conform/data/netinet/in.h-data: Likewise.
3032         * conform/data/poll.h-data: Likewise.
3033         * conform/data/pthread.h-data: Likewise.
3034         * conform/data/pwd.h-data: Likewise.
3035         * conform/data/sched.h-data: Likewise.
3036         * conform/data/search.h-data: Likewise.
3037         * conform/data/semaphore.h-data: Likewise.
3038         * conform/data/signal.h-data: Likewise.
3039         * conform/data/spawn.h-data: Likewise.
3040         * conform/data/stdbool.h-data: Likewise.
3041         * conform/data/stdint.h-data: Likewise.
3042         * conform/data/stdio.h-data: Likewise.
3043         * conform/data/stdlib.h-data: Likewise.
3044         * conform/data/string.h-data: Likewise.
3045         * conform/data/strings.h-data: Likewise.
3046         * conform/data/stropts.h-data: Likewise.
3047         * conform/data/sys/mman.h-data: Likewise.
3048         * conform/data/sys/resource.h-data: Likewise.
3049         * conform/data/sys/select.h-data: Likewise.
3050         * conform/data/sys/socket.h-data: Likewise.
3051         * conform/data/sys/stat.h-data: Likewise.
3052         * conform/data/sys/statvfs.h-data: Likewise.
3053         * conform/data/sys/time.h-data: Likewise.
3054         * conform/data/sys/timeb.h-data: Likewise.
3055         * conform/data/sys/types.h-data: Likewise.
3056         * conform/data/sys/uio.h-data: Likewise.
3057         * conform/data/sys/un.h-data: Likewise.
3058         * conform/data/sys/wait.h-data: Likewise.
3059         * conform/data/syslog.h-data: Likewise.
3060         * conform/data/termios.h-data: Likewise.
3061         * conform/data/tgmath.h-data: Likewise.
3062         * conform/data/time.h-data: Likewise.
3063         * conform/data/ucontext.h-data: Likewise.
3064         * conform/data/unistd.h-data: Likewise.
3065         * conform/data/utmpx.h-data: Likewise.
3066         * conform/data/varargs.h-data: Likewise.
3067         * conform/data/wchar.h-data: Likewise.
3068         * conform/data/wctype.h-data: Likewise.
3070 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3072         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3073         version to 7 branch.
3075 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3077         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3078         earlyclobber to output operand of sqrt insn.
3079         (__ieee754_sqrtf): Ditto.
3081 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3083         [BZ #21426]
3084         * misc/bits/types/struct_iovec.h: New file.
3085         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3086         * include/bits/types/struct_iovec.h: New file.
3087         * bits/uio.h (struct iovec): Replace by inclusion of
3088         <bits/types/struct_iovec.h>.
3089         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3090         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3091         of <sys/uio.h>.
3092         * nptl/tst-cancel4.c: Include <sys/uio.h>
3093         * posix/test-errno.c: Likewise.
3094         * support/resolv_test.c: Likewise.
3095         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3096         Remove.
3097         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3098         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3099         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3101         * conform/data/sys/socket.h-data (*_t): Allow.
3103 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3105         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3106         assignment.
3108 2017-04-24  Daurnimator  <quae@daurnimator.com>
3109             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3111         [BZ #21340]
3112         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3113         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3114         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3115         valid flags.
3116         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3117         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3118         POSIX_SPAWN_SETSID.
3119         * sysdeps/posix/spawni.c (__spawni): Likewise.
3120         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3121         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3123 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3125         * sysdeps/generic/math_private.h: Move the declaration of many
3126         functions to sysdeps/generic/math_private_calls.h.
3127         * sysdeps/generic/math_private_calls.h: New file with the
3128         declarations of the functions removed from math_private.h
3129         macroized by floating-point type.
3131 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3133         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3134         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3135         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3136         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3137         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3138         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3140 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3142         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3143         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3144         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3145         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3146         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3147         New Define.
3149 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3151         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3152         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3153         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3154         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3155         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3156         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3158 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3160         * sysdeps/s390/multiarch/ifunc-resolve.h
3161         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3162         * sysdeps/s390/multiarch/8bit-generic.c
3163         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3164         define ifunc resolvers.
3166 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3168         [BZ #20424]
3169         * manual/memory.texi (Replacing malloc): New section.
3170         (Allocating Storage For Program Data): Reference it.
3171         (The GNU Allocator): Likewise.
3173 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3175         * stdlib/Versions (__strtod_internal): List explicitly, not as
3176         wildcard.
3177         (__strtof_internal): Likewise.
3178         (__strtold_internal): Likewise.
3179         (__strtol_internal): Likewise.
3180         (__strtoll_internal): Likewise.
3181         (__strtoul_internal): Likewise.
3182         (__strtoull_internal): Likewise.
3183         (__strtoq_internal): Likewise.
3184         (__strtouq_internal): Likewise.
3185         * wcsmbs/Versions (__wcstod_internal): Likewise.
3186         (__wcstof_internal): Likewise.
3187         (__wcstold_internal): Likewise.
3188         (__wcstol_internal): Likewise.
3189         (__wcstoll_internal): Likewise.
3190         (__wcstoul_internal): Likewise.
3191         (__wcstoull_internal): Likewise.
3193 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3195         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3196         struct timespec definition.
3198 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3200         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3202 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3204         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3205         * inet/rexec.c (rexec_af): Likewise.
3207 2017-04-19  Zack Weinberg  <zackw@panix.com>
3209         * posix/tst-mmap-offset.c: Include stdint.h.
3210         * resolv/tst-ns_name_compress.c: Include string.h.
3211         * resolv/tst-resolv-edns.c: Include resolv.h.
3213 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3215         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3216         with __glibc_likely.
3217         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3218         Replace __builtin_expect with __glibc_unlikely.
3219         * resolv/res_init.c (__res_vinit): Likewise.
3220         * resolv/res_query.c (__libc_res_nquery): Likewise.
3221         * resolv/res_send.c (__libc_res_nsend): Likewise.
3223 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3225         [BZ #15722]
3226         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3227         with SOCK_CLOEXEC.
3228         * resolv/res_send.c (send_vc, reopen): Likewise.
3229         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3230         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3231         Likewise.
3232         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3233         * inet/rexec.c (rexec_af): Add comment.
3234         * inet/rcmd.c (rresvport_af): Likewise.
3236 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3238         * nscd/connections.c (have_accept4): Removed definition.
3239         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3240         accept4 works.
3241         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3242         ia64 because that was the first version with accept4 support.
3243         * support/Makefile (libsupport-routines): Add xaccept4.
3244         * support/xsocket.h (xaccept4): Declare.
3245         * support/xaccept4.c: New file.
3246         * socket/tst-accept4.c: New file.
3247         * socket/Makefile (tests): Add tst-accept4.
3248         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3249         definition.
3250         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3251         comment.
3252         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3253         implementation is available.
3254         (accept4): Use the system call if available, otherwise use the
3255         socket call.
3256         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3257         Set to 3.2.18.
3258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3259         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3260         accept4 is unconditionally available in later 3.2 stable kernels.
3261         (__ASSUME_ACCEPT4_SYSCALL): Define.
3262         * sysdeps/unix/sysv/linux/kernel-features.h
3263         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3264         definitions.
3265         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3266         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3268 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
3270         * conform/Makefile (tests-special): Do not make addition of
3271         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3272         (generated): Do not make addition of $(conformtest-header-base)
3273         conditional on [$(cross-compiling) = no].
3275         [BZ #21267]
3276         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3277         if defined by <asm/socket.h> and not previously defined.
3278         (IOCSIZE_SHIFT): Likewise.
3279         (IOC_IN): Likewise.
3280         (IOC_INOUT): Likewise.
3281         (IOC_OUT): Likewise.
3283 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3285         [BZ #21396]
3286         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3287         Prefer_No_AVX512 if AVX512ER isn't available.
3288         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3289         (index_arch_Prefer_No_AVX512): Likewise.
3290         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3291         AVX512 version if Prefer_No_AVX512 is set.
3292         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3293         Likewise.
3294         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3295         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3296         Likewise.
3297         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3298         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3299         Likewise.
3300         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3301         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3302         Likewise.
3304 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3306         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3307         Prefer_No_VZEROUPPER if AVX512ER is available.
3308         * sysdeps/x86/cpu-features.h
3309         (bit_cpu_AVX512PF): New.
3310         (bit_cpu_AVX512ER): Likewise.
3311         (bit_cpu_AVX512CD): Likewise.
3312         (bit_cpu_AVX512BW): Likewise.
3313         (bit_cpu_AVX512VL): Likewise.
3314         (index_cpu_AVX512PF): Likewise.
3315         (index_cpu_AVX512ER): Likewise.
3316         (index_cpu_AVX512CD): Likewise.
3317         (index_cpu_AVX512BW): Likewise.
3318         (index_cpu_AVX512VL): Likewise.
3319         (reg_AVX512PF): Likewise.
3320         (reg_AVX512ER): Likewise.
3321         (reg_AVX512CD): Likewise.
3322         (reg_AVX512BW): Likewise.
3323         (reg_AVX512VL): Likewise.
3325 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3327         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3328         O_CLOEXEC is defined.
3329         * include/fcntl.h (__have_o_cloexec): Remove declaration.
3330         * io/Makefile (aux): Remove.
3331         * io/have_o_cloexec.c: Remove file.
3332         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3333         defined and works.
3334         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3335         defined.
3336         * login/utmp_file.c (O_flags): Remove definition.
3337         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
3338         O_CLOEXEC works.
3339         (pututline_file): Likewise.
3340         * malloc/mtrace.c: Assume that O_CLOEXEC works.
3341         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3342         definition.
3343         (internal_setgrent): Assume that O_CLOEXEC works.
3344         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3345         Remove definition.
3346         (internal_setgrent): Assume that O_CLOEXEC works.
3347         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3348         definition.
3349         (internal_setpwent): Assume that O_CLOEXEC works.
3350         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3351         definition.
3352         (internal_setspent): Assume that O_CLOEXEC works.
3353         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3354         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
3355         O_CLOEXEC is defined and works.
3356         * nss/Makefile (libnss_files-routines): Remove
3357         files-have_o_cloexec.
3358         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3359         defined.
3360         * nss/nss_files/files-XXX.c (internal_setent): Assume that
3361         O_CLOEXEC is defined and works.
3362         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3363         * nss/nss_files/files-have_o_cloexec.c: Remove.
3364         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3365         defined.
3366         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3367         and works.
3368         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3369         definition.
3370         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3371         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3372         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3373         (__opendirat, __opendir): Adjust opendir_oflags call.
3374         (check_have_o_cloexec): Remove.
3375         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3376         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3377         defined.
3378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3379         Remove definition.
3381 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3383         * include/unistd.h (__have_dup3): Remove declaration.
3384         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3385         dup3 is available.
3386         * libio/freopen64.c (freopen64): Likewise.
3387         * socket/Makefile (aux): Remove have_sock_cloexec.
3388         * socket/have_sock_cloexec.c: Remove file.
3389         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3390         definition.
3391         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3392         Likewise.
3393         * sysdeps/nacl/kernel-features.h: Update comment.
3395 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3397         * include/unistd.h (__have_pipe2): Remove declaration.
3398         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3399         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3400         available.
3401         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3403         Remove definition.
3405 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3407         * malloc/malloc.c (cfree): Turn into compat symbol.
3408         (__cfree): Remove alias.
3409         * stdlib/stdlib.h (cfree): Remove declaration.
3410         * malloc/malloc.h (cfree): Likewise.
3411         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3412         * malloc/Versions (GLIBC_2.26): Add.
3414 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3416         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3417         (sysdep_routines): Add strrchr-power8.
3418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3419         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3420         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3421         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3422         (strrchr): Add __strrchr_power8 to ifunc list.
3423         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3425 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3427         [BZ #21357]
3428         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3429         Call free() outside of mutex.
3431 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3433         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3434         is defined.
3435         * elf/rtld.c (process_envvars): Likewise.
3436         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3437         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3438         O_NOFOLLOW directly.
3439         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3441 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3443         [BZ #21369]
3444         Remove EDNS fallback.
3445         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3446         handling.
3447         * resolv/res_send.c (send_dg): Likewise.
3448         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3449         "tcp." prefixes.
3450         (do_test): Send a "formerr."-prefixed query in an attempt to
3451         trigger EDNS fallback.
3453 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3455         [BZ #21361]
3456         Limit EDNS buffer size to 1200 bytes.
3457         * include/resolv.h (__res_nopt): Remove declaration.
3458         * resolv/Makefile (tests): tst-resolv-edns.
3459         (tst-resolv-edns): Link with -lresolv, -lpthread.
3460         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3461         interval [512, 1200].
3462         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3463         we can resize the buffer.
3464         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3465         (__res_nopt): Declare.
3466         * resolv/tst-resolv-edns.c: New file.
3467         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3468         (struct resolv_response_context): Add edns member.
3469         * resolv/resolv_test.c (struct query_info): Add edns member.
3470         (parse_query): Extract EDNS information from the query.
3471         (server_thread_udp_process_one): Propagate EDNS data.
3472         (server_thread_tcp_client): Likewise.
3474 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3476         [BZ #21359]
3477         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3478         byte in the destination buffer.  Avoid out-of-bounds pointer
3479         arithmetic.
3480         * resolv/Makefile (tests): Add tst-ns_name_compress.
3481         (tst-ns_name_compress): Link with -lresolv.
3482         * resolv/tst-ns_name_compress.c: New file.
3483         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3484         (response): Recognize LONG_NAME.
3485         (do_test): Add LONG_NAME tests.
3486         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3487         for ns_name_unpack.  Add tests for ns_name_pton and
3488         ns_name_compress.
3490 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3492         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3493         (res_nisourserver): Remove definition.
3494         (p_section, res_npquery, res_nisourserver): Remove declaration.
3495         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3496         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3497         ... here.
3498         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3499         <resolv.h>.
3500         * resolv/res_query.c: Likewise.
3501         * resolv/res_debug.c (p_section): Define as static.
3503 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3505         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3506         strncat-power8.
3507         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3508         __strncat_power8 to ifunc list.
3509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3510         (strncat): Add __strncat_power8 to list of strncat functions.
3511         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3513 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3515         [BZ #21270]
3516         * posix/tst-mmap-offset.c (do_prepare): New function.
3517         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3518         (do_test_bz21270): New function.
3519         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3520         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3521         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3522         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3523         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3524         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3525         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3526         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3527         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3528         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3529         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3530         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3531         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3532         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3533         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3534         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3535         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3536         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3537         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3538         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3539         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3540         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3541         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3542         from auto-generation list.
3543         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3545         * sysdeps/unix/sysv/linux/mmap.c: New file.
3546         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3547         offsets and support for mmap2 syscall.
3549         * posix/globtest.sh: Add cleanup routine on trap 0.
3551 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3553         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3554         implementation-specific function name and remove unneeded
3555         macros definition.
3556         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3557         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3558         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3559         name if not defined and pass as parameter to macros accordingly.
3560         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3561         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3564         implementation-specific function name and remove unneeded
3565         macros definition.
3566         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3567         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3568         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3569         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3571         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3572         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3573         name if not defined and pass as parameter to macros accordingly.
3574         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3575         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3576         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3577         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3578         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3579         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3581         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3582         implementation-specific function name and remove unneeded macros
3583         definition.
3584         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3585         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3587         function name if not defined and pass as parameter to macros
3588         accordingly.
3589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3590         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3592         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3593         implementation-specific function name and remove unneeded macros
3594         definition.
3595         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3596         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3597         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3598         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3599         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3600         not defined and pass as parameter to macros accordingly.
3601         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3602         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3603         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3604         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3606         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3607         strcasestr implementation name and remove unneeded macros definition.
3608         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3609         strstr implementation name and remove unneeded macros definition.
3610         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3611         name if not defined and pass as parameter to macros accordingly.
3612         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3614         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3615         implementation-specific function name and remove unneeded macros
3616         definition.
3617         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3618         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3619         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3620         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3621         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3622         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3623         function name if not defined and pass as parameter to macros
3624         accordingly.
3625         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3626         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3627         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3628         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3630         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3631         the strlen implementation name and remove unneeded macros definition.
3632         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3635         the strnlen implementation name and remove unneeded macros definition.
3636         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3637         name if not defined and pass as parameter to macros accordingly.
3638         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3639         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3640         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3643         the implementation-specific function name and remove unneeded
3644         macros definition.
3645         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3646         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3647         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3649         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3650         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3651         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3653         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3654         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3655         name if not defined and pass as parameter to macros accordingly.
3656         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3657         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3658         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3659         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3662         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3663         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3666         implementation-specific function name and remove unneeded macros
3667         definition.
3668         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3669         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3670         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3671         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3672         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3673         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3674         function name if not defined.
3675         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3676         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3678 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3680         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3681         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3682         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3683         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3685 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3686             Zack Weinberg  <zackw@panix.com>
3688         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3689         readdir64 as thread-safe.  Update warning about readdir_r.
3691 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3693         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3694         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3695         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3696         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3697         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3698         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3699         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3701 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3703         * sysdeps/i386/dl-procinfo.c: Include
3704         <sysdeps/x86/dl-procinfo.c>.
3705         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3706         * sysdeps/x86/dl-procinfo.c: New file.
3708 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3710         * sysdeps/generic/math_private.h: Remove declarations of
3711         many functions that are already declared in math.h.
3712         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3713         declaration for __frexpl.
3714         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3715         the declarations for __scalbnl and fabsl.
3717 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3719         [BZ #20831]
3720         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3721         of __mprotect to change protection on the excess portion
3722         to disallow all access.
3724 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3726         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3727         HAS_CPU_FEATURE to check for SSE.
3728         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3729         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3730         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3731         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3732         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3733         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3734         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3735         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3736         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3737         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3738         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3739         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3740         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3741         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3742         (index_cpu_SSE): Likewise.
3743         (reg_SSE): Likewise.
3745 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3747         * posix/getopt1.c: Include <config.h>, not "config.h".
3749 2017-04-07  Zack Weinberg  <zackw@panix.com>
3751         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3752         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3753         Mention in top-of-file boilerplate that these files are shared
3754         with gnulib.
3755         * posix/getopt.h, posix/bits/getopt_posix.h:
3756         Mention in top-of-file boilerplate that these files are NOT shared
3757         with gnulib, unlike the rest of the getopt implementation.
3759         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3760         New files, intended to be shared with gnulib.
3761         * posix/bits/getopt_posix.h:
3762         New file, not intended to be shared with gnulib.
3763         * posix/getopt.h: Now just includes features.h,
3764         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3765         no longer be shared with gnulib.
3766         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3767         * include/bits/getopt_posix.h: New wrappers.
3768         * posix/Makefile: Install new headers.
3769         * posix/unistd.h, libio/stdio.h:
3770         Include bits/getopt_posix.h instead of getopt.h.
3772         * include/libc-symbols.h: For gnulib compatibility, define
3773         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3774         _GL_ATTRIBUTE_CONST.
3775         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3776         parameters with _GL_UNUSED.
3778         * posix/getopt.c: When used standalone, define __libc_use_alloca
3779         as always false and alloca to abort if called.
3780         (process_long_option): Rewrite handling of ambiguous long options
3781         to use a single boolean vector, not a linked list; use
3782         __libc_use_alloca to decide whether to allocate this using alloca.
3783         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3785         * posix/getopt.c (process_long_option): New function split out
3786         from _getopt_internal_r.
3787         (_getopt_internal_r): Replace both copies of the long-option
3788         processing code with calls to process_long_option.
3789         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3790         (do_test): Differentiate argv[0] in the two subtests.
3792         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3793         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3794         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3796         * posix/getopt.h: Add backup definition of __nonnull for
3797         consistency with gnulib.  Define __getopt_argv_const to const
3798         if not already defined.
3799         (getopt): Update doc comment from gnulib.  Prototype
3800         unconditionally.  Add __nonnull annotation.
3801         (__posix_getopt): Add __nonnull annotation.
3802         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3803         prototypes for consistency with gnulib.  Add __nonnull
3804         annotations.
3805         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3806         (getopt_internal): Change 'argv' argument to type 'char **'.
3807         Remove now-unnecessary casts.
3808         (getopt, __posix_getopt): Eliminate repetition with a macro.
3809         Cast 'argv' to 'char **' when calling _getopt_internal.
3810         * posix/getopt1.c (getopt_long, getopt_long_only):
3811         Use __getopt_argv_const for consistency with gnulib.
3812         Cast 'argv' to 'char **' when calling _getopt_internal.
3813         (_getopt_long_r, _getopt_long_only_r):
3814         Change 'argv' argument to type 'char **'.
3815         (main): Constify 'long_options'.
3816         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3817         (_getopt_long_r, _getopt_long_only_r):
3818         Change 'argv' argument to type 'char **'.
3820         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3821         (locked_vfxprintf): New helper function. Handle arbitrary
3822         multibyte strings, not just ASCII.
3823         * include/stdio.h: Declare __fxprintf_nocancel.
3824         * posix/getopt.c: When _LIBC is defined, define fprintf to
3825         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3826         to _IO_funlockfile.  When neither _LIBC nor
3827         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3828         funlockfile as no-ops.
3829         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3830         the standalone error-printing code can now be used for libc as
3831         well.  Add an flockfile/funlockfile pair around one case where
3832         the error message is printed in several chunks.  Don't use fputc.
3833         * posix/tst-getopt-cancel.c: New test.
3834         * posix/Makefile: Run it.
3836         * posix/getopt.c (_getopt_internal_r): Don't increment
3837         d->optind a second time when reporting ambiguous -W options.
3839         * posix/getopt_int.h: Include getopt.h.
3840         Use impl-namespace names for all arguments to _getopt_internal and
3841         _getopt_internal_r.
3842         Declare __ordering enum outside the struct.
3843         Harmonize comments with gnulib.
3844         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3845         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3846         #ifdef TEST block and make unconditional.  Do not define NULL.
3847         * posix/getopt.c: Partial merge from gnulib, covering the
3848         initial includes and global declarations, commentary, and
3849         a couple of semantically-neutral code changes.
3851         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3852         Use '...' instead of `...' for quotation marks inside
3853         comments and strings.
3855         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3856         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3857         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3858         * posix/getopt_int.h: Likewise.
3859         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3860         __libc_argc and __libc_argv externs, which were only used by
3861         #ifdef USE_NONOPTION_FLAGS blocks.
3862         * posix/getopt_init.c: Remove file.
3863         * posix/Makefile (routines): Remove getopt_init.
3864         * include/getopt.h: Don't declare __getopt_initialize_environment.
3865         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3866         a comment.
3868 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3870         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3872 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3874         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3875         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3876         to __wrap_.udiv.
3877         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3878         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3880         * sysdeps/i386/symbol-hacks.h: New file.
3881         * sysdeps/m68k/symbol-hacks.h: New file.
3882         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3883         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3884         * sysdeps/unix/sysv/linux/i386/Makefile
3885         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3886         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3887         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3888         * sysdeps/unix/sysv/linux/m68k/Makefile
3889         [$(subdir) = csu] (sysdep_routines): Likewise.
3890         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3891         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3893         [$(subdir) = csu] (sysdep_routines): Likewise.
3894         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3895         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3896         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3897         [$(subdir) = csu] (sysdep_routines): Likewise.
3898         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3899         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3900         * sysdeps/wordsize-32/Makefile: Remove file.
3901         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3902         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3904 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3906         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3907         (TEST_FUNCTION_ARGV): New.
3909 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3911         * elf/next.c: Import support/test-driver.c instead of
3912         test-skeleton.c and delete TEST_FUNCTION macro definition.
3913         * elf/nodelete.c: Likewise.
3914         * elf/order2.c: Likewise.
3915         * elf/tst-_dl_addr_inside_object.c: Likewise.
3916         * elf/tst-addr1.c: Likewise.
3917         * elf/tst-align.c: Likewise.
3918         * elf/tst-align2.c: Likewise.
3919         * elf/tst-audit11.c: Likewise.
3920         * elf/tst-audit12.c: Likewise.
3921         * elf/tst-audit2.c: Likewise.
3922         * elf/tst-audit9.c: Likewise.
3923         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3924         * elf/tst-deep1.c: Likewise.
3925         * elf/tst-dl-iter-static.c: Likewise.
3926         * elf/tst-dlmodcount.c: Likewise.
3927         * elf/tst-dlmopen1.c: Likewise.
3928         * elf/tst-dlmopen2.c: Likewise.
3929         * elf/tst-dlmopen3.c: Likewise.
3930         * elf/tst-dlopen-aout.c: Likewise.
3931         * elf/tst-dlopenrpath.c: Likewise.
3932         * elf/tst-dlsym-error.c: Likewise.
3933         * elf/tst-execstack-needed.c: Likewise.
3934         * elf/tst-execstack-prog.c: Likewise.
3935         * elf/tst-execstack.c: Likewise.
3936         * elf/tst-global1.c: Likewise.
3937         * elf/tst-gnu2-tls1.c: Likewise.
3938         * elf/tst-latepthread.c: Likewise.
3939         * elf/tst-leaks1.c: Likewise.
3940         * elf/tst-linkall-static.c: Likewise.
3941         (do_test): New function.
3942         * elf/tst-nodelete-opened.c: Likewise.
3943         * elf/tst-nodelete.cc: Likewise.
3944         * elf/tst-nodelete2.c: Likewise.
3945         * elf/tst-noload.c: Likewise.
3946         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3947         * elf/tst-order-main.c: Likewise.
3948         * elf/tst-pathopt.c: Likewise.
3949         * elf/tst-pie2.c: Likewise.
3950         * elf/tst-piemod1.c: Likewise.
3951         * elf/tst-prelink.c: Likewise.
3952         * elf/tst-protected1a.c: Likewise.
3953         * elf/tst-protected1b.c: Likewise.
3954         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3955         and define _GNU_SOURCE macro.
3956         (cmdline_process_function): New function.
3957         * elf/tst-relsort1.c: Likewise.
3958         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3959         and define _GNU_SOURCE macro.
3960         (cmdline_process_function): New function.
3961         * elf/tst-thrlock.c: Likewise.
3962         * elf/tst-tls-dlinfo.c: Likewise.
3963         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3964         * elf/tst-tls1.c: Likewise.
3965         * elf/tst-tls10.c: Likewise.
3966         * elf/tst-tls11.c: Likewise.
3967         * elf/tst-tls12.c: Likewise.
3968         * elf/tst-tls13.c: Likewise.
3969         * elf/tst-tls14.c: Likewise.
3970         * elf/tst-tls15.c: Likewise.
3971         * elf/tst-tls16.c: Likewise.
3972         * elf/tst-tls17.c: Likewise.
3973         * elf/tst-tls18.c: Likewise.
3974         * elf/tst-tls19.c: Likewise.
3975         * elf/tst-tls2.c: Likewise.
3976         * elf/tst-tls3.c: Likewise.
3977         * elf/tst-tls4.c: Likewise.
3978         * elf/tst-tls5.c: Likewise.
3979         * elf/tst-tls6.c: Likewise.
3980         * elf/tst-tls7.c: Likewise.
3981         * elf/tst-tls8.c: Likewise.
3982         * elf/tst-tls9.c: Likewise.
3983         * elf/tst-tlsalign-extern.c: Likewise.
3984         * elf/tst-tlsalign.c: Likewise.
3985         * elf/tst-unique1.c: Likewise.
3986         * elf/tst-unique2.c: Likewise.
3987         * elf/vismain.c: Likewise.
3989 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3991         * string/test-strnlen.c (do_page_tests): New function
3992         to check length of strings ending at the page boundary.
3993         (test_main): Added call to the do_page_tests function.
3995 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3996             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3998         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3999         (sysdep_routines): Add strnlen-power8.
4000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4001         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4002         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4003         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4004         (__strnlen): Add __strnlen_power8 to ifunc list.
4005         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4007 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4009         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4010         the TEST_FUNCTION macro definition.
4011         * wcsmbs/tst-mbrtowc2.c: Likewise.
4012         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4013         * wcsmbs/tst-wchar-h.c: Likewise.
4014         * wcsmbs/tst-wcpncpy.c: Likewise.
4015         * wcsmbs/tst-wcrtomb.c: Likewise.
4016         * wcsmbs/tst-wcsnlen.c: Likewise.
4017         * wcsmbs/tst-wcstof.c: Likewise.
4019 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4021         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4022         CALL_THREAD_FCT macro usage.
4023         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4024         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4025         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4027         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4029         (__ASSUME_REQUEUE_PI): Likewise.
4030         * sysdeps/unix/sysv/linux/kernel-features.h
4031         (__ASSUME_REQUEUE_PI): Likewise.
4032         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4033         (__ASSUME_REQUEUE_PI): Likewise.
4034         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4035         (__ASSUME_REQUEUE_PI): Likewise.
4036         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4037         (__ASSUME_REQUEUE_PI): Likewise.
4039 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4041         * resolv/tst-resolv-canonname.c: New file.
4042         * resolv/Makefile (tests): Add tst-resolv-canonname.
4043         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4045 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4047         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4048         Declare.
4049         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4050         (NS_MAXCDNAME): Remove definition.
4051         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4052         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4053         (NS_MAXCDNAME): Remove definition.
4054         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4056 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4058         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4059         call whose result is not used.
4061 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4063         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4064         * resolv/Makefile (tests): Add tst-ns_name.
4065         (tst-ns_name): Link with -lresolv.
4066         (tst-ns_name.out): Depend on the input data file.
4068 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4070         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4071         Clobber also r14.
4073 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4075         [BZ #21253]
4076         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4077         slack space by 32KiB.
4079 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4081         [BZ #21338]
4082         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4083         instead of incorrect do_set_arena_test
4085 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4087         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4088         * math/bits/math-finite.h: Likewise.
4090 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4092         [BZ #21289]
4093         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4095 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4097         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4098         non expected inotify_add_watch and quotactl return.
4100 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4102         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4103         to int32_t.
4104         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4105         as returning int32_t.
4107 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4109         * math/math.h: Include bits/math-finite.h once per
4110         floating-point type.
4111         * math/bits/math-finite.h: Macroize all declarations by
4112         floating-point type.
4114 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4116         [BZ #21182]
4117         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4118         near end of a page.
4119         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4120         overflow calculation.
4122 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4124         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4125         (IMPL) Call with 1 instead of 0 as argument.
4127 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4129         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4130         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4131         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4132         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4133         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4134         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4135         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4136         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4137         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4138         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4139         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4140         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4141         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4142         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4143         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4144         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4145         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4146         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4147         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4148         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4149         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4150         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4151         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4152         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4153         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4154         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4155         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4156         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4157         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4158         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4159         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4160         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4161         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4162         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4163         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4164         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4165         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4166         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4167         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4168         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4169         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4170         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4171         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4172         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4173         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4174         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4175         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4176         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4177         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4178         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4180         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4181         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4182         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4183         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4184         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4185         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4186         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4187         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4188         defined.
4189         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4190         __NR_setgroups32 if defined.
4191         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4192         if defined.
4193         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4194         __NR_setresgid32 is defined.
4195         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4196         __NR_setresuid32 if defined.
4197         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4198         __NR_setreuid32 if defined.
4199         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4200         defined.
4201         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4202         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4203         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4204         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4205         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4206         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4207         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4208         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4209         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4210         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4211         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4212         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4213         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4214         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4215         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4216         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4217         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4218         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4219         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4220         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4221         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4222         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4223         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4224         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4225         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4226         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4227         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4228         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4229         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4230         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4231         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4232         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4233         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4234         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4235         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4236         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4237         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4238         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4239         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4240         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4241         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4242         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4243         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4244         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4245         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4246         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4247         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4248         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4249         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4250         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4251         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4252         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4253         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4254         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4255         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4256         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4257         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4258         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4259         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4260         defined.
4261         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4262         __NR_setgroups32 if defined.
4263         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4264         if defined.
4265         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4266         __NR_setresgid32 is defined.
4267         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4268         __NR_setresuid32 if defined.
4269         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4270         __NR_setreuid32 if defined.
4271         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4272         defined.
4274 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
4276         [BZ #21277]
4277         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4278         unconditionally.
4279         (IMAXBEL): Likewise.
4280         (IUTF8): Likewise.
4282 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4284         * sysdeps/aarch64/libm-test-ulps: Update.
4286 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
4288         * README.tunables: Updated descriptions.
4289         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4290         * scripts/gen-tunables.awk: Updated the code related to the
4291         commit.
4293 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
4295         * benchtests/Makefile (string-benchset): Add memcpy-random.
4296         * benchtests/bench-memcpy-random.c: New file.
4298 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4300         * stdio-common/printf.h (register_printf_modifier): Change the
4301         order of __wur and __THROW.
4302         (register_printf_type): Likewise.
4304 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4306         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4307         test_main ().
4308         (CMDLINE_PROCESS): Use function instead of defined macro.
4309         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4310         <suppport/support.h> to use set_fortify_handler().
4311         * string/bug-envz1.c: Import support/test-driver.c instead of
4312         test-skeleton.c.
4313         * string/bug-strcoll2.c: Likewise.
4314         * string/bug-strtok1.c: Likewise.
4315         * string/stratcliff.c: Likewise.
4316         * string/test-ffs.c: Likewise.
4317         * string/test-memccpy.c: Likewise.
4318         * string/test-memchr.c: Likewise.
4319         * string/test-memcmp.c: Likewise.
4320         * string/test-memcpy.c: Likewise.
4321         * string/test-memmem.c: Likewise.
4322         * string/test-memmove.c: Likewise.
4323         * string/test-memrchr.c: Likewise.
4324         * string/test-memset.c: Likewise.
4325         * string/test-rawmemchr.c: Likewise.
4326         * string/test-strcasecmp.c: Likewise.
4327         * string/test-strcasestr.c: Likewise.
4328         * string/test-strcat.c: Likewise.
4329         * string/test-strchr.c: Likewise.
4330         * string/test-strcmp.c: Likewise.
4331         * string/test-strcpy.c: Likewise.
4332         * string/test-string.h: Likewise.
4333         * string/test-strlen.c: Likewise.
4334         * string/test-strncasecmp.c: Likewise.
4335         * string/test-strncat.c: Likewise.
4336         * string/test-strncmp.c: Likewise.
4337         * string/test-strncpy.c: Likewise.
4338         * string/test-strnlen.c: Likewise.
4339         * string/test-strpbrk.c: Likewise.
4340         * string/test-strrchr.c: Likewise.
4341         * string/test-strspn.c: Likewise.
4342         * string/test-strstr.c: Likewise.
4343         * string/tst-bswap.c: Likewise.
4344         * string/tst-cmp.c: Likewise.
4345         * string/tst-endian.c: Likewise.
4346         * string/tst-inlcall.c: Likewise.
4347         * string/tst-strcoll-overflow.c: Likewise.
4348         * string/tst-strfry.c: Likewise.
4349         * string/tst-strlen.c: Likewise.
4350         * string/tst-strtok.c: Likewise.
4351         * string/tst-strtok_r.c: Likewise.
4352         * string/tst-strxfrm.c: Likewise.
4353         * string/tst-strxfrm2.c: Likewise.
4354         * string/tst-svc.c: Likewise.
4355         * string/tst-svc2.c: Likewise.
4357 2017-03-22  Zack Weinberg  <zackw@panix.com>
4359         * stdio-common/bug25.c: Include stdlib.h.
4360         * support/tst-support_format_dns_packet.c: Include stdio.h,
4361         stdlib.h, and string.h.
4362         * support/tst-support_record_failure.c: Include string.h.
4363         * support/tst-support_record_failure-2.sh: Adjust line number
4364         expectations and correct a typo in an error message.
4366 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4368         [BZ #21258]
4369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4370         Define only if _dl_runtime_resolve is defined to
4371         _dl_runtime_resolve_sse_vex.
4372         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4373         Fallthrough to _dl_runtime_resolve_sse_vex.
4375 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
4377         * INSTALL: Regenerated.
4379 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4381         * config.h.in: Add LINK_OBSOLETE_NSL.
4382         * config.make.in: Add build-obsolete-nsl.
4383         * configure.ac: Add obsolete-nsl option.
4384         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4385         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4386         * include/rpcsvc/nislib.h: Likewise.
4387         * include/rpcsvc/ypclnt.h: Likewise.
4388         * manual/install.texi: Document --enable-obsolete-nsl.
4389         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4390         * nis/nis_add.c: Replace libnsl_hidden_def with
4391         libnsl_hidden_nolink_def.
4392         * nis/nis_addmember.c: Likewise.
4393         * nis/nis_call.c: Likewise.
4394         * nis/nis_clone_obj.c: Likewise.
4395         * nis/nis_defaults.c: Likeise.
4396         * nis/nis_domain_of_r.c: Likewise.
4397         * nis/nis_error.c: Likewise.
4398         * nis/nis_file.c: Likewise.
4399         * nis/nis_free.c: Likewise.
4400         * nis_local_names.c: Likewise.
4401         * nis/nis_lookup.c: Likewise.
4402         * nis/nis_modify.c: Likewise.
4403         * nis/nis_print.c: Likewise.
4404         * nis/nis_remove.c: Likewise.
4405         * nis/nis_table.c: Likewise.
4406         * nis/nis_util.c: Likewise.
4407         * nis/nis_xdr.c: Likewise.
4408         * nis/yp_xdr.c: Likewise.
4409         * nis/ypclnt.c: Likewise.
4410         * nis/ypupdate_xdr.c: Likewise.
4411         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4412         * nis/nis_clone_dir.c: Likewise.
4413         * nis/nis_clone_res.c: Likewise.
4414         * nis/nis_creategroup.c: Likewise.
4415         * nis/nis_destroygroup.c: Likewise.
4416         * nis/nis_domain_of.c: Likewise.
4417         * nis/nis_getservlist.c: Likewise.
4418         * nis/nis_ismember.c: Likewise.
4419         * nis/nis_mkdir.c: Likewise.
4420         * nis/nis_ping.c: Likewise.
4421         * nis/nis_print_group_entry.c: Likewise.
4422         * nis/nis_removemember.c: Likewise.
4423         * nis/nis_rmdir.c: Likewise.
4424         * nis/nis_server.c: Likewise.
4425         * nis/nis_subr.c: Likewise.
4426         * nis/nis_verifygroup.c: Likewise.
4428 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4430         * malloc/tst-interpose-aux.c (check_for_allocations):
4431         Move compiler barrier before free.
4433 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4435         [BZ #21279]
4436         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4437         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4438         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4439         x86_64-x32-linux.
4440         (mq_attr.mq_maxmsg): Likewise.
4441         (mq_attr.mq_msgsize): Likewise.
4442         (mq_attr.mq_curmsgs): Likewise.
4444         [BZ #21278]
4445         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4446         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4447         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4448         mips-o32-linux.
4450         [BZ #21268]
4451         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4452         if [__USE_MISC]
4453         (NL3): Likewise.
4455 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4457         [BZ #21275]
4458         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4459         __stack to __stackbase.
4460         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4461         checks so we can include defined(__ia64__) first.
4463 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4465         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4466         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4467         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4468         Call is_pty when the link does not exist or does not match, fail
4469         with ENODEV when it returns true.
4470         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4471         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4472         Call is_pty when the link does not exist or does not match, fail
4473         with ENODEV when it returns true.
4475 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4477         [BZ #16437]
4478         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4479         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4480         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4481         x86_64-x32-linux.
4482         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4483         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4484         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4486         [BZ #21261]
4487         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4488         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4489         names for all fields.
4490         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4491         for jmp_buf field renaming.
4492         (_JMPBUF_UNWINDS_ADJ): Likewise.
4494         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4495         with allow-header.
4497 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4499         * malloc/malloc.c (unlink): Add consistency check between size and
4500         next->prev->size, to further harden against 1-byte overflows.
4502 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4504         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4505         CPU_FEATURES_CPU_P.
4507 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4509         [BZ #21259]
4510         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4511         unconditionally, not just for [__USE_MISC].
4513         [BZ #17786]
4514         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4515         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4516         mips-o32-linux.
4518         [BZ #21260]
4519         * sysdeps/unix/sysv/linux/alpha/Makefile
4520         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4521         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4523         * conform/conformtest.pl ($cross): New variable.
4524         (--cross): New command-line option.
4525         (runtest): Skip test execution when cross-compiling.
4526         * conform/Makefile (conformtest-cross): New variable.
4527         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4528         conformtest.pl.
4530         * conform/conformtest.pl ($xfail_str): New variable.
4531         (--xfail=): New command-line option.
4532         (top level): Handle expectations starting xfail[cond]-.
4533         * conform/Makefile (conformtest-xfail): New variable.
4534         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4535         conformtest.pl.
4537 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4539         * conform/conformtest.pl: Use compilation instead of execution
4540         tests for testing values of constants and usability in #if.
4542 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4544         * math/auto-libm-test-in: Mark some catan and catanh as
4545         xfail-rounding:ibm128-libgcc.
4546         * math/auto-libm-test-out-catan: Regenerate.
4547         * math/auto-libm-test-out-catanh: Likewise.
4549 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4551         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4552         (__END_NAMESPACE_STD): Likewise.
4553         (__USING_NAMESPACE_STD): Likewise.
4554         (__BEGIN_NAMESPACE_C99): Likewise.
4555         (__END_NAMESPACE_C99): Likewise.
4556         (__USING_NAMESPACE_C99): Likewise.
4557         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4558         undefine macro.
4559         (_Mdouble_END_NAMESPACE): Likewise.
4560         * ctype/ctype.h: Do not handle C++ namespaces.
4561         * libio/bits/stdio-ldbl.h: Likewise.
4562         * libio/stdio.h: Likewise.
4563         * locale/locale.h: Likewise.
4564         * math/bits/mathcalls.h: Likewise.
4565         * setjmp/setjmp.h: Likewise.
4566         * signal/signal.h: Likewise.
4567         * stdlib/bits/stdlib-float.h: Likewise.
4568         * stdlib/bits/stdlib-ldbl.h: Likewise.
4569         * stdlib/stdlib.h: Likewise.
4570         * string/string.h: Likewise.
4571         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4572         * time/bits/types/clock_t.h: Likewise.
4573         * time/bits/types/struct_tm.h: Likewise.
4574         * time/bits/types/time_t.h: Likewise.
4575         * time/time.h: Likewise.
4576         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4577         * wcsmbs/uchar.h: Likewise.
4578         * wcsmbs/wchar.h: Likewise.
4579         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4580         * wctype/wctype.h: Do not handle C++ namespaces.
4581         * scripts/begin-end-check.pl: Remove.
4582         * Makefile (installed-headers): Likewise.
4583         (tests-special): Do not add $(objpfx)begin-end-check.out.
4584         ($(objpfx)begin-end-check.out): Remove.
4586 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4587             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4589         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4590         (DL_PLATFORM_INIT): New define.
4591         (dl_platform_init): New function.
4592         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4593         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4594         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4595         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4596         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4598 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4600         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4601         instead of PIC.
4603 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4605         [BZ #21094]
4606         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4607         24+24+24-bit pi for wider range of values around pi/2.
4608         * math/auto-libm-test-in: Add more tests of cos and tan.
4609         * math/auto-libm-test-out-cos: Regenerated.
4610         * math/auto-libm-test-out-tan: Likewise.
4612 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4614         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4615         (RTLD_START): Don't record stack end address in _dl_start_user.
4617 2017-03-15  Alexey Neyman  <stilor@att.net>
4619         [BZ #21088]
4620         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4621         around definitions match those around use.
4623 2017-03-15  Alexey Neyman  <stilor@att.net>
4625         * configure.ac: Avoid empty subexpression in grep.
4626         * configure: Regenerate.
4628 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4630         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4631         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4632         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4633         (test_wrp_rv): Fix format.
4634         (test_wrp_rv2): New macro.
4635         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4636         binaries.
4638 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4640         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4641         Use a union when storing pointers.
4642         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4643         cast result when passing to INIT_VEC_PTRS_LOOP.
4644         (VECTOR_WRAPPER_fFF_3): Likewise.
4645         (VECTOR_WRAPPER_fFF_4): Likewise.
4647 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4649         * include/bits/mathcalls-helper-functions.h: New file.
4650         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4651         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4652         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4653         math/bits/mathcalls-helper-functions.h.
4654         * math/bits/mathcalls-helper-functions.h: New file.
4655         * math/math.h: Include bits/mathcalls-helper-functions.h for
4656         float, double, and long double.
4658 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4660         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4661         instead of feraiseexcept.
4663 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4665         [BZ #21243]
4666         * support/temp_file.c (support_delete_temp_files): Add comment
4667         about ignored errors.
4669 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4671         [BZ #21244]
4672         * support/xclose.c: New file.
4673         * support/Makefile (libsupport-routines): Add xclose.
4674         * support/xunistd.h (xclose): Declare.
4675         * support/resolv_test.c (server_thread_tcp_client)
4676         (server_thread_tcp, make_server_sockets, resolv_test_start)
4677         (resolv_test_end): Call xclose instead of close.
4678         * support/support_enter_network_namespace.c
4679         (support_enter_network_namespace): Likewise.
4680         * support/support_run_diff.c (write_to_temp_file): Likewise.
4682 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4684         * support/support_format_dns_packet.c (support_format_dns_packet):
4685         Handle CNAME records in the response.  Extract RDATA names from
4686         rdata, not the whole packet.  Check AAAA record length.
4687         * support/tst-support_format_dns_packet.c: New file.
4688         * support/Makefile (tests): Add tst-support_format_dns_packet.
4689         (tst-support_format_dns_packet): Link against libresolv.
4691 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4693         [BZ #21232]
4694         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4695         posix_fadvise64 weak_alias for static build.
4697 2017-03-14  Andreas Schwab  <schwab@suse.de>
4699         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4700         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4701         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4702         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4703         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4704         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4705         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4706         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4708 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4710         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4711         posix error code.
4712         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4714 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4716         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4717         no_isolate usage for SH.
4719 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4721         [BZ #15105]
4722         [BZ #19463]
4723         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4724         * inet/rcmd.c (rcmd_af): Likewise.
4725         * inet/rexec.c   (rexec_af): Likewise.
4726         * intl/dcigettext.c (_LIBC): Likewise.
4727         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4728         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4729         * locale/setlocale.c (setlocale): Likewise.
4730         * posix/spawn_faction_addopen.c
4731         (posix_spawn_file_actions_addopen): Likewise.
4732         * stdlib/putenv.c (putenv): Use __strndup.
4733         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4735         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4736         (__Need_M_And_C) Remove define/undef.
4737         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4738         (__malloc_and_calloc_defined): Remove define.
4739         * string/bits/string2.h (__strdup): Remove define.
4740         (strdup): Likewise.
4741         (__strndup): Likewise.
4742         (strndup): Likewise.
4744 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4746         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4747         macro.
4748         (IPV6_ADDR_PREFERENCES): Likewise.
4749         (IPV6_MINHOPCOUNT): Likewise.
4750         (IPV6_ORIGDSTADDR): Likewise.
4751         (IPV6_RECVORIGDSTADDR): Likewise.
4752         (IPV6_TRANSPARENT): Likewise.
4753         (IPV6_UNICAST_IF): Likewise.
4754         (IPV6_RECVFRAGSIZE): Likewise.
4756 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4758         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4760 2017-03-12  Alexey Neyman <stilor@att.net>
4762         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4763         in R_SH_DIR32 case is always false when inlined from
4764         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4766 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4769         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4770         __ASSUME_SEND_SYSCALL.
4772 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4774         * sunrpc/Makefile: don't build and install rpcsvc header
4775         files, rpcgen and librpcsvc.a by default.
4777 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4779         * math/auto-libm-test-out-catan: Regenerated.
4780         * math/auto-libm-test-out-catanh: Likewise.
4781         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4783 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4785         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4786         for long double with corrected test expectations.
4788 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4790         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4791         Define.
4792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4793         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4794         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4795         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4796         * sysdeps/unix/sysv/linux/tile/sysdep.h
4797         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4799         (__ASSUME_RECV_SYSCALL): Define.
4800         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4801         (__ASSUME_RECV_SYSCALL): Likewise.
4802         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4803         (__ASSUME_RECV_SYSCALL): Likewise.
4804         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4805         (__ASSUME_RECV_SYSCALL): Likewise.
4806         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4807         (__ASSUME_RECV_SYSCALL): Likewise.
4808         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4809         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4810         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4811         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4812         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4813         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4814         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4815         auto-generation list.
4816         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4817         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4818         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4819         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4820         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4821         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4822         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4823         __ASSUME_SENDTO_SYSCALL.
4824         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4825         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4826         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4828         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4829         auto-generation list.
4830         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4831         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4832         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4833         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4834         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4835         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4837         * sysdeps/unix/sysv/linux/kernel-features.h
4838         (__ASSUME_SENDTO_SYSCALL): Define by default.
4839         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4840         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4841         __NR_sendto.
4842         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4843         (__ASSUME_SENDTO_SYSCALL): Likewise.
4844         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4845         (__ASSUME_SENDTO_SYSCALL): Likewise.
4846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4847         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4848         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4849         (__ASSUME_SENDTO_SYSCALL): Likewise.
4850         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4851         (__ASSUME_SENDTO_SYSCALL): Likewise.
4852         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4854         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4855         auto-generation list.
4856         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4857         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4858         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4859         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4860         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4862         (__ASSUME_RECV_SYSCALL): New define.
4863         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4864         (__ASSUME_RECV_SYSCALL): Likewise.
4865         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4866         (__ASSUME_RECV_SYSCALL): Likewise.
4867         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4868         (__ASSUME_RECV_SYSCALL): Likewise.
4869         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4870         (__ASSUME_RECV_SYSCALL): Likewise.
4871         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4872         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4873         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4874         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4875         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4876         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4877         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4878         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4879         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4880         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4881         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4882         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4884         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4885         auto-generation list.
4886         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4887         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4888         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4889         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4890         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4891         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4892         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4893         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4894         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4895         * sysdeps/unix/sysv/linux/kernel-features.h
4896         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4897         __NR_recvfrom.
4898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4899         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4900         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4901         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4903         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4904         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4905         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4906         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4907         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4909         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4910         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4912         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4913         auto-generation list.
4914         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4915         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4916         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4917         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4918         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4919         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4920         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4921         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4922         * sysdeps/unix/sysv/linux/kernel-features.h
4923         (__ASSUME_CONNECT_SYSCALL): Define.
4924         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4925         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4926         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4927         (__ASSUME_CONNECT_SYSCALL): Likewise.
4928         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4929         (__ASSUME_CONNECT_SYSCALL): Likewise.
4930         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4931         (__ASSUME_CONNECT_SYSCALL): Likewise.
4933         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4934         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4935         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4936         auto-generation list.
4937         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4938         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4939         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4940         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4941         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4942         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4943         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4944         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4945         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4946         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4947         * sysdeps/unix/sysv/linux/kernel-features.h
4948         (__ASSUME_ACCEPT_SYSCALL): New define.
4949         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4950         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4951         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4952         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4953         (__ASSUME_ACCEPT_SYSCALL): Define.
4954         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4955         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4956         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4957         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4958         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4959         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4960         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4961         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4962         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4964 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4965             Zack Weinberg  <zackw@panix.com>
4967         * posix/test-errno.c: New file.
4968         * posix/Makefile (tests): Add test-errno.
4969         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4970         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4972 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4974         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4976 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4978         * time/tzset.c (compute_offset): Open-code min macro.
4979         (min, max, sign): Remove.
4981 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4983         [BZ #15576]
4984         Remove TZNAME_MAX limit from sysconf.
4985         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4986         declaration.
4987         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4988         compute_tzname_max.
4989         (compute_tzname_max): Remove.
4990         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4991         (update_vars): Do not update __tzname_cur_max.
4992         (tzset_internal): Remove argument.
4993         (__tzset): Adjust call to tzset_internal.
4994         (__tz_convert): Likewise.
4996         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4997         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4998         * manual/conf.texi (Sysconf Definition): Update comment.
5000 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5002         [BZ #21209]
5003         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5004         AT_SECURE processes.
5005         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5006         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5007         (test_child): Likewise.
5008         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5010 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5012         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5014 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5016         * sysdeps/s390/atomic-machine.h
5017         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5018         (__arch_compare_and_exchange_val_8_acq,
5019         __arch_compare_and_exchange_val_16_acq,
5020         __arch_compare_and_exchange_val_32_acq,
5021         __arch_compare_and_exchange_val_64_acq):
5022         Delete macro.
5023         (atomic_compare_and_exchange_val_acq,
5024         atomic_compare_and_exchange_val_rel,
5025         atomic_compare_and_exchange_bool_acq,
5026         catomic_compare_and_exchange_bool_acq,
5027         atomic_exchange_acq, atomic_exchange_rel,
5028         atomic_exchange_and_add_acq,
5029         atomic_exchange_and_add_rel,
5030         catomic_exchange_and_add, atomic_or_val,
5031         atomic_or, catomic_or, atomic_bit_test_set,
5032         atomic_and_val, atomic_and, catomic_and):
5033         Define macros with help of C11 atomic builtins.
5035 2017-03-03  Justus Winter <justus@gnupg.org>
5037         * sysdeps/mach/hurd/ftruncate64.c: New file.
5038         * sysdeps/mach/hurd/truncate64.c: Likewise.
5040 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5042         * time/tzfile.c (NOID): Do not define.
5043         * time/tzset.c (NOID): Likewise.
5045 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5047         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5049 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5051         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5053 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5055         [BZ #21015]
5056         * manual/install.texi (Configuring and compiling): Document
5057         --enable-bind-now.
5058         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5059         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5060         (format.lds): Likewise.
5061         [bind-now] (LDFLAGS-c.so): Remove.
5062         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5063         be R_X86_64_GLOB_DAT.
5064         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5065         relocation can be R_386_GLOB_DAT.
5066         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5067         relocaiton can be R_ALPHA_GLOB_DAT.
5068         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5070 2017-03-01  Zack Weinberg  <zackw@panix.com>
5072         * include/libc-pointer-arith.h: New file.  Define
5073         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5074         PTR_ALIGN_DOWN here.
5075         * include/libc-internal.h: Definitions of above macros
5076         moved from here.  Don't include libc-diag.h anymore either.
5077         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5078         Don't include libc-internal.h.
5080         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5081         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5082         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5083         * string/strcoll_l.c, sysdeps/nacl/brk.c
5084         * sysdeps/unix/clock_settime.c
5085         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5086         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5087         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5089         Don't include libc-internal.h.
5091         * elf/get-dynamic-info.h, iconv/loop.c
5092         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5093         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5094         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5095         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5096         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5097         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5100         * sysdeps/ieee754/ldbl-128/k_tanl.c
5101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5102         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5103         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5104         Include libc-diag.h instead of libc-internal.h.
5106         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5107         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5108         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5109         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5110         * sysdeps/unix/sysv/linux/spawni.c
5111         * sysdeps/x86_64/nptl/tls.h:
5112         Include libc-pointer-arith.h instead of libc-internal.h.
5114         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5115         * sysdeps/x86_64/atomic-machine.h:
5116         Add multiple include guard.
5118         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5119         * string/strcasestr.c: No need to include config.h.
5120         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5121         sys/auxv.h. Don't include sysdep.h.
5122         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5124         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5125         DL_LOOKUP_ADDRESS.
5126         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5127         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5128         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5129         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5130         of ARTIFICIAL_LIMIT.
5131         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5132         declaration of __clone2.
5134 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5136         * scripts/backport-support.sh (latest_commit): New file.
5138 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5140         [BZ #20257]
5141         * inet/Makefile (routines): Add deadline.
5142         (tests-static): Add tst-deadline.
5143         * inet/net-internal.h (struct deadline_current_time)
5144         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5145         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5146         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5147         * inet/deadline.c: New file.
5148         * inet/tst-deadline.c: Likewise.
5149         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5150         tst-udp-timeout, tst-udp-garbage.
5151         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5152         explicitly.
5153         (tst-udp-garbage): Likewise.  Also link against thread library.
5154         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5155         struct layout is part of the ABI.
5156         (clntudp_call): Rework timeout handling.
5157         * sunrpc/tst-udp-garbage.c: New file.
5158         * sunrpc/tst-udp-nonblocking.c: Likewise.
5159         * sunrpc/tst-udp-timeout.c: Likewise.
5161 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5163         [BZ #5010]
5164         * sunrpc/svc.c (svc_is_mapped): Remove.
5165         (svc_unregister): Obtain mapped status while the service is still
5166         registered.
5167         * sunrpc/Makefile [have-thread-library] (tests): Add
5168         tst-svc_register.
5169         (tst-svc_register): Link against libc.so explicitly and the thread
5170         library.
5171         * sunrpc/tst-svc_register.c: New file.
5173 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5175         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5176         * sysdeps/pthread/bits/sigthread.h: Likewise.
5178 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5180         [BZ #21115]
5181         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5182         * sunrpc/Makefile (tests): Add tst-udp-error.
5183         (tst-udp-error): Link against libc.so explicitly.
5184         * sunrpc/tst-udp-error: New file.
5186 2017-02-25  Zack Weinberg  <zackw@panix.com>
5188         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5189         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5191         * sysdeps/generic/math_ldbl.h
5192         * sysdeps/ia64/fpu/math_ldbl.h
5193         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5195         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5196         * sysdeps/powerpc/fpu/math_ldbl.h
5197         * sysdeps/x86_64/fpu/math_ldbl.h:
5198         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5199         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5200         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5201         Add copyright notices.
5203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5204         Don't use EXTRACT_WORDS64.
5206         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5207         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5208         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5209         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5210         Include math_ldbl.h, not math_private.h.
5212 2017-02-25  Zack Weinberg  <zackw@panix.com>
5214         * include/libc-diag.h: New file.  Define ignore_value,
5215         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5216         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5218         * include/libc-internal.h: Definitions of above macros moved from
5219         here.  Include libc-diag.h.  Add copyright notice.
5221         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5222         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5223         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5224         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5225         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5226         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5227         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5228         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5229         Include libc-diag.h instead of libc-internal.h.
5231         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5232         call to unsetenv (NULL).
5233         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5234         call to pthread_mutexattr_destroy (NULL).
5236 2017-02-25  Zack Weinberg  <zackw@panix.com>
5238         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5239         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5240         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5241         gets was removed from C++ in C++14.
5242         * include/stdio.h: Remove redundant declaration of gets.
5243         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5244         be declared, since we are testing it.
5245         * stdio-common/Makefile (tst-gets.c): Compile with
5246         -Wno-deprecated-declarations.
5247         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5248         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5249         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5250         Compile with -Wno-deprecated-declarations.
5252 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5254         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5255         numbers.
5257 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5259         * resolv/tst-resolv-qtypes.c (domain):
5260         Change type to const pointer to const char.
5262 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5264         * math/Makefile (libm-tests-generated): Remove variable.
5265         (libm-tests-base-normal): New variable.
5266         (libm-tests-base-finite): Likewise.
5267         (libm-tests-base-inline): Likewise.
5268         (libm-tests-base): Likewise.
5269         (libm-tests-normal): Likewise.
5270         (libm-tests-finite): Likewise.
5271         (libm-tests-inline): Likewise.
5272         (libm-tests-vector): Likewise.
5273         (libm-tests): Define in terms of these new variables.
5274         (libm-tests-for-type): New variable.
5275         (libm-tests.o): Move definition.
5276         (tests): Move addition of $(libm-tests).
5277         (generated): Update for new and removed libm test files.
5278         ($(objpfx)libm-test.c): Remove target.
5279         ($(objpfx)libm-have-vector-test.h): Likewise.
5280         (CFLAGS-test-double-vlen2.c): Remove variable.
5281         (CFLAGS-test-double-vlen4.c): Likewise.
5282         (CFLAGS-test-double-vlen8.c): Likewise.
5283         (CFLAGS-test-float-vlen4.c): Likewise.
5284         (CFLAGS-test-float-vlen8.c): Likewise.
5285         (CFLAGS-test-float-vlen16.c): Likewise.
5286         (CFLAGS-test-float.c): Likewise.
5287         (CFLAGS-test-float-finite.c): Likewise.
5288         (CFLAGS-libm-test-support-float.c): Likewise.
5289         (CFLAGS-test-double.c): Likewise.
5290         (CFLAGS-test-double-finite.c): Likewise.
5291         (CFLAGS-libm-test-support-double.c): Likewise.
5292         (CFLAGS-test-ldouble.c): Likewise.
5293         (CFLAGS-test-ldouble-finite.c): Likewise.
5294         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5295         (libm-test-inline-cflags): New variable.
5296         (CFLAGS-test-ifloat.c): Remove variable.
5297         (CFLAGS-test-idouble.c): Likewise.
5298         (CFLAGS-test-ildouble.c): Likewise.
5299         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5300         dependencies.
5301         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5302         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5303         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5304         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5305         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5306         Likewise.
5307         (dependencies on libm-test-support-*.o): Remove.
5308         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5309         rules using iterators.
5310         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5311         Likewise.
5312         ($(objpfx)libm-test-support-$(o).o): Likewise.
5313         ($(addprefix $(objpfx),$(filter-out $(tests-static)
5314         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5315         instead.
5316         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5317         define rule instead.
5318         * math/README.libm-test: Update.
5319         * math/libm-test-acos.inc: Include libm-test-driver.c.
5320         (do_test): New function.
5321         * math/libm-test-acosh.inc: Include libm-test-driver.c.
5322         (do_test): New function.
5323         * math/libm-test-asin.inc: Include libm-test-driver.c.
5324         (do_test): New function.
5325         * math/libm-test-asinh.inc: Include libm-test-driver.c.
5326         (do_test): New function.
5327         * math/libm-test-atan.inc: Include libm-test-driver.c.
5328         (do_test): New function.
5329         * math/libm-test-atan2.inc: Include libm-test-driver.c.
5330         (do_test): New function.
5331         * math/libm-test-atanh.inc: Include libm-test-driver.c.
5332         (do_test): New function.
5333         * math/libm-test-cabs.inc: Include libm-test-driver.c.
5334         (do_test): New function.
5335         * math/libm-test-cacos.inc: Include libm-test-driver.c.
5336         (do_test): New function.
5337         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5338         (do_test): New function.
5339         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5340         (do_test): New function.
5341         * math/libm-test-carg.inc: Include libm-test-driver.c.
5342         (do_test): New function.
5343         * math/libm-test-casin.inc: Include libm-test-driver.c.
5344         (do_test): New function.
5345         * math/libm-test-casinh.inc: Include libm-test-driver.c.
5346         (do_test): New function.
5347         * math/libm-test-catan.inc: Include libm-test-driver.c.
5348         (do_test): New function.
5349         * math/libm-test-catanh.inc: Include libm-test-driver.c.
5350         (do_test): New function.
5351         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5352         (do_test): New function.
5353         * math/libm-test-ccos.inc: Include libm-test-driver.c.
5354         (do_test): New function.
5355         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5356         (do_test): New function.
5357         * math/libm-test-ceil.inc: Include libm-test-driver.c.
5358         (do_test): New function.
5359         * math/libm-test-cexp.inc: Include libm-test-driver.c.
5360         (do_test): New function.
5361         * math/libm-test-cimag.inc: Include libm-test-driver.c.
5362         (do_test): New function.
5363         * math/libm-test-clog.inc: Include libm-test-driver.c.
5364         (do_test): New function.
5365         * math/libm-test-clog10.inc: Include libm-test-driver.c.
5366         (do_test): New function.
5367         * math/libm-test-conj.inc: Include libm-test-driver.c.
5368         (do_test): New function.
5369         * math/libm-test-copysign.inc: Include libm-test-driver.c.
5370         (do_test): New function.
5371         * math/libm-test-cos.inc: Include libm-test-driver.c.
5372         (do_test): New function.
5373         * math/libm-test-cosh.inc: Include libm-test-driver.c.
5374         (do_test): New function.
5375         * math/libm-test-cpow.inc: Include libm-test-driver.c.
5376         (do_test): New function.
5377         * math/libm-test-cproj.inc: Include libm-test-driver.c.
5378         (do_test): New function.
5379         * math/libm-test-creal.inc: Include libm-test-driver.c.
5380         (do_test): New function.
5381         * math/libm-test-csin.inc: Include libm-test-driver.c.
5382         (do_test): New function.
5383         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5384         (do_test): New function.
5385         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5386         (do_test): New function.
5387         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5388         (do_test): New function.
5389         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5390         (do_test): New function.
5391         * math/libm-test-erf.inc: Include libm-test-driver.c.
5392         (do_test): New function.
5393         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5394         (do_test): New function.
5395         * math/libm-test-exp.inc: Include libm-test-driver.c.
5396         (do_test): New function.
5397         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5398         (do_test): New function.
5399         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5400         (do_test): New function.
5401         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5402         (do_test): New function.
5403         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5404         (do_test): New function.
5405         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5406         (do_test): New function.
5407         * math/libm-test-floor.inc: Include libm-test-driver.c.
5408         (do_test): New function.
5409         * math/libm-test-fma.inc: Include libm-test-driver.c.
5410         (do_test): New function.
5411         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5412         (do_test): New function.
5413         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5414         (do_test): New function.
5415         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5416         (do_test): New function.
5417         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5418         (do_test): New function.
5419         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5420         (do_test): New function.
5421         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5422         (do_test): New function.
5423         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5424         (do_test): New function.
5425         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5426         (do_test): New function.
5427         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5428         (do_test): New function.
5429         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5430         (do_test): New function.
5431         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5432         (do_test): New function.
5433         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5434         (do_test): New function.
5435         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5436         (do_test): New function.
5437         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5438         (do_test): New function.
5439         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5440         (do_test): New function.
5441         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5442         (do_test): New function.
5443         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5444         (do_test): New function.
5445         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5446         (do_test): New function.
5447         * math/libm-test-isless.inc: Include libm-test-driver.c.
5448         (do_test): New function.
5449         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5450         (do_test): New function.
5451         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5452         (do_test): New function.
5453         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5454         (do_test): New function.
5455         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5456         (do_test): New function.
5457         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5458         (do_test): New function.
5459         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5460         (do_test): New function.
5461         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5462         (do_test): New function.
5463         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5464         (do_test): New function.
5465         * math/libm-test-j0.inc: Include libm-test-driver.c.
5466         (do_test): New function.
5467         * math/libm-test-j1.inc: Include libm-test-driver.c.
5468         (do_test): New function.
5469         * math/libm-test-jn.inc: Include libm-test-driver.c.
5470         (do_test): New function.
5471         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5472         (do_test): New function.
5473         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5474         (do_test): New function.
5475         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5476         (do_test): New function.
5477         * math/libm-test-llround.inc: Include libm-test-driver.c.
5478         (do_test): New function.
5479         * math/libm-test-log.inc: Include libm-test-driver.c.
5480         (do_test): New function.
5481         * math/libm-test-log10.inc: Include libm-test-driver.c.
5482         (do_test): New function.
5483         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5484         (do_test): New function.
5485         * math/libm-test-log2.inc: Include libm-test-driver.c.
5486         (do_test): New function.
5487         * math/libm-test-logb.inc: Include libm-test-driver.c.
5488         (do_test): New function.
5489         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5490         (do_test): New function.
5491         * math/libm-test-lround.inc: Include libm-test-driver.c.
5492         (do_test): New function.
5493         * math/libm-test-modf.inc: Include libm-test-driver.c.
5494         (do_test): New function.
5495         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5496         (do_test): New function.
5497         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5498         (do_test): New function.
5499         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5500         (do_test): New function.
5501         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5502         (do_test): New function.
5503         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5504         (do_test): New function.
5505         * math/libm-test-pow.inc: Include libm-test-driver.c.
5506         (do_test): New function.
5507         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5508         (do_test): New function.
5509         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5510         (do_test): New function.
5511         * math/libm-test-rint.inc: Include libm-test-driver.c.
5512         (do_test): New function.
5513         * math/libm-test-round.inc: Include libm-test-driver.c.
5514         (do_test): New function.
5515         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5516         (do_test): New function.
5517         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5518         (do_test): New function.
5519         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5520         (do_test): New function.
5521         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5522         (do_test): New function.
5523         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5524         (do_test): New function.
5525         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5526         (do_test): New function.
5527         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5528         (do_test): New function.
5529         * math/libm-test-significand.inc: Include libm-test-driver.c.
5530         (do_test): New function.
5531         * math/libm-test-sin.inc: Include libm-test-driver.c.
5532         (do_test): New function.
5533         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5534         (do_test): New function.
5535         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5536         (do_test): New function.
5537         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5538         (do_test): New function.
5539         * math/libm-test-tan.inc: Include libm-test-driver.c.
5540         (do_test): New function.
5541         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5542         (do_test): New function.
5543         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5544         (do_test): New function.
5545         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5546         (do_test): New function.
5547         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5548         (do_test): New function.
5549         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5550         (do_test): New function.
5551         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5552         (do_test): New function.
5553         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5554         (do_test): New function.
5555         * math/libm-test-y0.inc: Include libm-test-driver.c.
5556         (do_test): New function.
5557         * math/libm-test-y1.inc: Include libm-test-driver.c.
5558         (do_test): New function.
5559         * math/libm-test-yn.inc: Include libm-test-driver.c.
5560         (do_test): New function.
5561         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5562         (HAVE_VECTOR): Remove macro.
5563         (START): Do not call HAVE_VECTOR.
5564         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5565         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5566         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5567         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5568         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5569         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5570         * math/test-math-vector.h (FUNC_TEST): New macro.
5571         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5572         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5573         (double-vlen4-funcs): Likewise.
5574         (double-vlen4-avx2-funcs): Likewise.
5575         (double-vlen8-funcs): Likewise.
5576         (float-vlen4-funcs): Likewise.
5577         (float-vlen8-funcs): Likewise.
5578         (float-vlen8-avx2-funcs): Likewise.
5579         (float-vlen16-funcs): Likewise.
5580         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5581         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5582         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5583         macro.
5584         (TEST_VECTOR_sin): Likewise.
5585         (TEST_VECTOR_sincos): Likewise.
5586         (TEST_VECTOR_log): Likewise.
5587         (TEST_VECTOR_exp): Likewise.
5588         (TEST_VECTOR_pow): Likewise.
5589         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5590         Likewise.
5591         (TEST_VECTOR_sin): Likewise.
5592         (TEST_VECTOR_sincos): Likewise.
5593         (TEST_VECTOR_log): Likewise.
5594         (TEST_VECTOR_exp): Likewise.
5595         (TEST_VECTOR_pow): Likewise.
5596         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5597         Likewise.
5598         (TEST_VECTOR_sinf): Likewise.
5599         (TEST_VECTOR_sincosf): Likewise.
5600         (TEST_VECTOR_logf): Likewise.
5601         (TEST_VECTOR_expf): Likewise.
5602         (TEST_VECTOR_powf): Likewise.
5603         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5604         Likewise.
5605         (TEST_VECTOR_sinf): Likewise.
5606         (TEST_VECTOR_sincosf): Likewise.
5607         (TEST_VECTOR_logf): Likewise.
5608         (TEST_VECTOR_expf): Likewise.
5609         (TEST_VECTOR_powf): Likewise.
5610         * math/gen-libm-have-vector-test.sh: Remove file.
5611         * math/libm-test.inc: Likewise.
5612         * math/libm-test-support-double.c: Likewise.
5613         * math/libm-test-support-float.c: Likewise.
5614         * math/libm-test-support-ldouble.c: Likewise.
5615         * math/test-double-finite.c: Likewise.: Likewise.
5616         * math/test-double.c: Likewise.
5617         * math/test-float-finite.c: Likewise.
5618         * math/test-float.c: Likewise.
5619         * math/test-idouble.c: Likewise.
5620         * math/test-ifloat.c: Likewise.
5621         * math/test-ildouble.c: Likewise.
5622         * math/test-ldouble-finite.c: Likewise.
5623         * math/test-ldouble.c: Likewise.
5624         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5625         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5626         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5627         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5629         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5630         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5631         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5632         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5633         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5635 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5636            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5638         * math/Makefile: Add wrappers to gen-libm-calls.
5639         * math/w_acos_template.c: New file.
5640         * math/w_acosh_template.c: Likewise.
5641         * math/w_asin_template.c: Likewise.
5642         * math/w_atan2_template.c: Likewise.
5643         * math/w_atanh_template.c: Likewise.
5644         * math/w_cosh_template.c: Likewise.
5645         * math/w_exp10_template.c: Likewise.
5646         * math/w_exp2_template.c: Likewise.
5647         * math/w_exp_template.c: Likewise.
5648         * math/w_fmod_template.c: Likewise.
5649         * math/w_hypot_template.c: Likewise.
5650         * math/w_j0_template.c: Likewise.
5651         * math/w_j1_template.c: Likewise.
5652         * math/w_jn_template.c: Likewise.
5653         * math/w_lgamma_r_template.c: Likewise.
5654         * math/w_lgamma_template.c: Likewise.
5655         * math/w_log10_template.c: Likewise.
5656         * math/w_log2_template.c: Likewise.
5657         * math/w_log_template.c: Likewise.
5658         * math/w_pow_template.c: Likewise.
5659         * math/w_remainder_template.c: Likewise.
5660         * math/w_sinh_template.c: Likewise.
5661         * math/w_sqrt_template.c: Likewise.
5662         * math/w_tgamma_template.c: Likewise.: Likewise.
5663         * sysdeps/generic/math-type-macros-double.h
5664         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5665         the new wrappers.
5666         * sysdeps/generic/math-type-macros-float.h: Likewise.
5667         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5669 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5671         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5672         New enum constant and macro.
5674         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5675         kernel version to 4.10.
5677 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5679         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5681 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5685 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5687         * sysdeps/powerpc/tst-set_ppr.c: New file.
5688         Implement test cases for __ppc_set_ppr_* functions.
5689         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5690         in the list of tests.
5692 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5694         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5695         instead of test-skeleton.c.
5696         (do_test): Replaced pthread_create and pthread_join with
5697         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5698         Removed unneeded status variable.
5699         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5700         instead of test-skeleton.c.
5701         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5703 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5705         [BZ #20313]
5706         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5707         201605L, for Unicode 9.
5709 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5711         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5712         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5713         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5714         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5715         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5716         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5718 2017-02-19  Zack Weinberg  <zackw@panix.com>
5720         * rt/tst-mqueue4.c: Include stdint.h.
5722 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5724         * sysdeps/arm/libm-test-ulps: Update.
5725         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5726         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5727         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5729 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5731         [BZ #21029]
5732         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5733         * sysdeps/unix/sysv/linux/i386/Makefile
5734         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5735         (uses-6-syscall-arguments): Remove.
5736         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5737         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5738         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5739         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5740         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5741         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5742         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5743         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5744         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5745         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5746         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5747         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5748         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5749         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5750         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5751         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5752         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5753         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5754         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5755         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5756         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5757         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5758         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5759         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5760         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5761         Likewise.
5762         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5763         Likewise.
5764         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5765         Likewise.
5766         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5767         Likewise.
5768         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5769         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5770         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5771         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5772         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5773         ebp on inline assembly.
5774         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5775         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5776         Set if CAN_USE_REGISTER_ASM_EBP is set.
5778 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5780         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5781         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5783 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5785         * math/auto-libm-test-in: Add tests of catan and catanh.
5786         * math/auto-libm-test-out-catan: New generated file.
5787         * math/auto-libm-test-out-catanh: Likewise.
5788         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5789         Move tests with finite inputs, except divide-by-zero cases, to
5790         auto-libm-test-in.
5791         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5792         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5793         (libm-test-funcs-noauto): Remove catan and catanh.
5794         * sysdeps/i386/fpu/libm-test-ulps: Update.
5795         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5798         * math/auto-libm-test-in: Add tests of casin and casinh.
5799         * math/auto-libm-test-out-casin: New generated file.
5800         * math/auto-libm-test-out-casinh: Likewise.
5801         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5802         Move tests with finite inputs to auto-libm-test-in.
5803         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5804         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5805         (libm-test-funcs-noauto): Remove casin and casinh.
5806         * sysdeps/i386/fpu/libm-test-ulps: Update.
5807         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5811         * math/auto-libm-test-out-cacos: New generated file.
5812         * math/auto-libm-test-out-cacosh: Likewise.
5813         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5814         Move tests with finite inputs to auto-libm-test-in.
5815         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5816         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5817         (libm-test-funcs-noauto): Remove cacos and cacosh.
5818         * sysdeps/i386/fpu/libm-test-ulps: Update.
5819         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822         Revert:
5823         2017-02-16  Zack Weinberg  <zackw@panix.com>
5825         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5826         Don't include init-arch.h.
5827         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5828         Don't include init-arch.h.
5830 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5832         [BZ #21171]
5833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5834         +Inf and raise divide-by-zero when x is negative.
5835         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5836         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5837         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5838         -Inf and raise divide-by-zero when x = +-0.
5839         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5840         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5841         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5842         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5843         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5844         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5845         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5847 2017-02-16  Zack Weinberg  <zackw@panix.com>
5849         * scripts/build-many-glibcs.py (bot_build_mail): If the
5850         bot_config does not contain all of the necessary email-
5851         related settings, just print a warning and continue.
5853 2017-02-16  Zack Weinberg  <zackw@panix.com>
5855         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5856         * dirent/opendir-tst1.c: Include sys/stat.h.
5857         * dirent/tst-fdopendir.c: Include sys/stat.h.
5858         * dirent/tst-fdopendir2.c: Include stdlib.h.
5859         * dirent/tst-scandir.c: Include stdbool.h.
5860         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5861         * elf/tst-tls15.c: Include stdlib.h.
5862         * elf/tst-tls16.c: Include stdlib.h.
5863         * elf/tst-tls17.c: Include stdlib.h.
5864         * elf/tst-tls18.c: Include stdlib.h.
5865         * iconv/tst-iconv6.c: Include endian.h.
5866         * iconvdata/bug-iconv11.c: Include limits.h.
5867         * io/test-utime.c: Include stdint.h.
5868         * io/tst-faccessat.c: Include sys/stat.h.
5869         * io/tst-fchmodat.c: Include sys/stat.h.
5870         * io/tst-fchownat.c: Include sys/stat.h.
5871         * io/tst-fstatat.c: Include sys/stat.h.
5872         * io/tst-futimesat.c: Include sys/stat.h.
5873         * io/tst-linkat.c: Include sys/stat.h.
5874         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5875         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5876         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5877         * io/tst-openat.c: Include stdbool.h.
5878         * io/tst-readlinkat.c: Include sys/stat.h.
5879         * io/tst-renameat.c: Include sys/stat.h.
5880         * io/tst-symlinkat.c: Include sys/stat.h.
5881         * io/tst-unlinkat.c: Include stdbool.h.
5882         * libio/bug-memstream1.c: Include stdlib.h.
5883         * libio/bug-wmemstream1.c: Include stdlib.h.
5884         * libio/tst-fwrite-error.c: Include stdlib.h.
5885         * libio/tst-memstream1.c: Include stdlib.h.
5886         * libio/tst-memstream2.c: Include stdlib.h.
5887         * libio/tst-memstream3.c: Include stdlib.h.
5888         * malloc/tst-interpose-aux.c: Include stdint.h.
5889         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5890         * nptl/tst-basic7.c: Include limits.h.
5891         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5892         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5893         * nptl/tst-cancel4_1.c: Include stddef.h.
5894         * nptl/tst-cancel4_2.c: Include stddef.h.
5895         * nptl/tst-cond16.c: Include limits.h.
5896         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5897         * nptl/tst-cond18.c: Include limits.h.
5898         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5899         * nptl/tst-cond4.c: Include stdint.h.
5900         * nptl/tst-cond6.c: Include stdint.h.
5901         * nptl/tst-stack2.c: Include limits.h.
5902         * nptl/tst-stackguard1.c: Include stddef.h.
5903         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5904         * nptl/tst-tls4moda.c: Include stddef.h.
5905         Don't include stdio.h, unistd.h, or tls.h.
5906         * nptl/tst-tls4modb.c: Include stddef.h.
5907         Don't include stdio.h, unistd.h, or tls.h.
5908         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5909         * posix/tst-getaddrinfo2.c: Include stdio.h.
5910         * posix/tst-getaddrinfo5.c: Include stdio.h.
5911         * posix/tst-pathconf.c: Include sys/stat.h.
5912         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5913         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5914         * posix/tst-regex.c: Include stdint.h.
5915         Don't include spawn.h or spawn_int.h.
5916         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5917         * posix/tst-vfork3.c: Include sys/stat.h.
5918         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5919         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5920         * resolv/tst-resolv-search.c: Include stdlib.h.
5921         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5922         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5923         * stdlib/test-canon.c: Include sys/stat.h.
5924         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5925         * string/test-memchr.c: Include stdint.h.
5926         * string/tst-cmp.c: Include stdint.h.
5927         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5928         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5929         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5930         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5931         Don't include init-arch.h.
5932         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5933         Don't include init-arch.h.
5934         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5935         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5936         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5937         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5938         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5939         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5940         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5941         * time/clocktest.c: Include stdint.h.
5942         * time/tst-posixtz.c: Include stdint.h.
5943         * timezone/tst-timezone.c: Include stdint.h.
5945 2017-02-16  Zack Weinberg  <zackw@panix.com>
5947         * string/string.h [__USE_MISC]: Include strings.h.
5948         (__bzero, bcmp, bcopy, bzero, index, rindex)
5949         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5950         (ffs, ffsl, ffsll): Don't declare.
5951         * string/strings.h: Do not suppress the file if string.h has
5952         already been included.
5953         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5954         annotations.
5955         (index, rindex): Define inline forwarders even if
5956         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5957         (ffs): Use __attribute_const__.
5958         (ffsl, ffsll): Declare here.
5959         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5960         have now been standardized.
5961         * include/string.h (__bzero): Declare here.
5963         * bits/types.h: Move to posix/bits.
5964         * include/bits/types.h: New wrapper.
5966 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5968         * string/bits/string2.h (strcmp): Remove define.
5969         (__strcmp_cg): Likewise.
5970         (strncmp): Likewise.
5972 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5974         * include/string.h: Add __cplusplus check.
5976 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5978         [BZ #21134]
5979         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5980         "divide by zero" exception when the input is zero.
5981         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5982         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5983         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5984         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5987 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5989         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5990         and include ...
5991         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5993         to, and include ...
5994         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5995         file.
5996         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5997         and include ...
5998         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5999         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6000         and include ...
6001         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6002         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6003         and include ...
6004         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6005         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6006         and include ...
6007         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6008         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6009         to, and include ...
6010         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6011         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6012         and include ...
6013         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6015 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6017         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6018         here.
6019         * math/libm-test-support.c (libm_test_init): Do not call
6020         INIT_ARCH_EXT here.
6021         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6022         (main): Call INIT_ARCH_EXT.
6024 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6026         [BZ #21130]
6027         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6028         with the "invalid" exception raised when x is -Inf.
6029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6031 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6033         * string/bits/string2.h (strchr): Remove define.
6035 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6037         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6038         tst-avx512.
6039         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6040         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6041         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6042         ($(objpfx)tst-sse): New rule.
6043         ($(objpfx)tst-avx): Likewise.
6044         ($(objpfx)tst-avx512): Likewise.
6045         (CFLAGS-tst-avx-aux.c): New.
6046         (CFLAGS-tst-avxmod.c): Likewise.
6047         (CFLAGS-tst-avx512-aux.c): Likewise.
6048         (CFLAGS-tst-avx512mod.c): Likewise.
6049         * sysdeps/x86_64/tst-avx-aux.c: New file.
6050         * sysdeps/x86_64/tst-avx.c: Likewise.
6051         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6052         * sysdeps/x86_64/tst-avx512.c: Likewise.
6053         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6054         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6055         * sysdeps/x86_64/tst-sse.c: Likewise.
6056         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6058 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6060         * math/auto-libm-test-in: Add more tests of csin and csinh.
6061         * math/auto-libm-test-out-csin: Regenerated.
6062         * math/auto-libm-test-out-csinh: Likewise.
6063         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6064         auto-libm-test-in.
6065         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6067 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6069         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6070         libm-compat-calls-auto.
6071         (libm-compat-calls): Likewise.
6072         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6073         w_lgamma_compatF and k_standardF (merged from the items above).
6074         (libm-routines): Use libm-compat-calls, instead of
6075         libm-compat-calls-auto, with type-foreach.
6077 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6079         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6080         macro.
6081         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6082         (CFLAGS-test-ifloat.c): ... this.  Remove
6083         -U__LIBC_INTERNAL_MATH_INLINES.
6084         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6085         (CFLAGS-test-idouble.c): ... this.  Remove
6086         -U__LIBC_INTERNAL_MATH_INLINES.
6087         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6088         (CFLAGS-test-ildouble.c): ... this.  Remove
6089         -U__LIBC_INTERNAL_MATH_INLINES.
6091 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6093         * math/libm-test-support.c: New file.  Content from
6094         math/libm-test-driver.c.
6095         * math/libm-test-support.h: Likewise.
6096         * math/libm-test-support-double.c: New file.
6097         * math/libm-test-support-float.c: Likewise.
6098         * math/libm-test-support-ldouble.c: Likewise.
6099         * math/libm-test-driver.c: Remove main comment and header
6100         includes.  Include libm-test-support.h.
6101         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6102         (flag_test_errno): Remove static.
6103         (flag_test_exceptions): Likewise.
6104         (flag_test_finite): Likewise.
6105         (flag_test_inline): Likewise.
6106         (flag_test_mathvec): Likewise.
6107         (test_msg): Likewise.
6108         (NO_EXCEPTION): Remove.
6109         (INVALID_EXCEPTION): Likewise.
6110         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6111         (OVERFLOW_EXCEPTION): Likewise.
6112         (UNDERFLOW_EXCEPTION): Likewise.
6113         (INEXACT_EXCEPTION): Likewise.
6114         (INVALID_EXCEPTION_OK): Likewise.
6115         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6116         (OVERFLOW_EXCEPTION_OK): Likewise.
6117         (UNDERFLOW_EXCEPTION_OK): Likewise.
6118         (NO_INEXACT_EXCEPTION): Likewise.
6119         (EXCEPTIONS_OK): Likewise.
6120         (IGNORE_ZERO_INF_SIGN): Likewise.
6121         (TEST_NAN_SIGN): Likewise.
6122         (TEST_NAN_PAYLOAD): Likewise.
6123         (NO_TEST_INLINE): Likewise.
6124         (XFAIL_TEST): Likewise.
6125         (ERRNO_UNCHANGED): Likewise.
6126         (ERRNO_EDOM): Likewise.
6127         (ERRNO_ERANGE): Likewise.
6128         (IGNORE_RESULT): Likewise.
6129         (NON_FINITE): Likewise.
6130         (TEST_SNAN): Likewise.
6131         (NO_TEST_MATHVEC): Likewise.
6132         (__CONCATX): Likewise.
6133         (TYPE_MIN): Likewise.
6134         (TYPE_TRUE_MIN): Likewise.
6135         (TYPE_MAX): Likewise.
6136         (MIN_EXP): Likewise.
6137         (MAX_EXP): Likewise.
6138         (MANT_DIG): Likewise.
6139         (FSTR_MAX): Likewise.
6140         (ulp_idx): Likewise.
6141         (qtype_str): Remove static.
6142         (TEST_COND_binary32): Remove.
6143         (TEST_COND_binary64): Likewise.
6144         (TEST_COND_binary128): Likewise.
6145         (TEST_COND_ibm128): Likewise.
6146         (TEST_COND_intel96): Likewise.
6147         (TEST_COND_m68k96): Likewise.
6148         (TEST_COND_ibm128_libgcc): Likewise.
6149         (XFAIL_IBM128_LIBGCC): Likewise.
6150         (PAYLOAD_DIG): Likewise.
6151         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6152         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6153         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6154         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6155         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6156         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6157         (TEST_COND_long32): Likewise.
6158         (TEST_COND_long64): Likewise.
6159         (TEST_COND_before_rounding): Likewise.
6160         (TEST_COND_after_rounding): Likewise.
6161         (ulps_file_name): Likewise.
6162         (ulps_file): Likewise.
6163         (output_ulps): Likewise.
6164         (output_dir): Likewise.
6165         (noErrors): Likewise.
6166         (noTests): Likewise.
6167         (noExcTests): Likewise.
6168         (noErrnoTests): Likewise.
6169         (verbose): Likewise.
6170         (output_max_error): Likewise.
6171         (output_points): Likewise.
6172         (ignore_max_ulp): Likewise.
6173         (max_error): Likewise.
6174         (real_max_error): Likewise.
6175         (imag_max_error): Likewise.
6176         (prev_max_error): Likewise.
6177         (prev_real_max_error): Likewise.
6178         (prev_imag_max_error): Likewise.
6179         (max_valid_error): Likewise.
6180         (TYPE_DECIMAL_DIG): Likewise.
6181         (TYPE_HEX_DIG): Likewise.
6182         (fmt_ftostr): Likewise.
6183         (compare_ulp_data): Likewise.
6184         (find_ulps): Likewise.
6185         (init_max_error): Likewise.
6186         (set_max_error): Likewise.
6187         (print_float): Likewise.
6188         (print_screen): Likewise.
6189         (print_screen_max_error): Likewise.
6190         (update_stats): Likewise.
6191         (print_function_ulps): Likewise.
6192         (print_complex_function_ulps): Likewise.
6193         (fpstack_test): Likewise.
6194         (print_max_error): Likewise.
6195         (print_complex_max_error): Likewise.
6196         (test_single_exception): Likewise.
6197         (test_exceptions): Likewise.
6198         (test_single_errno): Likewise.
6199         (test_errno): Likewise.
6200         (ULPDIFF): Likewise.
6201         (ulp): Likewise.
6202         (check_float_internal): Likewise.
6203         (check_float): Likewise.
6204         (check_complex): Likewise.
6205         (check_int): Likewise.
6206         (check_long): Likewise.
6207         (check_bool): Likewise.
6208         (check_longlong): Likewise.
6209         (check_intmax_t): Likewise.
6210         (check_uintmax_t): Likewise.
6211         (enable_test): Likewise.
6212         (matherr): Likewise.
6213         (initialize): Likewise.
6214         (options): Likewise.
6215         (doc): Remove static.
6216         (argp): Likewise.
6217         (parse_opt): Remove.
6218         (check_ulp): Likewise.
6219         (libm_test_init): Likewise.
6220         (libm_test_finish): Likewise.
6221         * math/Makefile (libm-test-support): New variable.
6222         (test-extras): Add libm-test-support files.
6223         (extra-test-objs): Likewise.
6224         (CFLAGS-libm-test-support-float.c): New variable.
6225         (CFLAGS-libm-test-support-double.c): Likewise.
6226         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6227         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6228         libm-test-support objects.
6230 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6232         * math/Makefile (libm-calls): Move w_exp...
6233         (libm-compat-calls-auto): Here.
6235         * math/w_expl.c: Add suffix "_compat" to filename.
6236         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6237         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6238         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6239         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6240         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6241         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6242         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6243         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6245         * math/w_expl_compat.c: New file, copied from above.
6246         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6247         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6248         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6249         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6250         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6251         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6252         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6253         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6255         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6256         to filename.
6257         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6259         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6260         copied from above and adjusted for the new filenames.
6261         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6263 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6265         * math/Makefile (libm-calls): Move w_lgammaF...
6266         (libm-compat-calls-auto): Here.
6268         * math/w_lgamma.c: Add suffix "_compat2" to filename.
6269         * math/w_lgammaf.c: Likewise.
6270         * math/w_lgammal.c: Likewise.
6272         * math/w_lgamma_compat2.c: New file, copied from above.
6273         * math/w_lgammaf_compat2.c: Likewise.
6274         * math/w_lgammal_compat2.c: Likewise.
6276 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6278         * math/Makefile (libm-calls): Move w_lgammaF_r...
6279         (libm-compat-calls-auto): Here.
6281         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6282         * math/w_lgammaf_r.c: Likewise.
6283         * math/w_lgammal_r.c: Likewise.
6284         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6285         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6286         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6288         * math/w_lgamma_r_compat.c: New file, copied from above.
6289         * math/w_lgammaf_r_compat.c: Likewise.
6290         * math/w_lgammal_r_compat.c: Likewise.
6291         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6292         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6293         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6295         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6296         to filename.
6297         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6299         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6300         copied from above and adjusted for the new filenames.
6301         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6303 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
6305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6306         calculation in SYSCALL_ERROR_HANDLER().
6308 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
6310         * manual/contrib.texi: Fix typo.
6312 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6314         [BZ #21109]
6315         * elf/dl-tunable-types.h (tunable_callback_t): Accept
6316         tunable_val_t as argument.
6317         * elf/dl-tunables.c (__tunable_set_val): Add comment.
6318         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6319         argument.
6320         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6322 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
6324         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6325         Add PTRACE_EVENT_STOP.
6326         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6328         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6330         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6331         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6333 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
6335         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6336         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6337         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6338         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6339         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6340         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6341         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6342         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6343         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6344         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6346         [BZ #21112]
6347         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6348         12 bits zero.
6349         (cp_l): Update for new value of cp_h.
6350         * math/auto-libm-test-in: Add another test of pow.
6351         * math/auto-libm-test-out-pow: Regenerated.
6353 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6355         * manual/contrib.texi: Fix typo.
6357 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6359         [BZ #15998]
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6361         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6364 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6366         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6367         STRCHR as __strchr_power8.
6368         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6369         strlen as __strlen_power8.
6371 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6373         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6374         unaligned load for shorter strings.
6375         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6377 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6379         * math/libm-test-driver.c (flag_test_errno): New variable.
6380         (flag_test_exceptions): Likewise.
6381         (flag_test_finite): Likewise.
6382         (flag_test_inline): Likewise.
6383         (flag_test_mathvec): Likewise.
6384         (test_msg): Likewise.
6385         (ulp_idx): Likewise.
6386         (qtype_str): Likewise.
6387         (ULP_IDX): Remove macro.
6388         (QTYPE_STR): Likewise.
6389         (find_ulps): Use ulp_idx not ULP_IDX.
6390         (print_function_ulps): Use qtype_str, printed with %s, not
6391         QTYPE_STR, printed with concatentation to format string.
6392         (print_complex_function_ulps): Likewise.
6393         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6394         (test_errno): Use flag_test_errno not TEST_ERRNO.
6395         (enable_test): Use flag_test_inline, flag_test_finite and
6396         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6397         TEST_MATHVEC.
6398         (libm_test_init): New function.  Factored out of main.
6399         (libm_test_finish): Likewise.
6400         (main): Call libm_test_init and libm_test_finish and move most
6401         code to those functions.
6403         * math/libm-test-driver.c (STRX): New macro.
6404         (STR): Likewise.
6405         (STR_FLOAT): Likewise.
6406         (STR_VEC_LEN): Likewise.
6407         (TEST_MSG): Likewise.  Define here instead of expecting to be
6408         defined by including file.
6409         * math/test-double-finite.c (TEST_MSG): Remove macro.
6410         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6411         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6412         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6413         * math/test-double.c (TEST_MSG): Likewise.
6414         * math/test-float-finite.c (TEST_MSG): Likewise.
6415         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6416         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6417         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6418         * math/test-float.c (TEST_MSG): Likewise.
6419         * math/test-idouble.c (TEST_MSG): Likewise.
6420         * math/test-ifloat.c (TEST_MSG): Likewise.
6421         * math/test-ildouble.c (TEST_MSG): Likewise.
6422         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6423         * math/test-ldouble.c (TEST_MSG): Likewise.
6425         * math/libm-test.inc: Move all tests of individual functions to
6426         libm-test-*.inc and #include libm-test-*.c files.
6427         (acos_test_data): Remove.
6428         (acos_test): Likewise.
6429         (acosh_test_data): Likewise.
6430         (acosh_test): Likewise.
6431         (asin_test_data): Likewise.
6432         (asin_test): Likewise.
6433         (asinh_test_data): Likewise.
6434         (asinh_test): Likewise.
6435         (atan_test_data): Likewise.
6436         (atan_test): Likewise.
6437         (atanh_test_data): Likewise.
6438         (atanh_test): Likewise.
6439         (atan2_test_data): Likewise.
6440         (atan2_test): Likewise.
6441         (cabs_test_data): Likewise.
6442         (cabs_test): Likewise.
6443         (cacos_test_data): Likewise.
6444         (cacos_test): Likewise.
6445         (cacosh_test_data): Likewise.
6446         (cacosh_test): Likewise.
6447         (canonicalize_test_data): Likewise.
6448         (canonicalize_test): Likewise.
6449         (carg_test_data): Likewise.
6450         (carg_test): Likewise.
6451         (casin_test_data): Likewise.
6452         (casin_test): Likewise.
6453         (casinh_test_data): Likewise.
6454         (casinh_test): Likewise.
6455         (catan_test_data): Likewise.
6456         (catan_test): Likewise.
6457         (catanh_test_data): Likewise.
6458         (catanh_test): Likewise.
6459         (cbrt_test_data): Likewise.
6460         (cbrt_test): Likewise.
6461         (ccos_test_data): Likewise.
6462         (ccos_test): Likewise.
6463         (ccosh_test_data): Likewise.
6464         (ccosh_test): Likewise.
6465         (ceil_test_data): Likewise.
6466         (ceil_test): Likewise.
6467         (cexp_test_data): Likewise.
6468         (cexp_test): Likewise.
6469         (cimag_test_data): Likewise.
6470         (cimag_test): Likewise.
6471         (clog_test_data): Likewise.
6472         (clog_test): Likewise.
6473         (clog10_test_data): Likewise.
6474         (clog10_test): Likewise.
6475         (conj_test_data): Likewise.
6476         (conj_test): Likewise.
6477         (copysign_test_data): Likewise.
6478         (copysign_test): Likewise.
6479         (cos_test_data): Likewise.
6480         (cos_test): Likewise.
6481         (cosh_test_data): Likewise.
6482         (cosh_test): Likewise.
6483         (cpow_test_data): Likewise.
6484         (cpow_test): Likewise.
6485         (cproj_test_data): Likewise.
6486         (cproj_test): Likewise.
6487         (creal_test_data): Likewise.
6488         (creal_test): Likewise.
6489         (csin_test_data): Likewise.
6490         (csin_test): Likewise.
6491         (csinh_test_data): Likewise.
6492         (csinh_test): Likewise.
6493         (csqrt_test_data): Likewise.
6494         (csqrt_test): Likewise.
6495         (ctan_test_data): Likewise.
6496         (ctan_test): Likewise.
6497         (ctanh_test_data): Likewise.
6498         (ctanh_test): Likewise.
6499         (erf_test_data): Likewise.
6500         (erf_test): Likewise.
6501         (erfc_test_data): Likewise.
6502         (erfc_test): Likewise.
6503         (exp_test_data): Likewise.
6504         (exp_test): Likewise.
6505         (exp10_test_data): Likewise.
6506         (exp10_test): Likewise.
6507         (pow10_test): Likewise.
6508         (exp2_test_data): Likewise.
6509         (exp2_test): Likewise.
6510         (expm1_test_data): Likewise.
6511         (expm1_test): Likewise.
6512         (fabs_test_data): Likewise.
6513         (fabs_test): Likewise.
6514         (fdim_test_data): Likewise.
6515         (fdim_test): Likewise.
6516         (floor_test_data): Likewise.
6517         (floor_test): Likewise.
6518         (fma_test_data): Likewise.
6519         (fma_test): Likewise.
6520         (fmax_test_data): Likewise.
6521         (fmax_test): Likewise.
6522         (fmaxmag_test_data): Likewise.
6523         (fmaxmag_test): Likewise.
6524         (fmin_test_data): Likewise.
6525         (fmin_test): Likewise.
6526         (fminmag_test_data): Likewise.
6527         (fminmag_test): Likewise.
6528         (fmod_test_data): Likewise.
6529         (fmod_test): Likewise.
6530         (fpclassify_test_data): Likewise.
6531         (fpclassify_test): Likewise.
6532         (frexp_test_data): Likewise.
6533         (frexp_test): Likewise.
6534         (fromfp_test_data): Likewise.
6535         (fromfp_test): Likewise.
6536         (fromfpx_test_data): Likewise.
6537         (fromfpx_test): Likewise.
6538         (getpayload_test_data): Likewise.
6539         (getpayload_test): Likewise.
6540         (hypot_test_data): Likewise.
6541         (hypot_test): Likewise.
6542         (ilogb_test_data): Likewise.
6543         (ilogb_test): Likewise.
6544         (iscanonical_test_data): Likewise.
6545         (iscanonical_test): Likewise.
6546         (iseqsig_test_data): Likewise.
6547         (iseqsig_test): Likewise.
6548         (isfinite_test_data): Likewise.
6549         (isfinite_test): Likewise.
6550         (finite_test): Likewise.
6551         (isgreater_test_data): Likewise.
6552         (isgreater_test): Likewise.
6553         (isgreaterequal_test_data): Likewise.
6554         (isgreaterequal_test): Likewise.
6555         (isinf_test_data): Likewise.
6556         (isinf_test): Likewise.
6557         (isless_test_data): Likewise.
6558         (isless_test): Likewise.
6559         (islessequal_test_data): Likewise.
6560         (islessequal_test): Likewise.
6561         (islessgreater_test_data): Likewise.
6562         (islessgreater_test): Likewise.
6563         (isnan_test_data): Likewise.
6564         (isnan_test): Likewise.
6565         (isnormal_test_data): Likewise.
6566         (isnormal_test): Likewise.
6567         (issignaling_test_data): Likewise.
6568         (issignaling_test): Likewise.
6569         (issubnormal_test_data): Likewise.
6570         (issubnormal_test): Likewise.
6571         (isunordered_test_data): Likewise.
6572         (isunordered_test): Likewise.
6573         (iszero_test_data): Likewise.
6574         (iszero_test): Likewise.
6575         (j0_test_data): Likewise.
6576         (j0_test): Likewise.
6577         (j1_test_data): Likewise.
6578         (j1_test): Likewise.
6579         (jn_test_data): Likewise.
6580         (jn_test): Likewise.
6581         (lgamma_test_data): Likewise.
6582         (lgamma_test): Likewise.
6583         (gamma_test): Likewise.
6584         (llogb_test_data): Likewise.
6585         (llogb_test): Likewise.
6586         (lrint_test_data): Likewise.
6587         (lrint_test): Likewise.
6588         (llrint_test_data): Likewise.
6589         (llrint_test): Likewise.
6590         (log_test_data): Likewise.
6591         (log_test): Likewise.
6592         (log10_test_data): Likewise.
6593         (log10_test): Likewise.
6594         (log1p_test_data): Likewise.
6595         (log1p_test): Likewise.
6596         (log2_test_data): Likewise.
6597         (log2_test): Likewise.
6598         (logb_test_data): Likewise.
6599         (logb_test): Likewise.
6600         (lround_test_data): Likewise.
6601         (lround_test): Likewise.
6602         (llround_test_data): Likewise.
6603         (llround_test): Likewise.
6604         (modf_test_data): Likewise.
6605         (modf_test): Likewise.
6606         (nearbyint_test_data): Likewise.
6607         (nearbyint_test): Likewise.
6608         (nextafter_test_data): Likewise.
6609         (nextafter_test): Likewise.
6610         (nextup_test_data): Likewise.
6611         (nextup_test): Likewise.
6612         (nextdown_test_data): Likewise.
6613         (nextdown_test): Likewise.
6614         (nexttoward_test_data): Likewise.
6615         (nexttoward_test): Likewise.
6616         (pow_test_data): Likewise.
6617         (pow_test): Likewise.
6618         (remainder_test_data): Likewise.
6619         (remainder_test): Likewise.
6620         (drem_test): Likewise.
6621         (remquo_test_data): Likewise.
6622         (remquo_test): Likewise.
6623         (rint_test_data): Likewise.
6624         (rint_test): Likewise.
6625         (round_test_data): Likewise.
6626         (round_test): Likewise.
6627         (roundeven_test_data): Likewise.
6628         (roundeven_test): Likewise.
6629         (scalb_test_data): Likewise.
6630         (scalb_test): Likewise.
6631         (scalbn_test_data): Likewise.
6632         (scalbn_test): Likewise.
6633         (ldexp_test): Likewise.
6634         (scalbln_test_data): Likewise.
6635         (scalbln_test): Likewise.
6636         (setpayload_test_data): Likewise.
6637         (setpayload_test): Likewise.
6638         (setpayloadsig_test_data): Likewise.
6639         (setpayloadsig_test): Likewise.
6640         (signbit_test_data): Likewise.
6641         (signbit_test): Likewise.
6642         (sin_test_data): Likewise.
6643         (sin_test): Likewise.
6644         (sincos_test_data): Likewise.
6645         (sincos_test): Likewise.
6646         (sinh_test_data): Likewise.
6647         (sinh_test): Likewise.
6648         (sqrt_test_data): Likewise.
6649         (sqrt_test): Likewise.
6650         (tan_test_data): Likewise.
6651         (tan_test): Likewise.
6652         (tanh_test_data): Likewise.
6653         (tanh_test): Likewise.
6654         (tgamma_test_data): Likewise.
6655         (tgamma_test): Likewise.
6656         (totalorder_test_data): Likewise.
6657         (totalorder_test): Likewise.
6658         (totalordermag_test_data): Likewise.
6659         (totalordermag_test): Likewise.
6660         (trunc_test_data): Likewise.
6661         (trunc_test): Likewise.
6662         (ufromfp_test_data): Likewise.
6663         (ufromfp_test): Likewise.
6664         (ufromfpx_test_data): Likewise.
6665         (ufromfpx_test): Likewise.
6666         (y0_test_data): Likewise.
6667         (y0_test): Likewise.
6668         (y1_test_data): Likewise.
6669         (y1_test): Likewise.
6670         (yn_test_data): Likewise.
6671         (yn_test): Likewise.
6672         (significand_test_data): Likewise.
6673         (significand_test): Likewise.
6674         * math/Makefile (auto-libm-test-out-files): Remove variable.
6675         (libm-test-funcs-noauto): New variable.
6676         (libm-test-funcs-all): Likewise.
6677         (libm-test-c-auto): Likewise.
6678         (libm-test-c-noauto): Likewise.
6679         (libm-tests-generated): Add $(libm-test-c-auto) and
6680         $(libm-test-c-noauto).
6681         (generated): Do not add auto-libm-test-out.
6682         (libm-test-c-auto-obj): New variable.
6683         (libm-test-c-noauto-obj): Likewise.
6684         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6685         ($(libm-test-c-noauto-obj)): New static pattern rule.
6686         ($(libm-test-c-auto-obj)): Likewise.
6687         (libm-test-incs): New variable.
6688         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6689         and pass it to gen-libm-have-vector-test.sh.
6690         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6691         be passed on command line.
6692         * math/libm-test-acos.inc: New file.  Content from
6693         math/libm-test.inc.
6694         * math/libm-test-acosh.inc: Likewise.
6695         * math/libm-test-asin.inc: Likewise.
6696         * math/libm-test-asinh.inc: Likewise.
6697         * math/libm-test-atan.inc: Likewise.
6698         * math/libm-test-atan2.inc: Likewise.
6699         * math/libm-test-atanh.inc: Likewise.
6700         * math/libm-test-cabs.inc: Likewise.
6701         * math/libm-test-cacos.inc: Likewise.
6702         * math/libm-test-cacosh.inc: Likewise.
6703         * math/libm-test-canonicalize.inc: Likewise.
6704         * math/libm-test-carg.inc: Likewise.
6705         * math/libm-test-casin.inc: Likewise.
6706         * math/libm-test-casinh.inc: Likewise.
6707         * math/libm-test-catan.inc: Likewise.
6708         * math/libm-test-catanh.inc: Likewise.
6709         * math/libm-test-cbrt.inc: Likewise.
6710         * math/libm-test-ccos.inc: Likewise.
6711         * math/libm-test-ccosh.inc: Likewise.
6712         * math/libm-test-ceil.inc: Likewise.
6713         * math/libm-test-cexp.inc: Likewise.
6714         * math/libm-test-cimag.inc: Likewise.
6715         * math/libm-test-clog.inc: Likewise.
6716         * math/libm-test-clog10.inc: Likewise.
6717         * math/libm-test-conj.inc: Likewise.
6718         * math/libm-test-copysign.inc: Likewise.
6719         * math/libm-test-cos.inc: Likewise.
6720         * math/libm-test-cosh.inc: Likewise.
6721         * math/libm-test-cpow.inc: Likewise.
6722         * math/libm-test-cproj.inc: Likewise.
6723         * math/libm-test-creal.inc: Likewise.
6724         * math/libm-test-csin.inc: Likewise.
6725         * math/libm-test-csinh.inc: Likewise.
6726         * math/libm-test-csqrt.inc: Likewise.
6727         * math/libm-test-ctan.inc: Likewise.
6728         * math/libm-test-ctanh.inc: Likewise.
6729         * math/libm-test-erf.inc: Likewise.
6730         * math/libm-test-erfc.inc: Likewise.
6731         * math/libm-test-exp.inc: Likewise.
6732         * math/libm-test-exp10.inc: Likewise.
6733         * math/libm-test-exp2.inc: Likewise.
6734         * math/libm-test-expm1.inc: Likewise.
6735         * math/libm-test-fabs.inc: Likewise.
6736         * math/libm-test-fdim.inc: Likewise.
6737         * math/libm-test-floor.inc: Likewise.
6738         * math/libm-test-fma.inc: Likewise.
6739         * math/libm-test-fmax.inc: Likewise.
6740         * math/libm-test-fmaxmag.inc: Likewise.
6741         * math/libm-test-fmin.inc: Likewise.
6742         * math/libm-test-fminmag.inc: Likewise.
6743         * math/libm-test-fmod.inc: Likewise.
6744         * math/libm-test-fpclassify.inc: Likewise.
6745         * math/libm-test-frexp.inc: Likewise.
6746         * math/libm-test-fromfp.inc: Likewise.
6747         * math/libm-test-fromfpx.inc: Likewise.
6748         * math/libm-test-getpayload.inc: Likewise.
6749         * math/libm-test-hypot.inc: Likewise.
6750         * math/libm-test-ilogb.inc: Likewise.
6751         * math/libm-test-iscanonical.inc: Likewise.
6752         * math/libm-test-iseqsig.inc: Likewise.
6753         * math/libm-test-isfinite.inc: Likewise.
6754         * math/libm-test-isgreater.inc: Likewise.
6755         * math/libm-test-isgreaterequal.inc: Likewise.
6756         * math/libm-test-isinf.inc: Likewise.
6757         * math/libm-test-isless.inc: Likewise.
6758         * math/libm-test-islessequal.inc: Likewise.
6759         * math/libm-test-islessgreater.inc: Likewise.
6760         * math/libm-test-isnan.inc: Likewise.
6761         * math/libm-test-isnormal.inc: Likewise.
6762         * math/libm-test-issignaling.inc: Likewise.
6763         * math/libm-test-issubnormal.inc: Likewise.
6764         * math/libm-test-isunordered.inc: Likewise.
6765         * math/libm-test-iszero.inc: Likewise.
6766         * math/libm-test-j0.inc: Likewise.
6767         * math/libm-test-j1.inc: Likewise.
6768         * math/libm-test-jn.inc: Likewise.
6769         * math/libm-test-lgamma.inc: Likewise.
6770         * math/libm-test-llogb.inc: Likewise.
6771         * math/libm-test-llrint.inc: Likewise.
6772         * math/libm-test-llround.inc: Likewise.
6773         * math/libm-test-log.inc: Likewise.
6774         * math/libm-test-log10.inc: Likewise.
6775         * math/libm-test-log1p.inc: Likewise.
6776         * math/libm-test-log2.inc: Likewise.
6777         * math/libm-test-logb.inc: Likewise.
6778         * math/libm-test-lrint.inc: Likewise.
6779         * math/libm-test-lround.inc: Likewise.
6780         * math/libm-test-modf.inc: Likewise.
6781         * math/libm-test-nearbyint.inc: Likewise.
6782         * math/libm-test-nextafter.inc: Likewise.
6783         * math/libm-test-nextdown.inc: Likewise.
6784         * math/libm-test-nexttoward.inc: Likewise.
6785         * math/libm-test-nextup.inc: Likewise.
6786         * math/libm-test-pow.inc: Likewise.
6787         * math/libm-test-remainder.inc: Likewise.
6788         * math/libm-test-remquo.inc: Likewise.
6789         * math/libm-test-rint.inc: Likewise.
6790         * math/libm-test-round.inc: Likewise.
6791         * math/libm-test-roundeven.inc: Likewise.
6792         * math/libm-test-scalb.inc: Likewise.
6793         * math/libm-test-scalbln.inc: Likewise.
6794         * math/libm-test-scalbn.inc: Likewise.
6795         * math/libm-test-setpayload.inc: Likewise.
6796         * math/libm-test-setpayloadsig.inc: Likewise.
6797         * math/libm-test-signbit.inc: Likewise.
6798         * math/libm-test-significand.inc: Likewise.
6799         * math/libm-test-sin.inc: Likewise.
6800         * math/libm-test-sincos.inc: Likewise.
6801         * math/libm-test-sinh.inc: Likewise.
6802         * math/libm-test-sqrt.inc: Likewise.
6803         * math/libm-test-tan.inc: Likewise.
6804         * math/libm-test-tanh.inc: Likewise.
6805         * math/libm-test-tgamma.inc: Likewise.
6806         * math/libm-test-totalorder.inc: Likewise.
6807         * math/libm-test-totalordermag.inc: Likewise.
6808         * math/libm-test-trunc.inc: Likewise.
6809         * math/libm-test-ufromfp.inc: Likewise.
6810         * math/libm-test-ufromfpx.inc: Likewise.
6811         * math/libm-test-y0.inc: Likewise.
6812         * math/libm-test-y1.inc: Likewise.
6813         * math/libm-test-yn.inc: Likewise.
6814         * math/README.libm-test: Update.
6816         * math/gen-auto-libm-tests.c: Update comment about use of program.
6817         (generate_output): Add argument FUNCTION.
6818         (main): Require extra argument.  Pass function name to
6819         generate_output.
6820         * math/Makefile (generated): Add auto-libm-test-out.
6821         (libm-test-funcs-auto): New variable.
6822         (auto-libm-test-out-files): New variable.
6823         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6824         Concatenate those files to form $(objpfx)auto-libm-test-out and
6825         use it as input to gen-libm-test.pl.
6826         * math/README.libm-test: Update.
6827         * math/auto-libm-test-out: Remove.
6828         * math/auto-libm-test-out-acos: New generated file.
6829         * math/auto-libm-test-out-acosh: Likewise.
6830         * math/auto-libm-test-out-asin: Likewise.
6831         * math/auto-libm-test-out-asinh: Likewise.
6832         * math/auto-libm-test-out-atan: Likewise.
6833         * math/auto-libm-test-out-atan2: Likewise.
6834         * math/auto-libm-test-out-atanh: Likewise.
6835         * math/auto-libm-test-out-cabs: Likewise.
6836         * math/auto-libm-test-out-carg: Likewise.
6837         * math/auto-libm-test-out-cbrt: Likewise.
6838         * math/auto-libm-test-out-ccos: Likewise.
6839         * math/auto-libm-test-out-ccosh: Likewise.
6840         * math/auto-libm-test-out-cexp: Likewise.
6841         * math/auto-libm-test-out-clog: Likewise.
6842         * math/auto-libm-test-out-clog10: Likewise.
6843         * math/auto-libm-test-out-cos: Likewise.
6844         * math/auto-libm-test-out-cosh: Likewise.
6845         * math/auto-libm-test-out-cpow: Likewise.
6846         * math/auto-libm-test-out-csin: Likewise.
6847         * math/auto-libm-test-out-csinh: Likewise.
6848         * math/auto-libm-test-out-csqrt: Likewise.
6849         * math/auto-libm-test-out-ctan: Likewise.
6850         * math/auto-libm-test-out-ctanh: Likewise.
6851         * math/auto-libm-test-out-erf: Likewise.
6852         * math/auto-libm-test-out-erfc: Likewise.
6853         * math/auto-libm-test-out-exp: Likewise.
6854         * math/auto-libm-test-out-exp10: Likewise.
6855         * math/auto-libm-test-out-exp2: Likewise.
6856         * math/auto-libm-test-out-expm1: Likewise.
6857         * math/auto-libm-test-out-fma: Likewise.
6858         * math/auto-libm-test-out-hypot: Likewise.
6859         * math/auto-libm-test-out-j0: Likewise.
6860         * math/auto-libm-test-out-j1: Likewise.
6861         * math/auto-libm-test-out-jn: Likewise.
6862         * math/auto-libm-test-out-lgamma: Likewise.
6863         * math/auto-libm-test-out-log: Likewise.
6864         * math/auto-libm-test-out-log10: Likewise.
6865         * math/auto-libm-test-out-log1p: Likewise.
6866         * math/auto-libm-test-out-log2: Likewise.
6867         * math/auto-libm-test-out-pow: Likewise.
6868         * math/auto-libm-test-out-sin: Likewise.
6869         * math/auto-libm-test-out-sincos: Likewise.
6870         * math/auto-libm-test-out-sinh: Likewise.
6871         * math/auto-libm-test-out-sqrt: Likewise.
6872         * math/auto-libm-test-out-tan: Likewise.
6873         * math/auto-libm-test-out-tanh: Likewise.
6874         * math/auto-libm-test-out-tgamma: Likewise.
6875         * math/auto-libm-test-out-y0: Likewise.
6876         * math/auto-libm-test-out-y1: Likewise.
6877         * math/auto-libm-test-out-yn: Likewise.
6879         * math/Makefile (generated): Do not include libm-test.stmp.
6880         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6881         on $(objpfx)libm-test.stmp.
6882         ($(objpfx)libm-test.stmp): Remove rule.
6883         ($(objpfx)libm-test-ulps.h): New rule.
6884         ($(objpfx)libm-test.c): Likewise.
6885         ($(objpfx)libm-have-vector-test.h): Likewise.
6886         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6887         individual generated files, not libm-test.stmp.
6889         * math/gen-libm-test.pl ($output_dir): Remove variable.
6890         ($srcdir): Likewise.
6891         ($opt_a): New variable.
6892         ($opt_c): Likewise.
6893         ($opt_C): Likewise.
6894         ($opt_H): Likewise.
6895         (-n): Make option take argument and use it as NewUlps output.
6896         (-a): New option.  Use its argument for auto-libm-test-out input.
6897         (-c): New option.  Use its argument for libm-test.inc input.
6898         (-C): New option.  Use its argument for libm-test.c output.
6899         (-H): New option.  Use its argument for libm-test-ulps.h output.
6900         (top level): Only process inputs needed to generate outputs
6901         specified by command-line options.  Only generate outputs
6902         specified by command-line options.
6903         * math/README.libm-test: Update example gen-libm-test.pl command.
6904         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6905         commands.
6906         (regen-ulps): Likewise.
6908 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6910         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6911         * include/string.h (index): Remove define.
6912         (rindex): Likewise.
6913         * misc/getttyent.c (__getttyent): Rename index to strchr.
6914         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6915         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6917 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6919         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6920         * math/libm-test.inc: Move all contents, other than tests of
6921         individual functions, to libm-test-driver.c.
6922         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6923         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6924         [!FE_UPWARD] (FE_UPWARD): Likewise.
6925         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6926         (NO_EXCEPTION): Likewise.
6927         (INVALID_EXCEPTION): Likewise.
6928         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6929         (OVERFLOW_EXCEPTION): Likewise.
6930         (UNDERFLOW_EXCEPTION): Likewise.
6931         (INEXACT_EXCEPTION): Likewise.
6932         (INVALID_EXCEPTION_OK): Likewise.
6933         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6934         (OVERFLOW_EXCEPTION_OK): Likewise.
6935         (UNDERFLOW_EXCEPTION_OK): Likewise.
6936         (NO_INEXACT_EXCEPTION): Likewise.
6937         (EXCEPTIONS_OK): Likewise.
6938         (IGNORE_ZERO_INF_SIGN): Likewise.
6939         (TEST_NAN_SIGN): Likewise.
6940         (TEST_NAN_PAYLOAD): Likewise.
6941         (NO_TEST_INLINE): Likewise.
6942         (XFAIL_TEST): Likewise.
6943         (ERRNO_UNCHANGED): Likewise.
6944         (ERRNO_EDOM): Likewise.
6945         (ERRNO_ERANGE): Likewise.
6946         (IGNORE_RESULT): Likewise.
6947         (NON_FINITE): Likewise.
6948         (TEST_SNAN): Likewise.
6949         (NO_TEST_MATHVEC): Likewise.
6950         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6951         (__CONCATX): Likewise.
6952         (TYPE_MIN): Likewise.
6953         (TYPE_TRUE_MIN): Likewise.
6954         (TYPE_MAX): Likewise.
6955         (MIN_EXP): Likewise.
6956         (MAX_EXP): Likewise.
6957         (MANT_DIG): Likewise.
6958         (FSTR_MAX): Likewise.
6959         (ULP_IDX): Likewise.
6960         (QTYPE_STR): Likewise.
6961         (TEST_COND_binary32): Likewise.
6962         (TEST_COND_binary64): Likewise.
6963         (TEST_COND_binary128): Likewise.
6964         (TEST_COND_ibm128): Likewise.
6965         (TEST_COND_intel96): Likewise.
6966         (TEST_COND_m68k96): Likewise.
6967         (TEST_COND_ibm128_libgcc): Likewise.
6968         (XFAIL_IBM128_LIBGCC): Likewise.
6969         (PAYLOAD_DIG): Likewise.
6970         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6971         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6972         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6973         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6974         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6975         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6976         (TEST_COND_long32): Likewise.
6977         (TEST_COND_long64): Likewise.
6978         (TEST_COND_before_rounding): Likewise.
6979         (TEST_COND_after_rounding): Likewise.
6980         (lit_pi_3_m_4_d): Likewise.
6981         (lit_pi_3_m_4_ln10_m_d): Likewise.
6982         (lit_pi_2_ln10_m_d): Likewise.
6983         (lit_pi_4_ln10_m_d): Likewise.
6984         (lit_pi_ln10_d): Likewise.
6985         (lit_pi_2_d): Likewise.
6986         (lit_pi_4_d): Likewise.
6987         (lit_pi): Likewise.
6988         (lit_e): Likewise.
6989         (ulps_file_name): Likewise.
6990         (ulps_file): Likewise.
6991         (output_ulps): Likewise.
6992         (output_dir): Likewise.
6993         (noErrors): Likewise.
6994         (noTests): Likewise.
6995         (noExcTests): Likewise.
6996         (noErrnoTests): Likewise.
6997         (verbose): Likewise.
6998         (output_max_error): Likewise.
6999         (output_points): Likewise.
7000         (ignore_max_ulp): Likewise.
7001         (plus_zero): Likewise.
7002         (minus_zero): Likewise.
7003         (plus_infty): Likewise.
7004         (minus_infty): Likewise.
7005         (qnan_value_pl): Likewise.
7006         (qnan_value): Likewise.
7007         (snan_value_pl): Likewise.
7008         (snan_value): Likewise.
7009         (max_value): Likewise.
7010         (min_value): Likewise.
7011         (min_subnorm_value): Likewise.
7012         (snan_value_ld): Likewise.
7013         (max_error): Likewise.
7014         (real_max_error): Likewise.
7015         (imag_max_error): Likewise.
7016         (prev_max_error): Likewise.
7017         (prev_real_max_error): Likewise.
7018         (prev_imag_max_error): Likewise.
7019         (max_valid_error): Likewise.
7020         (TYPE_DECIMAL_DIG): Likewise.
7021         (TYPE_HEX_DIG): Likewise.
7022         (fmt_ftostr): Likewise.
7023         (compare_ulp_data): Likewise.
7024         (find_ulps): Likewise.
7025         (init_max_error): Likewise.
7026         (set_max_error): Likewise.
7027         (print_float): Likewise.
7028         (print_screen): Likewise.
7029         (print_screen_max_error): Likewise.
7030         (update_stats): Likewise.
7031         (print_function_ulps): Likewise.
7032         (print_complex_function_ulps): Likewise.
7033         (fpstack_test): Likewise.
7034         (print_max_error): Likewise.
7035         (print_complex_max_error): Likewise.
7036         (test_single_exception): Likewise.
7037         (test_exceptions): Likewise.
7038         (test_single_errno): Likewise.
7039         (test_errno): Likewise.
7040         (ULPDIFF): Likewise.
7041         (ulp): Likewise.
7042         (check_float_internal): Likewise.
7043         (check_float): Likewise.
7044         (check_complex): Likewise.
7045         (check_int): Likewise.
7046         (check_long): Likewise.
7047         (check_bool): Likewise.
7048         (check_longlong): Likewise.
7049         (check_intmax_t): Likewise.
7050         (check_uintmax_t): Likewise.
7051         (enable_test): Likewise.
7052         (struct test_f_f_data): Likewise.
7053         (struct test_ff_f_data): Likewise.
7054         (struct test_fj_f_data): Likewise.
7055         (struct test_fi_f_data): Likewise.
7056         (struct test_fl_f_data): Likewise.
7057         (struct test_if_f_data): Likewise.
7058         (struct test_fff_f_data): Likewise.
7059         (struct test_fiu_M_data): Likewise.
7060         (struct test_fiu_U_data): Likewise.
7061         (struct test_c_f_data): Likewise.
7062         (struct test_f_f1_data): Likewise.
7063         (struct test_fF_f1_data): Likewise.
7064         (struct test_ffI_f1_data): Likewise.
7065         (struct test_c_c_data): Likewise.
7066         (struct test_cc_c_data): Likewise.
7067         (struct test_f_i_data): Likewise.
7068         (struct test_ff_i_data): Likewise.
7069         (struct test_f_l_data): Likewise.
7070         (struct test_f_L_data): Likewise.
7071         (struct test_fFF_11_data): Likewise.
7072         (struct test_Ff_b1_data): Likewise.
7073         (IF_ROUND_INIT_): Likewise.
7074         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7075         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7076         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7077         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7078         (ROUND_RESTORE_): Likewise.
7079         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7080         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7081         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7082         (ROUND_RESTORE_FE_UPWARD): Likewise.
7083         (RM_): Likewise.
7084         (RM_FE_DOWNWARD): Likewise.
7085         (RM_FE_TONEAREST): Likewise.
7086         (RM_FE_TOWARDZERO): Likewise.
7087         (RM_FE_UPWARD): Likewise.
7088         (COMMON_TEST_SETUP): Likewise.
7089         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7090         (COMMON_TEST_CLEANUP): Likewise.
7091         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7092         (RUN_TEST_f_f): Likewise.
7093         (RUN_TEST_LOOP_f_f): Likewise.
7094         (RUN_TEST_fp_f): Likewise.
7095         (RUN_TEST_LOOP_fp_f): Likewise.
7096         (RUN_TEST_2_f): Likewise.
7097         (RUN_TEST_LOOP_2_f): Likewise.
7098         (RUN_TEST_ff_f): Likewise.
7099         (RUN_TEST_LOOP_ff_f): Likewise.
7100         (RUN_TEST_LOOP_fj_f): Likewise.
7101         (RUN_TEST_fi_f): Likewise.
7102         (RUN_TEST_LOOP_fi_f): Likewise.
7103         (RUN_TEST_fl_f): Likewise.
7104         (RUN_TEST_LOOP_fl_f): Likewise.
7105         (RUN_TEST_if_f): Likewise.
7106         (RUN_TEST_LOOP_if_f): Likewise.
7107         (RUN_TEST_fff_f): Likewise.
7108         (RUN_TEST_LOOP_fff_f): Likewise.
7109         (RUN_TEST_fiu_M): Likewise.
7110         (RUN_TEST_LOOP_fiu_M): Likewise.
7111         (RUN_TEST_fiu_U): Likewise.
7112         (RUN_TEST_LOOP_fiu_U): Likewise.
7113         (RUN_TEST_c_f): Likewise.
7114         (RUN_TEST_LOOP_c_f): Likewise.
7115         (RUN_TEST_f_f1): Likewise.
7116         (RUN_TEST_LOOP_f_f1): Likewise.
7117         (RUN_TEST_fF_f1): Likewise.
7118         (RUN_TEST_LOOP_fF_f1): Likewise.
7119         (RUN_TEST_fI_f1): Likewise.
7120         (RUN_TEST_LOOP_fI_f1): Likewise.
7121         (RUN_TEST_ffI_f1_mod8): Likewise.
7122         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7123         (RUN_TEST_Ff_b1): Likewise.
7124         (RUN_TEST_LOOP_Ff_b1): Likewise.
7125         (RUN_TEST_Ffp_b1): Likewise.
7126         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7127         (RUN_TEST_c_c): Likewise.
7128         (RUN_TEST_LOOP_c_c): Likewise.
7129         (RUN_TEST_cc_c): Likewise.
7130         (RUN_TEST_LOOP_cc_c): Likewise.
7131         (RUN_TEST_f_i): Likewise.
7132         (RUN_TEST_LOOP_f_i): Likewise.
7133         (RUN_TEST_f_i_tg): Likewise.
7134         (RUN_TEST_LOOP_f_i_tg): Likewise.
7135         (RUN_TEST_ff_b): Likewise.
7136         (RUN_TEST_LOOP_ff_b): Likewise.
7137         (RUN_TEST_ff_i_tg): Likewise.
7138         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7139         (RUN_TEST_f_b): Likewise.
7140         (RUN_TEST_LOOP_f_b): Likewise.
7141         (RUN_TEST_f_b_tg): Likewise.
7142         (RUN_TEST_LOOP_f_b_tg): Likewise.
7143         (RUN_TEST_f_l): Likewise.
7144         (RUN_TEST_LOOP_f_l): Likewise.
7145         (RUN_TEST_f_L): Likewise.
7146         (RUN_TEST_LOOP_f_L): Likewise.
7147         (RUN_TEST_fFF_11): Likewise.
7148         (RUN_TEST_LOOP_fFF_11): Likewise.
7149         (VEC_SUFF): Likewise.
7150         (STR_CONCAT): Likewise.
7151         (STR_CON3): Likewise.
7152         (HAVE_VECTOR): Likewise.
7153         (START): Likewise.
7154         (END): Likewise.
7155         (END_COMPLEX): Likewise.
7156         (ALL_RM_TEST): Likewise.
7157         (matherr): Likewise.
7158         (initialize): Likewise.
7159         (options): Likewise.
7160         (doc): Likewise.
7161         (parse_opt): Likewise.
7162         (argp): Likewise.
7163         (check_ulp): Likewise.
7164         (main): Likewise.
7165         (do_test): New function.  Call tests of individual functions
7166         previously called from main.
7168         * math/libm-test.inc: Remove comment listing functions tested and
7169         not tested.
7171 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7173         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7174         (allocate_stack): Remove COLORING_INCREMENT usage.
7175         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7176         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7178 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7180         * manual/libm-err-tab.pl (@all_functions): Change to
7181         %all_functions.  Initialize as empty.
7182         (parse_ulps): Add to %all_functions based on functions found in
7183         ulps files.  Ignore results for non-default rounding modes and
7184         vector functions.
7185         (print_platforms): Use %all_platforms.
7186         * manual/math.texi (Errors in Math Functions): Document omissions
7187         from the table.
7189         * math/Makefile (before-compile): Remove.
7191 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7193         [BZ #21075]
7194         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7195         unused assignment.
7196         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7198 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7200         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7201         Add __glibc_unlikely hint.
7203 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7205         [BZ #16640]
7206         * sysdeps/i386/i686/strtok.S: Remove file.
7207         * sysdeps/i386/i686/strtok_r.S: Likewise.
7208         * sysdeps/i386/strtok.S: Likewise.
7209         * sysdeps/i386/strtok_r.S: Likewise.
7210         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7211         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7212         * sysdeps/x86_64/strtok.S: Likewise.
7213         * sysdeps/x86_64/strtok_r.S: Likewise.
7215         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7216         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7217         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7218         (__ASSUME_FADVISE64_AS_64_64): Define.
7219         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7220         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7221         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7222         __ALIGNMENT_ARG usage.
7223         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7224         __NR_fadvise64_64 if it is not defined.
7226 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7228         * version.h (RELEASE): Set to "development"
7229         (VERSION): Set to 2.25.90.
7230         * NEWS: Add 2.26 section.
7232         * version.h (RELEASE): Set to "stable"
7233         (VERSION): Set to 2.25.
7234         * include/features.h (__GLIBC_MINOR__): Set to 25.
7236         * manual/contrib.texi: Add more contributors from this release
7237         and past releases.
7239         * NEWS (2.25): Add list of bugs fixed.
7241         * NEWS: Add missing news items.
7243 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7245         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7246         parent if child exited in that manner.  Print WEXITSTATUS
7247         instead of the raw status.
7248         (do_test_prep): Rename to do_test.
7249         (do_test): Return the result of run_executable_sgid.
7250         (TEST_FUNCTION_ARGV): Adjust.
7252 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7253             Florian Weimer  <fweimer@redhat.com>
7254             Carlos O'Donell  <carlos@redhat.com>
7256         [BZ #20915]
7257         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7258         Do not initialize DTV.
7259         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7261 2017-02-03  David S. Miller  <davem@davemloft.net>
7263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7272         (libm-sysdep_routines): Update.
7273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7278         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7279         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7280         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7281         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7283         Likewise.
7284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7286         Likewise.
7287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7289         Likewise.
7290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7292         Likewise.
7293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7295         (libm-sysdep_routines): Update.
7297 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
7299         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7300         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7301         against unrelocated shared library.
7302         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7304 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7306         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7307         * elf/tst-env-setuid-tunables.c
7308         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7309         GLIBC_TUNABLES is removed in a setgid process.
7311         [BZ #21073]
7312         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7313         * elf/dl-tunables.c (tunables_strdup): Remove.
7314         (get_next_env): Also return the previous envp.
7315         (parse_tunables): Erase tunables of category
7316         TUNABLES_SECLEVEL_SXID_ERASE.
7317         (maybe_enable_malloc_check): Make MALLOC_CHECK_
7318         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7319         (__tunables_init)[TUNABLES_FRONTEND ==
7320         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7321         after parsing.
7322         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7323         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7324         * elf/dl-tunables.h (struct _tunable): Change member is_secure
7325         to security_level.
7326         * elf/dl-tunables.list: Add security_level annotations for all
7327         tunables.
7328         * scripts/gen-tunables.awk: Recognize and generate enum values
7329         for security_level.
7330         * elf/tst-env-setuid.c: New test case.
7331         * elf/tst-env-setuid-tunables: new test case.
7332         * elf/Makefile (tests-static): Add them.
7334 2017-02-01  Richard Henderson  <rth@twiddle.net>
7336         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7337         adjusting the byte count.
7339 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
7341         * conform/Makefile (linknamespace-libs): Define.
7343         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7344         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7345         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7346         operands.
7348 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
7350         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7352 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7354         [BZ #21081]
7355         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7356         (L(stosb)): Add VZEROUPPER before ret.
7358 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
7359             Alexey Makhalov <amakhalov@vmware.com>
7360             Florian Weimer <fweimer@redhat.com>
7362         [BZ #20116]
7363         * nptl/pthread_create.c: Document concurrency notes.
7364         Enhance thread creation notes.
7365         (create_thread): Use bool *stopped_start.
7366         (START_THREAD_DEFN): Comment ownership of PD.
7367         (__pthread_create_2_1): Add local bool stopped_start and use
7368         that instead of pd->stopped_start where appropriate.
7369         * nptl/createthread.c (create_thread): Use bool *stopped_start.
7370         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7371         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7372         * nptl/tst-create-detached.c: New file.
7373         * nptl/Makefile (tests): Add tst-create-detached.
7374         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7375         Reference the enhanced thread creation notes.
7376         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7377         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7378         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7379         (__pthread_current_priority): Likewise.
7380         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7381         xpthread_attr_init, xpthread_attr_setdetachstate, and
7382         xpthread_attr_setstacksize.
7383         * support/xpthread_attr_destroy.c: New file.
7384         * support/xpthread_attr_init.c: New file.
7385         * support/xpthread_attr_setdetachstate.c: New file.
7386         * support/xpthread_attr_setstacksize.c: New file.
7387         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7388         xpthread_attr_init, xpthread_attr_setdetachstate, and
7389         xpthread_attr_setstacksize.
7391 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7393         * nptl/Makefile (tests): Add tst-robust-fork.
7394         * nptl/tst-robust-fork.c: New file.
7395         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7396         xpthread_mutex_consistent, xpthread_mutex_destroy,
7397         xpthread_mutex_init, xpthread_mutexattr_destroy,
7398         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7399         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7400         xpthread_mutexattr_settype.
7401         * support/xmmap.c: New file.
7402         * support/xmunmap.c: Likewise.
7403         * support/xpthread_mutex_consistent.c: Likewise.
7404         * support/xpthread_mutex_destroy.c: Likewise.
7405         * support/xpthread_mutex_init.c: Likewise.
7406         * support/xpthread_mutexattr_destroy.c: Likewise.
7407         * support/xpthread_mutexattr_init.c: Likewise.
7408         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7409         * support/xpthread_mutexattr_setpshared.c: Likewise.
7410         * support/xpthread_mutexattr_setrobust.c: Likewise.
7411         * support/xpthread_mutexattr_settype.c: Likewise.
7412         * support/xthread.h (xpthread_mutexattr_destroy)
7413         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7414         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7415         (xpthread_mutexattr_settype, xpthread_mutex_init)
7416         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7417         * support/xunistd.h (xmmap, xmunmap): Likewise.
7419 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7421         * string/Makefile (xtests): Add comment.
7422         (LOCALES): Add en_GB.UTF-8.
7423         (tst-strcoll-overflow.out): Depend on generated locales.
7424         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7425         (SIZE, TIMEOUT): Update comments.
7426         (do_test): Define as static.  Fail test if setlocale fails.
7427         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7428         messages.
7429         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7430         TIMEOUT at 300 seconds should be enough to run this test
7431         successfully.
7433 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7435         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7436         /* FALLTHRU */ comments.
7438 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7440         [BZ #21053]
7441         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7442         constants instead of the old R* ones.
7443         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7444         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7445         (NGREG): ... to this, to fit in with other architectures.
7446         (gpregset_t): Use new NGREG macro.
7447         [__USE_GNU]: Remove condition; all architectures other than tile
7448         are unconditional.
7449         (R*): Rename to REG_R*.
7451 2017-01-20  DJ Delorie  <dj@redhat.com>
7453         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7454         (tunable_set_val_if_valid_range_signed) ... this, and ...
7455         (tunable_set_val_if_valid_range_unsigned) ... this.
7456         (tunable_initialize): Call the correct one of the above based on type.
7458 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7460         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7461         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7462         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7463         * sysdeps/microblaze/libm-test-ulps: Likewise.
7464         * sysdeps/sh/libm-test-ulps: Likewise.
7466         * math/README.libm-test: Update list of characters for input and
7467         output types.
7469 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7471         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7472         (__lll_unlock_elision): Fix adapt_count decrement.
7474 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7476         * README.pretty-printers (Known issues): Warn about printers not
7477         always covering everything.
7478         * nptl/nptl-printers.py (MutexPrinter): Change output.
7479         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7481 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7483         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7484         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7485         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7486         (__lll_lock_elision): Do not test futex before starting a
7487         transaction.  Use __glibc_likely instead of __builtin_expect.
7488         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7489         (__lll_trylock_elision): Do not test futex before starting a
7490         transaction.  Use __glibc_likely instead of __builtin_expect.
7492 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7494         * po/Makefile (update-translations): New target.
7496 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #21061]
7499         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7501 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7503         * elf/dl-tunables (get_next_env): Always advance envp.
7504         * stdlib/tst-empty-env.c: New test case.
7505         * stdlib/Makefile (tests): Use it.
7507 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7509         [BZ #21047]
7510         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7511         name for instruction.
7512         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7514 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7516         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7517         for make install.
7519 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7521         * po/bg.po: Merge from Translation Project.
7522         * po/fr.po: Likewise.
7523         * po/ko.po: Likewise.
7524         * po/nl.po: Likewise.
7525         * po/sv.po: Likewise.
7527 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7529         * manual/install.texi (Tools for Compilation): Update GCC version
7530         known to work to build glibc.
7531         * INSTALL: Regenerated.
7533 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7535         [BZ #21006]
7536         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7538 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7540         [BZ #21045]
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7542         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7543         to __sigprocmask.
7545 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7547         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7548         wrap-around.
7549         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7551         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7553 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7555         * NEWS: Fix typo.
7557 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7559         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7560         barriers and comments.
7561         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7562         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7563         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7565 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7567         [BZ #19402]
7568         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7569         mutexes.
7571 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7573         [BZ #20985]
7574         * nptl/Makefile: Adapt.
7575         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7576         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7577         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7578         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7579         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7580         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7581         lll_robust* functions and adapt.
7582         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7583         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7584         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7585         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7586         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7587         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7589         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7590         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7591         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7592         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7593         * nptl/lowlevelrobustlock.c: Remove file.
7594         * nptl/lowlevelrobustlock.sym: Likewise.
7595         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7596         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7598 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7600         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7602 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7604         * po/cs.po: Merge translations from the Translation Project.
7605         * po/de.po: Likewise.
7606         * po/pl.po: Likewise.
7607         * po/ru.po: Likewise.
7608         * po/tr.po: Likewise.
7609         * po/uk.po: Likewise.
7610         * po/vi.po: Likewise.
7611         * po/zh_CN.po: Likewise.
7613 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7615         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7617         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7618         object.
7620 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #16458]
7623         * bits/uintn-identity.h: New file.
7624         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7625         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7626         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7627         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7628         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7629         * string/endian.h: Include <bits/uintn-identity.h>.
7630         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7631         __uint16_identity.
7632         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7633         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7634         __uint32_identity.
7635         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7636         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7637         __uint64_identity.
7638         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7639         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7640         __uint16_identity.
7641         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7642         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7643         __uint32_identity.
7644         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7645         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7646         __uint64_identity.
7647         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7648         * string/Makefile (headers): Add bits/uintn-identity.h.
7649         (tests): Add test-endian-types.
7650         * string/test-endian-types.c: New file.
7651         * inet/Makefile (tests): Add test-hnto-types.
7652         * inet/test-hnto-types.c: New file.
7654 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7656         * po/be.po: Update from Translation Project.
7657         * po/bg.po: Likewise.
7658         * po/ca.po: Likewise.
7659         * po/cs.po: Likewise.
7660         * po/da.po: Likewise.
7661         * po/de.po: Likewise.
7662         * po/el.po: Likewise.
7663         * po/eo.po: Likewise.
7664         * po/es.po: Likewise.
7665         * po/fi.po: Likewise.
7666         * po/fr.po: Likewise.
7667         * po/gl.po: Likewise.
7668         * po/hr.po: Likewise.
7669         * po/hu.po: Likewise.
7670         * po/ia.po: Likewise.
7671         * po/id.po: Likewise.
7672         * po/it.po: Likewise.
7673         * po/ja.po: Likewise.
7674         * po/ko.po: Likewise.
7675         * po/lt.po: Likewise.
7676         * po/nb.po: Likewise.
7677         * po/nl.po: Likewise.
7678         * po/pl.po: Likewise.
7679         * po/pt_BR.po: Likewise.
7680         * po/ru.po: Likewise.
7681         * po/rw.po: Likewise.
7682         * po/sk.po: Likewise.
7683         * po/sl.po: Likewise.
7684         * po/sv.po: Likewise.
7685         * po/tr.po: Likewise.
7686         * po/uk.po: Likewise.
7687         * po/vi.po: Likewise.
7688         * po/zh_CN.po: Likewise.
7689         * po/zh_TW.po: Likewise.
7691 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7693         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7694         -Wformat-truncation instead of -Wformat-length.
7695         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7696         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7697         GCC 7.
7698         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7699         (do_test): Ignore -Wformat-truncation for GCC 7.
7701         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7702         buffer used to print long int value.
7704         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7705         one byte.  Print it with %ld, cast to long int.
7707 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7709         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7710         (re.fullmatch, subprocess.run): Likewise.
7712 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7714         * po/libc.pot: Regenerate.
7716 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7718         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7719         (min_strlen): Likewise.
7720         (disable_tunable): Likewise.
7721         (maybe_disable_malloc_check): Rename to
7722         maybe_enable_malloc_check.
7723         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7724         if /etc/suid-debug file exists.
7725         (__tunables_init): Update caller.
7726         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7727         secure.
7729 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7731         * nptl/DESIGN-rwlock.txt: Remove.
7732         * nptl/lowlevelrwlock.sym: Remove.
7733         * nptl/Makefile: Add new tests.
7734         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7735         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7736         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7737         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7738         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7739         PTHREAD_RWLOCK_FUTEX_USED): New.
7740         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7741         implementation.
7742         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7743         (__pthread_rwlock_rdlock): Adapt.
7744         * nptl/pthread_rwlock_timedrdlock.c
7745         (pthread_rwlock_timedrdlock): Adapt.
7746         * nptl/pthread_rwlock_timedwrlock.c
7747         (pthread_rwlock_timedwrlock): Adapt.
7748         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7749         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7750         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7751         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7752         (__pthread_rwlock_wrlock): Adapt.
7753         * nptl/tst-rwlock10.c: Adapt.
7754         * nptl/tst-rwlock11.c: Adapt.
7755         * nptl/tst-rwlock17.c: New file.
7756         * nptl/tst-rwlock18.c: New file.
7757         * nptl/tst-rwlock19.c: New file.
7758         * nptl/tst-rwlock2b.c: New file.
7759         * nptl/tst-rwlock8.c: Adapt.
7760         * nptl/tst-rwlock9.c: Adapt.
7761         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7762         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7763         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7764         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7765         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7766         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7767         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7768         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7769         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7770         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7771         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7772         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7773         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7774         (pthread_rwlock_t): Adapt.
7775         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7776         (pthread_rwlock_t): Adapt.
7777         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7778         * nptl/nptl-printers.py (): Adapt.
7779         * nptl/nptl_lock_constants.pysym: Adapt.
7780         * nptl/test-rwlock-printers.py: Adapt.
7781         * nptl/test-rwlockattr-printers.c: Adapt.
7782         * nptl/test-rwlockattr-printers.py: Adapt.
7784 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7786         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7787         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7788         (fma_test_data): Likewise.
7789         (hypot_test_data): Likewise.
7790         (log1p_test_data): Likewise.
7791         (modf_test_data): Likewise.
7792         (pow_test_data): Likewise.
7793         (remainder_test_data): Likewise.
7794         (remquo_test_data): Likewise.
7795         (scalb_test_data): Likewise.
7796         (scalbn_test_data): Likewise.
7797         (scalbln_test_data): Likewise.
7798         * math/gen-libm-test.pl (parse_args): Transform
7799         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7800         on the rounding mode.
7802 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7804         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7805         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7806         and those that can underflow to zero.
7807         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7808         add others.
7809         * math/auto-libm-test-out: Regenerated.
7811         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7812         supported.
7813         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7814         modes support if not supported.
7816         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7817         Add libc.so PLT entry.
7818         (__tls_get_addr): Make ld.so PLT entry optional.
7820 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7822         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7823         * string/bits/string3.h: ... here.
7825 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7827         [BZ #21028]
7828         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7829         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7830         if EXCEPTION_TESTS returns false.
7832 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7834         [BZ #20558]
7835         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7836         strings_fortified.h.
7837         [__USE_MISC] (bzero): Likewise.
7838         [__USE_MISC] (explicit_bzero): Likewise.
7839         * string/strings.h: Include strings_fortified.h.
7840         * string/Makefile (headers): Add strings_fortified.h.
7841         * string/bits/strings_fortified.h: New file.
7842         * include/bits/strings_fortified.h: Likewise.
7844 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7846         * elf/tst-tls13.c (TIMEOUT): Remove.
7847         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7848         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7849         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7850         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7851         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7853         [BZ #21026]
7854         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7855         (readahead): New syscall entry.
7857 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7859         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7860         around tests of strncat with large sizes.
7862         * malloc/tst-malloc.c: Include <libc-internal.h>.
7863         (do_test): Disable -Walloc-size-larger-than= around tests of
7864         malloc with negative sizes.
7865         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7866         (do_test): Disable -Walloc-size-larger-than= around tests of
7867         malloc and realloc with negative sizes.
7868         * malloc/tst-realloc.c: Include <libc-internal.h>.
7869         (do_test): Disable -Walloc-size-larger-than= around tests of
7870         realloc with negative sizes.
7872         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7873         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7874         allowed to 16 ulps.
7875         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7876         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7877         * math/auto-libm-test-out: Regenerated.
7879 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7881         * math/Makefile (libm-calls): Move wrappers...
7882         (libm-compat-call-auto): Here.
7883         (libm-routines): Add items in libm-compat-calls-auto.
7884         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7885         the filenames of the wrappers that have been renamed.
7886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7889         * math/w_acos.c: Add _compat suffix to filename.
7890         * math/w_acosf.c: Likewise.
7891         * math/w_acosh.c: Likewise.
7892         * math/w_acoshf.c: Likewise.
7893         * math/w_acoshl.c: Likewise.
7894         * math/w_acosl.c: Likewise.
7895         * math/w_asin.c: Likewise.
7896         * math/w_asinf.c: Likewise.
7897         * math/w_asinl.c: Likewise.
7898         * math/w_atan2.c: Likewise.
7899         * math/w_atan2f.c: Likewise.
7900         * math/w_atan2l.c: Likewise.
7901         * math/w_atanh.c: Likewise.
7902         * math/w_atanhf.c: Likewise.
7903         * math/w_atanhl.c: Likewise.
7904         * math/w_cosh.c: Likewise.
7905         * math/w_coshf.c: Likewise.
7906         * math/w_coshl.c: Likewise.
7907         * math/w_exp10.c: Likewise.
7908         * math/w_exp10f.c: Likewise.
7909         * math/w_exp10l.c: Likewise.
7910         * math/w_exp2.c: Likewise.
7911         * math/w_exp2f.c: Likewise.
7912         * math/w_exp2l.c: Likewise.
7913         * math/w_fmod.c: Likewise.
7914         * math/w_fmodf.c: Likewise.
7915         * math/w_fmodl.c: Likewise.
7916         * math/w_hypot.c: Likewise.
7917         * math/w_hypotf.c: Likewise.
7918         * math/w_hypotl.c: Likewise.
7919         * math/w_j0.c: Likewise.
7920         * math/w_j0f.c: Likewise.
7921         * math/w_j0l.c: Likewise.
7922         * math/w_j1.c: Likewise.
7923         * math/w_j1f.c: Likewise.
7924         * math/w_j1l.c: Likewise.
7925         * math/w_jn.c: Likewise.
7926         * math/w_jnf.c: Likewise.
7927         * math/w_jnl.c: Likewise.
7928         * math/w_log10.c: Likewise.
7929         * math/w_log10f.c: Likewise.
7930         * math/w_log10l.c: Likewise.
7931         * math/w_log2.c: Likewise.
7932         * math/w_log2f.c: Likewise.
7933         * math/w_log2l.c: Likewise.
7934         * math/w_log.c: Likewise.
7935         * math/w_logf.c: Likewise.
7936         * math/w_logl.c: Likewise.
7937         * math/w_pow.c: Likewise.
7938         * math/w_powf.c: Likewise.
7939         * math/w_powl.c: Likewise.
7940         * math/w_remainder.c: Likewise.
7941         * math/w_remainderf.c: Likewise.
7942         * math/w_remainderl.c: Likewise.
7943         * math/w_scalb.c: Likewise.
7944         * math/w_scalbf.c: Likewise.
7945         * math/w_scalbl.c: Likewise.
7946         * math/w_sinh.c: Likewise.
7947         * math/w_sinhf.c: Likewise.
7948         * math/w_sinhl.c: Likewise.
7949         * math/w_sqrt.c: Likewise.
7950         * math/w_sqrtf.c: Likewise.
7951         * math/w_sqrtl.c: Likewise.
7952         * math/w_tgamma.c: Likewise.
7953         * math/w_tgammaf.c: Likewise.
7954         * math/w_tgammal.c: Likewise.
7956         * math/w_acos_compat.c: New file copied from above and
7957         adjusted for new #includes path
7958         * math/w_acosf_compat.c: Likewise.
7959         * math/w_acosh_compat.c: Likewise.
7960         * math/w_acoshf_compat.c: Likewise.
7961         * math/w_acoshl_compat.c: Likewise.
7962         * math/w_acosl_compat.c: Likewise.
7963         * math/w_asin_compat.c: Likewise.
7964         * math/w_asinf_compat.c: Likewise.
7965         * math/w_asinl_compat.c: Likewise.
7966         * math/w_atan2_compat.c: Likewise.
7967         * math/w_atan2f_compat.c: Likewise.
7968         * math/w_atan2l_compat.c: Likewise.
7969         * math/w_atanh_compat.c: Likewise.
7970         * math/w_atanhf_compat.c: Likewise.
7971         * math/w_atanhl_compat.c: Likewise.
7972         * math/w_cosh_compat.c: Likewise.
7973         * math/w_coshf_compat.c: Likewise.
7974         * math/w_coshl_compat.c: Likewise.
7975         * math/w_exp10_compat.c: Likewise.
7976         * math/w_exp10f_compat.c: Likewise.
7977         * math/w_exp10l_compat.c: Likewise.
7978         * math/w_exp2_compat.c: Likewise.
7979         * math/w_exp2f_compat.c: Likewise.
7980         * math/w_exp2l_compat.c: Likewise.
7981         * math/w_fmod_compat.c: Likewise.
7982         * math/w_fmodf_compat.c: Likewise.
7983         * math/w_fmodl_compat.c: Likewise.
7984         * math/w_hypot_compat.c: Likewise.
7985         * math/w_hypotf_compat.c: Likewise.
7986         * math/w_hypotl_compat.c: Likewise.
7987         * math/w_j0_compat.c: Likewise.
7988         * math/w_j0f_compat.c: Likewise.
7989         * math/w_j0l_compat.c: Likewise.
7990         * math/w_j1_compat.c: Likewise.
7991         * math/w_j1f_compat.c: Likewise.
7992         * math/w_j1l_compat.c: Likewise.
7993         * math/w_jn_compat.c: Likewise.
7994         * math/w_jnf_compat.c: Likewise.
7995         * math/w_jnl_compat.c: Likewise.
7996         * math/w_log10_compat.c: Likewise.
7997         * math/w_log10f_compat.c: Likewise.
7998         * math/w_log10l_compat.c: Likewise.
7999         * math/w_log2_compat.c: Likewise.
8000         * math/w_log2f_compat.c: Likewise.
8001         * math/w_log2l_compat.c: Likewise.
8002         * math/w_log_compat.c: Likewise.
8003         * math/w_logf_compat.c: Likewise.
8004         * math/w_logl_compat.c: Likewise.
8005         * math/w_pow_compat.c: Likewise.
8006         * math/w_powf_compat.c: Likewise.
8007         * math/w_powl_compat.c: Likewise.
8008         * math/w_remainder_compat.c: Likewise.
8009         * math/w_remainderf_compat.c: Likewise.
8010         * math/w_remainderl_compat.c: Likewise.
8011         * math/w_scalb_compat.c: Likewise.
8012         * math/w_scalbf_compat.c: Likewise.
8013         * math/w_scalbl_compat.c: Likewise.
8014         * math/w_sinh_compat.c: Likewise.
8015         * math/w_sinhf_compat.c: Likewise.
8016         * math/w_sinhl_compat.c: Likewise.
8017         * math/w_sqrt_compat.c: Likewise.
8018         * math/w_sqrtf_compat.c: Likewise.
8019         * math/w_sqrtl_compat.c: Likewise.
8020         * math/w_tgamma_compat.c: Likewise.
8021         * math/w_tgammaf_compat.c: Likewise.
8022         * math/w_tgammal_compat.c: Likewise.
8024         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8025         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8026         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8027         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8028         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8029         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8030         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8031         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8032         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8033         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8034         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8035         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8036         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8037         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8038         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8039         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8040         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8041         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8042         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8043         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8044         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8045         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8046         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8047         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8048         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8049         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8050         * sysdeps/ia64/fpu/w_log.c: Likewise.
8051         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8052         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8053         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8054         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8055         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8056         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8057         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8058         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8059         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8060         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8061         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8062         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8063         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8064         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8065         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8066         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8067         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8068         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8069         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8070         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8071         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8072         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8073         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8074         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8075         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8076         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8077         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8078         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8079         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8080         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8081         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8082         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8083         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8084         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8085         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8086         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8087         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8088         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8089         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8090         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8091         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8092         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8093         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8094         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8095         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8096         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8097         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8098         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8099         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8100         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8101         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8102         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8103         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8104         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8105         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8106         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8107         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8108         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8109         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8110         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8111         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8112         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8113         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8114         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8115         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8116         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8117         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8118         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8119         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8120         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8121         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8122         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8123         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8125         Likewise.
8126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8127         Likewise.
8128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8130         Likewise.
8131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8132         Likewise.
8133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8134         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8135         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8136         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8137         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8138         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8139         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8144         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8145         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8146         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8147         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8149         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8150         and adjusted for new #includes path
8151         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8152         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8153         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8154         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8155         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8156         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8157         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8158         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8159         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8160         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8161         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8162         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8163         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8164         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8165         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8166         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8167         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8168         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8169         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8170         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8171         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8172         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8173         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8174         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8175         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8176         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8177         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8178         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8179         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8180         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8181         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8182         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8183         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8184         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8185         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8186         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8187         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8188         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8189         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8190         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8191         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8192         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8193         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8194         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8195         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8196         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8197         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8198         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8199         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8200         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8201         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8202         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8203         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8204         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8205         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8206         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8207         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8208         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8209         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8210         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8211         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8212         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8213         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8214         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8215         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8216         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8217         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8218         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8219         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8220         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8221         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8222         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8223         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8224         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8225         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8226         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8227         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8228         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8229         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8230         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8231         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8232         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8233         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8234         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8235         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8236         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8237         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8238         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8239         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8240         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8241         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8242         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8243         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8244         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8245         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8246         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8247         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8248         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8249         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8251         Likewise.
8252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8253         Likewise.
8254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8255         Likewise.
8256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8257         Likewise.
8258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8259         Likewise.
8260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8261         Likewise.
8262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8263         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8264         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8265         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8266         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8267         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8269         Likewise.
8270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8271         Likewise.
8272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8273         Likewise.
8274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8275         Likewise.
8276         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8277         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8278         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8279         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8281 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8283         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8284         __jmp_buf_internal_tag.
8286         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8287         preserve NaN payload if [__mips_nan2008].
8288         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8290         [BZ #21022]
8291         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8293 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8295         * sysdeps/i386/fpu/libm-test-ulps: Update.
8297 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8299         * sysdeps/ia64/strcat.c: Remove file.
8300         * sysdeps/powerpc/strcat.c: Likewise.
8301         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8302         C implementation.
8303         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8304         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8306 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8307             Steven Munroe  <sjmunroe@us.ibm.com>
8308             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8310         [BZ #20822]
8311         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8312         (__lll_lock_elision): Access adapt_count via C11 atomics.
8313         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8314         (__lll_trylock_elision): Likewise.
8315         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8316         (__lll_unlock_elision):  Update adapt_count variable inside the
8317         critical section using C11 atomics.
8319 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8321         * math/test-fenvinline.c (do_test): Disable tests of raised
8322         exceptions if !EXCEPTION_TESTS (FLOAT).
8324 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8326         [BZ #19390]
8327         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8328         maximum string size.
8329         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8330         in pointer addition.
8331         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8332         Likewise.
8334 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8336         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8337         passed to tst-ldconfig-X.sh.
8339 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
8341         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8343 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8345         [BZ #21019]
8346         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8347         New syscall entry.
8348         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8349         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8350         lseek.
8352         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8353         power4 glibc for powerpc-linux-gnu.
8355 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8357         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8358         semctl.
8360 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8362         * math/test-nearbyint-except.c: Include <stdbool.h>.
8363         (any_supported): New variable.
8364         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
8365         set any_supported.
8366         (do_test): Return 77 if no floating-point type supported
8367         exceptions.
8369         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8370         condition on [__mips_hard_float].
8372 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8374         [BZ #21014]
8375         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8376         in pointer addition.
8377         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8379 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8381         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8382         new condvar.
8384 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8386         * scripts/build-many-glibcs.py (Context.checkout): Default
8387         binutils version to 2.28 branch.
8389 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8391         * support/support_format_netent.c (support_format_netent): Work
8392         around alpha struct netent definition difference.
8394 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8396         * support/xwrite.c (xwrite): Use %td for pointer difference.
8398 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8400         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8401         have-tunables only.
8402         (tests-static): Add tst-malloc-usable-static-tunables for
8403         have-tunables only.
8405 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8407         * scripts/config.guess: Update to version 2017-01-01.
8408         * scripts/config.sub: Update to version 2017-01-01.
8410         * NEWS: Update copyright dates.
8411         * catgets/gencat.c (print_version): Likewise.
8412         * csu/version.c (banner): Likewise.
8413         * debug/catchsegv.sh: Likewise.
8414         * debug/pcprofiledump.c (print_version): Likewise.
8415         * debug/xtrace.sh (do_version): Likewise.
8416         * elf/ldconfig.c (print_version): Likewise.
8417         * elf/ldd.bash.in: Likewise.
8418         * elf/pldd.c (print_version): Likewise.
8419         * elf/sotruss.sh: Likewise.
8420         * elf/sprof.c (print_version): Likewise.
8421         * iconv/iconv_prog.c (print_version): Likewise.
8422         * iconv/iconvconfig.c (print_version): Likewise.
8423         * locale/programs/locale.c (print_version): Likewise.
8424         * locale/programs/localedef.c (print_version): Likewise.
8425         * login/programs/pt_chown.c (print_version): Likewise.
8426         * malloc/memusage.sh (do_version): Likewise.
8427         * malloc/memusagestat.c (print_version): Likewise.
8428         * malloc/mtrace.pl: Likewise.
8429         * manual/libc.texinfo: Likewise.
8430         * nptl/version.c (banner): Likewise.
8431         * nscd/nscd.c (print_version): Likewise.
8432         * nss/getent.c (print_version): Likewise.
8433         * nss/makedb.c (print_version): Likewise.
8434         * posix/getconf.c (main): Likewise.
8435         * scripts/test-installation.pl: Likewise.
8436         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8438         * All files with FSF copyright notices: Update copyright dates
8439         using scripts/update-copyrights.
8440         * intl/plural.c: Regenerated.
8441         * locale/programs/charmap-kw.h: Likewise.
8442         * locale/programs/locfile-kw.h: Likewise.
8444 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8446         [BZ #20593]
8447         Update DNS RR type definitions.
8448         * scripts/gen-rrtypes.py: New file.
8449         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8450         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8451         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8452         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8453         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8454         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8455         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8456         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8457         ns_t_ta, ns_t_dlv.
8458         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8459         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8460         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8461         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8462         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8463         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8464         Define.
8465         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8466         entry for ns_t_zxfr.
8468 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8470         [BZ #18784]
8471         CVE-2015-5180
8472         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8473         T_UNSPEC.  Adjust value.
8474         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8475         * resolv/res_query.c (__libc_res_nquery): Likewise.
8476         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8477         QTYPEs.
8478         * resolv/tst-resolv-qtypes.c: New file.
8479         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8480         (tst-resolv-qtypes): Link against libresolv and libpthread.
8482 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8484         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8486 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8488         * manual/tunables.texi: New chapter.
8489         * manual/Makefile (chapters): Add it.
8490         * manual/probes.texi (@node): Point to the Tunables chapter.
8492         * Makeconfig (have-tunables): Check for non-negative instead
8493         of positive.
8494         * configure.ac: Add 'valstring' as a valid value for
8495         --enable-tunables.
8496         * configure: Regenerate.
8497         * elf/Makefile (have-tunables): Check for non-negative instead
8498         of positive.
8499         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8500         dl-tunables.c.
8501         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8502         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8503         (tunables_strdup): Likewise.
8504         (disable_tunables): Likewise.
8505         (parse_tunables): Likewise.
8506         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8507         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8508         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8509         (TUNABLES_FRONTEND_yes): New macro, define as
8510         TUNABLES_FRONTEND_valstring by default.
8511         * manual/install.texi: Document new acceptable values for
8512         --enable-tunables.
8513         * INSTALL: Regenerate.
8515         * config.make.in (have-loop-to-function): Define.
8516         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8517         -fno-tree-loop-distribute-patterns.
8518         * elf/dl-tunables.c: Include libc-internals.h.
8519         (GLIBC_TUNABLES): New macro.
8520         (tunables_strdup): New function.
8521         (parse_tunables): New function.
8522         (min_strlen): New function.
8523         (__tunables_init): Use the new functions and macro.
8524         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8525         * malloc/tst-malloc-usable-tunables.c: New test case.
8526         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8527         * malloc/Makefile (tests, tests-static): Add tests.
8529         * manual/install.texi: Add --enable-tunables option.
8530         * INSTALL: Regenerate.
8531         * README.tunables: New file.
8532         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8533         (before-compile): Generate dl-tunable-list.h early.
8534         * config.h.in: Add HAVE_TUNABLES.
8535         * config.make.in: Add have-tunables.
8536         * configure.ac: Add --enable-tunables option.
8537         * configure: Regenerate.
8538         * csu/init-first.c (__libc_init_first): Move
8539         __libc_init_secure earlier...
8540         * csu/init-first.c (LIBC_START_MAIN):... to here.
8541         Include dl-tunables.h, libc-internal.h.
8542         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8543         binaries.
8544         * elf/Makefile (dl-routines): Add dl-tunables.
8545         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8546         namespace.
8547         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8548         only when !HAVE_TUNABLES.
8549         * elf/rtld.c (process_envvars): Likewise.
8550         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8551         (_dl_sysdep_start): Call __tunables_init.
8552         * elf/dl-tunable-types.h: New file.
8553         * elf/dl-tunables.c: New file.
8554         * elf/dl-tunables.h: New file.
8555         * elf/dl-tunables.list: New file.
8556         * malloc/tst-malloc-usable-static.c: New test case.
8557         * malloc/Makefile (tests-static): Add it.
8558         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8559         Define TUNABLE_NAMESPACE.
8560         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8561         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8562         callback functions.
8563         (ptmalloc_init): Set tunable values.
8564         * scripts/gen-tunables.awk: New file.
8565         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8566         (_dl_sysdep_start): Call __tunables_init.
8568 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8570         * resolv/resolv.h (RES_BLAST): Deprecate.
8571         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8572         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8573         to RES_BLAST.
8575 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8577         [BZ #19582]
8578         Deprecate RES_USE_INET6.
8579         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8580         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8581         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8582         RES_USE_INET6.
8583         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8584         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8585         (_nss_nisplus_gethostbyaddr_r): Likewise.
8586         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8587         of res_use_inet6.
8588         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8589         instead of RES_USE_INET6.
8590         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8591         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8592         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8593         Likewise.
8594         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8595         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8596         Likewise.
8597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8598         (_nss_dns_gethostbyname_r): Likewise.
8599         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8600         alternate RES_USE_INET6 handling.
8601         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8602         instead of RES_USE_INET6.
8603         * resolv/res_init.c (res_setoptions): Likewise.
8604         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8605         * resolv/resolv-internal.h: New file.
8606         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8607         make the deprecation warning non-fatal.
8608         * resolv/README (Using the resolver in multi-threaded code): Drop
8609         reference to RES_USE_INET6.
8610         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8611         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8613 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8615         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8616         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8617         tst-resolv-search.
8618         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8619         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8620         with libresolv and libpthread.
8621         * resolv/tst-bug18665.c: New file.
8622         * resolv/tst-bug18665-tcp: Likewise.
8623         * resolv/tst-res_use_inet6: Likewise.
8624         * resolv/tst-resolv-basic: Likewise.
8625         * resolv/tst-resolv-network: Likewise.
8626         * resolv/tst-resolv-search: Likewise.
8627         * support/Makefile (libsupport-routines): Add check_addrinfo,
8628         check_dns_packet, check_hostent, check_netent, resolv_test,
8629         support_format_address_family, support_format_addrinfo,
8630         support_format_dns_packet, support_format_herrno,
8631         support_format_hostent, support_format_netent, support_run_diff,
8632         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8633         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8634         xstrdup, xwrite.
8635         * support/check_addrinfo.c: New file.
8636         * support/check_dns_packet.c: Likewise.
8637         * support/check_hostent.c: Likewise.
8638         * support/check_netent.c: Likewise.
8639         * support/check_nss.h: Likewise.
8640         * support/format_nss.h: Likewise.
8641         * support/resolv_test.c: Likewise.
8642         * support/resolv_test.h: Likewise.
8643         * support/run_diff.h: Likewise.
8644         * support/support_format_address_family.c: Likewise.
8645         * support/support_format_addrinfo.c: Likewise.
8646         * support/support_format_dns_packet.c: Likewise.
8647         * support/support_format_herrno.c: Likewise.
8648         * support/support_format_hostent.c: Likewise.
8649         * support/support_format_netent.c: Likewise.
8650         * support/support_run_diff.c: Likewise.
8651         * support/xaccept.c: Likewise.
8652         * support/xbind.c: Likewise.
8653         * support/xconnect.c: Likewise.
8654         * support/xfclose.c: Likewise.
8655         * support/xfopen.c: Likewise.
8656         * support/xgetsockname.c: Likewise.
8657         * support/xlisten.c: Likewise.
8658         * support/xmemstream.c: Likewise.
8659         * support/xmemstream.h: Likewise.
8660         * support/xpoll.c: Likewise.
8661         * support/xpthread_once.c: Likewise.
8662         * support/xrecvfrom.c: Likewise.
8663         * support/xsendto.c: Likewise.
8664         * support/xsetsockopt.c: Likewise.
8665         * support/xstdio.h: Likewise.
8666         * support/xstrdup.c: Likewise.
8667         * support/support.h (xstrdup): Declare.
8668         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8669         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8670         * support/xthread.h (xpthread_once): Likwise.
8671         * support/xunistd.h (xwrite): Declare.
8673 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8675         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8676         (test_verbose): Declare.
8677         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8678         * support/support_test_main.c (default_options): Likewise.
8679         (usage, support_test_main): Handle 'v'.
8680         (test_verbose): Define.
8681         * support/tst-support_record_failure.c (do_test): Use
8682         test_verbose.
8683         * support/tst-support_record_failure-2.sh (different_status): Add
8684         --verbose test.
8686 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8688         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8689         test failures are recorded.
8690         * support/check.c (support_print_failure_impl): Call
8691         support_record_failure.
8692         (support_exit_failure_impl): Call support_record_failure if status
8693         indicates failure.
8694         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8695         * support/xasprintf.c (xasprintf): Likewise.
8696         * support/xfork.c (xfork): Likewise.
8697         * support/xpthread_check_return.c (xpthread_check_return):
8698         Likewise.
8699         * support/xsocket.c (xsocket): Likeweise.
8700         * support/xwaitpid.c (xwaitpid): Likewise.
8701         * support/support_record_failure.c (struct test_failures): Adjust
8702         to coding style.
8703         * support/support_test_verify_impl.c (support_test_verify_impl):
8704         Adjust error messages.
8705         * support/tst-support_record_failure-2.sh (different_status):
8706         Adjust error messages.
8708 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8710         * support/namespace.h: New file.
8711         * support/support_become_root.c: Likewise.
8712         * support/support_enter_network_namespace.c: Likewise.
8713         * support/tst-support-namespace.c: Likewise.
8714         * support/xsocket.c: Likewise.
8715         * support/xsocket.h: Likewise.
8716         * support/Makefile (libsupport-routines): Add support_become_root,
8717         support_enter_network_namespace, xsocket.
8718         (tests): Add tst-support-namespace.
8720 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8722         [BZ #17252]
8723         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8724         __USE_GNU.
8726 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8728         [BZ #13165]
8729         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8730         use new algorithm.
8731         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8732         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8733         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8734         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8735         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8736         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8737         __condvar_cleanup_waiting, __condvar_dec_grefs,
8738         __pthread_cond_wait_common): New.
8739         (__condvar_cleanup): Remove.
8740         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8741         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8742         Likewise.
8743         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8744         Likewise.
8745         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8746         * nptl/tst-cond1.c: Add comment.
8747         * nptl/tst-cond20.c (do_test): Adapt.
8748         * nptl/tst-cond22.c (do_test): Likewise.
8749         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8750         structure.
8751         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8752         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8753         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8754         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8755         Likewise.
8756         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8757         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8758         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8759         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8760         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8761         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8762         Likewise.
8763         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8764         Likewise.
8765         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8766         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8767         (COND_CLOCK_BITS): Adapt.
8768         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8769         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8770         __PTHREAD_COND_SHARED_MASK): New.
8771         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8772         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8773         * nptl/nptl_lock_constants.pysym: Adapt.
8774         * nptl/test-cond-printers.py: Adapt.
8775         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8776         cond_compat_check_and_clear): Adapt.
8777         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8778         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8779         (__pthread_cond_timedwait): ... and move here.
8780         * nptl/DESIGN-condvar.txt: Remove file.
8781         * nptl/lowlevelcond.sym: Likewise.
8782         * nptl/pthread_cond_timedwait.c: Likewise.
8783         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8784         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8786         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8787         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8788         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8789         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8790         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8791         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8792         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8793         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8794         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8797         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8798         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8800 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8802         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8803         (fromfp): New declaration.
8804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8807         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8812         * math/math.h: Include <bits/types.h>.
8813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8814         constant and macro.
8815         (FP_INT_DOWNWARD): Likewise.
8816         (FP_INT_TOWARDZERO): Likewise.
8817         (FP_INT_TONEARESTFROMZERO): Likewise.
8818         (FP_INT_TONEAREST): Likewise.
8819         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8820         (fromfpf): Likewise.
8821         (fromfpl): Likewise.
8822         (ufromfp): Likewise.
8823         (ufromfpf): Likewise.
8824         (ufromfpl): Likewise.
8825         (fromfpx): Likewise.
8826         (fromfpxf): Likewise.
8827         (fromfpxl): Likewise.
8828         (ufromfpx): Likewise.
8829         (ufromfpxf): Likewise.
8830         (ufromfpxl): Likewise.
8831         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8832         s_fromfpxF and s_ufromfpxF.
8833         * math/gen-fromfp-tests.py: New file.
8834         * math/gen-fromfp-tests-inputs: Likewise.
8835         * math/libm-test.inc: Include <stdint.h>
8836         (check_intmax_t): New function.
8837         (check_uintmax_t): Likewise.
8838         (struct test_fiu_M_data): New type.
8839         (struct test_fiu_U_data): Likewise.
8840         (RUN_TEST_fiu_M): New macro.
8841         (RUN_TEST_LOOP_fiu_M): Likewise.
8842         (RUN_TEST_fiu_U): Likewise.
8843         (RUN_TEST_LOOP_fiu_U): Likewise.
8844         (fromfp_test_data): New array.
8845         (fromfp_test): New function.
8846         (fromfpx_test_data): New array.
8847         (fromfpx_test): New function.
8848         (ufromfp_test_data): New array.
8849         (ufromfp_test): New function.
8850         (ufromfpx_test_data): New array.
8851         (ufromfpx_test): New function.
8852         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8853         ufromfpx_test.
8854         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8855         characters.
8856         * math/test-tgmath-ret.c: Include <stdint.h>.
8857         (rm): New variable.
8858         (width): Likewise.
8859         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8860         called function.
8861         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8862         CHECK_RET_CONST_TYPE.
8863         (CHECK_RET_CONST_DOUBLE): Likewise.
8864         (CHECK_RET_CONST_LDOUBLE): Likewise.
8865         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8866         macros.
8867         (fromfp): New CHECK_RET_CONST call.
8868         (ufromfp): Likewise.
8869         (fromfpx): Likewise.
8870         (ufromfpx): Likewise.
8871         (do_test): Call check_return_fromfp, check_return_ufromfp,
8872         check_return_fromfpx and check_return_ufromfpx.
8873         * math/test-tgmath.c: Include <stdint.h>
8874         (NCALLS): Increase to 138.
8875         (F(compile_test)): Initialize i.  Call fromfp functions.
8876         (F(fromfp)): New function.
8877         (F(fromfpx)): Likewise.
8878         (F(ufromfp)): Likewise.
8879         (F(ufromfpx)): Likewise.
8880         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8881         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8882         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8883         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8884         ufromfpxl.
8885         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8886         ufromfp and ufromfpx.
8887         * math/fromfp.h: New file.
8888         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8889         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8890         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8891         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8892         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8893         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8894         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8895         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8896         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8897         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8898         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8899         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8900         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8901         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8905         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8906         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8908         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8910         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8911         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8912         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8914         ufromfp, fromfpx and ufromfpx.
8915         (CFLAGS-nldbl-fromfp.c): New variable.
8916         (CFLAGS-nldbl-fromfpx.c): Likewise.
8917         (CFLAGS-nldbl-ufromfp.c): Likewise.
8918         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8919         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8920         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8921         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8922         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8923         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8924         * sysdeps/nacl/libm.abilist: Update.
8925         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8934         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8935         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8936         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8940         Likewise.
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8942         Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8944         Likewise.
8945         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8951         Likewise.
8952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8958 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8960         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8961         compat-gethnamaddr.
8962         (CPPFLAGS): Remove.
8963         * resolv/gethnamaddr.c: Rename ...
8964         * resolv/compat-gethnamaddr.c: ... to this file.
8965         (_endhtent): Make static.
8966         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8967         symbol.
8968         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8969         compat symbol.
8970         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8971         symbol.
8972         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8973         Turn into compat symbol.
8974         * include/resolv.h (_endhtent): Remove declaration.
8976 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8978         * bits/types.h (__intmax_t): New typedef.
8979         (__uintmax_t): Likewise.
8980         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8981         (intmax_t): Define using __intmax_t.
8982         (uintmax_t): Define using __uintmax_t.
8984         * support/Makefile (tests-special): Make definition conditional on
8985         [$(run-built-tests) = yes].
8986         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8987         on [$(run-built-tests) = yes].
8989 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8991         * Rules (tests): Add tests-printers-programs to tests to be
8992         built.
8994 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8996         * sysvipc/Makefile (tests): Add test-sysvshm.
8997         * sysvipc/test-sysvshm.c: New file.
8999         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9000         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9001         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9002         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9003         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9004         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9005         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9006         Likewise.
9007         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9010         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9011         is defined.
9013         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9014         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9015         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9016         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9017         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9018         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9019         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9020         Likewise.
9021         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9022         Likewise.
9023         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9024         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9025         defined.
9027         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9028         oldshmctl.
9029         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9030         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9031         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9032         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9033         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9034         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9035         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9036         Likewise.
9037         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9038         Likewise.
9039         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9040         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9041         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9042         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9043         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9044         implementation.
9045         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9046         if it is defined.
9048         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9049         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9050         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9051         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9052         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9053         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9054         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9055         Likewise.
9056         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9057         Likewise.
9058         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9060         Define to __NR_osf_shmat.
9061         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9062         defined.
9064         * sysvipc/Makefile (tests): Add test-sysvsem.
9065         * sysvipc/test-sysvsem.c: New file.
9067         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9068         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9069         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9070         Likewise.
9071         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9072         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9073         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9074         Likewise.
9075         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9076         Likewise.
9077         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9078         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9079         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9080         add a comment about s390 syscall difference from default one.
9081         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9082         syscall if it is defined.
9084         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9085         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9086         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9087         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9088         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9089         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9090         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9091         Likewise.
9092         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9093         Likewise.
9094         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9095         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9096         defined.
9098         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9099         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9100         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9101         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9102         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9103         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9104         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9105         Likewise.
9106         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9107         Likewise.
9108         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9109         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9110         if it is defined.
9112         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9113         oldsemctl.
9114         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9115         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9116         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9117         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9118         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9119         implementation.
9120         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9121         syscall if it is defined.
9122         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9123         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9124         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9125         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9126         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9127         Likewise.
9128         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9130         * sysvipc/Makefile (tests): Add test-sysvmsg.
9131         * sysvipc/test-sysvmsg.c: New file.
9132         * support/check.h (FAIL_UNSUPPORTED): New define.
9134         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9135         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9136         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9137         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9138         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9139         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9140         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9145         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9146         define.
9148         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9149         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9150         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9151         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9152         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9153         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9154         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9155         Likewise.
9156         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9157         Likewise.
9158         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9159         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9160         if defined.
9162         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9163         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9164         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9165         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9166         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9167         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9168         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9169         Likewise.
9170         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9171         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9174         if defined.
9175         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9177         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9178         oldmsgctl.
9179         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9180         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9181         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9182         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9183         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9184         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9185         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9186         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9187         Likewise.
9188         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9189         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9190         implementation.
9191         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9192         if defined.
9194         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9195         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9196         definition and define its own.
9197         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9198         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9199         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9200         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9201         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9202         definitions to common header.
9203         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9204         operation from ipc_ops.h.
9206         * sysdeps/unix/sysv/linux/kernel-features.h
9207         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9208         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9209         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9210         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9211         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9212         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9213         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9214         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9215         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9216         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9217         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9218         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9219         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9220         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9221         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9223 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9225         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9226         overflow in pointer addition.
9228 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9230         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9231         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9233         (strchr): Add __strchr_power8 to list of strchr functions.
9234         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9235         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9236         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9237         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9238         (strchr): Add __strchr_power8 to ifunc list.
9239         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9240         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9241         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9242         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9244 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9246         * support/Makefile (libsupport-routines): Add
9247         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9248         (tests): Add tst-support_record_failure.
9249         (tests-special): tst-support_record_failure-2.
9250         (tst-support_record_failure-2.out): Depend on
9251         tst-support_record_failure-2.sh and tst-support_record_failure.
9252         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9253         (support_test_verify_impl, support_record_failure)
9254         (support_report_failure, support_report_failure_reset): Declare.
9255         * support/support_test_main.c (adjust_exit_status): New function.
9256         (support_test_main): Call it to incorporate record test failures.
9257         * support/support_test_verify_impl.c: New file.
9258         * support/support_record_failure.c: Likewise.
9259         * support/tst-support_record_failure.c: Likewise.
9260         * support/tst-support_record_failure-2.sh: Likewise.
9261         * support/xunistd.h: Likewise.
9262         * support/xfork.c: Likewise.
9263         * support/xwaitpid.c: Likewise.
9265 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
9267         * scripts/check-c++-types.sh: Add comments.
9269 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
9271         [BZ #19514]
9272         * resolv/res_send.c: Fix typo in comment.
9273         * sysdeps/i386/i386-mcount.S: Likewise.
9274         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9275         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9276         * sysdeps/sparc/sparc-mcount.S: Likewise.
9278 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9280         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9281         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9282         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9283         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9284         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9285         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9286         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9287         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9289 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9291         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9293 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9295         [BZ #17252]
9296         * posix/unistd.h (getentropy): Declare.
9298 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9300         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9301         Remove.
9302         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9303         (cmd): Remove spoof, nospoof, spoofalert.
9304         (parse_line): Ignore spoof-related lines.
9305         (do_init): Do not process RESOLV_SPOOF_CHECK.
9307 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9309         [BZ #20964]
9310         sunrpc: Always obtain AF_INET addresses from NSS.
9311         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9312         * sunrpc/rpc_gethostbyname.c: New file.
9313         * sunrpc/Makefile (routines): Add it.
9314         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9315         * sunrpc/clnt_simp.c (callrpc): Likewise.
9316         * sunrpc/getrpcport.c (getrpcport): Likewise.
9318 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9320         * sunrpc/rpcinfo.c: Remove.
9321         * sunrpc/Makefile: Remove comments referring to rpcinfo.
9323 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9325         [BZ #19387]
9326         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9327         addition.
9328         * string/test-memchr.c (do_test): Remove alignment limitation.
9329         (test_main): Add test that trigger BZ #19387.
9331 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9333         [BZ #7065]
9334         Enable stack protectore if requested by ./configure.
9335         * Makeconfig (+stack-protector): New variable.
9336         (+cflags): Use it.
9338 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9340         [BZ #7065]
9341         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9342         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9343         (__rt_sigreturn_stub): Use inhibit_stack_protector.
9344         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9345         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9347 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9349         [BZ #7065]
9350         * login/Makefile (pt_chown-cflags): Remove.
9351         * nscd/Makefile (CFLAGS-nscd): Likewise.
9352         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9354 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9356         [BZ #7065]
9357         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9358         non-libc-linking testcase.
9360 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9361             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9362             Florian Weimer  <fweimer@redhat.com>
9364         [BZ #7065]
9365         PLT avoidance for __stack_chk_fail*.
9366         * debug/Makefile (CFLAGS-stack_chk_fail.c)
9367         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9368         * debug/stack_chk_fail.c (__stack_chk_fail): Add
9369         __stack_chk_fail_local alias.
9370         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9371         (__stack_chk_fail): Turn into hidden reference to
9372         __stack_chk_fail_local.
9374 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9376         [BZ #7065]
9377         * configure.ac: Add check for unsupported stack-protection level.
9378         (libc_cv_predef_stack_protector): Remove.
9379         (no_ssp): New variable.
9380         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9381         (stack_protector): Set to -fno-stack-protector similarly.
9382         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9383         (libc_cv_asm_set_directive): Likewise.
9384         (libc_cv_protected_data): Likewise.
9385         (libc_cv_z_combreloc): Likewise.
9386         (libc_cv_hashstyle): Likewise.
9387         (libc_cv_has_glob_dat): Likewise.
9388         (libc_cv_output_format): Likewise.
9389         (libc_cv_output_format): Likewise.
9390         (libc_cv_ehdr_start): Likewise.
9391         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9392         (LIBC_LINKER_FEATURE): Likewise.
9393         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9395 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9397         [BZ #7065]
9398         * elf/Makefile (dummy-stack-chk-fail): New.
9399         (librtld.map): Use it.
9401 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9403         [BZ #7065]
9404         Compile the dynamic linker without stack protection.
9405         * elf/Makefile (elide-stack-protector): New.
9406         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9407         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9408         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9409         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9411 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9413         [BZ #7065]
9414         * config.make.in (have-ssp, no-stack-protector): New.
9415         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9416         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9417         (CFLAGS-sbrk.op): Likewise.
9418         (CFLAGS-brk.o): Likewise.
9419         (CFLAGS-brk.op): Likewise.
9420         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9421         (CFLAGS-wordcopy.c): Likewise.
9423 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9425         [BZ #7065]
9426         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9427         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9428         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9429         (__ifunc_resolver): Use it.
9430         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9431         inhibit_stack_protector.
9432         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9433         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9434         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9435         (foo_protected_ifunc): Likewise.
9436         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9437         (foo_protected_ifunc): Likewise.
9438         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9439         * sysdeps/nacl/nacl_interface_query.c
9440         (nacl_interface_query_ifunc): Likewise.
9441         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9442         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9443         Likewise.
9444         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9445         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9446         the generated vDSO syscall resolver.
9448 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9449             Florian Weimer  <fweimer@redhat.com>
9451         [BZ #7065]
9452         Initialize the stack guard earlier when linking statically.
9453         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9454         (__pthread_initialize_minimal): Declare.
9455         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9456         declaration.
9457         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9458         stack canary and apply_irel initialization up.  Call
9459         __pthread_initialize_minimal only if linked in.
9460         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9461         constant values.
9462         (__pthread_initialize_minimal): Remove.
9463         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9464         (__pthread_initialize_minimal_internal): Do not call
9465         __libc_setup_tls.
9467 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9469         [BZ #7065]
9470         * configure.ac (libc_cv_ssp): Move up.
9471         (libc_cv_ssp_strong): Likewise.
9472         (libc_cv_ssp_all): New.
9473         (stack_protector): Augment, adding -fstack-protector-all.
9474         (no_stack_protector): New.
9475         (STACK_PROTECTOR_LEVEL): New.
9476         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9477         * manual/install.texi (--enable-stack-protector): Document it.
9478         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9480 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9482         * README.pretty-printers: Must specify CPPFLAGS-* also.
9483         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9484         (CPPFLAGS-test-mutex-printers.c): Define.
9485         (CPPFLAGS-test-condattr-printers.c): Define.
9486         (CPPFLAGS-test-cond-printers.c): Define.
9487         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9488         (CPPFLAGS-test-rwlock-printers.c): Define.
9490         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9491         (tests): Add tst-cancel-getpwuid_r.
9492         * nss/tst-cancel-getpwuid_r.c: New file.
9494         [BZ #11941]
9495         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9496         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9497         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9498         tst-nodelete-dlclose.
9499         (modules-names): Add tst-nodelete-dlclose-dso and
9500         tst-nodelete-dlclose-plugin.
9501         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9502         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9503         ($(objpfx)tst-nodelete-dlclose): Define.
9504         ($(objpfx)tst-nodelete-dlclose.out): Define.
9506 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9508         * scripts/test_printers_common.py: Log GDB output in case of
9509         Python detection failure.
9511 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9513         * configure.ac: Check for python3 or python.
9514         * configure: Regenerated.
9515         * config.make.in (PYTHON): New variable.
9516         * benchtests/Makefile: Don't define PYTHON.
9517         (bench): Define target only if PYTHON was defined.
9518         * Rules: Don't define PYTHON.
9519         Define pretty printer targets only if PYTHON was defined.
9520         (tests-printers): Add to tests-unsupported if PYTHON is not
9521         found.
9522         (python-flags, python-invoke): Remove.
9523         (tests-printers-out): Use PYTHON instead of python-invoke.
9525 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9527         [BZ #20978]
9528         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9529         Compare name == NULL, not name != NULL.
9531         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9532         trailing whitespace removed.
9533         * scripts/config.guess: Update to version 2016-10-02.
9534         * scripts/config.sub: Update to version 2016-11-19.
9535         * scripts/install-sh: Update to version 2016-01-11.22.
9536         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9537         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9539 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9541         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9542         (do_one_test) Restore original string so iteration works.
9543         * string/string-inlines.c (do_test): Create better input strings.
9544         (test_main) Reduce number of testruns.
9545         * string/string-inlines.c (__old_strsep_1c): New function.
9546         (__old_strsep_2c): Likewise.
9547         (__old_strsep_3c): Likewise.
9548         * string/strsep.c (__strsep): Remove case of small delim string.
9549         Call strcspn directly rather than strpbrk.
9550         * string/bits/string2.h (__strsep): Remove define.
9551         (__strsep_1c): Remove.
9552         (__strsep_2c): Remove.
9553         (__strsep_3c): Remove.
9554         (strsep): Remove.
9555         * sysdeps/unix/sysv/linux/internal_statvfs.c
9556         (__statvfs_getflags): Rename to __strsep.
9558 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9560         * csu/libc-tls.c (_dl_tls_setup): Remove.
9561         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9562         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9563         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9565 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9567         [BZ #7065]
9568         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9569         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9571 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9572             Florian Weimer  <fweimer@redhat.com>
9574         [BZ #7065]
9575         * csu/Makefile (tests): Empty assignment and document it.
9576         (tests-static): Remove.
9577         * csu/tst-empty.c: Move to...
9578         * misc/tst-empty.c: ... here.  Switch to new test driver.
9579         * csu/tst-atomic.c: Move to...
9580         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9581         * csu/tst-atomic-long.c: Move to...
9582         * misc/tst-atomic-long.c: ... here.
9583         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9584         tst-atomic-long.
9585         (tests-static): Add tst-empty.
9587 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9589         * manual/nss.texi: Change incorrect @vtable to @table.
9590         * manual/arith.texi: Convert @tables of variables to @vtables
9591         and remove unnecessary indexing.
9592         * manual/filesys.texi: Likewise.
9593         * manual/llio.texi: Likewise.
9594         * manual/memory.texi: Likewise.
9595         * manual/process.texi: Likewise.
9596         * manual/resource.texi: Likewise.
9597         * manual/search.texi: Likewise.
9598         * manual/signal.texi: Likewise.
9599         * manual/socket.texi: Likewise.
9600         * manual/stdio.texi: Likewise.
9601         * manual/sysinfo.texi: Likewise.
9602         * manual/syslog.texi: Likewise.
9603         * manual/terminal.texi: Likewise.
9604         * manual/time.texi: Likewise.
9605         * manual/users.texi: Likewise.
9607 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9609         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9610         (roundeven): New declaration.
9611         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9612         macro.
9613         * math/Versions (roundeven): New libm symbol at version
9614         GLIBC_2.25.
9615         (roundevenf): Likewise.
9616         (roundevenl): Likewise.
9617         * math/Makefile (libm-calls): Add s_roundevenF.
9618         * math/libm-test.inc (roundeven_test_data): New array.
9619         (roundeven_test): New function.
9620         (main): Call roundeven_test.
9621         * math/test-tgmath.c (NCALLS): Increase to 134.
9622         (F(compile_test)): Call roundeven.
9623         (F(roundeven)): New function.
9624         * manual/arith.texi (Rounding Functions): Document roundeven,
9625         roundevenf and roundevenl.
9626         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9627         * include/math.h (roundeven): Use libm_hidden_proto.
9628         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9629         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9630         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9635         roundeven.
9636         (CFLAGS-nldbl-roundeven.c): New variable.
9637         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9638         * sysdeps/nacl/libm.abilist: Update.
9639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9647         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9648         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9652         Likewise.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9654         Likewise.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9656         Likewise.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9658         Likewise.
9659         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9665         Likewise.
9666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9667         Likewise.
9668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9672 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9674         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9675         preprocessor indentation inside #if.
9677 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9679         * math/libm-test.inc (fmt_ftostr): New function.
9680         (print_float, check_float_internal): Replace some uses of
9681         FTOSTR with uses of fmt_ftostr.
9682         (print_max_error, print_complex_max_error, print_function_ulps)
9683         (print_complex_function_ulps): Remove uses of the macros
9684         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9685         * math/test-double.h (FTOSTR): Define to strfromd.
9686         (PRINTF_EXPR): Delete.
9687         (PRINTF_XEXPR): Likewise.
9688         (PRINTF_NEXPR): Likewise.
9689         * math/test-float.h (FTOSTR): Define to strfromf.
9690         (PRINTF_EXPR): Delete.
9691         (PRINTF_XEXPR): Likewise.
9692         (PRINTF_NEXPR): Likewise.
9693         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9694         (PRINTF_EXPR): Delete.
9695         (PRINTF_XEXPR): Likewise.
9696         (PRINTF_NEXPR): Likewise.
9698 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9701         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9702         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9703         (__lll_lock_elision): Decrement adapt_count while unlocking
9704         instead of before locking.
9705         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9706         (__lll_trylock_elision): Likewise.
9707         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9708         (__lll_unlock_elision): Likewise.
9710 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9712         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9713         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9714         Use __libc_tbegin_retry macro.
9716 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9718         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9719         Add -msoft-float.
9720         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9721         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9722         Use __libc_t* transaction macros instead of __builtin_t*.
9723         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9724         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9726 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9728         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9729         (__lll_lock_elision): Use atomics to load / store adapt_count.
9730         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9731         (__lll_trylock_elision): Likewise.
9733 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9735         Do not require memset elimination in explicit_bzero test.
9736         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9737         (enum test_expectation): Add NO_EXPECTATIONS.
9738         (subtests): NO_EXPECTATIONS for ordinary clear.
9739         (check_test_buffer): Handle NO_EXPECTATIONS.
9740         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9742 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9744         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9745         (fmaxmag): New declaration.
9746         (fminmag): Likewise.
9747         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9748         macro.
9749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9750         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9751         (fmaxmagf): Likewise.
9752         (fmaxmagl): Likewise.
9753         (fminmag): Likewise.
9754         (fminmagf): Likewise.
9755         (fminmagl): Likewise.
9756         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9757         * math/s_fmaxmag_template.c: New file.
9758         * math/s_fminmag_template.c: Likewise.
9759         * math/libm-test.inc (fmaxmag_test_data): New array.
9760         (fmaxmag_test): New function.
9761         (fminmag_test_data): New array.
9762         (fminmag_test): New function.
9763         (main): Call fmaxmag_test and fminmag_test.
9764         * math/test-tgmath.c (NCALLS): Increase to 132.
9765         (F(compile_test)): Call fmaxmag and fminmag.
9766         (F(fminmag)): New function.
9767         (F(fmaxmag)): Likewise.
9768         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9769         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9770         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9771         fminmag.
9772         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9773         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9774         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9775         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9776         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9777         and fminmag.
9778         (CFLAGS-nldbl-fmaxmag.c): New variable.
9779         (CFLAGS-nldbl-fminmag.c): Likewise.
9780         * sysdeps/nacl/libm.abilist: Update.
9781         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9783         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9794         Likewise.
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9796         Likewise.
9797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9798         Likewise.
9799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9800         Likewise.
9801         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9809         Likewise.
9810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9814 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9816         [BZ #20973]
9817         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9818         wake-up in robust mutexes.
9819         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9821 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9823         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9824         (CFLAGS-bench-fmaxf.c): New rule.
9825         (CFLAGS-bench-fminf.c): Likewise.
9826         * benchtests/fmaxf-inputs: New file.
9827         * benchtests/fminf-inputs: Likewise.
9829         * benchtests/Makefile (bench-math): Add fmin and fmax.
9830         (CFLAGS-bench-fmax.c): New rule.
9831         (CFLAGS-bench-fmin.c): Likewise.
9832         * benchtests/fmax-inputs: New file.
9833         * benchtests/fmin-inputs: Likewise.
9835         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9836         parenthesis.
9837         (CMDLINE_PROCESS): Define using function instead of macro.
9838         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9839         of test-skeleton.
9840         * benchtests/bench-memchr.c: Likewise.
9841         * benchtests/bench-memcmp.c: Likewise.
9842         * benchtests/bench-memcpy-large.c: Likewise.
9843         * benchtests/bench-memcpy.c: Likewise.
9844         * benchtests/bench-memmem.c: Likewise.
9845         * benchtests/bench-memmove-large.c: Likewise.
9846         * benchtests/bench-memmove.c: Likewise.
9847         * benchtests/bench-memset-large.c: Likewise.
9848         * benchtests/bench-memset.c: Likewise.
9849         * benchtests/bench-rawmemchr.c: Likewise.
9850         * benchtests/bench-strcasecmp.c: Likewise.
9851         * benchtests/bench-strcasestr.c: Likewise.
9852         * benchtests/bench-strcat.c: Likewise.
9853         * benchtests/bench-strchr.c: Likewise.
9854         * benchtests/bench-strcmp.c: Likewise.
9855         * benchtests/bench-strcpy.c: Likewise.
9856         * benchtests/bench-strcpy_chk.c: Likewise.
9857         * benchtests/bench-strlen.c: Likewise.
9858         * benchtests/bench-strncasecmp.c: Likewise.
9859         * benchtests/bench-strncmp.c: Likewise.
9860         * benchtests/bench-strncpy.c: Likewise.
9861         * benchtests/bench-strnlen.c: Likewise.
9862         * benchtests/bench-strpbrk.c: Likewise.
9863         * benchtests/bench-strrchr.c: Likewise.
9864         * benchtests/bench-strsep.c: Likewise.
9865         * benchtests/bench-strspn.c: Likewise.
9866         * benchtests/bench-strstr.c: Likewise.
9867         * benchtests/bench-strtok.c: Likewise.
9869 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9871         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9872         stepping identification.
9873         (init_cpu_features): Add handle of Haswell.
9875 2016-11-25  Jim Meyering  <meyering@fb.com>
9877         [BZ #20386]
9878         Let gcc detect assert(a = 1) errors.
9879         * assert/assert.h (assert): Rewrite, retaining the old definintion
9880         when required, but otherwise putting the expression as-is in an "if"
9881         expression (hence, with no added parentheses) within a statement
9882         expression.
9884 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9886         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9887         DSO.
9889 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9891         * Rules (python-flags, python-invoke): New.
9892         ($(test-printers-out)): Use $(python-flags).
9894 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9896         * manual/arith.texi (Math Error Reporting): Document that sNaN
9897         arguments are not considered domain errors.
9899 2016-12-16  Zack Weinberg <zackw@panix.com>
9900             Florian Weimer <fweimer@redhat.com>
9901             Nick Mathewson <nickm@torproject.org>
9903         * string/explicit_bzero.c: New routine.
9904         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9905         * string/Makefile (routines, strop-tests, tests): Add them.
9906         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9907         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9909         * debug/explicit_bzero_chk.c: New routine.
9910         * debug/Makefile (routines): Add it.
9911         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9912         * string/bits/string3.h: Fortify explicit_bzero.
9914         * manual/string.texi: Document explicit_bzero.
9915         * NEWS: Mention addition of explicit_bzero.
9917         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9918         data before returning, using explicit_bzero.
9919         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9920         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9921         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9923         * include/string.h: Redirect internal uses of explicit_bzero
9924         to __explicit_bzero_chk[_internal].
9925         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9926         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9927         * sysdeps/arm/nacl/libc.abilist
9928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9929         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9930         * sysdeps/unix/sysv/linux/arm/libc.abilist
9931         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9932         * sysdeps/unix/sysv/linux/i386/libc.abilist
9933         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9934         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9935         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9936         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9937         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9938         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9939         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9940         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9941         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9946         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9947         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9948         * sysdeps/unix/sysv/linux/sh/libc.abilist
9949         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9950         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9953         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9954         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9955         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9956         Add entries for explicit_bzero and __explicit_bzero_chk.
9958 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9960         * math/fenv.h
9961         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9962         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9963         * math/test-fe-snans-always-signal.c: New file.
9964         * math/Makefile (tests): Add test-fe-snans-always-signal.
9965         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9966         * manual/arith.texi (Infinity and NaN): Document
9967         FE_SNANS_ALWAYS_SIGNAL.
9969 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9971         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9972         bracket.
9974 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9976         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9977         before calling execv.
9979 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9981         [BZ #20971]
9982         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9983         overflow in pointer addition.
9984         * string/test-memchr.c (do_test): Add an argument to pass as
9985         the size on memchr.
9986         (test_main): Add check for SIZE_MAX.
9988 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9990         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9991         (libm-calls): Add w_scalblnF.
9992         * math/w_scalbln.c: Remove.
9993         * math/w_scalblnf.c: Likewise.
9994         * math/w_scalblnl.c: Likewise.
9995         * math/w_scalbln_template.c: New file with type-generic
9996         implementation based on math/w_scalbln.c.
9997         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9998         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10000 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10002         [BZ #20947]
10003         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10004         either is a signaling NaN.
10005         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10006         follow fmaxl more closely.
10007         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10008         when either is a signaling NaN.
10009         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10010         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10011         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10012         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10013         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10014         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10015         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10016         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10017         (fmin_test_data): Likewise.
10019 2016-12-15  Andreas Schwab  <schwab@suse.de>
10021         * support/support_test_main.c (support_test_main): Don't shadow
10022         file-local variable test_pid.
10024 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10026         [BZ #20947]
10027         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10028         either is a signaling NaN.
10029         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10031 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10033         [BZ #20947]
10034         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10035         when either is a signaling NaN.
10036         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10038         * bits/long-double.h: New file.
10039         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10040         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10041         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10042         * sysdeps/mips/bits/long-double.h: Likewise.
10043         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10044         * math/Makefile (headers): Add bits/long-double.h.
10045         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10046         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10047         <bits/wordsize.h>.
10048         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10049         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10050         * math/math.h: Do not include <bits/mathdef.h>.
10051         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10052         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10053         inclusion.
10054         * sysdeps/ia64/bits/mathdef.h: Remove file.
10055         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10056         * sysdeps/mips/bits/mathdef.h: Likewise.
10057         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10058         * sysdeps/s390/bits/mathdef.h: Likewise.
10059         * sysdeps/sparc/bits/mathdef.h: Likewise.
10060         * sysdeps/x86/bits/mathdef.h: Likewise.
10061         * sysdeps/s390/s390-32/bits/wordsize.h
10062         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10063         conditional code.
10064         * sysdeps/s390/s390-64/bits/wordsize.h
10065         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10068         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10069         Likewise.
10070         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10071         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10072         Likewise.
10073         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10074         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10075         Likewise.
10077         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10078         <linux/falloc.h>.
10079         (FALLOC_FL_KEEP_SIZE): Remove.
10080         (FALLOC_FL_PUNCH_HOLE): Likewise.
10081         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10082         (FALLOC_FL_ZERO_RANGE): Likewise.
10084 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10086         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10088 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10090         * sysdeps/unix/sysv/linux/renameat.c: New file.
10091         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10093         * sysdeps/unix/sysv/linux/rename.c: New file.
10094         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10096 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10098         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10099         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10100         * string/strtok_r.c (__strtok_r): Optimize for performance.
10101         * string/string-inlines.c (__old_strtok_r_1c): New function.
10102         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10104 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10106         * math/Makefile (gen-libm-calls): Add w_log1pF.
10107         (libm-calls): Remove w_log1pF.
10108         * math/w_log1p.c: Remove.
10109         * math/w_log1pf.c: Likewise.
10110         * math/w_log1pl.c: Likewise.
10111         * math/w_log1p_template.c: New file with type-generic
10112         implementation based on math/w_log1p.c.
10113         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10114         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10116 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10118         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10120 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10122         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10123         kernel version to 4.9.
10125 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10127         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10128         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10130 2016-12-13  Andreas Schwab  <schwab@suse.de>
10132         * sysdeps/powerpc/dl-procinfo.c: Don't define
10133         _dl_powerpc_platforms.
10134         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10135         constants instead of referencing _dl_powerpc_platforms.
10136         (_dl_platform_string): Remove.
10138 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10140         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10142 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10144         * Rules (binaries-shared-tests, binaries-pie-tests)
10145         (binaries-static-tests): Link with $(link-extra-libs-tests).
10146         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10147         Remove $(link-extra-libs-tests).
10149 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10151         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10152         (sysdep_routines): Add strncmp_power9.
10153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10154         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10155         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10156         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10157         (strncmp): Add __strncmp_power9 to ifunc list.
10158         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10160 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10162         [BZ #17252]
10163         Add getentropy, getrandom.
10164         * stdlib/sys/random.h: New file.
10165         (headers): Add it.
10166         * stdlib/Makefile (routines): Add getentropy, getrandom.
10167         (tests): Add tst-getrandom.
10168         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10169         * stdlib/getentropy.c: New file.
10170         * stdlib/getrandom.c: Likewise.
10171         * stdlib/tst-getrandom.c: Likewise.
10172         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10173         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10174         * manual/crypt.texi (Unpredictable Bytes): New section.
10175         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10176         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10177         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10178         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10181         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10183         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10184         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10185         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10186         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10187         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10188         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10189         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10190         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10192         Likewise.
10193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10194         Likewise.
10195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10197         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10198         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10199         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10200         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10201         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10204         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10205         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10206         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10208 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10210         [BZ #20956]
10211         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10212         as additional compiler barriers.
10213         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10214         (fn2, do_test): Declare with external linkage.
10215         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10216         (do_test): Declare with external linkage.
10217         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10218         (do_test): Declare with external linkage.
10219         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10220         (do_test): Declare with external linkage.
10222 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10224         * support/support_test_main.c (support_test_main): Use correct
10225         timeout.
10227 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10228             Florian Weimer  <fweimer@redhat.com>
10230         [BZ #16421]
10231         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10232         and __u6_addr32 members.
10233         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10234         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10235         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10236         Use __u6_addr32.
10237         * inet/tst-checks.c: Use <support/test-driver.c>
10238         * inet/tst-checks-posix.c: New file.
10239         * inet/Makefile (tests): Add it.
10240         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10242 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10244         New subdirectory support for build and test infrastructure.
10245         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10246         setting install-lib.
10247         * Makeconfig (link-extra-libs-tests): Define.
10248         (+link-pie-tests, +link-static-tests, +link-tests): Use
10249         link-extra-libs-tests.
10250         (rpath-dirs, all-subdirs): Add support.
10251         (built-modules): Add libsupport.
10252         (libsupport): Define.
10253         * support: New directory.
10254         * support/Makefile: New file.
10255         * support/check.c: Likewise.
10256         * support/check.h: Likewise.
10257         * support/delayed_exit.c: Likewise.
10258         * support/ignore_stderr.c: Likewise.
10259         * support/oom_error.c: Likewise.
10260         * support/set_fortify_handler.c: Likewise.
10261         * support/support.h: Likewise.
10262         * support/temp_file-internal.h: Likewise.
10263         * support/temp_file.c: Likewise.
10264         * support/test-driver.c: Likewise.
10265         * support/test-driver.h: Likewise.
10266         * support/test_main.c: Likewise.
10267         * support/write_message.c: Likewise.
10268         * support/xasprintf.c: Likewise.
10269         * support/xcalloc.c: Likewise.
10270         * support/xmalloc.c: Likewise.
10271         * support/xpthread_barrier_destroy.c: Likewise.
10272         * support/xpthread_barrier_init.c: Likewise.
10273         * support/xpthread_barrier_wait.c: Likewise.
10274         * support/xpthread_cancel.c: Likewise.
10275         * support/xpthread_check_return.c: Likewise.
10276         * support/xpthread_cond_wait.c: Likewise.
10277         * support/xpthread_create.c: Likewise.
10278         * support/xpthread_detach.c: Likewise.
10279         * support/xpthread_join.c: Likewise.
10280         * support/xpthread_mutex_lock.c: Likewise.
10281         * support/xpthread_mutex_unlock.c: Likewise.
10282         * support/xpthread_sigmask.c: Likewise.
10283         * support/xpthread_spin_lock.c: Likewise.
10284         * support/xpthread_spin_unlock.c: Likewise.
10285         * support/xrealloc.c: Likewise.
10286         * support/xsignal.h: Likewise.
10287         * support/xthread.h: Likewise.
10288         * support_tempfile.h: Likewise.
10289         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10290         (TEST_DATA_LIMIT): Remove unused macro.
10291         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
10292         <support/check.h>.
10293         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10294         (ignore_stderr, set_fortify_handler): Remove.  Now in
10295         <support/support.h>.
10296         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
10297         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10298         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10299         (xpthread_join): Remove.  Now in <support/xthread.h>.
10300         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10301         Introduce legacy wrappers.
10302         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10303         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10304         (write_message): Remove.
10305         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10306         test-skeleton.c.
10307         * io/test-open-tmpfile: Likewise.
10308         * io/tst-posix_fallocate-common.c: Likewise.
10309         * libio/tst-fseek.c: Likewise.
10310         * malloc/tst-malloc-backtrace.c: Likewise.
10311         * malloc/tst-malloc-fork-deadlock.c: Likewise.
10312         * malloc/tst-malloc-thread-exit.c: Likewise.
10313         * nptl/tst-cancel7.c: Likewise.
10314         * nptl/tst-cleanup0.c: Likewise.
10315         * posix/tst-posix_fadvise-common.c: Likewise.
10316         * rt/tst-shm.c: Likewise.
10317         * time/bug-getdate1.c: Likewise.
10318         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10319         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10320         * elf/Makefile (tst-piemod1.so): Link against libsupport.
10322 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
10324         * Rules [$(run-built-tests) != no] (tests-expected): Add
10325         $(tests-printers).
10326         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10328 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10330         [BZ #20539]
10331         * math/Makefile (install-lib-ldscripts): Add libm.a.
10332         (install_subdir): Remove.
10333         (install-others): Add.
10334         ($(inst_libdir)/libm.a): Add rule for installation as
10335         linker script.
10336         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10338 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
10340         * INSTALL: Regenerated.
10341         * Makeconfig: Add comments and whitespace to make the control flow
10342         clearer.
10343         (+link-printers-tests, +link-pie-printers-tests,
10344         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10345         built-rtld-LDFLAGS, link-libc-rpath,
10346         link-libc-tests-after-rpath-link,
10347         link-libc-printers-tests): New.
10348         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10349         link-libc-tests): Use the new variables as required.
10350         * Makerules ($(py-const)): New rule.
10351         generated: Add $(py-const).
10352         * README.pretty-printers: New file.
10353         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10354         (others): Depend on $(py-const).
10355         (tests): Depend on $(tests-printers-programs) or
10356         $(tests-printers-out),
10357         as required.  Pass $(tests-printers) to merge-test-results.sh.
10358         * manual/install.texi: Add requirements for testing the pretty
10359         printers.
10360         * nptl/Makefile (gen-py-const-headers, pretty-printers,
10361         tests-printers, CFLAGS-test-mutexattr-printers.c
10362         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10363         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10364         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10365         * nptl/nptl-printers.py: New file.
10366         * nptl/nptl_lock_constants.pysym: Likewise.
10367         * nptl/test-cond-printers.c: Likewise.
10368         * nptl/test-cond-printers.py: Likewise.
10369         * nptl/test-condattr-printers.c: Likewise.
10370         * nptl/test-condattr-printers.py: Likewise.
10371         * nptl/test-mutex-printers.c: Likewise.
10372         * nptl/test-mutex-printers.py: Likewise.
10373         * nptl/test-mutexattr-printers.c: Likewise.
10374         * nptl/test-mutexattr-printers.py: Likewise.
10375         * nptl/test-rwlock-printers.c: Likewise.
10376         * nptl/test-rwlock-printers.py: Likewise.
10377         * nptl/test-rwlockattr-printers.c: Likewise.
10378         * nptl/test-rwlockattr-printers.py: Likewise.
10379         * scripts/gen-py-const.awk: Likewise.
10380         * scripts/test_printers_common.py: Likewise.
10381         * scripts/test_printers_exceptions.py: Likewise.
10383 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10385         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10386         argument.
10387         (Glibc.build_glibc): Strip installed shared libraries if
10388         requested.
10389         (get_parser): Add --strip option.
10390         (main): Update Context call.
10392 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10393             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10395         [BZ #20847]
10396         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10397         array bounds for else branch.
10398         (__execvpe): Style fixes.
10399         * posix/tst-vfork3.c (run_script): New function.
10400         (create_script): Likewise.
10401         (do_test): Use run_script internal function.
10402         (do_prepare): Use create_script internal function.
10404 2016-12-07  Andreas Schwab  <schwab@suse.de>
10406         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10407         (__elision_available): Don't declare.
10408         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10409         (__elision_available): Don't define.
10410         (elision_init): Don't set __elision_available.
10412 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10414         [BZ #20940]
10415         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10416         return Inf for arguments Inf and sNaN.
10417         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10418         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10419         Likewise.
10420         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10421         Likewise.
10422         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10423         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10424         for arguments Inf and sNaN.  When returning a NaN, compute it by
10425         arithmetic on the arguments.
10426         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10427         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10428         arguments.
10430 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10432         [BZ #20916]
10433         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10434         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10435         to compute result.
10436         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10437         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10439 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10441         * include/atomic.h (__atomic_check_size_ls): New.
10442         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10443         atomic_store_release): Use it.
10444         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10445         (elision_adapt, ELIDE_LOCK): Use atomics.
10446         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10447         atomics and improve code comments.
10448         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10449         (__lll_trylock_elision): Likewise.
10451 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10453         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10454         programs.
10456 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10458         [BZ #20916]
10459         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10460         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10461         arguments to compute result.
10462         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10463         1 for arguments (sNaN, 0) or (1, sNaN).
10464         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10465         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10467         [BZ #20919]
10468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10469         NaN first argument when raised to power 0.
10470         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10471         raising to power zero.
10472         * math/w_powf.c (__powf): Likewise.
10473         * math/w_powl.c (__powl): Likewise.
10474         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10475         pow (0, 0) or pow (NaN, 0).
10477 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10479         [BZ #20918]
10480         * configure.ac: Test for static NSS cryptographic libraries and set
10481         libc_cv_static_nss_crypt.
10482         * configure: Regenerate.
10483         * config.make.in (static-nss-crypt): Define.
10484         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10485         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10486         (CFLAGS-tst-linkall-static.c): Define.
10487         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10488         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10489         ($(objpfx)tst-linkall-static): Define.
10490         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10491         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10493 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10495         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10496         (one-hundred, tst-tls-many-dynamic-modules): Define.
10497         (modules-names): Add $(tst-tls-many-dynamic-modules).
10498         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10499         macros.
10500         (tst-tls-manydynamic): Link against libdl, libpthread.
10501         (tst-tls-manydynamic.out): The test needs the test modules at run
10502         time.
10503         * elf/tst-tls-manydynamic.c: New file.
10504         * elf/tst-tls-manydynamic.h: Likewise.
10505         * elf/tst-tls-manydynamicmod.c: Likewise.
10507 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10509         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10510         (TLS_DTV_UNALLOCATED): Add.
10511         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10512         offsets.
10514 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10516         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10518 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10520         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10521         Add -fno-optimize-sibling-calls.
10523 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10525         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10526         New declaration.
10527         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10528         macro.
10529         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10530         New macro.
10531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10533         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10534         (llogbf): Likewise.
10535         (llogbl): Likewise.
10536         * math/Makefile (gen-libm-calls): Add w_llogbF.
10537         (tests): Add test-fp-llogb-constants.
10538         * math/w_llogb_template.c: New file.  Based on
10539         math/w_ilogb_template.c.
10540         * math/libm-test.inc (llogb_test_data): New array.
10541         (llogb_test): New function.
10542         (main): Call llogb_test.
10543         * math/test-fp-llogb-constants.c: New file.  Based on
10544         math/test-fp-ilogb-constants.c.
10545         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10546         (do_test): Call check_return_llogb.
10547         * math/test-tgmath.c (NCALLS): Increase to 126.
10548         (F(compile_test)): Call llogb.
10549         (F(llogb)): New function.
10550         * manual/math.texi (Exponents and Logarithms): Document llogb,
10551         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10552         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10553         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10554         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10555         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10556         (CFLAGS-nldbl-llogb.c): New variable.
10557         * sysdeps/nacl/libm.abilist: Update.
10558         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10565         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10567         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10569         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10571         Likewise.
10572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10573         Likewise.
10574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10575         Likewise.
10576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10577         Likewise.
10578         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10579         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10580         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10581         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10582         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10588         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10589         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10591 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10593         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10594         _Float128 instead of long double.
10595         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10597         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10598         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10599         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10600         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10601         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10602         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10603         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10604         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10605         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10606         Likewise.
10608 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10610         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10611         Remove redirection to __strrchr_ppc.
10613 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10615         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10616         (sysdep_routines): Add strcmp_power9.
10617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10618         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10619         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10620         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10621         (strcmp): Add __strcmp_power9 to ifunc list.
10622         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10624 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10626         * bits/fp-logb.h: New file.
10627         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10628         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10629         * sysdeps/x86/bits/fp-logb.h: Likewise.
10630         * math/Makefile (headers): Add bits/fp-logb.h.
10631         * math/math.h: Include <bits/fp-logb.h>.
10632         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10633         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10634         * bits/mathdef.h (FP_ILOGB0): Remove.
10635         (FP_ILOGBNAN): Likewise.
10636         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10637         (FP_ILOGBNAN): Likewise.
10638         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10639         (FP_ILOGBNAN): Likewise.
10640         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10641         (FP_ILOGBNAN): Likewise.
10642         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10643         (FP_ILOGBNAN): Likewise.
10644         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10645         (FP_ILOGBNAN): Likewise.
10646         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10647         (FP_ILOGBNAN): Likewise.
10648         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10649         (FP_ILOGBNAN): Likewise.
10650         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10651         (FP_ILOGBNAN): Likewise.
10652         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10653         (FP_ILOGBNAN): Likewise.
10655         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10656         time module.
10657         (Context.__init__): Initialize self.logsdir_old.
10658         (Context.run_builds): Handle bot action.
10659         (Context.bot_cycle): Copy logs directory before running builds.
10660         (Context.bot_run_self): Take argument for whether to check
10661         subprocess result.  Flush stdout before running subprocess.
10662         (Context.bot): New function.
10663         (get_parser): Allow bot action.
10665 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10667         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10668         Import email.mime.text, email.utils and smtplib modules.
10669         (Context.__init__): Initialize self.bot_config_json.
10670         (Context.run_builds): Handle bot-cycle action.
10671         (Context.load_bot_config_json): New function.
10672         (Context.part_build_old): Likewise.
10673         (Context.bot_cycle): Likewise.
10674         (Context.bot_build_mail): Likewise.
10675         (Context.bot_run_self): Likewise.
10676         (get_parser): Allow bot-cycle action.
10678 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10680         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10681         Remove redirection to __stpcpy_ppc.
10683 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10685         Remove __libc_memalign from ld.so because it is unused.
10686         * elf/dl-minimal.c: Update comment on the malloc implementation.
10687         (malloc): Renamed from __libc_memalign, replacing the original
10688         malloc implementation.  Replace the align parameter with
10689         MALLOC_ALIGNMENT.
10690         * elf/Versions (ld): Update comment and remove __libc_memalign.
10691         * sysdeps/nacl/ld.abilist: Likewise.
10692         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10695         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10698         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10699         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10700         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10701         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10704         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10708         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10709         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10710         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10711         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10712         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10715         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10716         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10717         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10718         * sysdeps/generic/localplt.data (ld.so): Likewise.
10719         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10720         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10721         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10722         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10723         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10724         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10725         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10726         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10727         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10729         (ld.so): Likewise.
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10731         (ld.so): Likewise.
10732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10735         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10736         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10737         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10738         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10740 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10742         [BZ #16628]
10743         Implement _dl_catch_error, _dl_signal_error in libc.so.
10744         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10745         (catch_hook): Define as thread-local or regular variable,
10746         depending on DL_ERROR_BOOTSTRAP.
10747         (CATCH_HOOK): Remove.
10748         (dl_signal_error, _dl_catch_error): Use
10749         catch_hook.  Add hidden definition for libc.
10750         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10751         for DL_ERROR_BOOTSTRAP only.
10752         * elf/dl-error.c: New file.
10753         * elf/dl-error-minimal.c: Likewise.
10754         * elf/tst-latepthread.c: Likewise.
10755         * elf/tst-latepthreadmod.c: Likewise.
10756         * elf/Makefile (routines): Add dl-error.
10757         (dl-routines): Remove dl-error.
10758         (rtld-routines): Add dl-error-minimal.
10759         [build-shared] (tests): Add tst-latepthread.
10760         (module-names): Add tst-latepthreadmod.
10761         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10762         symbol.
10763         (tst-latepthreadmod.so): Link against libpthread.
10764         (tst-latepthread): Link against libdbl.
10765         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10766         _dl_catch_error.
10767         [ld] (GLIBC_PRIVATE): Likewise.
10768         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10769         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10770         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10771         directly.
10772         * elf/dl-tsd.c: Remove file.
10773         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10774         _dl_catch_error, _dl_signal_error.
10775         (_dl_initial_error_catch_tsd): Remove definition.
10776         (do_preload): Remove initialization of dl_error_catch_tsd.
10777         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10778         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10779         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10780         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10781         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10782         set dl_error_catch_tsd.
10783         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10784         _dl_error_catch_tsd member.
10785         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10786         members.
10787         (_dl_initial_error_catch_tsd): Remove declaration.
10788         (_dl_dprintf): Provide definition for use outside of ld.so.
10789         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10790         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10791         prototype for libc.
10792         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10793         _dl_catch_error.
10794         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10795         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10796         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10797         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10798         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10799         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10800         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10801         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10805         (ld.so): Likewise.
10806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10807         (ld.so): Likewise.
10808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10809         Likewise.
10810         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10811         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10812         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10813         Likewise.
10814         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10815         Likewise.
10816         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10818 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10820         [BZ #4099]
10821         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10822         _IO_BUFSIZ (8192).
10824 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10826         * PROJECTS: Remove file.
10828 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10830         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10832 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10833             Steve Ellcey  <sellcey@caviumnetworks.com>
10835         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10836         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10838         fxstatat.
10839         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10840         lxstat.
10841         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10842         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10843         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10844         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10845         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10846         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10847         __xstat.
10849 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10851         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10852         Define.
10853         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10854         definition.
10856 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10858         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10859         version and turn into strong alias.  Remove compat symbol.
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10862         (__longjmp): Remove.
10864 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10866         * bits/fp-fast.h: New file.
10867         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10868         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10869         * math/Makefile (headers): Add bits/fp-fast.h.
10870         * math/math.h: Include <bits/fp-fast.h>.
10871         * bits/mathdef.h (FP_FAST_FMA): Remove.
10872         (FP_FAST_FMAF): Likewise.
10873         (FP_FAST_FMAL): Likewise.
10874         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10875         (FP_FAST_FMAF): Likewise.
10876         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10877         (FP_FAST_FMAF): Likewise.
10878         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10879         (FP_FAST_FMAF): Likewise.
10880         (FP_FAST_FMAL): Likewise.
10881         * sysdeps/arm/bits/mathdef.h: Remove file.
10882         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10883         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10884         * sysdeps/tile/bits/mathdef.h: Likewise.
10886 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10888         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10889         * math/w_ilogb.c: Remove.
10890         * math/w_ilogbf.c: Likewise.
10891         * math/w_ilogbl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10893         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10894         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10895         (libm-calls): Remove w_ilogbF.
10896         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10897         (LDOUBLE_ilogbl_libm_version): New macro.
10899         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10901         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10902         [!__STRICT_ANSI__ && !__cplusplus].
10904 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10906         [BZ #20750]
10907         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10908         of PIC.
10910 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10911             Yury Norov  <ynorov@caviumnetworks.com>
10912             Steve Ellcey  <sellcey@caviumnetworks.com>
10914         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10915         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10916         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10917         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10918         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10919         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10920         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10921         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10922         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10923         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10924         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10925         to get correct reg name for ILP32.
10926         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10927         (RELA_SIZE): New Macro.
10928         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10929         to support ILP32.
10930         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10931         cast for ILP32 mode.
10932         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10933         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10934         * sysdeps/aarch64/memset.S (__memset): Ditto.
10935         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10936         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10937         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10938         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10939         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10940         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10941         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10942         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10943         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10944         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10945         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10946         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10947         change PTR_MANGLE call to use register numbers instead of names.
10948         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10949         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10950         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10951         * sysdeps/aarch64/start.S (_start): Ditto.
10952         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10953         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10954         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10955         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10956         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10957         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10958         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10959         Make defined values dependent on __ILP32__.
10960         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10961         (sem_t): Change __align type.
10962         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10963         PTR_SIZE): New Macros.
10964         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10965         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10966         Set when in ILP32 mode.
10967         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10968         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10969         Set elf flags for ILP32.
10970         (add_system_dir): Set ILP32 library directories.
10971         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10972         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10973         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10974         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10975         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10976         New Macros.
10977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10979 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10981         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10982         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10983         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10985 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10987         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10988         <asm/cachectl.h>.
10990 2016-11-27  Zack Weinberg  <zackw@panix.com>
10992         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10993         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10995 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10997         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10998         error_t to fix usage in C++ programs.
11000 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11002         * scripts/build-many-glibcs.py: Import datetime module.
11003         (Context.__init__): Load JSON build state.  Initialize list of
11004         status logs.
11005         (Context.run_builds): Update saved build state.
11006         (Context.add_makefile_cmdlist): Update list of status logs.
11007         (Context.load_build_state_json): New function.
11008         (Context.store_build_state_json): Likewise.
11009         (Context.clear_last_build_state): Likewise.
11010         (Context.update_build_state): Likewise.
11011         (CommandList.status_logs): Likewise.
11013 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11015         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11016         script being executed.
11017         (Context.get_script_text): New function.
11018         (Context.exec_self): Likewise.
11019         (Context.checkout): Re-exec script if changed by checkout process.
11021 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11023         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11024         (setpayloadsig): New declaration.
11025         * math/Versions (setpayloadsig): New libm symbol at version
11026         GLIBC_2.25.
11027         (setpayloadsigf): Likewise.
11028         (setpayloadsigl): Likewise.
11029         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11030         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11031         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11032         (setpayloadsig_test_data): New array.
11033         (setpayloadsig_test): New function.
11034         (main): Call setpayloadsig_test.
11035         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11036         setpayloadsigf and setpayloadsigl.
11037         * manual/libm-err-tab.pl: Update comment on interfaces without
11038         ulps tabulated.
11039         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11040         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11043         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11044         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11045         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11046         setpayloadsig.
11047         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11048         * sysdeps/nacl/libm.abilist: Update.
11049         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11062         Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11064         Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11066         Likewise.
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11068         Likewise.
11069         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11072         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11075         Likewise.
11076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11077         Likewise.
11078         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11079         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11080         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11082         * scripts/build-many-glibcs.py: Import json module.
11083         (Context.__init__): Take replace_sources argument.  Load
11084         versions.json.
11085         (Context.load_versions_json): New function.
11086         (Context.store_json): Likewise.
11087         (Context.store_versions_json): Likewise.
11088         (Context.set_component_version): Likewise.
11089         (Context.checkout): Update versions.json.  Check for and handle
11090         changes of version.  Prefer previously explicitly specified
11091         version to default version.
11092         (Context.checkout_vcs): Return a revision identifier.
11093         (Context.git_checkout): Likewise.
11094         (Context.gcc_checkout): Likewise.
11095         (get_parser): Add --replace-sources option.
11096         (main): Pass replace_sources argument to Context call.
11098 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11100         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11101         * nptl/allocatestack.c (allocate_stack): Likewise.
11102         (__reclaim_stacks): Likewise.
11103         (setxid_signal_thread): Obtain pid through syscall.
11104         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11105         (sighandle_setxid): Likewise.
11106         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11107         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11108         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11111         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11112         comment.
11113         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11114         * nptl/descr.h (struct pthread): Change comment about pid value.
11115         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11116         pid assert.
11117         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11118         Do not set pid value.
11119         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11120         pid cache check.
11121         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11122         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11123         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11124         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11125         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11126         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11127         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11128         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11129         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11130         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11131         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11132         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11133         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11134         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11135         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11136         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11137         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11138         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11139         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11140         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11141         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11142         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11143         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11144         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11145         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11148         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11149         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11150         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11151         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11152         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11153         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11154         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11155         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11156         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11157         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11158         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11159         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11160         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11161         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11162         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11163         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11166         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11167         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11168         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11169         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11170         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11171         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11172         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11173         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11174         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11175         struct access.
11176         (clone_test): Remove function.
11177         (do_test): Rewrite to take in consideration pid is not cached anymore.
11179 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11181         * bits/flt-eval-method.h: New file.
11182         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11183         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11184         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11185         * math/Makefile (headers): Add bits/flt-eval-method.h.
11186         * math/math.h: Include <bits/flt-eval-method.h>.
11187         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11188         [__USE_ISOC99] (double_t): Likewise.
11189         * bits/mathdef.h (float_t): Remove.
11190         (double_t): Likewise.
11191         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11192         (double_t): Likewise.
11193         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11194         (double_t): Likewise.
11195         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11196         (double_t): Likewise.
11197         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11198         (double_t): Likewise.
11199         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11200         (double_t): Likewise.
11201         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11202         (double_t): Likewise.
11203         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11204         (double_t): Likewise.
11205         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11206         (double_t): Likewise.
11207         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11208         (double_t): Likewise.
11209         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11210         (double_t): Likewise.
11211         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11212         (double_t): Likewise.
11213         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11214         (double_t): Likewise.
11215         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11216         (double_t): Likewise.
11218 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11220         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11221         instead of PIC.
11223 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11225         [BZ #20859]
11226         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11227         (-0x7fffffff) instead of 0x80000001.
11228         * math/test-fp-ilogb-constants.c: New file.
11229         * math/Makefile (tests): Add test-fp-ilogb-constants.
11231 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11233         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11234         (_init): Use it in place of hardcoded R_MIPS_JALR.
11235         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11236         (_init): Use it in place of hardcoded R_MIPS_JALR.
11237         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11238         (_init): Use it in place of hardcoded R_MIPS_JALR.
11240 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #20787]
11243         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11244         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11245         (double_t): Do not define to double if [__x86_64__] when
11246         __FLT_EVAL_METHOD__ is nonzero.
11247         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11248         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11249         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11250         test-flt-eval-method-387 and test-flt-eval-method-sse.
11251         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11252         variable.
11253         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11255 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11257         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11258         use of -fno-isolate-erroneous-paths options for tilepro.
11260 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11262         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11263         structure initialization is no longer needed.
11265 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11267         [BZ #20855]
11268         * bits/mathdef.h (float_t): Define to float.
11269         * math/test-flt-eval-method.c: New file.
11270         * math/Makefile (tests): Add test-flt-eval-method.
11271         (CFLAGS-test-flt-eval-method.c): New variable.
11273 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
11275         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11276         and __fstatfs.  Make them aliases of __fstatfs64 if
11277         STATFS_IS_STATFS64 is set to non-zero.
11278         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11279         and __statfs64.
11280         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11281         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11282         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11283         for __statfs and statfs.
11284         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11285         to 0.
11286         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11287         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11288         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11289         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11290         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11291         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11294         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11295         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11296         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11297         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11299 2016-11-22  Andreas Schwab  <schwab@suse.de>
11301         * misc/mkstemp.c: Include <fcntl.h>.
11302         * misc/mkstemps.c: Likewise.
11303         * misc/mkostemp.c: Likewise.
11304         * misc/mkostemps.c: Likewise.
11306 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
11308         [BZ #20847]
11309         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11310         array bounds.
11311         (__execvpe): Likewise.
11313 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
11315         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11316         -fno-isolate-erroneous-paths options for tilepro.
11318 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
11320         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11321         to 0 when in 32 bit mode.
11322         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11323         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11324         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11325         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11327         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11328         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11329         XSTAT_IS_XSTAT64 test.
11330         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11331         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11332         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11333         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11334         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11335         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11336         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11337         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11338         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11339         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11340         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11342 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
11344         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11345         (setpayload): New declaration.
11346         * math/Versions (setpayload): New libm symbol at version
11347         GLIBC_2.25.
11348         (setpayloadf): Likewise.
11349         (setpayloadl): Likewise.
11350         * math/Makefile (libm-calls): Add s_setpayloadF.
11351         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11352         test_Ff_b1_data.
11353         (RUN_TEST_Ff_b1): New macro.
11354         (RUN_TEST_LOOP_Ff_b1): Likewise.
11355         (canonicalize_test_data): Update type.
11356         (setpayload_test_data): New array.
11357         (setpayload_test): New function.
11358         (main): Call setpayload_test.
11359         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11360         setpayloadf and setpayloadl.
11361         * manual/libm-err-tab.pl: Update comment on interfaces without
11362         ulps tabulated.
11363         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11364         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11365         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11366         Likewise.
11367         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11368         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11369         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11370         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11371         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11373         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11374         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11375         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11376         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11377         setpayload.
11378         (CFLAGS-nldbl-setpayload.c): New variable.
11379         * sysdeps/nacl/libm.abilist: Update.
11380         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11382         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11383         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11389         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11393         Likewise.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11395         Likewise.
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11397         Likewise.
11398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11399         Likewise.
11400         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11401         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11402         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11406         Likewise.
11407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11408         Likewise.
11409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11413 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11415         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11416         * include/unistd.h: Extend comment about __access_noerrno return
11417         semantics.
11418         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11419         (access_common): Correct typo for EACCES.
11421 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11423         * sysdeps/tile/math-tests.h: New file.
11425         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11426         (__old_set_dataplane): Rename from set_dataplane and make a
11427         compatibility symbol.
11428         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11429         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11430         sys/dataplane.h.
11432 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11434         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11435         script quote words in command output to log suitably for input to
11436         the shell.
11438 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11439             Maciej W. Rozycki  <macro@imgtec.com>
11441         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11442         `.Lno_weak_fn' label.
11443         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11444         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11446 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11447             Yury Norov  <ynorov@caviumnetworks.com>
11449         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11450         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11451         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11452         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11453         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11454         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11455         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11456         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11457         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11458         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11459         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11460         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11461         (sysdep_routines): Remove oldgetrlimit64.
11462         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11463         (sysdep_routines): Likewise.
11464         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11465         (sysdep_routines): Likewise.
11466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11467         [$(subdir) = resource] (sysdep_routines): Likewise.
11468         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11469         [$(subdir) = resource] (sysdep_routines): Likewise.
11470         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11471         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11472         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11473         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11474         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11475         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11476         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11477         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11478         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11479         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11480         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11481         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11482         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11483         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11484         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11485         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11486         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11487         setrlimit and getrlimit.
11488         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11490         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11493         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11494         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11495         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11497         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11498         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11499         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11500         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11501         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11502         (__old_getrlimit64): Add compatibility symbol.
11503         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11505 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11507         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11508         newly built gmp, mpfr and mpc.
11510         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11512 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11514         * conform/Makefile (linknamespace-libs): Rename to
11515         linknamespace-libs-thr.
11516         (linknamespace-libs-posix): New variable.
11517         (linknamespace-libs-xsi): Likewise.
11518         (linknamespace-libs-XPG3): Include libcrypt.a.
11519         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11520         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11521         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11522         (linknamespace-libs-XOPEN2K): Likewise.
11523         (linknamespace-libs-XOPEN2K8): Likewise.
11524         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11526         [BZ #20829]
11527         * stdio-common/Versions (__snprintf): Add to version
11528         GLIBC_PRIVATE.
11529         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11530         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11531         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11532         of snprintf.
11533         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11535 2016-11-16  Zack Weinberg  <zackw@panix.com>
11537         * string/string.h: Remove obsolete comment stating that
11538         strcoll_l and strxfrm_l have not yet been standardized.
11540 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11542         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11543         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11544         __access_noerrno.
11545         * io/access.c (__access_noerrno): New function.
11546         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11547         (hurd_fail_seterrno): Likewise.
11548         (access_common): Likewise.
11549         (__access_noerrno): Likewise.
11550         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11551         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11552         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11553         macro.
11555 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11557         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11558         Only declare fpregs if [__SH_FPU_ANY__].
11560 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11562         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11563         Make code unconditional.
11564         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11566 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11568         * manual/sysinfo.texi (S_APPEND): Delete.
11569         (S_IMMUTABLE): Likewise.
11571 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11572             Magnus Granberg  <zorry@gentoo.org>
11573             Mike Frysinger  <vapier@gentoo.org>
11575         [BZ #20662]
11576         * configure.ac (libc_cv_predef_stack_protector): Also check for
11577         __stack_chk_fail_local symbols.
11578         * configure: Regenerated.
11580 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11582         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11583         (libc_hidden_def): Remove redefinition.
11584         (__sigsetjmp): Add hidden definition.
11585         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11586         (libc_hidden_def): Remove redefinition.
11587         (__sigsetjmp): Add hidden definition.
11589 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11591         * scripts/build-many-glibcs.py (os.path): Do not import.
11592         (Context): Inherit explicitly from object.  Remove blank line
11593         between class and docstring.
11594         (Config): Likewise.
11595         (Glibc): Likewise.
11596         (Command): Likewise.
11597         (CommandList): Likewise.
11598         (Context.write_files): Store chmod mode in a variable.
11600         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11601         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11602         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11604 2016-11-14  Zack Weinberg  <zackw@panix.com>
11606         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11607         creating or re-creating it.
11609         * string/bits/string2.h: Fix typo in comment.
11611 2016-11-14  Zack Weinberg  <zackw@panix.com>
11613         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11614         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11615         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11616         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11617         of redirected function names.
11619         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11620         as well.  Document that MESSAGE must be a single string literal.
11622 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11624         * scripts/build-many-glibcs.py: New file.
11626         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11627         (do_test): Disable -Wmaybe-uninitialized around uses of
11628         except_mask.
11630         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11632 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11634         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11635         (atomic_store_release): Provide tilepro-specific implementations.
11637 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11639         * math/math.h (__MATH_TG): New macro.
11640         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11641         [__USE_ISOC99] (signbit): Likewise.
11642         [__USE_ISOC99] (isfinite): Likewise.
11643         [__USE_ISOC99] (isnan): Likewise.
11644         [__USE_ISOC99] (isinf): Likewise.
11645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11648         __MATH_TG and __MATH_EVAL_FMT2.
11649         * sysdeps/generic/math_private.h (fabs_tg): Define using
11650         __MATH_TG.
11651         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11652         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11653         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11654         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11655         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11656         macro.
11657         (__iscanonical): Likewise.
11658         (iscanonical): Define using __MATH_TG.
11660 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11662         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11663         guards.
11665         * sysdeps/unix/sysv/linux/access.c: New file.
11666         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11668 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11670         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11671         and __WORDSIZE32_PTRDIFF_LONG.
11673 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11675         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11677 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11679         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11680         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11681         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11682         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11683         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11685         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11686         * sysdeps/unix/sysv/linux/truncate.c: New file.
11687         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11688         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11689         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11690         Remove.
11691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11692         Likewise.
11694         * posix/tst-truncate-common.c: New file.
11695         * posix/tst-truncate.c: Use tst-truncate-common.c.
11696         * posix/tst-truncate64.c: Likewise and add LFS tests.
11697         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11698         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11699         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11700         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11701         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11703         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11704         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11705         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11706         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11707         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11708         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11709         Remove.
11710         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11711         Likewise.
11713 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11715         [BZ #20790]
11716         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11717         to MAXLINESIZE.
11718         * sunrpc/bug20790.x: New file.
11719         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11720         variable.
11721         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11722         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11724         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11726         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11728         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11729         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11730         calloc, realloc, free, memalign and __libc_memalign rather than
11731         making them optional.
11733         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11734         for libc.so.
11736 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11738         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11739         ptw-lseek64.
11740         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11741         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11742         Likewise.
11743         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11744         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11745         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11746         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11747         * sysdeps/unix/sysv/linux/lseek.c: New file.
11748         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11749         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11750         __libc_lseek64 from auto-generation.
11751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11752         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11754 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11756         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11757         * nptl/tst-cleanup1.c (do_test): Likewise.
11758         * nptl/tst-cleanup3.c (do_test): Likewise.
11759         * nptl/tst-key1.c (do_test): Likewise.
11760         * nptl/tst-key2.c (tf, do_test): Likewise.
11761         * nptl/tst-key3.c (tf, do_test): Likewise.
11762         * nptl/tst-stdio1.c (do_test): Likewise.
11763         * nptl/tst-stdio2.c (do_test): Likewise.
11765         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11766         * nptl/tst-kill6.c (handler): Likewise.
11767         * nptl/tst-tls2.c (CB): Likewise.
11768         * nptl/tst-tls3.c (CB): Likewise.
11770 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11772         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11774 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11775             Steve Ellcey  <sellcey@caviumnetworks.com>
11777         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11778           __ASSUME_ST_INO_64_BIT as 0
11779         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11780         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11781           over the code where __ASSUME_ST_INO_64_BIT is used.
11782         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11783         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11784         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11786 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11788         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11789         Document ABI exposure of the __kind offset.
11790         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11791         Mention reason for the __kind offset exposure in the ABI.
11792         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11793         Likewise.
11794         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11795         Likewise.
11796         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11797         Likewise.
11798         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11799         (struct __pthread_mutex_s): Likewise.
11800         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11801         Likewise.
11802         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11803         Likewise.
11804         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11805         Likewise.
11806         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11807         Likewise.
11808         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11809         Likewise.
11810         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11811         Likewise.
11812         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11813         (struct __pthread_mutex_s): Likewise.
11814         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11815         (struct __pthread_mutex_s): Likewise.
11816         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11817         Likewise.
11819 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11821         * test-skeleton.c: Document do_test usage.
11823 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11825         * iconv/gconv.h (__gconv_info): Define __data element using a
11826         zero-length array.
11828 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11830         * math/test-tgmath2.c: Split up test function.
11832 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11834         * Rules (tests-expected): New variable, depending on
11835         $(run-built-tests).
11836         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11837         $(tests).
11839         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11840         $(tests-unsupported).
11842 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11844         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11845         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11847 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11849         [BZ #20768]
11850         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11851         __fegetenv instead of fegetenv.
11853         [BZ #14139]
11854         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11855         (find_files): Obtain platform name from libm-test-ulps-name and
11856         store in %pplatforms.
11857         (canonicalize_platform): Remove.
11858         (print_platforms): Use $pplatforms directly.
11859         (by_platforms): Do not allow for platforms missing from
11860         %pplatforms.
11861         * sysdeps/aarch64/libm-test-ulps-name: New file.
11862         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11863         * sysdeps/arm/libm-test-ulps-name: Likewise.
11864         * sysdeps/generic/libm-test-ulps-name: Likewise.
11865         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11866         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11867         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11868         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11869         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11871         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11872         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11873         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11874         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11875         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11876         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11877         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11878         * sysdeps/sh/libm-test-ulps-name: Likewise.
11879         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11880         * sysdeps/tile/libm-test-ulps-name: Likewise.
11881         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11883         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11885         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11886         (test-xfail-check-execstack): New variable.
11888         * sysdeps/mips/localplt.data: New file.
11890 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11891             Steve Ellcey  <sellcey@caviumnetworks.com>
11893         * bits/wordsize.h: Add documentation.
11894         * sysdeps/aarch64/bits/wordsize.h : New file
11895         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11896         definitions.
11897         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11898         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11899         with #if instead of #ifdef.
11900         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11901         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11902         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11903         Add or change defines.
11904         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11905         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11906         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11907         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11908         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11909         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11910         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11911         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11912         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11913         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11914         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11915         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11916         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11917         * sysdeps/x86/bits/wordsize.h: Likewise.
11919 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11920             Kevin Petit  <kevin.petit@arm.com>
11922         * sysdeps/aarch64/memchr.S (__memchr): New file.
11924 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11926         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11928 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11930         [BZ #19398]
11931         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11932         $(linknamespace-symlists-tests).
11934 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11936         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11938 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11939             Carlos O'Donell  <carlos@redhat.com>
11941         [Bug #20729]
11942         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11943         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11944         for -Os related change.
11946 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11948         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11950 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11952         [BZ #19673]
11953         * manual/math.texi (Exponents and Logarithms): Correct description
11954         of clog10.
11956 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11958         [Bz #20729]
11959         * locale/weight.h: Include libc-internal.h.
11960         * locale/weightwc.h: Likewise.
11961         * nptl/nptl_dbP.h: Likewise.
11963 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11965         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11966         when it is MACH_PORT_NULL.
11968 2016-10-31  Andreas Schwab  <schwab@suse.de>
11970         [BZ #20707]
11971         * posix/glob.c (glob): Initialize pglob before checking for
11972         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11973         valid brace expression despite GLOB_BRACE.
11974         * posix/globtest.sh: Test it.
11976 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11978         [BZ #20729]
11979         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11980         Define.
11981         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11982         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11983         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11984         for seq2.back_us and seq1.back_us only for -Os compiles.
11985         * locale/weightwc.h (findix): Likewise.
11986         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11987         DB_GET_FIELD_ADDRESS only for -Os compiles.
11988         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11989         for slen only for -Os compiles.
11990         * string/strcoll_l.c (get_next_seq): Ignore
11991         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11992         for -Os compiles.
11994         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11995         * include/crypt.h: New file.
11997 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11999         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12000         from test-skeleton.c.
12001         (statclass): Replace calls to write with calls to write_message.
12003 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12005         * math/math.h
12006         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12007         New macro.
12008         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12009         Likewise.
12010         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12011         Likewise.
12012         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12013         SNANL.
12014         * math/test-double.h (snan_value_MACRO): New macro.
12015         * math/test-float.h (snan_value_MACRO): Likewise.
12016         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12017         * math/libm-test.inc (issignaling_test_data): Add tests of
12018         snan_value_MACRO.
12020 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12022         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12023         behavior when eliding a lock not held by the current thread.
12024         * sysdeps/powerpc/nptl/elide.h: Likewise.
12026 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12028         [BZ #20728]
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12030         branch to _exit() by a function call.
12032 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12034         * malloc/malloc.c: Update chunk layout comments.
12035         (chunk_main_arena): Update comment.
12037 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12039         * crypt/sha256.c, crypt/sha256-block.c,
12040         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12041         sha256_process_block to __sha256_process_block.
12042         * crypt/sha512.c, crypt/sha512-block.c,
12043         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12044         sha512_process_block to __sha512_process_block.
12046 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12048         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12050         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12052 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12054         [BZ #20019]
12055         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12056         definition in unrelocated shared library.
12057         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12059 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12061         [BZ #20729]
12062         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12063         * sysdeps/unix/sysv/linux/i386/Makefile
12064         (uses-6-syscall-arguments): Define.
12065         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12066         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12067         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12068         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12069         Likewise.
12070         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12071         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12072         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12073         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12074         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12075         (CFLAGS-fallocate64.os): Likewise.
12076         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12077         (CFLAGS-pthread_rwlock_timedrdlock.os)
12078         (CFLAGS-pthread_rwlock_timedwrlock.o)
12079         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12080         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12081         (CFLAGS-sem_timedwait.os): Likewise.
12083 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12085         * elf/tst-linkall-static.c: New file.
12086         * elf/Makefile (tests-static): Add tst-linkall-static.
12087         (tst-linkall-static): Link against static libraries.
12089 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12091         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12092         mmaped chunks.
12094 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12096         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12097         members to mchunk_prev_size, mchunk_size.
12098         (chunk_main_arena): Reverse sense and rename from
12099         chunk_non_main_arena.
12100         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12101         mchunk_size instead of size.
12102         (set_non_main_arena): Define.
12103         (chunksize): Use chunksize_nomask instead of direct member access.
12104         (chunksize_nomask): Define.
12105         (next_chunk): Use chunksize instead of direct member access.
12106         (prev_size, set_prev_size): Define.
12107         (prev_chunk): Use prev_size instead of direct member access.
12108         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12109         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12110         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12111         (mchunk_prev_size, mchunk_size): Poison tokens.
12112         (unlink): Use chunksize_nomask, prev_size accessors.
12113         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12114         (do_check_free_chunk): Use prev_size accessor.
12115         (sysmalloc): Use set_prev_size, set_head accessors.
12116         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12117         (__libc_free): Use chunksize_nomask accessor.
12118         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12119         chunk_main_arena accessors.
12120         (_int_free): Use chunksize_nomask, prev_size accessors.
12121         (malloc_consolidate): Use chunksize, prev_size accessors.
12122         (_int_realloc): Use chunksize_nomask accessor.
12123         (_int_memalign): Use set_prev_size accessor.
12124         (__malloc_info): Use chunksize_nomask accessor.
12125         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12126         accessors.
12127         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12128         (heap_trim): Use chunksize_nomask, prev_size accessors.
12130 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #19380]
12133         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12134         for inexact results.
12135         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12136         of inexact result where mpfr_subnormalize is the only inexact
12137         step.
12138         * stdlib/tst-strtod-round-data.h: Regenerated.
12139         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12140         Define to 0.
12141         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12143 2016-10-27  David S. Miller  <davem@davemloft.net>
12145         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12147 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12149         * malloc/malloc.c (do_set_mallopt_check): New function.
12150         (do_set_mmap_threshold): Likewise.
12151         (do_set_mmaps_max): Likewise.
12152         (do_set_top_pad): Likewise.
12153         (do_set_perturb_byte): Likewise.
12154         (do_set_trim_threshold): Likewise.
12155         (do_set_arena_max): Likewise.
12156         (do_set_arena_test): Likewise.
12157         (__libc_mallopt): Use them.
12159 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12161         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12162         (canonicalize): New declaration.
12163         * math/Versions (canonicalize): New libm symbol at version
12164         GLIBC_2.25.
12165         (canonicalizef): Likewise.
12166         (canonicalizel): Likewise.
12167         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12168         * math/s_canonicalize_template.c: New file.
12169         * math/libm-test.inc: Update comment on functions tested and
12170         testing of NaN payloads.
12171         (TEST_NAN_PAYLOAD): New macro.
12172         (NO_TEST_INLINE): Update value.
12173         (XFAIL_TEST): Likewise.
12174         (ERRNO_UNCHANGED): Likewise.
12175         (ERRNO_EDOM): Likewise.
12176         (ERRNO_ERANGE): Likewise.
12177         (IGNORE_RESULT): Likewise.
12178         (NON_FINITE): Likewise.
12179         (TEST_SNAN): Likewise.
12180         (NO_TEST_MATHVEC): Likewise.
12181         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12182         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12183         (struct test_Ffp_b1_data): New type.
12184         (RUN_TEST_Ffp_b1): New macro.
12185         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12186         (canonicalize_test_data): New array.
12187         (canonicalize_test): New function.
12188         (main): Call canonicalize_test.
12189         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12190         canonicalizef and canonicalizel.
12191         * manual/libm-err-tab.pl: Update comment on interfaces without
12192         ulps tabulated.
12193         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12194         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12195         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12196         canonicalize.
12197         (CFLAGS-nldbl-canonicalize.c): New variable.
12198         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12199         to ...
12200         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12201         ... here.
12202         (do_test): Also test canonicalizel.
12203         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12204         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12205         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12206         file.
12207         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12208         Use libm_hidden_def.
12209         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12210         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12211         (do_test): Also test canonicalizel.
12212         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12213         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12214         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12215         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12216         libm_hidden_def.
12217         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12218         macro.
12219         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12220         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12221         * sysdeps/nacl/libm.abilist: Update.
12222         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12223         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12225         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12226         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12227         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12228         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12229         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12230         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12231         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12232         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12235         Likewise.
12236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12237         Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12241         Likewise.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12245         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12246         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12248         Likewise.
12249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12250         Likewise.
12251         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12252         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12255         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12256         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12257         getpayload.
12258         (CFLAGS-nldbl-getpayload.c): New variable.
12260 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12262         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12263         integer from the format string.
12265 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12267         [BZ #19473]
12268         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12269         declarations.
12270         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12271         weak aliases.
12272         * malloc/hooks.c (__malloc_get_state): Remove definition.
12273         (malloc_get_state): New stub implementation as
12274         compatibility symbol.
12275         (malloc_set_state): Rename from __malloc_set_state.  Turn into
12276         compat symbol.
12277         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12278         malloc_set_state.
12279         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12281 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12283         * iconvdata/iso646.c (enum variant): Drop illegal_var.
12284         (names): Turn into concatenation of strings.
12285         (gconv_init): Adapt iteration over names.
12287 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12289         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12290         make const.
12291         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12292         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12293         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12294         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12295         character in sbconv.
12296         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12297         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12298         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12300 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12302         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12304         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12305         (M_TRIM_THRESHOLD): Likewise.
12307         * manual/memory.texi (M_ARENA_TEST): Add documentation.
12308         (M_ARENA_MAX): Likewise.
12309         * malloc/malloc.c: Remove obsolete comment.
12311         * manual/memory.texi: Add environment variable alternatives to
12312         setting mallopt parameters.
12314 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12316         * include/atomic.h
12317         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12318         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12320 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12322         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12323         * stdlib/tst-strfrom.h: New file.
12324         * stdlib/tst-strfrom.c: New file.
12325         * stdlib/tst-strfrom-locale.c: New file.
12327         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12328         * stdlib/bug-strtod2.c: Likewise.
12329         * stdlib/tst-strtod-round-skeleton.c: Likewise.
12330         * stdlib/tst-strtod6.c: Likewise.
12331         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12333 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12335         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12336         * manual/arith.texi: Document strfromd, strfromf, strfroml.
12337         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12338         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12339         * stdlib/stdlib.h (strfromd): New declaration.
12340         (strfromf): Likewise.
12341         (strfroml): Likewise.
12342         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
12343         strfrom.
12344         * stdlib/strfromd.c: New file.
12345         * stdlib/strfromf.c: Likewise.
12346         * stdlib/strfroml.c: Likewise.
12347         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12348         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12349         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12350         * sysdeps/arm/nacl/libc.abilist: Update.
12351         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12352         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12353         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12354         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12355         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12356         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12357         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12359         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12360         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12361         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12362         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12364         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12369         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12370         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12371         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12372         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12373         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12377         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12378         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12380 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12382         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12383         instead of cmpli.
12384         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12385         instead of cmpli.
12387 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12389         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12390         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12391         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12392         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12393         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12394         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12396 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12398         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12399         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12400         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12401         SYSCALL_LL64_PRW.
12402         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12403         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12404         __ASSUME_PRW_DUMMY_ARG.
12405         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12406         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12407         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12408         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12409         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12410         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12412 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12414         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12416 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12418         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12419         "C++", to override a potential extern "C" directive around the
12420         header file inclusion.
12422 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12424         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12426 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12428         * sysdeps/powerpc/fpu/fenv_private.h:
12429         (_FPU_MASK_ALL): Rename to...
12430         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12431         XE FPSCR bits.
12433         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12435         (_FPU_MASK_ROUNDING): Rename to...
12436         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12437         NI bits.
12439         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12440         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12441         bits and rounding bits.
12443         (__libc_feholdbits_ppc): New inline function to mask, set,
12444         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12445         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12446         (libc_feholdexcept_setround_ppc): Likewise.
12448         (__libc_femergeenv_ppc): New function to dynamically mask both
12449         old and new FP environments and merge.
12450         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12451         (libc_feresetround_ppc): Likewise.
12452         (libc_feupdateenv_test_ppc): Likewise.
12453         (libc_feupdateenv_ppc): Likewise.
12455         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12456         of ISA RN bits, and update macro names.
12457         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12458         effectively the same as the previously mentioned function.
12460         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12461         usage with fe_resetround_ppc.
12463         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12464         to be used.
12465         (libc_feholdexcept_setround_ctxf): Likewise.
12466         (libc_feholdexcept_setround_ctxl): Likewise.
12468 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12470         [BZ #20715]
12471         * math/math.h [__cplusplus] (iszero): Define as function template.
12472         * math/Makefile [CXX] (tests): Add test-math-iszero.
12473         (CFLAGS-test-math-iszero.cc): Set.
12474         * math/test-math-iszero.cc: New file.
12476 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12478         [BZ #20660]
12479         * sysdeps/arm/e_sqrt.c: New file.
12480         * sysdeps/arm/e_sqrtf.c: Likewise.
12482 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12484         [BZ #20718]
12485         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12486         not use floating-point comparisons to test sign.
12487         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12488         Likewise.
12490         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12491         (getpayload): New declaration.
12492         * math/Versions (getpayload): New libm symbol at version
12493         GLIBC_2.25.
12494         (getpayloadf): Likewise.
12495         (getpayloadl): Likewise.
12496         * math/Makefile (libm-calls): Add s_getpayloadF.
12497         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12498         (struct test_f_f_data): Add comment.
12499         (RUN_TEST_fp_f): New macro.
12500         (RUN_TEST_LOOP_fp_f): Likewise.
12501         (getpayload_test_data): New array.
12502         (getpayload_test): New function.
12503         (main): Call getpayload_test.
12504         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12505         descriptor.
12506         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12507         getpayloadf and getpayloadl.
12508         * manual/libm-err-tab.pl: Update comment on interfaces without
12509         ulps tabulated.
12510         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12511         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12512         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12513         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12515         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12516         * sysdeps/nacl/libm.abilist: Update.
12517         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12525         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12527         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12532         Likewise.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12539         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12540         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12543         Likewise.
12544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12547         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12550 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12552         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12553         tst-fallocate{64}.
12554         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12555         on syscall return.
12557 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12559         [BZ #20689]
12560         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12561         usable.
12563 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12565         * sysdeps/generic/nan-high-order-bit.h: New file.
12566         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12567         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12568         * sysdeps/hppa/math_private.h: Remove file.
12569         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12570         not define here.
12571         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12572         <nan-high-order-bit.h>.
12573         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12574         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12575         <nan-high-order-bit.h>.
12576         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12577         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12578         <nan-high-order-bit.h>.
12579         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12580         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12581         <nan-high-order-bit.h>.
12582         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12583         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12584         <nan-high-order-bit.h>.
12585         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12586         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12587         <nan-high-order-bit.h>.
12588         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12589         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12590         <nan-high-order-bit.h>.
12591         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12592         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12593         <nan-high-order-bit.h>.
12594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12595         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12596         <nan-high-order-bit.h>.
12597         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12598         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12599         <nan-high-order-bit.h>.
12600         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12601         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12602         <nan-high-order-bit.h>.
12603         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12604         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12605         <nan-high-order-bit.h>.
12606         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12607         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12608         <nan-high-order-bit.h>.
12609         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12610         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12611         <nan-high-order-bit.h>.
12612         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12613         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12614         <nan-high-order-bit.h>.
12615         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12616         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12617         <nan-high-order-bit.h>.
12618         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12619         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12620         <nan-high-order-bit.h>.
12621         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12622         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12623         <nan-high-order-bit.h>.
12624         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12626 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12628         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12630 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12632         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12633         abort-instr.h.
12634         (EFAULT): Remove conditional define.
12635         (ENOSYS): Likewise.
12636         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12637         instead of conditional branch instructions.
12639 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12641         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12642         (totalordermag): New declaration.
12643         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12644         New macro.
12645         * math/Versions (totalordermag): New libm symbol at version
12646         GLIBC_2.25.
12647         (totalordermagf): Likewise.
12648         (totalordermagl): Likewise.
12649         * math/Makefile (libm-calls): Add s_totalordermagF.
12650         * math/libm-test.inc (totalordermag_test_data): New array.
12651         (totalordermag_test): New function.
12652         (main): Call totalordermag_test.
12653         * math/test-tgmath.c (NCALLS): Increase to 125.
12654         (F(compile_test)): Call totalordermag.
12655         (F(totalordermag)): New function.
12656         * manual/arith.texi (FP Comparison Functions): Document
12657         totalordermag, totalordermagf and totalordermagl.
12658         * manual/libm-err-tab.pl: Update comment on interfaces without
12659         ulps tabulated.
12660         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12661         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12662         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12663         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12665         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12666         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12667         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12668         totalordermag.
12669         (CFLAGS-nldbl-totalordermag.c): New variable.
12670         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12671         (do_test): Also test totalordermagl.
12672         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12673         Likewise.
12674         * sysdeps/nacl/libm.abilist: Update.
12675         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12676         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12677         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12678         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12679         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12681         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12682         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12683         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12684         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12688         Likewise.
12689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12692         Likewise.
12693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12694         Likewise.
12695         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12696         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12697         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12698         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12699         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12701         Likewise.
12702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12703         Likewise.
12704         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12705         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12706         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12708 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12710         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12711         boolean.
12713 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12715         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12716         raising FE_INVALID with feraisexcept in case where part of
12717         argument is infinite, subtract that part of argument from itself.
12718         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12719         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12720         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12722 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12724         * math/libm-test.inc (totalorder_test_data): Add more tests.
12726 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12728         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12729         Undefine weak_alias and add a comment why mips64 require
12730         versioning.
12732 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12734         [BZ #20647]
12735         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12736         maximum CPUID level is less than 2.
12738 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12740         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12741         (totalorder): New declaration.
12742         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12743         New macro.
12744         * math/Versions (totalorder): New libm symbol at version
12745         GLIBC_2.25.
12746         (totalorderf): Likewise.
12747         (totalorderl): Likewise.
12748         * math/Makefile (libm-calls): Add s_totalorderF.
12749         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12750         string.
12751         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12752         (qnan_value_pl): Likewise.
12753         (snan_value_pl): Likewise.
12754         (qnan_value): Define using qnan_value_pl.
12755         (snan_value): Define using snan_value_pl.
12756         (struct test_ff_i_data): Add comment about which tests use this
12757         structure.
12758         (RUN_TEST_ff_b): New macro.
12759         (RUN_TEST_LOOP_ff_b): Likewise.
12760         (totalorder_test_data): New array.
12761         (totalorder_test): New function.
12762         (main): Call totalorder_test.
12763         * math/test-tgmath.c (NCALLS): Increase to 122.
12764         (F(compile_test)): Call totalorder.
12765         (F(totalorder)): New function.
12766         * manual/arith.texi (FP Comparison Functions): Document
12767         totalorder, totalorderf and totalorderl.
12768         * manual/libm-err-tab.pl: Update comment on interfaces without
12769         ulps tabulated.
12770         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12771         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12772         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12773         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12774         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12775         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12776         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12777         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12778         totalorder.
12779         (CFLAGS-nldbl-totalorder.c): New variable.
12780         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12781         file.
12782         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12783         Add test-totalorderl-ldbl-128ibm.
12784         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12785         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12786         test-totalorderl-ldbl-96.
12787         * sysdeps/nacl/libm.abilist: Update.
12788         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12801         Likewise.
12802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12803         Likewise.
12804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12805         Likewise.
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12807         Likewise.
12808         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12810         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12811         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12812         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12814         Likewise.
12815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12816         Likewise.
12817         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12818         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12819         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12821 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12823         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12824         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12825         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12826         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12827         remove ENOSYS implementation.
12828         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12829         Consolidate all Linux implementations.
12831 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12833         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12834         * resolv/herror.c (herror): Cast away const-ness.
12835         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12836         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12838 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12840         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12841         instead of M_NAN + M_NAN.
12842         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12844 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12846         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12847         unused variable 'p'.
12849 2016-10-09  Alan Modra  <amodra@gmail.com>
12850             Andreas Schwab  <schwab@linux-m68k.org>
12852         [BZ #20554]
12853         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12854         [PIC && !SHARED]: Set up PIC register for PLT call.
12856 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12858         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12859         conditional on value of [__FLT_EVAL_METHOD__].
12860         * math/test-iseqsig-excess-precision.c: New file.
12861         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12863 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12865         * math/s_iseqsig_template.c: Include math-private.h.
12867         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12868         * posix/tst-posix_fadvise.c: New file.
12869         * posix/tst-posix_fadvise64.c: Likewise.
12870         * posix/tst-posix_fadvise-common.c: Likewise.
12871         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12872         (__ASSUME_FADVISE64_64_6ARG): Define.
12873         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12874         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12876         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12877         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12878         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12879         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12880         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12881         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12882         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12883         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12884         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12887         Likewise.
12888         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12889         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12890         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12891         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12892         Alias to __posix_fadvise64_l32.
12893         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12894         Add compat definition to posix_fadvise64.
12895         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12896         Add versioned definition to posix_fadvise64.
12897         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12898         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12899         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12900         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12901         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12903         * io/Makefile (tests): Add tst-posix_fallocate and
12904         tst-posix_fallocate64.
12905         * io/tst-posix_fallocate-common.c: New file.
12906         * io/tst-posix_fallocate.c: Likewise.
12907         * io/tst-posix_fallocate64.c: Likewise.
12908         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12909         file.
12910         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12911         Likewise.
12912         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12913         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12914         Likewise.
12915         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12916         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12917         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12918         SYSCALL_LL to pass both offset and len arguments.
12919         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12920         Likewise.
12921         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12922         __libc_pwrite64 alias used by posix_fallocate64.
12924         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12925         tst-fallocate64.
12926         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12927         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12928         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12929         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12930         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12931         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12932         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12933         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12934         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12935         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12936         macro on offset argument.
12937         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12938         SYSCALL_LL64 on offset argument.
12940         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12941         tst-fallocate64.
12942         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12943         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12944         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12945         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12946         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12947         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12948         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12949         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12950         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12951         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12952         macro on offset argument.
12953         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12954         SYSCALL_LL64 on offset argument.
12955         * test-skeleton.c (FAIL_RET): Add macro.
12956         (FAIL_EXIT): Likewise.
12957         (FAIL_EXIT1): Likewise.
12958         (_FAIL): Likewise.
12960 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12962         [BZ #20629]
12963         resolv: Remove RES_USEBSTRING and its implementation.
12964         * resolv/resolv.h (RES_USEBSTRING): Remove.
12965         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12966         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12967         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12968         (labellen): Remove extended label types support.
12969         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12970         * resolv/res_init.c (res_setoptions): Likewise.
12971         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12973 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12975         resolv: Remove RES_NOIP6DOTINT and its implementation.
12976         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12977         (RES_NOIP6DOTINT): Remove.
12978         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12979         handling.
12980         * resolv/res_debug.c (p_option): Likewise.
12981         * resolv/res_init.c (res_setoptions): Likewise.
12982         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12984 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12986         resolv: Deprecate unimplemented flags.
12987         * misc/sys/cdefs.h (__glibc_macro_warning1)
12988         (__glibc_macro_warning): Define.
12989         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12990         (RES_KEEPTSIG): Mark as deprecated.
12991         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12992         RES_NOCHECKNAME, RES_KEEPTSIG.
12993         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12995 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12997         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12998         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12999         Use strong_alias to create symbols for glibc verison 2.19.
13001 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13003         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13005 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13007         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13009 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13011         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13013 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13015         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13016         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13017         in header for using it as type for ifunc function because __GI_* symbols
13018         for ppc32 do not target the ifunc symbols.
13019         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13021 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13023         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13024         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13025         libc_ifunc_hidden_def.
13026         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13027         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13028         Redirect ifunced function in header for using it as type of ifunc'ed
13029         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13030         function for __GI_* symbol.
13031         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13032         * include/libc-symbols.h
13033         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13035 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13037         [BZ #20478]
13038         * sysdeps/s390/multiarch/ifunc-resolve.h
13039         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13040         to create ifunc symbols.
13041         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13042         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13043         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13044         for using it as type for ifunc function.
13045         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13046         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13047         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13048         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13049         * sysdeps/s390/multiarch/strcat.c: Likewise.
13050         * sysdeps/s390/multiarch/strchr.c: Likewise.
13051         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13052         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13053         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13054         * sysdeps/s390/multiarch/strlen.c: Likewise.
13055         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13056         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13057         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13058         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13059         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13060         * sysdeps/s390/multiarch/strspn.c: Likewise.
13061         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13062         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13063         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13064         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13065         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13066         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13067         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13068         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13069         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13070         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13071         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13072         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13074 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13076         * include/libc-symbols.h (__ifunc_resolver):
13077         New macro is used by __ifunc* macros.
13078         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13079         depending on HAVE_GCC_IFUNC.
13080         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13081         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13083         Redirect ifunced function in header for using as type for ifunc function.
13084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13088         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13089         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13090         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13091         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13093         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13095         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13097         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13103         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13104         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13105         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13106         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13107         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13108         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13109         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13110         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13111         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13112         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13113         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13114         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13115         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13116         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13118         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13119         instead of libc_ifunc() macro.
13120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13123 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13125         * config.h.in (HAVE_GCC_IFUNC): New undef.
13126         * configure.ac: Add check if gcc supports attribute ifunc feature.
13127         * configure: Regenerated.
13128         * manual/install.texi: Add recommendation for gcc with
13129         indirect-function support.
13130         * INSTALL: Regenerated.
13132 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13134         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13135         macro.
13136         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13137         (__iseqsig): New declaration.
13138         * math/s_iseqsig_template.c: New file.
13139         * math/Versions (__iseqsigf): New libm symbol at version
13140         GLIBC_2.25.
13141         (__iseqsig): Likewise.
13142         (__iseqsigl): Likewise.
13143         * math/libm-test.inc (iseqsig_test_data): New array.
13144         (iseqsig_test): New function.
13145         (main): Call iseqsig_test.
13146         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13147         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13148         * manual/libm-err-tab.pl: Update comment on interfaces without
13149         ulps tabulated.
13150         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13151         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13152         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13153         * sysdeps/nacl/libm.abilist: Update.
13154         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13155         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13156         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13157         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13158         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13162         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13175         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13176         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13178         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13180         Likewise.
13181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13182         Likewise.
13183         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13184         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13185         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13187 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13189         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13190         do_sincos_2, sloww, sloww1): Update comments.
13192         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13193         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13195         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13196         K boolean and rename it.
13197         (__sin): Adjust.
13198         (__cos): Adjust.
13200 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13201             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13203         * manual/nss.texi: Fix typos in the manual.
13205 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13207         * manual/contrib.texi: Fix typos in the manual.
13209         * manual/maint.texi: Fix typos in the manual.
13211         * manual/install.texi: Fix typos in the manual.
13212         * INSTALL: Regenerated.
13214         * manual/lang.texi: Fix typos in the manual.
13216         * manual/probes.texi: Fix typos in the manual.
13218         * manual/threads.texi: Fix typos in the manual.
13220         * manual/debug.texi: Fix typos in the manual.
13222         * manual/crypt.texi: Fix typos in the manual.
13224         * manual/conf.texi: Fix typos in the manual.
13226         * manual/sysinfo.texi: Fix typos in the manual.
13228         * manual/users.texi: Fix typos in the manual.
13230         * manual/job.texi: Fix typos in the manual.
13232         * manual/process.texi: Fix typos in the manual.
13234         * manual/argp.texi: Fix typos in the manual.
13235         * manual/getopt.texi: Likewise.
13236         * manual/startup.texi: Likewise.
13238         * manual/signal.texi: Fix typos in the manual.
13240         * manual/setjmp.texi: Fix typos in the manual.
13242         * manual/resource.texi: Fix typos in the manual.
13244         * manual/time.texi: Fix typos in the manual.
13246         * manual/arith.texi: Fix typos in the manual.
13248         * manual/math.texi: Fix typos in the manual.
13250         * manual/syslog.texi: Fix typos in the manual.
13252         * manual/terminal.texi: Fix typos in the manual.
13254         * manual/socket.texi: Fix typos in the manual.
13256         * manual/filesys.texi: Fix typos in the manual.
13258         * manual/llio.texi: Fix typos in the manual.
13260         * manual/stdio.text: Fix typos in the manual.
13262 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13264         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13265         instead of K1.
13267         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13268         SHIFT_QUADRANT and make it bool.
13269         (do_sincos_2): Likewise.
13270         (sloww): Likewise.
13271         (sloww1): Likewise.
13272         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13273         (__cos): Likewise.
13275 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13277         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13279 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
13281         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13282         Define to __WORDSIZE, not conditional on [LONG_MAX ==
13283         0x7fffffffL].
13284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13286 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13288         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13289         inline by __inline__.
13290         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13291         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13292         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13294         sigset_t from signal.h.
13295         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13296         which is already required.
13298 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
13300         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13302 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
13304         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13305         (struct tcp_repair_window): New type.
13307 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13309         * libio/tst-memstream3.c: Include string.h.
13311 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13313         [BZ #18241]
13314         [BZ #20181]
13315         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13316         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13317         write position is at the end the buffer.
13318         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13319         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13320         (_IO_str_seekoff): Set correct offset from negative displacement and
13321         set EINVAL for invalid ones.
13322         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13323         buffer length.
13324         (_IO_wstr_switch_to_get_mode): New function.
13325         (_IO_wstr_seekoff): Set correct offset from negative displacement and
13326         set EINVAL for invalid ones.
13327         * libio/tst-memstream3.c: New file.
13328         * libio/tst-wmemstream3.c: Likewise.
13329         * manual/examples/memstrm.c: Remove warning when priting size_t.
13331 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13333         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13334         macro to use __builtin_fma.
13335         * sysdeps/x86_64/fpu/dla.h: Remove file.
13337         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13338         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13339         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13341 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13343         [BZ #20292]
13344         * elf/Makefile (routines): Add dl-addr-obj.
13345         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13346         tst-_dl_addr_inside_object.
13347         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13348         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13349         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13350         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13351         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13352         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13353         * elf/dl-open.c: Likewise.
13354         * elf/dl-addr-obj.c: New file.
13355         * elf/tst-_dl_addr_inside_object.c: New file.
13357 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13359         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13360         <bits/iscanonical.h>.
13361         * bits/iscanonical.h: New file.
13362         * math/s_iscanonicall.c: Likewise.
13363         * math/Versions (__iscanonicall): New libm symbol at version
13364         GLIBC_2.25.
13365         * math/libm-test.inc (iscanonical_test_data): New array.
13366         (iscanonical_test): New function.
13367         (main): Call iscanonical_test.
13368         * math/Makefile (headers): Add bits/iscanonical.h.
13369         (type-ldouble-routines): Add s_iscanonicall.
13370         * manual/arith.texi (Floating Point Classes): Document
13371         iscanonical.
13372         * manual/libm-err-tab.pl: Update comment on interfaces without
13373         ulps tabulated.
13374         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13375         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13376         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13377         Likewise.
13378         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13379         test-iscanonical-ldbl-128ibm.
13380         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13381         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13382         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13383         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13386         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13388         Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13390         Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13398 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13400         * string/bits/string3.h: Remove C++ style comments.
13402 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13404         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13405         instead of ternary condition.
13406         (do_sincos_2): Likewise.
13407         (__sin): Likewise.
13408         (__cos): Likewise.
13409         (slow): Likewise.
13410         (sloww): Likewise.
13411         (sloww1): Likewise.
13412         (bsloww): Likewise.
13413         (bsloww1): Likewise.
13415         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13416         instead of ternary condition.
13417         (do_sin_slow): Likewise.
13418         (do_sincos_1): Likewise.
13419         (do_sincos_2): Likewise.
13420         (__cos): Likewise.
13421         (sloww): Likewise.
13422         (sloww1): Likewise.
13423         (sloww2): Likewise.
13424         (bsloww): Likewise.
13425         (bsloww1): Likewise.
13426         (bsloww2): Likewise.
13428         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13429         check from here...
13430         (slow2): ... and here...
13431         (__sin): ... to here.
13433 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13435         * math/math.h
13436         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13437         Cast argument to its own type.
13438         * math/test-iszero-excess-precision.c: New file.
13439         * math/Makefile (tests): Add test-iszero-excess-precision.
13440         (CFLAGS-test-iszero-excess-precision.c): New variable.
13442 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13444         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13445         field, add err field.
13446         (__spawni_child): Report error through err member instead of pipe.
13447         (__spawnix): Likewise.
13449 2016-09-28  Zack Weinberg  <zackw@panix.com>
13451         * scripts/check-installed-headers.sh: Generalize treatment of
13452         sys/elf.h to all target architectures.
13454         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13455         deleted typedef ucontext_t.
13457 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13459         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13460         (__INTERNAL_SYSCALL1): Likewise.
13461         (__INTERNAL_SYSCALL2): Likewise.
13462         (__INTERNAL_SYSCALL3): Likewise.
13463         (__INTERNAL_SYSCALL4): Likewise.
13464         (__INTERNAL_SYSCALL5): Likewise.
13465         (__INTERNAL_SYSCALL6): Likewise.
13466         (__INTERNAL_SYSCALL7): Likewise.
13467         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13468         (__INTERNAL_SYSCALL_NARGS): Likewise.
13469         (__INTERNAL_SYSCALL_DISP): Likewise.
13470         (INTERNAL_SYSCALL_CALL): Likewise.
13471         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13472         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13473         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13474         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13475         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13476         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13477         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13478         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13479         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13480         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13481         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13482         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13483         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13485 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13487         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13488         macro.
13489         * math/libm-test.inc (iszero_test_data): New array.
13490         (iszero_test): New function.
13491         (main): Call iszero_test.
13492         * manual/arith.texi (Floating Point Classes): Document iszero.
13493         * manual/libm-err-tab.pl: Update comment on interfaces without
13494         ulps tabulated.
13496 2016-09-23  Zack Weinberg  <zackw@panix.com>
13498         * scripts/check-installed-headers.sh: New script.
13499         * Rules: In each directory that defines header files to be installed,
13500         run check-installed-headers.sh on them as a special test.
13501         * Makefile: Likewise for the headers installed at top level.
13503         * include/aliases.h, include/alloca.h, include/argz.h
13504         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13505         * include/elf.h, include/envz.h, include/err.h
13506         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13507         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13508         * include/link.h, include/malloc.h, include/mcheck.h
13509         * include/mntent.h, include/netinet/ether.h
13510         * include/nss.h, include/obstack.h, include/printf.h
13511         * include/pty.h, include/resolv.h, include/rpc/auth.h
13512         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13513         * include/rpc/clnt.h, include/rpc/des_crypt.h
13514         * include/rpc/key_prot.h, include/rpc/netdb.h
13515         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13516         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13517         * include/rpc/rpc_msg.h, include/rpc/svc.h
13518         * include/rpc/svc_auth.h, include/rpc/xdr.h
13519         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13520         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13521         * include/rpcsvc/ypupd.h, include/shadow.h
13522         * include/stdio_ext.h, include/sys/epoll.h
13523         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13524         * include/sys/prctl.h, include/sys/profil.h
13525         * include/sys/statfs.h, include/sys/sysctl.h
13526         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13527         * sysdeps/arm/nacl/include/bits/setjmp.h
13528         * sysdeps/mips/include/sys/asm.h
13529         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13530         * sysdeps/unix/sysv/linux/include/sys/timex.h
13531         * sysdeps/x86/fpu/include/bits/fenv.h:
13532         Add #ifndef _ISOMAC guard around internal declarations.
13533         Add multiple-inclusion guard if not already present.
13535 2016-09-23  Zack Weinberg  <zackw@panix.com>
13537         * sysdeps/generic/sys/ucontext.h
13538         * sysdeps/arm/sys/ucontext.h
13539         * sysdeps/i386/sys/ucontext.h
13540         * sysdeps/m68k/sys/ucontext.h
13541         * sysdeps/mips/sys/ucontext.h
13542         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13543         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13544         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13545         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13546         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13547         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13548         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13549         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13550         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13551         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13552         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13553         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13554         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13555         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13556         Include both bits/sigcontext.h and bits/sigstack.h.
13557         Fix grammar error in comment, if present.
13559         * bits/sigstack.h
13560         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13561         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13562         * sysdeps/unix/sysv/linux/bits/sigstack.h
13563         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13564         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13565         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13566         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13567         * bits/sigcontext.h
13568         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13569         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13570         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13571         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13572         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13573         as well as signal.h, if this was not already allowed.  Request
13574         definition of size_t if necessary.  Minimize semantically-null
13575         differences across files.
13577 2016-09-23  Zack Weinberg  <zackw@panix.com>
13579         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13580         Remove all logic conditional on __need macros.  Move all the
13581         conditionally defined types to their own headers...
13582         * time/bits/types/clock_t.h: Define clock_t here.
13583         * time/bits/types/clockid_t.h: Define clockid_t here.
13584         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13585         * time/bits/types/struct_timespec.h: Define struct timespec here.
13586         * time/bits/types/struct_timeval.h: Define struct timeval here.
13587         * time/bits/types/struct_tm.h: Define struct tm here.
13588         * time/bits/types/time_t.h: Define time_t here.
13589         * time/bits/types/timer_t.h: Define timer_t here.
13590         * time/Makefile: Install the new headers.
13592         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13593         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13594         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13595         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13596         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13597         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13598         * sysdeps/unix/sysv/linux/bits/resource.h
13599         * sysdeps/unix/sysv/linux/bits/timex.h
13600         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13601         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13602         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13603         * sysdeps/unix/sysv/linux/sys/acct.h
13604         * sysdeps/unix/sysv/linux/sys/timerfd.h
13605         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13606         * time/sys/time.h, time/sys/timeb.h
13607         Use the new bits/types headers.
13609         * include/time.h: Remove __need logic.
13610         * include/bits/time.h
13611         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13612         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13613         * include/bits/types/struct_itimerspec.h
13614         * include/bits/types/struct_timespec.h
13615         * include/bits/types/struct_timeval.h
13616         * include/bits/types/struct_tm.h:
13617         New wrapper headers.
13619 2016-09-23  Zack Weinberg  <zackw@panix.com>
13621         * sysdeps/mach/hurd/net/if_ppp.h
13622         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13623         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13624         if __USE_MISC is defined, to ensure struct ifreq is declared.
13626         * inet/netinet/ether.h: Condition all function prototypes
13627         on __USE_MISC, to ensure struct ether_addr is declared.
13629         * socket/bits/types/struct_osockaddr.h: New header.
13630         * include/bits/types/struct_osockaddr.h: New wrapper.
13631         * socket/Makefile: Install the new header.
13632         * socket/sys/socket.h, inet/protocols/talkd.h:
13633         Refer to bits/types/struct_osockaddr.h for the definition of
13634         struct osockaddr.
13636 2016-09-23  Zack Weinberg  <zackw@panix.com>
13638         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13639         * inet/protocols/routed.h, inet/protocols/talkd.h
13640         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13641         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13642         * sysdeps/generic/netinet/if_ether.h
13643         * sysdeps/generic/netinet/in_systm.h
13644         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13645         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13646         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13647         * sysdeps/mach/hurd/net/if_arp.h
13648         * sysdeps/mach/hurd/net/if_ppp.h
13649         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13650         * sysdeps/unix/sysv/linux/bits/in.h
13651         * sysdeps/unix/sysv/linux/net/ethernet.h
13652         * sysdeps/unix/sysv/linux/net/if_arp.h
13653         * sysdeps/unix/sysv/linux/net/if_ppp.h
13654         * sysdeps/unix/sysv/linux/net/if_shaper.h
13655         * sysdeps/unix/sysv/linux/net/route.h
13656         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13657         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13658         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13659         * sysdeps/unix/sysv/linux/netipx/ipx.h
13660         * sysdeps/unix/sysv/linux/sys/acct.h
13661         * include/arpa/nameser.h, include/resolv.h:
13662         Change all uses of u_char to unsigned char,
13663         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13664         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13665         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13666         and u_int64_t and u_quad_t to uint64_t.
13668         * mach/sys/reboot.h: Remove two casts of integer literals
13669         to the types they already have.
13671         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13672         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13673         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13674         from referring to 'unsigned char' to 'uint8_t' for consistency with
13675         the macro definition below.
13677         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13678         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13679         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13680         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13681         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13682         * sysdeps/unix/sysv/linux/sys/acct.h
13683         * include/arpa/nameser.h, include/resolv.h:
13684         Fix indentation disrupted by mechanical edits.
13686         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13687         * sysdeps/generic/netinet/in_systm.h
13688         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13689         * sysdeps/gnu/netinet/udp.h
13690         * sysdeps/unix/sysv/linux/net/ethernet.h
13691         * sysdeps/unix/sysv/linux/net/if_arp.h
13692         * sysdeps/unix/sysv/linux/net/if_ppp.h
13693         * sysdeps/unix/sysv/linux/net/if_shaper.h
13694         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13695         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13696         * sysdeps/unix/sysv/linux/netipx/ipx.h
13697         * sysdeps/unix/sysv/linux/sys/acct.h
13698         Include stdint.h for uintNN_t definitions.
13699         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13701 2016-09-23  Zack Weinberg  <zackw@panix.com>
13703         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13704         * sysdeps/unix/sysv/linux/netrose/rose.h:
13705         Include sys/socket.h and netax25/ax25.h.
13707         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13708         * resolv/arpa/nameser_compat.h:
13709         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13711         * sysdeps/unix/sysv/linux/sys/quota.h:
13712         Use __caddr_t instead of caddr_t.
13713         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13714         Use __clockid_t instead of clockid_t.
13716         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13718         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13719         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13720         expanding it.
13722         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13723         Define __glibc_c99_flexarr_available to 1 when the compiler
13724         supports C99-compatible flexible array members, 0 otherwise.
13725         * sysdeps/unix/sysv/linux/bits/socket.h
13726         * sysdeps/mach/hurd/bits/socket.h
13727         * bits/socket.h: Use __glibc_c99_flexarr_available in
13728         definitions of struct cmsghdr and CMSG_DATA.
13730 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13732         * manual/nss.texi (NSS Modules Interface): Adjust function return
13733         type to enum nss_status.  Document errnop argument.  Clarify
13734         h_errnop semantics.  Fix cross-reference formatting.
13735         (NSS Module Function Internals): Mention that *errnop needs to be
13736         set on failure, but not to zero.
13738 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13740         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13741         (get_random_name): New functions.
13742         (check_wrapper_flags_mode): Use linkat to give the new file a name
13743         determined by get_random_name.
13744         (do_test): Add calls to test open64 and openat64.
13746 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13748         * test-skeleton.c: Remove #include <stdarg.h>.
13750 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13752         [BZ #19826]
13753         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13754         initialization of static TLS entries.
13755         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13756         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13758 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13760         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13761         _hurd_malloc_fork_prepare.
13762         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13763         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13764         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13765         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13766         (_hurd_fork_child_hook): Drop malloc_fork_child.
13767         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13768         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13769         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13770         after locking locks (notably hurd_dtable_lock). Call
13771         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13772         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13773         __malloc_fork_unlock_child.
13774         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13776 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13778         * soft-fp/extendhftf2.c: New.
13779         * soft-fp/fixhfti.c: Likewise.
13780         * soft-fp/fixunshfti.c: Likewise.
13781         * soft-fp/floattihf.c: Likewise.
13782         * soft-fp/floatuntihf.c: Likewise.
13783         * soft-fp/half.h: Likewise.
13784         * soft-fp/trunctfhf2.c: Likewise.
13786 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13788         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13789         macro.
13790         * math/libm-test.inc (issubnormal_test_data): New array.
13791         (issubnormal_test): New function.
13792         * manual/arith.texi (Floating Point Classes): Document
13793         issubnormal.
13794         * manual/libm-err-tab.pl: Update comment on interfaces without
13795         ulps tabulated.
13797         * sysdeps/generic/stdint.h: Define
13798         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13799         <bits/libc-header-start.h> instead of including <features.h>.
13800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13833         * manual/arith.texi (Integers): Document these macros for types
13834         specified by width properties.
13835         * manual/lang.texi (Width of Type): Document these macros for
13836         other standard typedefs.
13837         * stdlib/tst-width-stdint.c: New file.
13838         * stdlib/Makefile (tests): Add tst-width-stdint.
13840 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13842         [BZ #20016]
13843         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13844         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13845         Move ...
13846         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13847         ... here, as compatibility symbols in a new file.
13848         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13849         * resolv/res_init.c (__res_vinit): Adjust member names.
13850         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13851         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13852         (res_send_rhook): Remove.
13853         (struct __res_state): Rename qhook, rhook members.
13855 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13857         malloc: Use __libc_lock wrappers.
13858         * malloc/arena.c (list_lock, free_list_lock): Define using
13859         __libc_lock_define_initialized.
13860         (arena_lock): Adjust formatting.
13861         * malloc/malloc.c (struct malloc_state): Define mutex using
13862         __libc_lock_define.
13863         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13864         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13865         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13866         (mutex_unlock, mutex_trylock): Remove.
13867         (__pthread_initialize): Remove unused macro.
13868         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13869         (mutex_unlock, mutex_trylock): Remove.
13871 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13873         [BZ #20592]
13874         Remove RR type classification macros.
13875         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13876         (ns_t_udp_p, ns_t_xfr_p): Remove.
13878 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13880         Remove misleading version information.
13881         * resolv/arpa/nameser.h (__NAMESER): Remove.
13882         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13886         Remove the always-defined BIND_4_COMPAT macro.
13887         * resolv/arpa/nameser.h: Unconditionally include
13888         <arpa/nameser_compat.h>.
13889         (BIND_4_COMPAT): Remove.
13890         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13892 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13894         [BZ #20591]
13895         Remove obsolete DNSSEC support.
13896         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13897         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13898         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13899         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13900         (ns_cert_types): Add comment.
13901         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13902         separately.
13903         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13904         (dst_s_dns_key_id): Remove.
13905         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13906         variables.
13908 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13910         [BZ #20524]
13911         * manual/string.texi (String/Array Comparison): Clarify the
13912         strverscmp behavior.
13914 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13916         * test-skeleton.c (xasprintf): Add function.
13917         * io/tst-open-tmpfile.c: New test.
13918         * io/Makefile (tests): Add it.
13920 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13922         Avoid running $(CXX) during build to obtain header file paths.
13923         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13924         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13925         * Makerules (cstdlib, cmath): Remove variables.  Use
13926         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13927         * configure: Regenerate.
13929 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13931         * Makeconfig (all-object-suffixes): Include .op only if
13932         $(build-profile).
13934 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13936         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13937         conditionals.  Do not define PATH_MAX.
13939 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13941         * posix/Makefile (tests): Add tst-spawn3.
13942         * posix/tst-spawn3.c: New file.
13943         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13944         if it is already opened for open action.
13946         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13947         all signals when executing the clone vfork child.
13948         (SIGALL_SET): Remove macro.
13950         * nptl/Makefile (tests): Add tst-exec5.
13951         * nptl/tst-exec5.c: New file.
13952         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13953         asynchronous cancellation.
13955 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13957         * hurd/exc2signal.c: #include <hurd/signal.h>
13958         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13959         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13960         accordingly.
13961         * mach/mach_error.c (mach_error): Fix old-style function definition.
13962         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13964 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13966         * math/Makefile (libm-calls): Remove s_nanF.
13967         (gen-libm-calls): Add s_nanF.
13969         * math/s_nan.c: Refactor into ...
13970         * math/s_nan_template.c: New file.
13972         * math/s_nanf.c: Removed.
13973         * math/s_nanl.c: Removed.
13974         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13975         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13977         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13978         (LDOUBLE_nanl_libm_version): New macro.
13980         * sysdeps/generic/math-type-macros-double.h:
13981         (M_STRTO_NAN): New macro.
13982         * sysdeps/generic/math-type-macros-float.h: Likewise.
13983         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13985         * sysdeps/generic/math-type-macros.h: Document
13986         M_STRTO_NAN.
13988 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13990         * math/s_nanf.c: Remove __nanf undef.
13991         * math/s_nan.c: Remove __nan undef.
13992         * math/s_nanl.c: Remove __nanl undef.
13994         * sysdeps/generic/math_private.h (__nan): Remove macro
13995         override.
13996         (__nanf): Likewise.
13997         (__nanl): Likewise.
13999 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14001         * math/Makefile (gen-all-calls): New variable.
14002         (generated): Replace gen-libm-calls with gen-all-calls.
14003         (gen-libm-templates.stmp): Likewise.  Also, ensure
14004         the output directory exists or is created and add
14005         dependency on the Makefile.
14006         (calls): Move s_ldexpF into gen-calls.
14007         (gen-calls): New variable.
14009         * math/s_ldexpf.c: Removed.
14010         * math/s_ldexpl.c: Removed.
14011         * math/s_ldexp.c: Refactored into ...
14012         * math/s_ldexp_template.c: New file.
14014         * sysdeps/generic/math-type-macros-double.h: Remove
14015         redundant fall-through definition of declare_mgen_alias.
14016         (declare_mgen_alias_2): New macro.
14018         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14019         New macro for function aliased to two exported symbols.
14021         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14022         new template file.
14023         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14025 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14027         * Makeconfig (all-object-suffixes): Remove .og.
14028         * Makerules (elide-routines.og): Remove.
14029         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14030         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14031         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14033 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14035         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14036         .os objects.
14038 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14040         [BZ #20615]
14041         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14042         fpu directory by non-fpu.
14043         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14044         on non-fpu directory from a fpu directory.
14046 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14048         * include/limits.h: Define
14049         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14050         <bits/libc-header-start.h> instead of including <features.h>.
14051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14062         * manual/lang.texi (Width of Type): Document these macros.
14063         * stdlib/tst-width.c: New file.
14064         * stdlib/Makefile (tests): Add tst-width.
14066 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14068         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14069         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14071 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14073         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14074         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14075         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14077 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14079         [BZ #18243]
14080         * rt/Makefile (test): Add tst-shm-cancel.
14081         * rt/tst-shm-cancel.c: New file.
14082         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14084         [BZ #18243]
14085         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14086         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14087         definition.
14088         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14089         uncontended case.
14090         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14091         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14092         (tf): Fix check for uncontended case.
14093         (do_test): Likewise.
14094         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14095         (tf): Fix check for uncontended case.
14096         (do_test): Likewise.
14097         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14098         (tf): Fix check for uncontended case.
14099         (do_test): Likewise.
14100         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14101         (tf): Fix check for uncontended case.
14102         (do_test): Likewise.
14104         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14105         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14107         [BZ #15765]
14108         * nptl/Makefile (tests): Add tst-sem16.
14109         * nptl/tst-sem16.c: New file.
14110         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14112         * nptl/sem_open.c (sem_open): Init pad value to 0.
14113         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14114         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14116 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14118         [BZ #20611]
14119         * inet/Makefile (routines): Add inet6_scopeid_pton.
14120         (tests): Add tst-inet6_scopeid_pton.
14121         * inet/inet6_scopeid_pton.c: New file.
14122         * inet/net-internal.h: Likewise.
14123         * inet/tst-inet6_scopeid_pton.c: New test.
14124         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14125         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14128 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14130         Remove support for compiling wrappers with PTW.
14131         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14132         * nptl/Makefile (pthread-compat-wrappers): Define.
14133         (libpthread-routines): Use pthread-compat-wrappers.
14134         * sysdeps/unix/sysv/linux/alpha/Makefile
14135         (libpthread-routines, libpthread-shared-only-routines): Remove
14136         ptw- prefix.
14137         * sysdeps/s390/nptl/Makefile
14138         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14139         * sysdeps/ia64/nptl/Makefile
14140         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14141         * sysdeps/nacl/Makefile (libpthread-routines): Use
14142         pthread-compat-wrappers to filter the routines list instead of the
14143         ptw- prefix.
14145 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14147         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14148         with L() and remove explicit suffix, convert real literals
14149         which can be equivalentally substituted with integers, and
14150         transform -L(x) to L(-x).
14152         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14153         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14154         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14156         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14157         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14159         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14160         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14163         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14165         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14166         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14167         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14168         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14169         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14170         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14171         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14172         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14173         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14174         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14175         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14176         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14177         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14178         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14182         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14183         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14184         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14185         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14187         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14188         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14189         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14190         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14193         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14194         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14196         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14197         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14198         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14199         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14200         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14201         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14203 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14205         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14207 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14209         * malloc/Makefile (tests): Remove individual static test names
14210         and just add all of tests-static.
14212         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14214 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14216         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14217         file.
14219         * sysdeps/sparc/fpu/fegetmode.c: New file.
14220         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14222         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14223         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14225         * sysdeps/s390/fpu/fegetmode.c: New file.
14226         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14228         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14229         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14230         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14231         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14232         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14233         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14235         * sysdeps/mips/fpu/fegetmode.c: New file.
14236         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14238         * sysdeps/m68k/fpu/fegetmode.c: New file.
14239         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14241         * sysdeps/ia64/fpu/fegetmode.c: New file.
14242         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14244         * sysdeps/hppa/fpu/fegetmode.c: New file.
14245         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14247         * sysdeps/arm/fegetmode.c: New file.
14248         * sysdeps/arm/fesetmode.c: Likewise.
14250         * sysdeps/alpha/fpu/fegetmode.c: New file.
14251         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14253         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14254         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14256         * math/fegetmode.c: New file.
14257         * math/fesetmode.c: Likewise.
14258         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14259         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14260         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14261         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14262         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14264         declaration.
14265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14266         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14267         typedef.
14268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14269         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14270         (femode_t): New typedef.
14271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14272         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14273         (femode_t): New typedef.
14274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14275         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14276         (femode_t): New typedef.
14277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14278         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14279         (femode_t): New typedef.
14280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14281         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14282         (femode_t): New typedef.
14283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14284         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14285         (femode_t): New typedef.
14286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14287         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14288         (femode_t): New typedef.
14289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14290         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14291         (femode_t): New typedef.
14292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14293         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14294         (femode_t): New typedef.
14295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14296         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14297         (femode_t): New typedef.
14298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14299         declaration.
14300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14301         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14302         (femode_t): New typedef.
14303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14304         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14305         (femode_t): New typedef.
14306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14307         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14308         (femode_t): New typedef.
14309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14310         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14311         (femode_t): New typedef.
14312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14313         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14314         (femode_t): New typedef.
14315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14316         * manual/arith.texi (FE_DFL_MODE): Document macro.
14317         (fegetmode): Document function.
14318         (fesetmode): Likewise.
14319         * math/Versions (fegetmode): New libm symbol at version
14320         GLIBC_2.25.
14321         (fesetmode): Likewise.
14322         * math/Makefile (libm-support): Add fegetmode and fesetmode.
14323         (tests): Add test-femode and test-femode-traps.
14324         * math/test-femode-traps.c: New file.
14325         * math/test-femode.c: Likewise.
14326         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14327         alias for __fe_dfl_env.
14328         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14329         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14330         (__fe_dfl_mode): Likewise.
14331         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14332         version GLIBC_2.25.
14333         * sysdeps/nacl/libm.abilist: Update.
14334         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14336         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14337         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14338         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14339         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14340         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14341         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14342         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14345         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14347         Likewise.
14348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14349         Likewise.
14350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14351         Likewise.
14352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14353         Likewise.
14354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14356         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14358         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14360         Likewise.
14361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14364         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14367 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14369         [BZ #20495]
14370         [BZ #20508]
14371         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14372         processors, set Use_dl_runtime_resolve_slow and set
14373         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14374         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14375         New.
14376         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14377         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14378         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14379         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14380         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14381         if Use_dl_runtime_resolve_opt is set.  Use
14382         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14383         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14384         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14385         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14386         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14387         New.
14388         (_dl_runtime_resolve_opt): Likewise.
14389         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14390         defined.
14392 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14394         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14395         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14397 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14399         Convert malloc to __libc_lock.  Automated part, using this Perl
14400         s/// command:
14401           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14402             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14403         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14404         conversion.
14406 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14408         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14409         (linknamespace-symlists-tests): Likewise.
14410         (linknamespace-header-tests): Likewise.
14412 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14414         [BZ #19810]
14415         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14416         * elf/tst-noload.c: New test case.
14417         * elf/Makefile (tests): Add tst-noload.
14419 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14421         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14423         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14424         not any more.
14426         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14428 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14430         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14431         (do_cos_slow): Likewise.
14432         (do_sin): Likewise.
14433         (do_sin_slow): Likewise.
14434         (slow): Likewise.
14435         (slow1): Likewise.
14436         (slow2): Likewise.
14437         (sloww): Likewise.
14438         (sloww1): Likewise.
14439         (sloww2): Likewise.
14440         (bsloww): Likewise.
14441         (bsloww1): Likewise.
14442         (bsloww2): Likewise.
14443         (cslow2): Likewise.
14445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14447         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14448         arguments.  Consolidate input partitioning from callers here.
14449         (do_cos_slow): Likewise.
14450         (do_sin): Likewise.
14451         (do_sin_slow): Likewise.
14452         (do_sincos_1): Remove the no longer necessary input partitioning.
14453         (do_sincos_2): Likewise.
14454         (__sin): Likewise.
14455         (__cos): Likewise.
14456         (slow1): Likewise.
14457         (slow2): Likewise.
14458         (sloww1): Likewise.
14459         (sloww2): Likewise.
14460         (bsloww1): Likewise.
14461         (bsloww2): Likewise.
14462         (cslow2): Likewise.
14464 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14466         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14467         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14468         outside of allocated array.
14470 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14472         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14473         instead of MB_CUR_MAX to avoid variable-length array.
14475 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14477         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14478         (type-double-routines): Add k_rem_pio2.
14479         (type-float-routines): Add k_rem_pio2f.
14481         * sysdeps/generic/math_private.h:
14482         (__kernel_rem_pio2l): Removed.
14484         * math/k_rem_pio2l.c: Removed.
14485         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14486         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14487         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14488         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14490 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14492         * math/Makefile (gen-libm-calls): Add s_fmin
14493         (libm-calls): Remove above.
14495         * math/s_fmin.c: Refactor into ...
14496         * math/s_fmin_template.c: New file.
14498         * math/s_fminf.c: Removed.
14499         * math/s_fminl.c: Removed.
14500         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14501         (LDOUBLE_fmin_libm_version): New macro.
14503         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14504         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14506 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14508         * math/Makefile: (gen-libm-calls): Add s_fmax.
14509         (libm-calls): Remove above.
14511         * math/s_fmax.c: Refactor into ...
14512         * math/s_fmax_template.c: New file.
14513         * math/s_fmaxf.c: Removed.
14514         * math/s_fmaxl.c: Removed.
14516         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14517         (LDOUBLE_fmaxl_libm_version): New macro.
14519         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14520         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14522         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14523         s_fmin.c to pick the aarch64 version of the file.
14524         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14525         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14527 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14529         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14530         (libm-calls): Remove above.
14532         * math/s_nextdown.c: Refactor into ...
14533         * math/s_nextdown_template.c: New file.
14534         * math/s_nextdownf.c: Removed.
14535         * math/s_nextdownl.c: Removed.
14537         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14539 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14541         * math/Makefile (gen-libm-calls): Add s_fdim.
14542         (libm-calls): Move to above.
14544         * math/s_fdim.c: Renamed and refactored into to ...
14545         * math/s_fdim_template.c: New file.
14546         * math/s_fdiml.c: Removed.
14547         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14548         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14550         * sysdeps/generic/math-type-macros-double.h:
14551         (declare_mgen_alias): Don't declare if already declared.
14552         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14553         Likewise.
14555         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14556         (declare_mgen_alias): Don't declare if already declared.
14557         (M_LIBM_NEED_COMPAT): Likewise.
14558         (declare_mgen_libm_compat): Likewise.
14559         (LDOUBLE_fdiml_libm_version): New macro.
14561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14562         Include math/s_fdim.c now that ldbl-opt version is not needed.
14563         (declare_mgen_alias): New macro to disable aliasing.
14565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14566         (declare_mgen_alias): Likewise.
14567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14568         (declare_mgen_alias): Likewise.
14569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14570         (declare_mgen_alias): Likewise.
14571         (M_LIBM_NEED_COMPAT): Likewise.
14573 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14575         [BZ #20525]
14576         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14577         Include <linux/quota.h>.
14578         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14579         and btodb.
14580         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14581         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14582         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14583         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14584         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14585         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14586         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14587         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14588         types.
14589         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14590         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14592 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14594         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14595         (gammal_positive): Fix spacing.
14596         (__ieee754_gammal_r): Likewise.
14598 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14600         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14601         (_Float128): Define as long double, always.
14602         (L): Apply long double type suffix, always.
14604         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14605         _Float128, excepting comments.
14607         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14609         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14611         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14612         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14613         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14615         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14616         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14617         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14618         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14619         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14620         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14621         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14622         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14623         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14624         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14625         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14626         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14627         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14628         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14629         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14630         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14631         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14633         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14634         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14635         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14636         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14637         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14638         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14639         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14640         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14641         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14642         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14643         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14644         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14649         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14650         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14651         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14652         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14654         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14655         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14656         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14657         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14658         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14659         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14662         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14663         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14667         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14668         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14669         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14670         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14671         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14672         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14673         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14674         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14676         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14677         _Float128, and include math_private.h.
14678         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14681         long double semantics.
14682         (_Float128): Likewise.
14683         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14686         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14688 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14690         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14691         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14692         * sysdeps/s390/configure: Regenerated.
14693         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14694         instruction for raising over-/underflow if z196 zarch is supported
14695         by default.
14696         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14698 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14700         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14701         it point to a dumb buffer for RPC to fill it.
14703 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14705         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14706         instead of if/else.
14707         (do_sin_slow): Likewise.
14708         (do_sincos_1): Use fabs instead of if/else.
14709         (do_sincos_2): Likewise.
14710         (__sin): Likewise.
14711         (__cos): Likewise.
14712         (slow2): Likewise.
14713         (sloww): Likewise.
14714         (sloww1): Likewise.  Drop argument M.
14715         (sloww2): Use fabs instead of if/else.
14716         (bsloww): Likewise.
14717         (bsloww1): Likewise.
14718         (bsloww2): Likewise.
14720         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14721         fall through comment.
14722         (do_sincos_1): Likewise.
14724         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14725         Consolidate switch cases 0 and 2.
14727 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14729         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14730         (libm-calls): Remove the above.
14732         * math/s_cexp_template.c: Update using type-generic macros.
14733         * math/s_clog10_template.c: Likewise.
14734         * math/s_cpow_template.c: Likewise.
14735         * math/s_clog_template.c: Likewise.
14736         * math/s_cproj_template.c: Likewise.
14737         * math/s_csqrt_template.c: Likewise.
14739         * math/s_cexp.c: Removed.
14740         * math/s_cexpf.c: Removed.
14741         * math/s_cexpl.c: Removed.
14742         * math/s_clog10.c: Removed.
14743         * math/s_clog10f.c: Removed.
14744         * math/s_clog10l.c: Removed.
14745         * math/s_cpow.c: Removed.
14746         * math/s_cpowf.c: Removed.
14747         * math/s_cpowl.c: Removed.
14748         * math/s_clog.c: Removed.
14749         * math/s_clogf.c: Removed.
14750         * math/s_clogl.c: Removed.
14751         * math/s_cproj.c: Removed.
14752         * math/s_cprojf.c: Removed.
14753         * math/s_cprojl.c: Removed.
14754         * math/s_csqrt.c: Removed.
14755         * math/s_csqrtf.c: Removed.
14756         * math/s_csqrtl.c: Removed.
14758         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14759         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14760         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14761         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14762         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14763         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14765         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14766         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14767         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14768         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14769         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14770         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14771         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14772         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14773         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14774         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14775         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14777         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14778         version.
14780         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14781         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14782         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14783         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14785 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14787         * s_cexp_template.c: Copy of s_cexp.c.
14788         * s_clog_template.c: Copy of s_clog.c.
14789         * s_clog10_template.c: Copy of s_clog10.c.
14790         * s_cpow_template.c: Copy of s_cpow.c.
14791         * s_cproj_template.c: Copy of s_cproj.c.
14792         * s_csqrt_template.c: Copy of s_csqrt.c.
14794 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14796         [BZ #20517]
14797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14798         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14799         exported.
14801 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14803         * math/fetestexceptflag.c: New file.
14804         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14805         Stefan Liebler.
14806         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14807         (fetestexceptflag): New function declaration.
14808         * manual/arith.texi (fetestexceptflag): Document function.
14809         * math/Versions (fetestexceptflag): New libm symbol at version
14810         GLIBC_2.25.
14811         * math/Makefile (libm-support): Add fetestexceptflag.
14812         (tests): Add test-fetestexceptflag.
14813         * math/test-fetestexceptflag.c: New file.
14814         * sysdeps/nacl/libm.abilist: Update.
14815         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14816         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14817         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14818         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14819         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14820         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14821         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14822         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14823         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14824         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14825         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14826         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14828         Likewise.
14829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14830         Likewise.
14831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14832         Likewise.
14833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14834         Likewise.
14835         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14836         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14837         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14838         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14839         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14841         Likewise.
14842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14843         Likewise.
14844         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14845         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14846         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14848 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14850         [BZ #20432]
14851         Avoid strong references to malloc-internal symbols when linking
14852         statically, to support statically interposed mallocs.
14853         * include/libc-symbols.h (call_function_static_weak): New macro.
14854         * malloc/Makefile (tests): Add tst-interpose-nothread,
14855         tst-interpose-thread, tst-interpose-static-nothread,
14856         tst-interpose-static-thread.
14857         (tests-static): Add tst-interpose-static-nothread,
14858         tst-interpose-static-thread.
14859         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14860         tst-interpose-aux-thread.o.
14861         (test-extras): Add tst-interpose-aux-nothread,
14862         tst-interpose-aux-thread.
14863         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14864         tst-interpose-aux-nothread.o.
14865         (tst-interpose-thread, tst-interpose-static-thread): Link with
14866         tst-interpose-aux-thread.o and libthread.
14867         * malloc/tst-interpose-aux-nothread.c: New file.
14868         * malloc/tst-interpose-aux-thread.c: Likewise.
14869         * malloc/tst-interpose-aux.c: Likewise.
14870         * malloc/tst-interpose-aux.h: Likewise.
14871         * malloc/tst-interpose-nothread.c: Likewise.
14872         * malloc/tst-interpose-skeleton.c: Likewise.
14873         * malloc/tst-interpose-static-nothread.c: Likewise.
14874         * malloc/tst-interpose-static-thread.c: Likewise.
14875         * malloc/tst-interpose-thread.c: Likewise.
14876         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14877         * sysdeps/mach/hurd/fork.c (__fork): Only call
14878         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14879         __malloc_fork_unlock_child if defined.
14880         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14882 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14884         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14885         timespec C99 designated initialization.
14887 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14889         [BZ #19946]
14890         Avoid expected SIGALRM signals.
14891         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14892         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14893         (xpthread_create, xpthread_detach, xpthread_join)
14894         (delayed_exit_thread, delayed_exit): New functions.
14895         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14896         (tf): Use xpthread_cond_wait.
14897         (do_test): Likewise.  Replace alarm with delayed_exit.
14898         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14899         (do_test): Call delayed_exit.  Report failure.
14900         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14901         (do_test): Call delayed_exit.
14902         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14903         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14904         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14905         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14906         error.
14907         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14908         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14909         error.
14910         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14911         (do_test): Call delayed_exit.
14912         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14913         (do_test): Call delayed_exit.
14914         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14915         (do_test): Call delayed_exit instead of alarm.  Use
14916         xpthread_mutex_lock.
14917         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14918         (do_test): Call delayed_exit instead of alarm.  Use
14919         xpthread_mutex_lock.
14920         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14921         (do_test): Call delayed_exit instead of alarm.
14922         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14923         (do_test): Call delayed_exit instead of alarm.  Use
14924         xpthread_spin_lock.
14925         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14926         (do_test): Call delayed_exit instead of alarm.  Use
14927         xpthread_join.
14929 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14931         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14932         adjust CFA when allocating register save area on re-aligned
14933         stack.
14935 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14937         * string/tst-cmp.c: New test.
14938         * string/Makefile (tests): Add it.
14940 2016-08-25  Mark Wielaard  <mark@klomp.org>
14942         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14943         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14944         (check_tree_recurse): Use newly defined accessors.
14945         (check_tree): Likewise.
14946         (maybe_split_for_insert): Likewise.
14947         (__tfind): Likewise.
14948         (__tdelete): Likewise.
14949         (trecurse): Likewise.
14950         (tdestroy_recurse): Likewise.
14951         (__tsearch): Likewise. And add asserts for malloc alignment.
14952         (__twalk): Cast root to node in case CHECK_TREE is defined.
14954 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14956         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14958 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14960         * math/Makefile (libm-gen-calls): Add
14961         catan, catanh, ctan, ctanh.
14962         (libm-calls): Remove the above.
14964         * math/s_catan_template.c: Update using type-generic macros.
14965         * math/s_catanh_template.c: Likewise.
14966         * math/s_ctan_template.c: Likewise.
14967         * math/s_ctanh_template.c: Likewise.
14969         * math/s_catanf.c: Removed.
14970         * math/s_catan.c: Removed.
14971         * math/s_catanl.c: Removed.
14972         * math/s_catanhf.c: Removed.
14973         * math/s_catanh.c: Removed.
14974         * math/s_catanhl.c: Removed.
14975         * math/s_ctanf.c: Removed.
14976         * math/s_ctan.c: Removed.
14977         * math/s_ctanl.c: Removed.
14978         * math/s_ctanhf.c: Removed.
14979         * math/s_ctanh.c: Removed.
14980         * math/s_ctanhl.c: Removed.
14982         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14983         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14984         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14985         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14986         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14987         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14989         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14990         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14991         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14992         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14994 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14996         * s_catan_template.c: Copy of s_catan.c.
14997         * s_catanh_template.c: Copy of s_catanh.c.
14998         * s_ctan_template.c: Copy of s_ctan.c.
14999         * s_ctanh_template.c: Copy of s_ctanh.c.
15001 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15003         * math/Makefile (gen-libm-calls): Move
15004         casin, casinh, csin, csinh here.
15005         (libm-calls): Remove the above.
15007         * math/s_casin_template.c: Update using type-generic macros.
15008         * math/s_casinh_template.c: Likewise.
15009         * math/s_csin_template.c: Likewise.
15010         * math/s_csinh_template.c: Likewise.
15011         * math/k_casinh_template.c: Likewise.
15013         * math/s_casinf.c: Removed.
15014         * math/s_casin.c: Removed.
15015         * math/s_casinl.c: Removed.
15016         * math/s_casinh.c: Removed.
15017         * math/s_casinhf.c: Removed.
15018         * math/s_casinhl.c: Removed.
15019         * math/s_csin.c: Removed.
15020         * math/s_csinf.c: Removed.
15021         * math/s_csinl.c: Removed.
15022         * math/s_csinh.c: Removed.
15023         * math/s_csinhf.c: Removed.
15024         * math/s_csinhl.c: Removed.
15025         * math/k_casinh.c: Removed.
15026         * math/k_casinhf.c: Removed.
15027         * math/k_casinhl.c: Removed.
15029         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15030         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15031         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15032         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15034         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15035         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15036         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15037         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15038         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15039         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15040         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15041         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15043         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15044         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15045         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15046         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15048         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15049         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15050         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15051         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15053 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15055         * s_casin_template.c: Copy of s_casin.c.
15056         * s_casinh_template.c: Copy of s_casinh.c.
15057         * s_csin_template.c: Copy of s_csin.c.
15058         * s_csinh_template.c: Copy of s_csinh.c.
15059         * k_casinh_template.c: Copy of k_casinh.c.
15061 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15063         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15065 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15067         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15068         (mul_split) Remove, rename as mul_splitl, remove
15069         redundant float.h include, and include via mul_splitl.h
15071         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15072         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15073         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15074         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15075         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15077         * math/mul_splitl.h: New file.
15079         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15080         Move into mul_split.h, and remove redundant float.h include.
15082         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15083         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15084         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15085         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15087         * math/mul_split.h: New file.
15089 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15091         * math/Makefile (libm-gen-calls): Move
15092         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15093         (libm-calls): Remove above.
15095         * math/s_cacos_template.c: Update using type-generic macros.
15096         * math/s_cacosh_template.c: Likewise.
15097         * math/s_ccos_template.c: Likewise.
15098         * math/s_ccosh_template.c: Likewise.
15100         * math/s_cacosf.c: Removed.
15101         * math/s_cacos.c: Removed.
15102         * math/s_cacosl.c: Removed.
15103         * math/s_cacoshf.c: Removed.
15104         * math/s_cacosh.c: Removed.
15105         * math/s_cacoshl.c: Removed.
15106         * math/s_ccosf.c: Removed.
15107         * math/s_ccos.c: Removed.
15108         * math/s_ccosl.c: Removed.
15109         * math/s_ccoshf.c: Removed.
15110         * math/s_ccosh.c: Removed.
15111         * math/s_ccoshl.c: Removed.
15113         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15114         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15115         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15116         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15117         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15118         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15120         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15121         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15122         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15123         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15125         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15126         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15127         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15128         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15130 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15132         * s_cacos_template.c: Copy of s_cacos.c.
15133         * s_cacosh_template.c: Copy of s_cacosh.c.
15134         * s_ccos_template.c: Copy of s_ccos.c.
15135         * s_ccosh_template.c: Copy of s_ccosh.c.
15137 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15139         * stdlib/tst-strtod-round-skeleton.c:
15140         Refactored from tst-strtod-round.c.
15142         (L_): New macro to apply literal modifier.
15143         (FNPFX): New macro to select str or wcs prefix.
15144         (CHAR): New macro to choose wchar_t or char.
15145         (STRM): New macro to choose printf for tested character type.
15147         (STRTO): New macro to choose appropriate string -> real function.
15148         (FNPFXS): Stringitized version of FNPFX.
15149         (STR): Support for above macro.
15150         (STRX): Likewise.
15152         (TEST): Update with above macros.
15153         (test): Likewise.
15154         (GEN_ONE_TEST): Likewise.
15155         (test_in_one_mode): Likewise.
15157         * stdlib/tst-strtod-round.c: New file.
15158         * wcsmbs/tst-wcstod-round.c: New file.
15160         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15161         (tst-wcstod-round): Add libm depencency for fesetround.
15163 2016-08-19  Zack Weinberg  <zackw@panix.com>
15165         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15167 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15169         [BZ #20477]
15170         * resolv/res_hconf.c (do_init): Use atomic access.
15171         * resolv/res_hconf.h: Add comments.
15172         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15173         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15176 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15178         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15179         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15181         Likewise.
15183 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15185         [BZ #16907]
15186         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15187         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15188         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15189         (__attribute__): Remove definition.
15191 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15193         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15194         Remove unused sqrtl declaration.
15196 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15198         * math/Makefile: (gen-libm-templates.stmp): New rule.
15199         (libm-calls): Move carg conj cimag and cabs into ...
15200         (gen-libm-calls): New variable.
15201         (generated): Inform Make objects from gen-libm-calls
15202         may be generated.
15204         * sysdeps/generic/math-type-macros.h: New file.
15205         * sysdeps/generic/math-type-macros-float.h: Likewise.
15206         * sysdeps/generic/math-type-macros-double.h: Likewise.
15207         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15208         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15209         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15211         * math/cabs.c: Refactor into
15212         * math/cabs_template.c: new file.
15213         * math/cabsf.c: Removed.
15214         * math/cabsl.c: Removed.
15215         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15216         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15218         * math/carg.c: Refactor into
15219         * math/carg_template.c: new file.
15220         * math/cargf.c: Removed.
15221         * math/cargl.c: Removed.
15222         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15223         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15225         * math/conj.c: Refactor into
15226         * math/conj_template.c: new file.
15227         * math/conjf.c: Removed.
15228         * math/conjl.c: Removed.
15229         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15230         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15232         * math/cimag.c: Refactor into
15233         * math/cimag_template.c: new file.
15234         * math/cimagf.c: Removed.
15235         * math/cimagl.c: Removed.
15236         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15237         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15239         * math/cimag.c: Refactor into
15240         * math/cimag_template.c: new file.
15241         * math/cimagf.c: Removed.
15242         * math/cimagl.c: Removed.
15243         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15244         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15246 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15248         Reduce time to expected nptl/tst-once5 failure.
15249         * nptl/tst-once5.cc (TIMEOUT): Define.
15251 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15253         [BZ #20452]
15254         Avoid additional copies of objects in libc.a in static libraries.
15255         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15256         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15257         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15258         rt-sysdep.
15259         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15260         Add nptl-sysdep.
15261         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15262         Add ptw-sysdep.
15263         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15264         rt-sysdep.
15265         * sysdeps/unix/sysv/linux/alpha/Makefile
15266         (libpthread-shared-only-routines): Add ptw-sysdep,
15267         ptw-sigprocmask, ptw-rt_sigaction.
15268         * sysdeps/unix/sysv/linux/ia64/Makefile
15269         (librt-shared-only-routines): Add rt-sysdep.
15270         * sysdeps/unix/sysv/linux/i386/Makefile
15271         (libpthread-shared-only-routines): Add libc-do-syscall.
15272         * sysdeps/unix/sysv/linux/microblaze/Makefile
15273         (libpthread-shared-only-routines): Add sysdep.
15274         * sysdeps/unix/sysv/linux/powerpc/Makefile
15275         (librt-shared-only-routines): Add rt-sysdep.
15276         (libpthread-shared-only-routines): Add sysdep.
15277         * sysdeps/unix/sysv/linux/s390/Makefile
15278         (librt-shared-only-routines): Add rt-sysdep.
15279         * sysdeps/unix/sysv/linux/sparc/Makefile
15280         (librt-shared-only-routines): Add rt-sysdep.
15281         (libpthread-shared-only-routines): Add sysdep.
15282         * sysdeps/unix/sysv/linux/tile/Makefile
15283         (libpthread-shared-only-routines): Likewise.
15285 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
15287         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15288         Mask implicit bit out of unpacked value.
15289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15290         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15293         * sysdeps/sparc/fpu/fesetexcept.c: New file.
15295         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15297         * sysdeps/s390/fpu/fesetexcept.c: New file.
15299         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15300         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15301         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15303         * sysdeps/mips/fpu/fesetexcept.c: New file.
15305         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15307         * sysdeps/ia64/fpu/fesetexcept.c: New file.
15309         * sysdeps/hppa/fpu/fesetexcept.c: New file.
15311         * sysdeps/arm/fesetexcept.c: New file.
15313         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15315         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15317         * math/fesetexcept.c: New file.
15318         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15319         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15320         * math/fenv.h: Define
15321         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15322         <bits/libc-header-start.h> instead of including <features.h>.
15323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15324         declaration.
15325         * manual/arith.texi (fesetexcept): Document function.
15326         * math/Versions (fesetexcept): New libm symbol at version
15327         GLIBC_2.25.
15328         * math/Makefile (libm-support): Add fesetexcept.
15329         (tests): Add test-fesetexcept and test-fesetexcept-traps.
15330         * math/test-fesetexcept.c: New file.
15331         * math/test-fesetexcept-traps.c: Likewise.
15332         * sysdeps/nacl/libm.abilist: Update.
15333         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15334         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15335         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15336         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15337         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15338         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15339         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15340         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15341         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15342         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15343         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15344         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15346         Likewise.
15347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15350         Likewise.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15352         Likewise.
15353         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15355         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15356         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15357         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15359         Likewise.
15360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15361         Likewise.
15362         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15363         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15364         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15366 2016-08-16  Florian Weimer  <fweimer@redhat.com>
15368         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15369         New.
15370         (do_test): Apply default_stack_size_in_mb if not set.
15371         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15373 2016-08-15  Andreas Schwab  <schwab@suse.de>
15375         [BZ #20435]
15376         CVE-2016-6323
15377         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15378         as .cantunwind.
15380 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15382         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15383         comment from fraiseexcpt.c.
15385         * math/test-fexcept.c (feraiseexcept_exact): New function.
15386         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15387         (test_except): Likewise.
15389 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #20455]
15392         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15393         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15394         to be restored.
15396         * math/test-fexcept-traps.c: New file.
15397         * math/test-fexcept.c: Likewise.
15398         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15399         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15400         macro.
15401         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15402         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15404 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15406         * include/atomic.h (atomic_fetch_and_relaxed,
15407         atomic_fetch_and_release, atomic_fetch_or_release,
15408         atomic_fetch_xor_release): New.
15410 2016-08-06  Christian Seiler  <christian@iwakd.de>
15412         [BZ #20444]
15413         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15414         MACH_PORT_NULL.
15416 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15418         * math/s_fdim.c: Avoid alias renamed.
15419         * math/s_fdimf.c: Likewise.
15420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15421         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15422         Add s_fdimf-vis3, s_fdim-vis3.
15423         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15424         (CFLAGS-s_fdim-vis3.c): Likewise.
15425         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15426         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15428 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15431         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15432         Remove s_fdimf-vis3, s_fdim-vis3.
15433         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15434         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15441         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15442         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15444 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15446         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15447         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15448         -Wa,-Av9a -mvis.
15450 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15452         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15453         LIT() to individual constants in simple expressions
15454         after splitting on spaces.
15455         (_apply_lit): Rename replaced version, and use it to
15456         apply to what appears to be a token.
15458         * math/libm-test.inc: Fix many, many issues with
15459         spacing.
15461 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15463         * math/math.h: Move comment about <bits/mathdef.h> definitions
15464         above inclusion of <bits/mathdef.h>.  Do not mention
15465         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15467 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15469         * include/atomic.h (atomic_exchange_relaxed): New.
15471 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15473         * math/e_scalb.c: Do not include <fenv.h>.
15474         (invalid_fn): Do calculation resulting in NaN instead of raising
15475         FE_INVALID and returning a NaN explicitly.
15476         * math/e_scalbf.c: Do not include <fenv.h>.
15477         (invalid_fn): Do calculation resulting in NaN instead of raising
15478         FE_INVALID and returning a NaN explicitly.
15479         * math/e_scalbl.c: Do not include <fenv.h>.
15480         (invalid_fn): Do calculation resulting in NaN instead of raising
15481         FE_INVALID and returning a NaN explicitly.
15483 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15485         * po/de.po: Updated from Translation Project.
15486         * po/fi.po: Likewise.
15487         * po/sv.po: Likewise.
15489 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15491         [BZ #20452]
15492         Use sysdep.o from libc.a in static libraries.
15493         * sysdeps/unix/sysv/linux/i386/Makefile
15494         (libpthread-shared-only-routines): Add sysdep.
15495         (librt-shared-only-routines): Likewise.
15497 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15499         * math/tgmath.h (nextdown): Define if
15500         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15501         (nextup): Likewise.
15503         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15504         macro.
15505         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15506         Document.
15507         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15508         Document macro.
15509         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15510         (exp10f): Likewise.
15511         (exp10l): Likewise.
15512         * math/bits/mathcalls.h (exp10): Declare if
15513         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15515         * manual/arith.texi (nextup): Fix typo in last change.
15517 2016-08-03  Zack Weinberg  <zackw@panix.com>
15519         [BZ #19239]
15520         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15521         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15522         define major, minor, and makedev to issue deprecation warnings on use.
15523         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15524         previously-activated deprecation warnings for these macros and prevent
15525         subsequent inclusions of this header from having any effect.
15526         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15527         including <sys/sysmacros.h>, and undefine it again afterward.
15529 2016-08-03  Zack Weinberg  <zackw@panix.com>
15531         * sysdeps/generic/sys/sysmacros.h: Delete file.
15532         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15533         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15534         * bits/sysmacros.h: ... here; this encoding is now the generic
15535         encoding.  Now defines only the following macros:
15536         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15537         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15538         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15540         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15541         bits/sysmacros.h and the above new macros to generate the
15542         public implementations of major, minor, and makedev.
15543         * misc/tst-makedev.c: New test.
15544         * include/sys/sysmacros.h: New wrapper.
15546         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15547         (routines): Add makedev.
15548         (tests): Add tst-makedev.
15549         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15550         gnu_dev_makedev.
15551         * posix/Makefile (headers): Remove sys/sysmacros.h.
15552         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15554         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15555         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15556         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15557         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15558         * sysdeps/unix/sysv/linux/arm/libc.abilist
15559         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15560         * sysdeps/unix/sysv/linux/i386/libc.abilist
15561         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15563         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15564         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15565         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15566         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15567         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15568         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15569         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15574         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15575         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15576         * sysdeps/unix/sysv/linux/sh/libc.abilist
15577         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15578         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15581         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15582         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15583         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15584         Add GLIBC_2.25.
15586         * include/features.h (__glibc_clang_prereq): New macro.
15587         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15588         (__attribute_deprecated_msg__): New macros.
15590 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15592         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15593         macro.
15594         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15595         * manual/arith.texi (issignaling): Document as ISO from TS
15596         18661-1:2014.
15597         (nextup): Likewise.
15598         (nextupf): Likewise.
15599         (nextupl): Likewise.
15600         (nextdown): Likewise.
15601         (nextdownf): Likewise.
15602         (nextdownl): Likewise.
15603         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15604         macro.
15605         * math/math.h: Define
15606         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15607         <bits/libc-header-start.h> instead of including <features.h>.
15608         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15609         [__USE_GNU].
15610         * math/bits/mathcalls.h (nextdown): Declare if
15611         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15612         (nextup): Likewise.
15613         (__issignaling): Likewise.
15615 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15617         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15618         check, and remove __glibc_likely hint
15619         from FP_INFINITE check.
15620         * s_csinhf.c (__csinhf): Likewise.
15622         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15623         hint from FP_INFINITE check.
15624         * s_csinhl.c (__csinhl): Likewise.
15626 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15628         * math/Makefile (libm-calls): Insert F placeholder into
15629         object names.  Move w_lgamma_compat* routines into
15630         (libm-compat-calls): New variable.
15631         (libm-compat-calls-ldouble-yes): New variable.
15632         (calls): Insert F placeholder.
15633         (generated): Redefine using new type-foreach macro call.
15634         (routines): Likewise.
15636         (types): New variable to hold a list of symbolic names
15637         for each type supported by the target machine.
15638         (libm-routines): Redefine using new types variable.
15639         (type-foreach): macro to replace fooF with the
15640         appropriately suffixed foo for each types.
15642         (type-ldouble-suffix): New variable.
15643         (type-ldouble-routines): Likewise.
15644         (type-ldouble-yes): Likewise.
15645         (type-double-suffix): Likewise.
15646         (type-double-routines): Likewise.
15647         (type-float-suffix): Likewise.
15648         (type-float-routines): Likewise.
15650         (dbl-only-routines): Remove.
15651         (long-c-yes): Likewise.
15652         (long-m-routines): Likewise.
15653         (long-m-support): Likewise.
15654         (long-m-yes): Likewise.
15655         (test-longdouble-yes): Likewise.
15657         (test-float.o): Simplify by increasing the scope of the
15658         recipe which adds libm-test.stmp to the vector types.
15659         (test-ifloat.o): Likewise.
15660         (test-float-finite.o): Likewise.
15661         (test-double.o): Likewise
15662         (test-idouble.o): Likewise.
15663         (test-double-finite.o): Likewise.
15664         (test-ldouble.o): Likewise
15665         (test-ildoubl.o): Likewise.
15666         (test-ldouble-finite.o): Likewise.
15668         (libm-tests): Redefine type tests using foreach and the
15669         list of types in types.
15671         (CPPFLAGS-test-ildoubl.c): Rename to
15672         (CPPFLAGS-test-ildouble.c): New variable
15674         * math/test-ildoubl.c: Rename to
15675         * math/test-ildouble.c: New file.
15677 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15679         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15680         Use fabsl instead of fabs.
15681         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15682         Likewise.
15683         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15684         Add long double suffix to constant to ensure proper
15685         promotion to long double.
15687 2016-08-03  Tom Tromey  <tom@tromey.com>
15689         [BZ #20311]
15690         * nptl_db/Makefile (headers): Add proc_service.h.
15691         * nptl_db/proc_service.h: Add include guard.  Use
15692         __BEGIN/__END_DECLS.
15693         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15694         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15695         arguments.
15698 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15700         [BZ #17730]
15701         Avoid using memalign for TCB allocations.
15702         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15703         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15704         Avoid alignment gap in the TLS_DTV_AT_TP case.
15705         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15706         determine the pointer to free.
15707         * nptl/tst-tls3-malloc.c: New test.
15708         * nptl/Makefile (tests): Add it.
15709         (tst-tls3-malloc): Link with libdl, libpthread.
15710         (LDFLAGS-tst-tls3-malloc): Set.
15711         (tst-tls3-malloc.out): Depend on DSO used in test.
15713 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15715         [BZ #17730]
15716         Avoid using memalign for TLS allocations.
15717         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15718         is_static member with to_free member.
15719         (union dtv): Use struct dtv_pointer.
15720         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15721         dtv_pointer instead of is_static.
15722         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15723         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15724         instead of val.
15725         (allocate_dtv_entry): New function.
15726         (allocate_and_init): Return struct dtv_pointer.  Call
15727         allocate_dtv_entry instead of __libc_memalign.
15728         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15729         instead of val.
15730         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15731         instead of is_static.  Adjust call to allocate_and_init.
15732         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15733         struct dtv_pointer instead of val.
15735 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15737         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15738         (MALLOC_ALIGN_MASK): Move ...
15739         * malloc/malloc-internal.h: ... to here.
15740         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15742 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15744         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15745         (UDP_ENCAP_GTP1U): Likewise.
15747         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15748         (PF_MAX): Update value.
15749         (AF_QIPCRTR): New macro.
15751 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15753         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15754         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15755         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15756         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15757         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15758         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15759         s_truncf-vis3, s_trunc-vis3.
15760         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15761         (CFLAGS-s_ceil-vis3.c): Likewise.
15762         (CFLAGS-s_floorf-vis3.c): Likewise.
15763         (CFLAGS-s_floor-vis3.c): Likewise.
15764         (CFLAGS-s_truncf-vis3.c): Likewise.
15765         (CFLAGS-s_trunc-vis3.c): Likewise.
15766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15774         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15775         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15776         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15777         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15779 2016-08-02  David S. Miller  <davem@davemloft.net>
15781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15782         (__nearbyint_vis3): Don't check for sNaN before float register is
15783         loaded with the incoming argument.
15784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15785         (__nearbyintf_vis3): Likewise.
15786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15787         Likewise.
15788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15789         Likewise.
15791         * string/test-strncmp.c (do_test_limit): Make sure the test data
15792         stream is aligned as required for the type "CHAR".
15793         (do_test): Likewise.
15795 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15797         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15798         by beq instructions jumping to the end of the function.
15799         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15800         clobber list. Use "i" constraint instead of "X".
15801         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15802         of "X".
15804 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15806         * bits/libc-header-start.h: New file.
15807         * Makefile (headers): Add bits/libc-header-start.h.
15808         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15809         (__GLIBC_USE): New macro.
15810         * libio/stdio.h: Define
15811         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15812         <bits/libc-header-start.h> instead of including <features.h>.
15813         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15814         (open_memstream): Likewise.
15815         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15816         (__asprintf): Likewise.
15817         (asprintf): Likewise.
15818         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15819         (getdelim): Likewise.
15820         (getline): Likewise.
15821         * string/string.h: Define
15822         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15823         <bits/libc-header-start.h> instead of including <features.h>.
15824         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15825         (strndup): Likewise.
15826         * wcsmbs/wchar.h: Define
15827         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15828         <bits/libc-header-start.h> instead of including <features.h>.
15829         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15830         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15832 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15834         Support linking against compatibility symbols, for use in tests.
15835         * include/libc-symbols.h (symbol_version_reference): New macro.
15836         (symbol_version): Use it.
15837         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15838         (compat_symbol): Use compat_symbol_reference.
15839         (compat_symbol_1, compat_symbol_2): Remove.
15840         (compat_symbol_reference, compat_symbol_reference_1)
15841         (compat_symbol_reference_2): New macro.  Use
15842         symbol_version_reference.
15844 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15846         [BZ #19469]
15847         * malloc/Makefile (CPPFLAGS): Compile tests with
15848         -DTEST_NO_MALLOPT.
15849         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15851 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15853         [BZ #20033]
15854         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15855         finite version.
15856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15858         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15859         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15860         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15870         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15872         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15873         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15874         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15875         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15876         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15877         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15878         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15879         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15880         in zero power.
15882 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15884         [BZ #20370]
15885         * malloc/arena.c (get_free_list): Update comment.  Assert that
15886         arenas on the free list have no attached threads.
15887         (remove_from_free_list): New function.
15888         (reused_arena): Call it.
15890 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15892         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15893         when it is a NaN.
15894         [_IEEE_FP_INEXACT] Remove.
15895         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15896         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15897         when it is a NaN.
15898         [_IEEE_FP_INEXACT] Remove.
15899         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15900         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15901         when it is a NaN.
15902         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15903         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15904         when its absolute value is greater than 0x1.0p52.
15905         [_IEEE_FP_INEXACT] Remove.
15906         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15907         when its absolute value is greater than 0x1.0p23.
15908         [_IEEE_FP_INEXACT] Remove.
15910 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15912         * version.h (RELEASE): Set to "development"
15913         (VERSION): Set to 2.24.90.
15914         * NEWS: Add 2.25 section.
15916         * version.h (RELEASE): Set to "stable"
15917         (VERSION): Set to 2.24.
15918         * include/features.h (__GLIBC_MINOR__): Set to 24.
15920         * NEWS: Add 2.24 fixed bugs.
15921         * po/libc.pot: Regenerate.
15923 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15926         [$(subdir) = math] (libm-sysdep_routines): Remove.
15927         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15928         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15929         s_truncf-vis3, s_trunc-vis3.
15930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15932         file.
15933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15966         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15967         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15968         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15969         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15970         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15971         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15972         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15973         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15974         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15975         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15977 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15979         [BZ #20384]
15980         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15981         test-double-libmvec-sincos-avx-main.o,
15982         test-double-libmvec-sincos-avx2-main.o,
15983         test-double-libmvec-sincos-main.o,
15984         test-float-libmvec-sincosf-avx-main.o,
15985         test-float-libmvec-sincosf-avx2-main.o and
15986         test-float-libmvec-sincosf-main.o.
15987         test-float-libmvec-sincosf-avx512-main.o.
15988         ($(objpfx)test-double-libmvec-sincos): Also link with
15989         $(objpfx)test-double-libmvec-sincos-main.o.
15990         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15991         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15992         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15993         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15994         ($(objpfx)test-float-libmvec-sincosf): Also link with
15995         $(objpfx)test-float-libmvec-sincosf-main.o.
15996         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15997         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15998         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15999         test-double-libmvec-sincos-avx512-main.o and
16000         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16001         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16002         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16003         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16004         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16005         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16006         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16007         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16008         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16009         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16010         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16011         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16012         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16013         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16014         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16015         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16016         -DREQUIRE_AVX2.
16017         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16018         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16019         -DREQUIRE_AVX512F.
16020         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16021         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16022         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16023         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16024         file.
16025         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16026         Likewise.
16027         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16028         Likewise.
16029         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16030         Likewise.
16031         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16032         Likewise.
16033         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16034         Likewise.
16035         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16036         Likewise.
16037         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16038         Likewise.
16040 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16042         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16044 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16046         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16047         and typo in a comment about AT_HWCAP entry.
16049 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16051         * sysdeps/aarch64/libm-test-ulps: Updated.
16053 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16055         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16056         of r13 as it is not restored in mvcle case.
16058 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16060         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16061         Rename "ret" to "__ret".
16062         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16063         inline_syscall5, inline_syscall6): Likewise.
16065 2016-07-19   Will Newton  <will.newton@gmail.com>
16067         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16068         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16069         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16070         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16071         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16073 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16075         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16076         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16077         -mfpmath=387 with $(rtld-CFLAGS).
16078         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16079         $(rtld-CFLAGS).
16081 2016-07-18   Ross Burton  <ross.burton@intel.com>
16082              Khem Raj  <raj.khem@gmail.com>
16084         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16085         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16086         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16087         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16088         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16089         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16090         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16091         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16092         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16093         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16094         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16095         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16096         R_METAG_TLS_DTPOFF): New.
16098 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16099             Matt Clay  <mclay@lycos.com>
16101         [BZ #20357]
16102         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16103         to call __mpsin/__mpcos and to negate values.
16104         * math/auto-libm-test-in: Add test.
16105         * math/auto-libm-test-out: Regenerate.
16107 2016-07-18  Zack Weinberg  <zackw@panix.com>
16109         * grp/Makefile: Don't install the internal header grp-merge.h.
16111 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16113         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16115 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16117         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16119 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16121         [BZ #15368]
16122         * sysdeps/unix/sysv/linux/nptl-signals.h
16123         (__nptl_clear_internal_signals): New function.
16124         (__libc_signal_block_all): Likewise.
16125         (__libc_signal_block_app): Likewise.
16126         (__libc_signal_restore_set): Likewise.
16127         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16128         implementation.
16129         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16130         the cached pid/tid value in pthread structure.
16132 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16134         [BZ #20347]
16135         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16137 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16139         [BZ #20348]
16140         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16141         preadv64, pwrite64 and pwritev64.
16143 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16145         [BZ #20350]
16146         * posix/tst-preadwrite.c: Renamed to ...
16147         * posix/tst-preadwrite-common.c: This.
16148         (PREAD): Removed.
16149         (PWRITE): Likewise.
16150         (STRINGIFY): Likewise.
16151         (STRINGIFY2): Likewise.
16152         (do_prepare): Make it static and remove function arguments.
16153         (do_test): Likewise.
16154         (PREPARE): Updated.
16155         (TEST_FUNCTION): New.
16156         (name): Make it static.
16157         (fd): Likewise.
16158         (do_prepare): Use create_temp_file.
16159         (do_test): Renamed to ...
16160         (do_test_with_offset): This.  Make it static and accept offset.
16161         Properly check return value of PWRITE and PREAD.  Return bytes
16162         read.  Don't close fd nor unlink name.
16163         * posix/tst-preadwrite.c: Rewrite.
16164         * posix/tst-preadwrite64.c: Likewise.
16166 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16168         [BZ #20309]
16169         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16170         -mtls-dialect=gnu2 works.
16171         * configure: Regenerated.
16172         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16173         (tests): Add tst-gnu2-tls1.
16174         (modules-names): Add tst-gnu2-tls1mod.
16175         ($(objpfx)tst-gnu2-tls1): New.
16176         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16177         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16178         * elf/tst-gnu2-tls1.c: New file.
16179         * elf/tst-gnu2-tls1mod.c: Likewise.
16180         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16181         bytes for push in the PLT entry to align the stack.
16183 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16185         [BZ #20349]
16186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16188 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16190         [BZ #18707]
16191         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16192         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16194 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16196         * sysdeps/unix/sysv/linux/sysdep.h
16197         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16198         guards.
16199         * misc/tst-preadvwritev-common.c: New file.
16200         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16201         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16202         a check for files larger than 2GB.
16204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16205         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16206         * sysdeps/unix/sysv/linux/pread.c
16207         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16208         __OFF_T_MATCHES_OFF64_T.
16209         * sysdeps/unix/sysv/linux/pread64.c
16210         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16211         * sysdeps/unix/sysv/linux/preadv.c
16212         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16213         * sysdeps/unix/sysv/linux/preadv64.c
16214         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16215         * sysdeps/unix/sysv/linux/pwrite.c
16216         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16217         * sysdeps/unix/sysv/linux/pwrite64.c
16218         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16219         * sysdeps/unix/sysv/linux/pwritev.c
16220         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16221         * sysdeps/unix/sysv/linux/pwritev64.c
16222         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16224 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16227         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16229 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16231         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16233 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16235         [BZ #20240]
16236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16237         (CFLAGS-s_modf-ppc32.c): New variable.
16238         (CFLAGS-s_modff-ppc32.c): Likewise.
16239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16240         (CFLAGS-s_modf-ppc64.c): Likewise.
16241         (CFLAGS-s_modff-ppc64.c): Likewise.
16243 2016-07-07  Andreas Schwab  <schwab@suse.de>
16245         [BZ #20263]
16246         * nptl/tst-robust10.c: New test.
16247         * nptl/Makefile (tests): Add tst-robust10.
16249 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16251         [BZ #20263]
16252         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16254 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16256         * sysdeps/s390/linkmap.h (struct link_map_machine):
16257         Remove member gotplt and add member jmprel.
16258         * sysdeps/s390/s390-32/dl-machine.h
16259         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16260         instead of gotplt with &got[3].
16261         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16262         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16264 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16266         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16268 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16270         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16271         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16272         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16273         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16274         * libio/vtables.c (_IO_vtable_check)
16275         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16276         * libio/libioP.h (IO_set_accept_foreign_vtables)
16277         [!PTR_MANGLE]: Do not call PTR_MANGLE.
16279 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
16281         [BZ #20314]
16282         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16283         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16284         $(common-objpfx)cmath.
16285         ($(common-objpfx)cstdlib): New target.
16286         ($(common-objpfx)cmath): Likewise.
16288 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
16290         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16292 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16294         [BZ #20327]
16295         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16296         are not part of the string.
16298 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16300         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16301         * nptl/tst-cancel4-common.h (fifoname): New variable.
16302         (fifofd): Likewise.
16303         (cl_fifo): New function.
16304         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16305         SIGINT.
16306         (tf_open): Add early cancel test.
16308 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16310         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16312 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
16314         * sysdeps/generic/ldsodefs.h
16315         (dl_symbol_visibility_binds_local_p): New inline function.
16316         * elf/dl-addr.c (determine_info): Treat hidden and internal
16317         symbols as local.
16318         * elf/dl-lookup.c (do_lookup_x): Likewise.
16319         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16321 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16323         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16324         invalid exception for a sNaN input.
16325         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16326         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16327         (__nearbyint_vis3): Likewise
16328         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16329         (__nearbyintf_vis3): Likewise
16330         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16331         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16332         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16333         Likewise.
16334         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16335         Likewise.
16337 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
16339         [BZ #20139]
16340         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16341         (HAVE_AVX512DQ_ASM_SUPPORT): This.
16342         * sysdeps/x86_64/configure.ac: Require assembler from binutils
16343         2.24 or above.
16344         (HAVE_AVX512_ASM_SUPPORT): Removed.
16345         (HAVE_AVX512DQ_ASM_SUPPORT): New.
16346         * sysdeps/x86_64/configure: Regenerated.
16347         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16348         check unconditional.
16349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16350         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16351         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16352         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16353         Likewise.
16354         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16355         Likewise.
16356         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16357         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16358         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16359         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16360         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16361         Likewise.
16362         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16363         Likewise.
16364         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16365         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16366         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16367         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16368         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16369         Likewise.
16370         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16371         Likewise.
16372         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16373         Likewise.
16374         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16375         Likewise.
16376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16377         Likewise.
16378         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16379         Likewise.
16380         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16381         Likewise.
16382         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16383         Likewise.
16384         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16385         Likewise.
16386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16387         Likewise.
16388         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16389         Likewise.
16391 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16393         [BZ #20024]
16394         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16395         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16396         of this implementation of vector function.
16397         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16400         Likewise.
16401         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16403         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16404         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16405         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16406         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16407         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16408         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16409         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16410         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16412         for testing vector sincos with fixed ABI.
16413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16414         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16415         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16416         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16417         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16418         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16419         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16420         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16421         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16422         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16423         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16424         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16425         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16426         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16427         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16428         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16430 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16432         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16434 2016-06-30  Anton Blanchard  <anton@samba.org>
16436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16437         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16438         s_sinf-ppc64.
16439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16442         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16444 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16448         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16449         e_expf-ppc64.
16450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16453         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16455 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16457         [BZ #20277]
16458         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16459         when SHARED is defined.
16461 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16463         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16464         (index_arch_Prefer_ERMS): Likewise.
16465         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16466         __memcpy_erms for Prefer_ERMS.
16467         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16468         (__memmove_erms): Enabled for libc.a.
16469         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16470         __memmove_erms or Prefer_ERMS.
16471         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16472         __mempcpy_erms for Prefer_ERMS.
16473         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16474         __memset_erms for Prefer_ERMS.
16476 2016-06-30  Andreas Schwab  <schwab@suse.de>
16478         [BZ #20262]
16479         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16480         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16481         of memory.
16483 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16485         [BZ #18645]
16486         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16487         (test-extras): Add tst-cleanupx4aux.
16488         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16489         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16490         tst-cleanupx4aux.o.
16491         * nptl/tst-cleanupx4aux.c: New file.
16493 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16495         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16497 2016-06-29  Andreas Schwab  <schwab@suse.de>
16499         [BZ #20260]
16500         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16501         address before the beginning of the string as an integer to avoid
16502         array-bounds warning.
16504 2016-06-28  Richard Henderson  <rth@redhat.com>
16506         * elf/elf.h (EM_BPF): New.
16507         (EM_NUM): Update.
16508         (R_BPF_NONE, R_BPF_MAP_FD): New.
16510         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16511         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16512         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16513         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16514         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16515         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16516         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16517         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16518         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16519         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16520         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16521         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16522         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16523         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16524         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16525         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16526         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16527         (EM_NUM): Update.
16529 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16531         [BZ #18960]
16532         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16533         Set _nl_current_LC_CATEGORY_used to two instead of one.
16535 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16537         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16538         (do_test): ... this.
16539         (TEST_FUNCTION): New macro.
16540          Include test-skeleton.c.
16541         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16542         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16544 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16546         [BZ #15479]
16547         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16548         floating-point environment rather than just control word.
16549         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16550         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16551         floating-point environment, with "invalid" exceptions merged in,
16552         rather than just control word.
16553         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16554         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16555         "inexact" exceptions.
16557         [BZ #15479]
16558         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16559         floating-point environment rather than just control word.
16560         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16561         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16562         floating-point environment, with "invalid" exceptions merged in,
16563         rather than just control word.
16564         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16565         * math/libm-test.inc (floor_test_data): Do not allow spurious
16566         "inexact" exceptions.
16568         [BZ #15479]
16569         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16570         floating-point environment rather than just control word.
16571         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16572         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16573         floating-point environment, with "invalid" exceptions merged in,
16574         rather than just control word.
16575         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16576         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16577         "inexact" exceptions.
16579 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16581         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16582         __libc_vfork.
16583         (__vfork) [IS_IN (libc)]: Remove alias.
16584         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16585         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16586         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16588 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16590         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16591         of atomic_compare_and_exchange_bool_rel.
16592         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16593         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16594         catomic_compare_and_exchange_bool_rel): Remove.
16595         * sysdeps/aarch64/atomic-machine.h
16596         (atomic_compare_and_exchange_bool_rel): Likewise.
16597         * sysdeps/alpha/atomic-machine.h
16598         (atomic_compare_and_exchange_bool_rel): Likewise.
16599         * sysdeps/arm/atomic-machine.h
16600         (atomic_compare_and_exchange_bool_rel): Likewise.
16601         * sysdeps/mips/atomic-machine.h
16602         (atomic_compare_and_exchange_bool_rel): Likewise.
16603         * sysdeps/microblaze/atomic-machine.h
16604         ( __arch_compare_and_exchange_bool_8_rel,
16605         __arch_compare_and_exchange_bool_16_rel): Likewise.
16606         * sysdeps/powerpc/atomic-machine.h
16607         ( __arch_compare_and_exchange_bool_8_rel,
16608         __arch_compare_and_exchange_bool_16_rel): Likewise.
16609         * sysdeps/powerpc/powerpc32/atomic-machine.h
16610         ( __arch_compare_and_exchange_bool_32_rel,
16611         __arch_compare_and_exchange_bool_64_rel): Likewise.
16612         * sysdeps/powerpc/powerpc64/atomic-machine.h
16613         ( __arch_compare_and_exchange_bool_32_rel,
16614         __arch_compare_and_exchange_bool_64_rel): Likewise.
16615         * sysdeps/tile/atomic-machine.h
16616         (atomic_compare_and_exchange_bool_rel): Likewise.
16618 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16620         [BZ #20296]
16621         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16622         when either argument is a NaN.
16623         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16624         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16626         * math/libm-test.inc (snan_value_ld): New macro.
16627         (isgreater_test_data): Add sNaN tests.
16628         (isgreaterequal_test_data): Likewise.
16629         (isless_test_data): Likewise.
16630         (islessequal_test_data): Likewise.
16631         (islessgreater_test_data): Likewise.
16632         (isunordered_test_data): Likewise.
16633         (nextafter_test_data): Likewise.
16634         (nexttoward_test_data): Likewise.
16635         (remainder_test_data): Likewise.
16636         (remquo_test_data): Likewise.
16637         (significand_test_data): Likewise.
16638         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16640 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16642         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16643         environment macros are defined.
16644         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16646 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16648         [BZ #20191]
16649         Implement vtable verification in libio.
16650         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16651         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16652         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16653         _IO_new_file_init_internal instead of _IO_file_init.
16654         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16655         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16656         * libio/Makefile (routines): Add vtables.
16657         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16658         (_IO_init): Remove, not for internal use.
16659         (_IO_init_internal): Declare, internal replacement for _IO_init.
16660         (_IO_file_init): Remove, not for internal use.
16661         (_IO_new_file_init): Remove, not for internal use.
16662         (_IO_new_file_init_internal): Declare, internal replacement for
16663         _IO_new_file_init.
16664         (_IO_old_file_init): Remove, not for internal use.
16665         (_IO_old_file_init_internal): Declare, internal replacement for
16666         _IO_old_file_init.
16667         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16668         internal use.
16669         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16670         Declare.
16671         (libio_vtable): New macro.
16672         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16673         functions.
16674         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16675         _IO_new_file_init.
16676         (_IO_new_file_init): New externally visible wrapper which disables
16677         vtable verification.
16678         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16679         Define as vtables.
16680         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16681         (_IO_init): New externally visible wrapper which disables
16682         vtable verification.
16683         * libio/iofdopen.c (_IO_new_fdopen): Call
16684         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16685         comment.
16686         * libio/iofopen.c (__fopen_internal): Call
16687         _IO_new_file_init_internal instead of _IO_file_init.
16688         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16689         Define as vtables.
16690         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16691         _IO_new_file_init_internal instead of _IO_file_init.
16692         * libio/iopopen.c (_IO_new_popen): Likewise.
16693         (_IO_proc_jumps): Define as vtable.
16694         * libio/iovdprintf.c (_IO_vdprintf): Call
16695         _IO_new_file_init_internal instead of _IO_file_init.
16696         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16697         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16698         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16699         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16700         _IO_old_file_init.
16701         (_IO_old_file_init): New externally visible wrapper which disables
16702         vtable verification.
16703         (_IO_old_file_jumps): Define as vtable.
16704         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16705         _IO_old_file_init_internal instead of _IO_old_file_init.
16706         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16707         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16708         (_IO_old_proc_jumps): Define as vtable.
16709         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16710         Define as vtables.
16711         * libio/vtables.c: New file.
16712         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16713         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16714         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16715         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16716         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16717         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16718         instead of _IO_init.
16720 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16722         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16724 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16726         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16727         potentially unused.
16729 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16731         * test-skeleton.c (write_message): New function.
16732         * malloc/tst-mallocfork2.c (write_message): Remove.
16733         * debug/tst-longjmp_chk2.c (write_indented): New function.
16734         (write_message): Remove.
16735         (stackoverflow_handler): Call write_indented.
16737 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16739         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16740         "inexact" exceptions after fnstenv.
16741         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16742         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16743         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16745 2015-06-22  Zack Weinberg  <zackw@panix.com>
16747         * sysdeps/generic/bits/hwcap.h: Moved to ...
16748         * bits/hwcap.h: Here.
16750 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16752         * sysdeps/aarch64/memcpy.S (memcpy):
16753         Further tuning for performance.
16755 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16757         [BZ #20284]
16758         * malloc/arena.c (reused_arena): Do not return NULL if we start
16759         out with a non-corrupted arena.
16761 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16763         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16764         * misc/tst-preadvwritev.c: New file.
16765         * misc/tst-preadvwritev64.c: Likewise.
16766         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16767         usage.
16768         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16769         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16770         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16771         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16773 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16775         [BZ #19654]
16776         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16777         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16778         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16779         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16780         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16781         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16782         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16783         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16784         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16785         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16786         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16787         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16788         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16789         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16790         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16791         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16792         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16793         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16794         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16795         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16796         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16797         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16798         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16799         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16800         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16801         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16803 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16805         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16806         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16808 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16810         * sysdeps/aarch64/memcpy.S (memcpy):
16811         Rewrite of optimized memcpy and memmove.
16812         * sysdeps/aarch64/memmove.S (memmove): Remove
16813         memmove code (merged into memcpy.S).
16815 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16817         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16818         * sysdeps/generic/dl-dtv.h: New file.
16819         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16820         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16821         (dtv_t): Remove.
16822         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16823         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16824         (dtv_t): Remove.
16825         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16826         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16827         (dtv_t): Remove.
16828         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16829         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16830         (dtv_t): Remove.
16831         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16832         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16833         (dtv_t): Remove.
16834         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16835         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16836         (dtv_t): Remove.
16837         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16838         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16839         (dtv_t): Remove.
16840         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16841         (dtv_t): Remove.
16842         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16843         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16844         (dtv_t): Remove.
16845         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16846         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16847         (dtv_t): Remove.
16848         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16849         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16850         (dtv_t): Remove.
16851         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16852         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16853         (dtv_t): Remove.
16854         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16855         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16856         (dtv_t): Remove.
16857         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16858         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16859         (dtv_t): Remove.
16860         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16861         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16862         (dtv_t): Remove.
16863         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16864         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16865         (dtv_t): Remove.
16867 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16869         Revert symbol poisoning of  __malloc_initialize_hook.
16870         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16871         poisoning.
16872         * malloc/Makefile: Remove un-poisoning.
16873         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16874         instead of old__malloc_initialize_hook.
16875         * malloc/malloc-hooks.h: Likewise.
16876         * malloc/malloc.c: Likewise.
16877         * malloc/mcheck-init.c: Likewise.
16879 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16881         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16883 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16885         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16886         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16887         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16888         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16890 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16892         * NEWS: Mention addition of nextup and nextdown.
16893         * manual/arith.texi: Document nextup and nextdown.
16894         * manual/libm-err-tab.pl: Add nextup and nextdown.
16895         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16896         * math/Versions (libm): Add GLIBC_2.24.
16897         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16898         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16899         Add new test.
16900         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16901         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16902         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16903         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16904         (nextup_test_data): Likewise.
16905         (nextdown_test_data): Likewise.
16906         * math/s_nextdown.c: New file.
16907         * math/s_nextdownf.c: Likewise.
16908         * math/s_nextdownl.c: Likewise.
16909         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16910         F(nextup): New function.
16911         F(nextdown): Likewise.
16912         * math/tgmath.h: Add nextup and nextdown.
16913         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16914         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16917         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16919         Add nextup and nextdown.
16920         (CFLAGS-nldbl-nextup.c): New variable.
16921         (CFLAGS-nldbl-nextdown.c): Likewise.
16922         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16923         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16924         * sysdeps/nacl/libm.abilist: Update.
16925         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16926         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16927         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16928         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16929         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16930         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16931         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16932         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16933         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16934         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16935         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16936         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16939         Likewise.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16942         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16943         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16944         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16945         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16946         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16949         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16950         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16952         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16954 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16956         * manual/pattern.texi: Fix typos & grammar errors.
16958 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16960         * manual/search.texi: Fix typos & grammar errors.
16962 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16964         * manual/message.texi: Fix typos & grammar errors.
16966 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16968         * manual/contrib.texi: Fix spelling typos.
16969         * manual/crypt.texi: Likewise.
16970         * manual/filesys.texi: Likewise.
16971         * manual/locale.texi: Likewise.
16972         * manual/message.texi: Likewise.
16973         * manual/nss.texi: Likewise.
16974         * manual/string.texi: Likewise.
16976 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16978         * manual/locale.texi: Fix typos & grammar errors.
16980 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16982         * manual/charset.texi: Fix typos & grammar errors.
16984 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16986         * manual/string.texi: Fix typos.
16988 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16990         * manual/ctype.texi: Fix typos.
16992 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16994         * manual/memory.texi: Fix various typos & grammar errors.
16996 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16998         [BZ #20255]
16999         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17000         * math/libm-test.inc (fdim_test_data): Add another test.
17002         [BZ #6796]
17003         [BZ #20255]
17004         [BZ #20256]
17005         * math/s_fdim.c: Include <math_private.h>.
17006         (__fdim): Use math_narrow_eval on result.
17007         * math/s_fdimf.c: Include <math_private.h>.
17008         (__fdimf): Use math_narrow_eval on result.
17009         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17010         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17011         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17012         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17013         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17014         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17015         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17016         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17017         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17018         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17019         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17020         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17021         overflow.  Add sNaN tests.
17023         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17024         fpclassify.
17025         * math/s_fdimf.c (__fdimf): Likewise.
17026         * math/s_fdiml.c (__fdiml): Likewise.
17028 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17030         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17031         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17033         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17034         ifunc'ed strcasecmp/strncasecmp.
17035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17036         [EALIGN]: Removed.
17037         [END]: Likewise.
17038         [__strcasecmp]: Define instead of the above to control symbol name.
17039         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17040         for __strcasecmp_power8.
17041         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17042         for __strncasecmp_power8.
17043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17045         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17046         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17047         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17048         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17050 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17052         [BZ #20252]
17053         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17054         arguments when second argument is a NaN.
17055         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17056         qNaN tests.
17058         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17059         (conj_test_data): Likewise.
17060         (copysign_test_data): Likewise.
17061         (creal_test_data): Likewise.
17062         (fma_test_data): Likewise.
17063         (fmod_test_data): Likewise.
17065         [BZ #20250]
17066         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17067         itself.
17068         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17069         zero input to itself.
17070         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17071         Likewise.
17072         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17073         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17074         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17075         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17076         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17078 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17080         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17081         * nptl/tst-cancel4-common.c: New file.
17082         * nptl/tst-cancel4-common.h: Likewise.
17083         * nptl/tst-cancel4.c: Move common definitions to
17084         tst-cancel4-common.{c,h} file.
17085         * nptl/tst-cancel4_1.c: New test.
17086         * nptl/tst-cancel4_2.c: New test.
17088 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17090         [BZ #20248]
17091         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17092         (write_message): New function.
17093         (stackoverflow_handler): Call it instead of printf, to avoid
17094         excessive stack usage by printf.
17095         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17097 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17099         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17100         (prio_inherit_missing): Remove define.
17101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17102         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17103         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17104         Likewise.
17105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17106         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17107         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17108         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17109         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17110         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17112 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17114         [BZ #19670]
17115         [BZ #19672]
17117         * io/test-lfs.c (do_prepare): Use xmalloc.
17118         * io/tst-fcntl.c (do_prepare): Likewise.
17119         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17120         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17121         * login/tst-utmp.c (do_prepare): Likewise.
17122         * posix/tst-exec.c (do_prepare): Likewise.
17123         * posix/tst-pathconf.c (prepare): Likewise.
17124         * posix/tst-spawn.c (do_prepare): Likewise.
17125         * posix/tst-truncate.c (do_prepare): Likewise.
17126         * rt/tst-aio.c (do_prepare): Likewise.
17127         * rt/tst-aio64.c (do_prepare): Likewise.
17129 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17131         [BZ #20237]
17132         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17133         (get*ent): Set entidx to NULL during initialization.  If entidx is
17134         NULL, start iteration from the beginning.
17136 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17138         * malloc/malloc.c (musable): Return correct size for dumped fake
17139         mmapped chunk.
17141 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17143         [BZ #20222]
17144         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17145         (_IO_cookie_write): Likewise.
17146         (_IO_cookie_seek): Likewise.
17147         (_IO_cookie_close): Likewise.
17148         (_IO_old_cookie_seek): Likewise.
17149         (set_callbacks): New function.
17150         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17152 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17154         * locale/programs/localedef.c (oldstyle_tables): Remove.
17155         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17157 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17159         [BZ #20240]
17160         * math/Makefile (CFLAGS-s_modf.c): New variable.
17161         (CFLAGS-s_modff.c): Likewise.
17162         (CFLAGS-s_modfl.c): Likewise.
17163         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17165 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17167         [BZ #20215]
17168         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17169         [!__GNUC_PREREQ (3,2)]: Likewise.
17171 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17173         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17174         (msghdr.msg_controllen): Likewise.
17175         (cmsghdr.cmsg_len): Likewise.
17176         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17177         ptw-oldsendmsg.
17178         (CFLAGS-oldrecvmsg.c): Remove rule.
17179         (CFLAGS-oldsendmsg.c): Likewise.
17180         (CFLAGS-recvmsg.c): Add rule.
17181         (CFLAGS-sendmsg.c): Likewise.
17182         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17183         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17184         (CFLAGS-recvmsg.c): Remove rule.
17185         (CFLAGS-sendmsg.c): Likewise.
17186         (CFLAGS-oldrecvmsg.c): Likewise.
17187         (CFLAGS-oldsendmsg.c): Likewise.
17188         (CFLAGS-recvmmsg.c): Likewise.
17189         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17190         to kernel defined interfaces.
17191         (msghdr.msg_controllen): Likewise.
17192         (cmsghdr.cmsg_len): Likewise.
17193         (msghdr.__glibc_reserved1): Remove member.
17194         (msghdr.__glibc_reserved2): Likewise.
17195         (cmsghdr.__glibc_reserved1): Likewise.
17196         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17197         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17198         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17199         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17200         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17201         version.
17202         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17203         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17204         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17205         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17206         Remove recvmsg and sendmsg.
17207         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17208         Likewise.
17209         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17210         Likewise.
17211         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17212         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17213         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17214         Likewise.
17215         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17216         Likewise.
17217         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17218         [libc] (GLIBC_2.24): Likewise.
17219         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17220         Likewise.
17221         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17222         Likewise.
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17224         [libc] (GLIBC_2.24): Likewise.
17225         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17226         Likewise.
17227         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17228         Likewise.
17229         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17230         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17231         Likewise.
17232         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17233         Likewise.
17234         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17235         Likewise.
17236         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17237         Likewise.
17238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17239         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17240         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17241         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17242         version for {recv,send,recm,sendm}msg.
17243         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17244         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17245         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17246         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17247         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17248         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17249         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17250         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17252         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17253         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17254         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17256         Likewise.
17257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17258         Likewise.
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17262         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17263         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17264         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17265         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17266         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17269         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17270         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17271         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17273 2016-06-10  Florian Weimer  <fweimer@redhat.com>
17275         [BZ #19564]
17276         Remove __malloc_initialize_hook from the API.
17277         * malloc/malloc.h (__malloc_initialize_hook): Remove.
17278         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17279         #pragma GCC poison.
17280         * malloc/malloc-hooks.h: New file.
17281         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17282         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17283         (old__malloc_initialize_hook): Rename from
17284         __malloc_initialize_hook to evade poisoning.  Turn into compat
17285         symbol.
17286         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17287         __malloc_initialize_hook.
17288         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17289         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17290         * manual/memory.texi (Hooks for Malloc): Remove
17291         __malloc_initialize_hook.  Adjust hook example.
17293 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
17295         [BZ #20235]
17296         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17297         itself.
17298         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17299         * math/libm-test.inc (log2_test_data): Add sNaN tests.
17301         [BZ #20234]
17302         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17303         infinity or NaN input to itself.
17305         [BZ #20233]
17306         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17307         to itself.
17309         [BZ #20232]
17310         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17311         itself.
17313 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17315         * sysdeps/x86_64/start.S (_start): Always indirect branch to
17316         __libc_start_main via GOT.
17318 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17320         * sysdeps/x86_64/memcopy.h: New file.
17321         * sysdeps/x86_64/wordcopy.c: Likewise.
17323 2016-06-09  Florian Weimer  <fweimer@redhat.com>
17325         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17326         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17327         <cstdlib>.
17328         (optimization_barrier): New.
17329         (do_test): Use it.  Call quick_exit in the global namespace.
17330         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17331         instead of <cstdlib>, <thread>.
17332         (optimization_barrier): New.
17333         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17334         Call quick_exit in the global namespace.
17335         (do_test): Call optimization_barrier.  Use pthread_create,
17336         pthread_join instead of std::thread.
17338 2016-06-09  Andreas Schwab  <schwab@suse.de>
17340         [BZ #19755]
17341         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17342         new entries in auto-propagate mode.
17343         * nscd/grpcache.c (cache_addgr): Likewise.
17345 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17347         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17348         New functions.
17349         (add_temp_file): Use them.
17351 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
17353         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17355 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
17357         [BZ #20229]
17358         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17359         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17360         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17362         [BZ #20228]
17363         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17364         itself.
17365         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17366         * math/libm-test.inc (log10_test_data): Add sNaN tests.
17368         [BZ #20227]
17369         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17370         itself.
17371         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17372         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17373         * math/libm-test.inc (log_test_data): Add sNaN tests.
17375         [BZ #20226]
17376         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17377         itself.
17378         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17379         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17380         (exp10_test_data): Likewise.
17381         (expm1_test_data): Likewise.
17383         [BZ #20225]
17384         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17385         itself.
17386         * math/s_ldexpf.c (__ldexpf): Likewise.
17387         * math/s_ldexpl.c (__ldexpl): Likewise.
17388         * math/w_scalbln.c (__w_scalbln): Likewise.
17389         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17390         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17391         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17392         (scalbln_test_data): Likewise.
17394         [BZ #20224]
17395         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17396         argument to itself.
17397         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17399 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17401         [BZ #19776]
17402         * sysdeps/x86_64/memcpy.S: Make it dummy.
17403         * sysdeps/x86_64/mempcpy.S: Likewise.
17404         * sysdeps/x86_64/memmove.S: New file.
17405         * sysdeps/x86_64/memmove_chk.S: Likewise.
17406         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17407         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17408         * sysdeps/x86_64/memmove.c: Removed.
17409         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17410         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17411         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17412         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17413         Likewise.
17414         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17415         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17417         memcpy-sse2-unaligned, memmove-avx-unaligned,
17418         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17420         (__libc_ifunc_impl_list): Replace
17421         __memmove_chk_avx512_unaligned_2 with
17422         __memmove_chk_avx512_unaligned.  Remove
17423         __memmove_chk_avx_unaligned_2.  Replace
17424         __memmove_chk_sse2_unaligned_2 with
17425         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17426         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17427         with __memmove_avx512_unaligned.  Replace
17428         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17429         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17430         with __memcpy_chk_avx512_unaligned.  Remove
17431         __memcpy_chk_avx_unaligned_2.  Replace
17432         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17433         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17434         Replace __memcpy_avx512_unaligned_2 with
17435         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17436         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17437         with __mempcpy_chk_avx512_unaligned.  Remove
17438         __mempcpy_chk_avx_unaligned_2.  Replace
17439         __mempcpy_chk_sse2_unaligned_2 with
17440         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17441         Replace __mempcpy_avx512_unaligned_2 with
17442         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17443         Replace __mempcpy_sse2_unaligned_2 with
17444         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17445         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17446         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17447         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17448         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17449         (ENTRY): Removed.
17450         (END): Likewise.
17451         (ENTRY_CHK): Likewise.
17452         (libc_hidden_builtin_def): Likewise.
17453         Don't include ../memcpy.S.
17454         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17455         __memcpy_chk_avx512_unaligned_erms and
17456         __memcpy_chk_avx512_unaligned.  Use
17457         __memcpy_chk_avx_unaligned_erms and
17458         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17459         Default to __memcpy_chk_sse2_unaligned.
17460         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17461         Change function suffix from unaligned_2 to unaligned.
17462         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17463         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17464         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17465         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17466         (ENTRY): Removed.
17467         (END): Likewise.
17468         (ENTRY_CHK): Likewise.
17469         (libc_hidden_builtin_def): Likewise.
17470         Don't include ../mempcpy.S.
17471         (mempcpy): New.  Add a weak alias.
17472         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17473         __mempcpy_chk_avx512_unaligned_erms and
17474         __mempcpy_chk_avx512_unaligned.  Use
17475         __mempcpy_chk_avx_unaligned_erms and
17476         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17477         Default to __mempcpy_chk_sse2_unaligned.
17479 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17481         [BZ #19881]
17482         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17483         into ...
17484         * sysdeps/x86_64/memset.S: This.
17485         (__bzero): Removed.
17486         (__memset_tail): Likewise.
17487         (__memset_chk): Likewise.
17488         (memset): Likewise.
17489         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17490         defined.
17491         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17492         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17493         (__memset_zero_constant_len_parameter): Check SHARED instead of
17494         PIC.
17495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17496         memset-avx2 and memset-sse2-unaligned-erms.
17497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17498         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17499         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17500         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17501         (__bzero): Enabled.
17502         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17503         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17504         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17505         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17506         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17507         (memset): Removed.
17508         (__memset_chk): Likewise.
17509         (MEMSET_SYMBOL): New.
17510         (libc_hidden_builtin_def): Replace __memset_sse2 with
17511         __memset_sse2_unaligned.
17512         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17513         __memset_chk_sse2 and __memset_chk_avx2 with
17514         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17515         Use __memset_chk_sse2_unaligned_erms or
17516         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17517         __memset_chk_avx512_unaligned_erms and
17518         __memset_chk_avx512_unaligned.
17520 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17522         * math/gen-auto-libm-test.c (fp_format_desc): remove
17523         suffix member.
17524         (output_generic_value): Remove usage of suffix member,
17525         and the resulting unuse of the fp_format argument.
17526         (output_for_one_input_case): Remove unused fp_format
17527         parameter.
17529         * math/auto-libm-test-out: Regenerate.
17531         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17532         usage with TEST_COND_ibm128.
17533         (TEST_COND_flt_32): Remove.
17534         (TEST_COND_dbl_64): Remove.
17535         (TEST_COND_ldbl_96_intel): Remove.
17536         (TEST_COND_ldbl_96_m68k): Remove.
17537         (TEST_COND_ldbl_128): Remove.
17539 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17541         * auto-libm-test-in:
17542         Replace flt-32 usage with binary32.
17543         Replace dbl-64 usage with binary64.
17544         Replace ldbl-intel-96 usage with intel96.
17545         Replace ldbl-m68k-96 usage with m68k96.
17546         Replace ldbl-128ibm usage with ibm128.
17547         Replace ldbl-128 usage with binary128.
17549         * auto-libm-test-out: Regenerate.
17551 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17553         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17554         (parse_ulps): Dynamically generate type name matching
17555         string from all_floats.
17556         (get_ulps): Generate the ulps as an array instead.
17557         (output_ulps): Dynamically compose the type based
17558         on the number of supported formats, and print
17559         the indices as type specific helper macros.
17561         * math/libm-test.inc: Remove comment about CHOOSE.
17562         (ulp_data): Generate the type in libm-test-ulps.h.
17563         (ULP_IDX): New macro.
17564         (find_ulps): Update usage of max_ulp.
17566         * math/test-double-vlen2.h (CHOOSE): Remove.
17567         * math/test-double-vlen4.h (CHOOSE): Likewise.
17568         * math/test-double-vlen8.h (CHOOSE): Likewise.
17569         * math/test-float.c (CHOOSE): Likewise.
17570         * math/test-float-finite.c (CHOOSE): Likewise.
17571         * math/test-double.c (CHOOSE): Likewise.
17572         * math/test-double-finite.c (CHOOSE): Likewise.
17573         * math/test-idouble.c (CHOOSE): Likewise.
17574         * math/test-ifloat.c (CHOOSE): Likewise.
17575         * math/test-ildoubl.c (CHOOSE): Likewise.
17576         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17577         * math/test-ldouble.c (CHOOSE): Likewise.
17579         * math/test-float.h (TEST_FLOAT): Remove.
17580         * math/test-double.h (TEST_DOUBLE): Likewise.
17581         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17583 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17585         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17586         (parse_args): Strip C suffix from floating point literals
17587         typed with 'f' and wrap them with LIT().
17589         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17590         (test_ff_f_data_nexttoward): Rename to
17591         (test_fj_f_data): New struct.
17592         (nexttoward_test_data): Relabel tests as
17593         TEST_fj_f instead of TEST_ff_f.
17595 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17597         Emacs bug 23726.
17598         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17599         (__libc_realloc): Correct size computation for dumped fake mmapped
17600         chunks.
17602 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17604         [BZ #20219]
17605         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17606         to itself.
17607         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17609         [BZ #20218]
17610         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17611         to itself.
17612         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17614 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17616         [BZ #20195]
17617         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17618         check to ...
17619         (init_cpu_features): Here.
17621 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17623         [BZ #20214]
17624         * sysdeps/unix/sysv/linux/bits/in.h
17625         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17626          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17627         Define to 1.
17628         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17629          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17630         Define to 0.
17631         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17632         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17634 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17636         [BZ #20198]
17637         * stdlib/Makefile (tests): Add tst-quick_exit, and
17638         tst-thread-quick_exit.
17639         [ifeq ($(have-cxx-thread_local),yes)]
17640         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17641         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17642         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17643         (LDLIBS-tst-thread-quick_exit): Likewise.
17644         [ifneq ($(have-cxx-thread_local),yes)]
17645         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17646         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17647         If run_dtors is true call __call_tls_dtors.
17648         (exit): Call __run_exit_handlers with run_dtors set to true.
17649         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17650         definition.
17651         * stdlib/quick_exit.c (quick_exit): Remove function.
17652         (__new_quick_exit): New function.
17653         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17654         function.
17655         * stdlib/tst-quick_exit.cc: New file.
17656         * stdlib/tst-thread-quick_exit.cc: New file.
17657         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17658         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17659         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17660         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17661         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17662         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17663         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17664         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17666         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17667         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17668         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17669         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17670         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17671         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17672         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17677         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17678         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17679         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17680         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17681         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17684         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17685         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17686         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17688 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17690         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17691         a typo in comments.
17693 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17695         [BZ #20213]
17696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17697         argument to itself.
17698         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17700 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17702         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17703         required flags.
17704         (CFLAGS-pwritev64.c): Likewise.
17705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17707         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17708         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17709         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17710         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17711         syscall from auto-generation.
17712         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17713         [WORDSIZE == 64] (pwritev64): Remove macro.
17714         [!PWRITEV] (PWRITEV): Likewise.
17715         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17716         [!PWRITEV] (PWRITE): Likewise.
17717         [!PWRITEV] (OFF_T): Likewise.
17718         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17719         (LO_HI_LONG): Remove macro.
17720         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17721         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17722         (PWRITEV): Remove macro.
17723         (PWRITEV_REPLACEMENTE): Likewise.
17724         (PWRITE): Likewise.
17725         (OFF_T): Likewise.
17726         (pwritev64): New function.
17727         * nptl/tst-cancel4.c (tf_writev): Add test.
17729         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17730         required flags.
17731         (CFLAGS-preadv64.c): Likewise.
17732         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17733         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17734         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17735         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17736         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17737         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17738         syscall from auto-generation.
17739         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17740         [WORDSIZE == 64] (preadv64): Remove macro.
17741         [!PREADV] (PREADV): Likewise.
17742         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17743         [!PREADV] (PREAD): Likewise.
17744         [!PREADV] (OFF_T): Likewise.
17745         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17746         (LO_HI_LONG): Remove macro.
17747         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17748         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17749         (PREADV): Remove macro.
17750         (PREADV_REPLACEMENTE): Likewise.
17751         (PREAD): Likewise.
17752         (OFF_T): Likewise.
17753         (preadv64): New function.
17754         * nptl/tst-cancel4.c (tf_preadv): Add test.
17756 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17758         [BZ #20212]
17759         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17760         argument to itself.
17761         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17763 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17765         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17766         New symbol defined as libc_hidden_def.
17767         (strcasestr): Became a weak alias to __strcasestr.
17768         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17769         according to multi-arch support.  Move __stpncpy hidden
17770         definition from here to...
17771         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17772         symbol stpncpy.
17773         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17774         libc_hidden_builtin_def.
17775         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17776         memset symbol to use when multi-arch support is available.
17778 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17780         * dlfcn/tst-rec-dlopen.c: Include string.h.
17782 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17784         * manual/install.texi: Remove mention of --without-tls
17785         * INSTALL: Regenerate.
17787 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17789         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17790         Remove.
17791         (call_function, interposed_malloc_called): New variables.
17792         (malloc): New function.
17793         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17794         and clear call_function as needed.
17796 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17798         * include/wchar.h (__wmemset): Use __typeof.
17800 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17802         * include/wchar.h (__wmemset): Declare function without typeof.
17804 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #20205]
17807         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17808         exponent when incrementing negative subnormal with low mantissa
17809         word zero.
17810         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17811         Add another test.
17813 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17815         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17816         __wmemset instead of wmemset.
17818 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17820         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17821         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17822         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17823         __USE_KERNEL_IPV6_DEFS to 0.
17824         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17825         Update comment.
17827 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17829         [BZ #19861]
17830         Do not use IFUNC resolver with potentially unrelocated symbol.
17831         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17832         (DEFINE_FORK): Remove macro and inline definition.
17833         (fork_alias): Renamed from fork_ifunc.
17834         (__fork_alias): Renamed from __fork_ifunc.
17836 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17838         [BZ 19653]
17839         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17840         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17842 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17844         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17845         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17846         i386-linux-gnu).
17847         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17848         Set to no.
17849         * sysdeps/mach/hurd/configure: Refresh.
17851 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17853         [BZ #20178]
17854         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17855         on failure instead of exit.
17857 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17859         [BZ #3629]
17860         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17861         of POSIX.1-2008.
17863 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17865         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17866           Use PLT entry for calling _hurd_self_sigstate.
17868 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17870         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17871         available logical processors with SMT level type sharing L2
17872         cache for Intel processors.
17874 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17876         [BZ #20160]
17877         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17878         argument to itself before returning the result.
17879         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17880         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17883         Likewise.
17884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17885         Likewise.
17886         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17887         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17888         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17889         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17890         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17891         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17893         [BZ #20160]
17894         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17895         argument to itself before returning the result.
17896         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17897         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17898         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17899         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17900         Likewise.
17901         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17902         Likewise.
17903         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17904         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17905         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17906         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17907         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17908         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17910 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17912         * libm-test.inc: Replace usage of M_El with
17913         (lit_e): New macro.
17915 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17917         * libm-test.inc: Replace usage of M_PI_4l with
17918         (lit_pi_4_d): New macro.
17920 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17922         * libm-test.inc: Replace usage of M_PIl with
17923         (lit_pi): New macro.
17925 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17927         * libm-test.inc: Replace usage of M_PI2l with
17928         (lit_pi_2_d): New macro.
17930         * math/test-double.h (LITM): New macro.
17931         * math/test-float.h (LITM): Likewise.
17932         * math/test-ldouble.h (LITM): Likewise.
17934 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17936         * libm-test.inc (M_PI_34l): Rename to
17937         (lit_pi_3_m_4_d): New Macro.
17938         (M_PI_34_LOG10El): Rename to
17939         (lit_pi_3_m_4_ln10_m_d): New Macro.
17940         (M_PI2_LOG10El): Rename to
17941         (lit_pi_2_ln10_m_d):  New Macro.
17942         (M_PI4_LOG10El): Rename to
17943         (lit_pi_4_ln10_m_d):  New Macro.
17944         (M_PI_LOG10El): Rename to
17945         (lit_pi_ln10_d):  New Macro.
17947 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17949         [BZ #20157]
17950         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17951         determine whether to negate low half if [_ARCH_PPCGR], and integer
17952         comparison otherwise.
17953         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17954         determine whether to negate low half.
17956         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17957         (NO_TEST_INLINE_DOUBLE): Likewise.
17958         (TEST_COND_x86_64): Likewise.
17959         (TEST_COND_x86): Likewise.
17960         (M_PI_6l): Likewise.
17962 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17964         * math/libm-test.inc:
17965         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17966         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17967         (TEST_LDOUBLE): Update usage to evaluate as true if
17968         the guarded tests match the property being tested.
17969         (LDBL_MAX_EXP): Change to MAX_EXP.
17970         (LDBL_MIN_EXP): Change to MIN_EXP.
17971         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17972         nexttoward tests.
17974 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17976         * math/libm-test.inc:
17977         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17978         (TYPE_MIN): Likewise.
17979         (TYPE_TRUE_MIN): Likewise.
17980         (TYPE_MAX): Likewise.
17981         (MIN_EXP): Likewise.
17982         (MAX_EXP): Likewise.
17983         (MANT_DIG): Likewise.
17985         (FSTR_MAX): New macro.
17986         (__CONCATX): Likewise.
17987         (QTYPE_STR): Likewise.
17988         (TEST_COND_binary32): Likewise.
17989         (TEST_COND_binary64): Likewise.
17990         (TEST_COND_binary128): Likewise.
17991         (TEST_COND_ibm128): Likewise.
17992         (TEST_COND_intel96): Likewise.
17993         (TEST_COND_m68k96): Likewise.
17995         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17996         (TEST_COND_dbl_64): Likewise.
17997         (TEST_COND_ldbl_96_intel): Likewise.
17998         (TEST_COND_ldbl_96_m68k): Likewise.
17999         (TEST_COND_ldbl_128): Likewise.
18000         (TEST_COND_ldbl_128ibm): Likewise.
18002         (plus_zero): Redefine using LIT macro.
18003         (minus_zero): Likewise.
18004         (plus_infty): Redefine as (INF).
18005         (minux_infty): Redefine as (-INF).
18006         (max_value): Redefine as TYPE_MAX.
18007         (min_value): Redefine as TYPE_MIN.
18008         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18010         (print_float): Refactor to use snprintf to convert FLOAT values
18011         to string. This brings it closer to dropin replacement of strtof
18012         for the TS 18661 defined types.
18013         (update_stats): Likewise.
18014         (print_complex_function_ulps): Likewise.
18015         (print_max_error): Likewise.
18016         (print_complex_max_error): Likewise.
18017         (check_float_internal): Likewise.
18019         * math/test-float.h (PREFIX): New macro.
18020         (LIT): Likewise.
18021         (TYPE_STR): Likewise.
18022         (FTOSTR): Likewise.
18024         * math/test-double.h (PREFIX): New macro.
18025         (LIT): Likewise.
18026         (TYPE_STR): Likewise.
18027         (FTOSTR): Likewise.
18029         * math/test-ldouble.h (PREFIX): New macro.
18030         (LIT): Likewise.
18031         (TYPE_STR): Likewise.
18032         (FTOSTR): Likewise.
18034 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18036         [BZ #20156]
18037         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18038         to itself when zero or not finite.
18039         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18040         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18041         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18042         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18044 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #20153]
18047         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18048         x * x + x for infinities and NaNs.
18050         [BZ #20151]
18051         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18052         argument to itself before returning result.
18053         (__ieee754_y0l): Likewise.
18054         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18055         (__ieee754_y1l).
18057         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18058         (atan_test_data): Likewise.
18059         (ceil_test_data): Likewise.
18060         (cos_test_data): Likewise.
18061         (cosh_test_data): Likewise.
18062         (erf_test_data): Likewise.
18063         (exp2_test_data): Likewise.
18064         (fabs_test_data): Likewise.
18065         (floor_test_data): Likewise.
18066         (ilogb_test_data): Likewise.
18067         (j0_test_data): Likewise.
18068         (j1_test_data): Likewise.
18069         (jn_test_data): Likewise.
18070         (lgamma_test_data): Likewise.
18071         (lrint_test_data): Likewise.
18072         (llrint_test_data): Likewise.
18073         (logb_test_data): Likewise.
18074         (lround_test_data): Likewise.
18075         (llround_test_data): Likewise.
18076         (nearbyint_test_data): Likewise.
18077         (rint_test_data): Likewise.
18078         (round_test_data): Likewise.
18079         (sin_test_data): Likewise.
18080         (sincos_test_data): Likewise.
18081         (sinh_test_data): Likewise.
18082         (sqrt_test_data): Likewise.
18083         (tan_test_data): Likewise.
18084         (tanh_test_data): Likewise.
18085         (tgamma_test_data): Likewise.
18086         (trunc_test_data): Likewise.
18087         (y0_test_data): Likewise.
18088         (y1_test_data): Likewise.
18089         (yn_test_data): Likewise.
18091         * math/libm-test.inc: Update comment about NaN testing.
18092         (TEST_SNAN): New macro.
18093         (snan_value): Likewise.
18094         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18095         (fpclassify_test_data): Add sNaN tests.
18096         (isfinite_test_data): Likewise.
18097         (isinf_test_data): Likewise.
18098         (isnan_test_data): Likewise.
18099         (isnormal_test_data): Likewise.
18100         (issignaling_test_data): Likewise.
18101         (signbit_test_data): Likewise.
18102         * math/gen-libm-test.pl (%beautify): Add snan_value.
18103         (show_exceptions): Add argument $test_snan.
18104         (parse_args): Handle snan_value as non-finite.  Update call to
18105         show_exceptions.
18106         * math/Makefile (libm-test-no-inline-cflags): Add
18107         -fsignaling-nans.
18109 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18111         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18112         (CFLAGS-oldsendmsg.c): Add rule.
18113         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18114         Correct recvmsg symbol name.
18115         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18116         Likewise.
18118 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18120         * sysdeps/unix/sysv/linux/Makefile
18121         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18122         oldsendmmsg.
18123         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18124         sendmmsg.
18125         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18126         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18127         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18128         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18130         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18131         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18133         Likewise.
18134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18135         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18136         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18137         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18138         iovlen and controllen fields to adjust to POSIX specification.
18139         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18141         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18142         and change to correct expected type.
18143         (msghdr.msg_controllen): Likewise.
18144         (cmsghdr.cmsg_len): Likewise.
18145         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18146         expected POSIX assumption about the size.
18147         (msghdr.msg_controllen): Likewise.
18148         (msghdr.__glibc_reserved1): Likewise.
18149         (msghdr.__glibc_reserved2): Likewise.
18150         (cmsghdr.cmsg_len): Likewise.
18151         (cmsghdr.__glibc_reserved1): Likewise.
18152         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18153         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18154         (CFLAGS-sendmsg.c): Remove rule.
18155         (CFLAGS-recvmsg.c): Likewise.
18156         (CFLAGS-oldsendmsg.c): Add rule.
18157         (CFLAGS-oldrecvmsg.c): Likewise.
18158         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18159         recvmsg and sendmsg.
18160         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18161         Likewise.
18162         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18163         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18164         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18165         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18166         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18167         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18168         Likewise.
18169         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18170         Likewise.
18171         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18174         Likewise.
18175         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18176         Likewise.
18177         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18178         Likewise.
18179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18180         (GLIBC_2.24): Likewise.
18181         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18182         Likewise.
18183         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18184         Likewise.
18185         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18186         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18187         Likewise.
18188         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18189         Likewise.
18190         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18191         Likewise.
18192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18193         (GLIBC_2.24): Likewise.
18194         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18195         Likewise.
18196         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18197         Likewise.
18198         * sysdeps/unix/sysv/linux/Makefile
18199         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18200         (CFLAGS-sendmsg.c): Add rule.
18201         (CFLAGS-recvmsg.c): Likewise.
18202         (CFLAGS-oldsendmsg.c): Likewise.
18203         (CFLAGS-oldrecvmsg.c): Likewise.
18204         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18205         initialization.
18206         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18207         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18208         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18209         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18210         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18211         iovlen and controllen fields to adjust to POSIX specification.
18212         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18213         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18214         added recvmsg and sendmsg.
18215         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18216         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18217         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18218         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18219         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18220         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18221         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18222         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18223         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18224         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18225         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18226         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18228         Likewise.
18229         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18231         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18232         Likewise.
18233         Likewise.
18234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18236         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18239         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18241         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18243         Likewise.
18244         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18245         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18247         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18248         from auto-generation.
18249         (sendmsg): Likewise.
18250         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18251         (sendmsg): Likewise.
18252         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18253         (sendmsg): Likewise.
18254         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18255         (sendmsg): Likewise.
18256         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18257         (sendmsg): Likewise.
18258         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18259         (sendmsg): Likewise.
18260         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18261         Likewise.
18262         (sendmsg): Likewise.
18263         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18264         (sendmsg): Likewise.
18265         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18267         Remove.
18268         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18269         Likewise.
18270         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18271         Undefine.
18272         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18273         Likewise.
18274         * sysdeps/unix/sysv/linux/kernel-features.h
18275         (__ASSUME_SENDMSG_SYSCALL): Define.
18276         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18277         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18279         Remove.
18280         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18281         Likewise.
18282         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18283         Undefine.
18284         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18285         Likewise.
18286         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18288         Remove.
18289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18290         Likewise.
18291         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18292         Undefine.
18293         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18294         Likewise.
18295         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18296         (__ASSUME_SENDMSG_SYSCALL): Undefine.
18297         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18298         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18299         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18300         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18301         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18302         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18303         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18305 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18307         * stdlib/gen-tst-strtod-round.c: Add backslash to
18308         compile command in comment.
18309         (printfp): Remove the literal suffix, and define an infinite
18310         value as INF to avoid expansion clash with INFINITY.
18311         (round_str): Remove the literal suffix.
18312         (round_for_all): Likewise, remove the now duplicate ldbl-64
18313         entry, and remove some magic constants.
18315         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18316         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
18317         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18318         (_CONCAT): New macro.
18319         (CONCAT): Likewise.
18320         (CHOOSE_ld): Likewise.
18321         (CHOOSE_f): Likewise.
18322         (CHOOSE_d): Likewise.
18323         (FTYPE_MEMBER): Likewise.
18324         (BOOL_MEMBER): Likewise.
18325         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18326         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18327         (_XNTRY): Likewise.
18328         (XNTRY): Likewise.
18329         (_ENTRY): Likewise.
18330         (ENTRY): Likewise.
18331         (test_exactness): Generate members via macro.
18332         (test_results): Likewise.
18333         (test): Update members.
18334         (TEST): Redefine using new macros.
18335         (INF): New macro.
18336         (fetestmodes): New structure.
18337         (do_test): Refactor to be type generic.
18338         (test_in_one_mode): Refactor duplicate code into
18339         (GEN_ONE_TEST): New macro.
18341         * stdlib/tst-strtod-round-data.h: Regenerate.
18343         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18344         Extend to pass additional arbitrary parameters to
18345         generators.
18347 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
18349         [BZ #15479]
18350         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18351         floating-point state after first floating-point operation on
18352         input.  Restore full floating-point state instead of just rounding
18353         mode.
18354         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18355         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18356         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18357         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18358         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18360         [BZ #15479]
18361         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18362         floating-point state after first floating-point operation on
18363         input.  Restore full floating-point state instead of just rounding
18364         mode.
18365         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18366         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18367         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18368         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18369         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18371 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18373         [BZ #19727]
18374         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18375         valid high surrogate.
18376         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18377         of an utf16 surrogate.
18378         * iconv/gconv_simple.c (BODY): Likewise.
18379         * iconvdata/bug-iconv12.c: New file.
18380         * iconvdata/Makefile (tests): Add bug-iconv12.
18382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18384         [BZ #19726]
18385         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18386         outptrp in case of an illegal input.
18387         * iconv/tst-iconv6.c: New file.
18388         * iconv/Makefile (tests): Add tst-iconv6.
18390 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18392         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18393         an error in case of a value in range of an utf16 low surrogate.
18395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18397         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18398         an error in case of a value in range of an utf16 low surrogate.
18400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18402         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18403         Move to ...
18404         * sysdeps/s390/Makefile: ... here.
18405         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18406         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18407         (BRANCH_ON_COUNT): New define.
18408         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18409         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18410         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18411         run on s390-32, too.
18412         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18413         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18414         run on s390-32, too.
18415         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18416         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18417         run on s390-32, too.
18419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18421         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18422         etf3eh or new vector loop-variant.
18424 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18426         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18427         etf3eh or new vector loop-variant.
18429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18431         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18432         or new vector loop-variant.
18434 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18436         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18437         Rename to TR_LOOP and usage of tr instead of troo instruction.
18439 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18441         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18442         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18446         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18447         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18448         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18449         New override define.
18450         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18452 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18454         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18455         * sysdeps/s390/configure.ac: Add test for S390 vector register
18456         support in gcc.
18457         * sysdeps/s390/configure: Regenerated.
18459 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18461         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18462         Install file from $(objpfx)gconv-modules.
18463         ($(objpfx)gconv-modules): Concatenate architecture specific file
18464         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18465         * sysdeps/s390/gconv-modules: New file.
18466         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18467         Deleted.
18468         ($(objpfx)gconv-modules-s390): Deleted.
18469         (sysdeps-gconv-modules): New variable.
18471 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18473         [BZ #15479]
18474         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18475         of immediate operand to rounding instruction.
18476         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18477         Likewise.
18478         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18479         Likewise.
18480         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18481         Likewise.
18483 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18485         * math/libm-test.inc (MIN_EXP): Directly define as
18486         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18488 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18490         * math/libm-test.inc (MANT_DIG): Directly define as
18491         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18493 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18495         * stdlib/gen-tst-strtod-round.c (main):
18496           Change usage to more closely match the generated
18497           output.  Add usage and compilation instructions.
18498           (string_to_fp): Add and use FILE* parameter as
18499           output target.
18500           (print_fp): Likewise.
18501           (round_str): Likewise.
18502           (round_for_all): Likewise.
18503         * stdlib/tst-strtod-round.c (tests): Move into
18504         * stdlib/tst-strtod-round-data.h: New file.
18506 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18508         [BZ #15479]
18509         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18510         (__round): Do not force "inexact" exception.
18511         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18512         variable.
18513         (__round): Do not force "inexact" exception.
18514         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18515         (__roundf): Do not force "inexact" exception.
18516         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18517         (__roundl): Do not force "inexact" exception.
18518         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18519         (__roundl): Do not force "inexact" exception.
18520         * math/libm-test.inc (round_test_data): Do not allow spurious
18521         "inexact" exceptions.
18523         [BZ #15479]
18524         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18525         exception in comment.
18526         (huge): Remove variable.
18527         (__floor): Do not force "inexact" exception.
18528         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18529         "inexact" exception in comment.
18530         (huge): Remove variable.
18531         (__floor): Do not force "inexact" exception.
18532         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18533         exception in comment.
18534         (huge): Remove variable.
18535         (__floorf): Do not force "inexact" exception.
18536         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18537         exception in comment.
18538         (huge): Remove variable.
18539         (__floorl): Do not force "inexact" exception.
18541         [BZ #15479]
18542         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18543         exception in comment.
18544         (huge): Remove variable.
18545         (__ceil): Do not force "inexact" exception.
18546         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18547         "inexact" exception in comment.
18548         (huge): Remove variable.
18549         (__ceil): Do not force "inexact" exception.
18550         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18551         (__ceilf): Do not force "inexact" exception.
18552         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18553         exception in comment.
18554         (huge): Remove variable.
18555         (__ceill): Do not force "inexact" exception.
18557 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18559         * config.h.in (BIND_NOW): New.
18560         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18561         * configure: Regenerated.
18562         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18563         indirect branch via the GOT slot.
18565 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18567         [BZ #19765]
18568         * sysdeps/s390/mempcpy.S: New File.
18569         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18570         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18571         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18572         Add mempcpy variants.
18573         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18574         (memcpy): Adjust to be usable from mempcpy entry point.
18575         (__memcpy_mvcle): Likewise.
18576         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18577         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18578         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18579         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18580         (__memcpy_z10): Likewise.
18581         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18583 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18585         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18586         Remove __GI_ symbol.
18587         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18588         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18589         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18590         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18591         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18592         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18594 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18596         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18597         Use cghi instead of chi to compare 64bit value.
18599 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18601         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18602         Jump to 1MB check before executing mvc-loop.
18604 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18606         [BZ #6527]
18607         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18608         unconditionally.
18609         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18611 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18613         * stdlib/tst-strtod6.c (do_test): Use new type generic
18614         invocation of the test function.
18615         (test): Refactor into ...
18616         (TEST_STRTOD): New macro base function.
18618 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18620         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18621         (TEST_STRTOD): New macro.
18622         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18624 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18626         * stdlib/tst-strtod6.c (do_test): Use new type generic
18627         invocation of the test function.
18628         (test): Refactor into ...
18629         (TEST_STRTOD): New macro base function.
18631 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18633         CVE-2016-4429
18634         [BZ #20112]
18635         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18636         payload.
18638 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18640         [BZ #20111]
18641         * bits/sockaddr.h (_SS_SIZE): Define.
18642         * bits/socket.h (_SS_SIZE): Remove.
18643         (_SS_PADSIZE): Adjust to account for all padding.
18644         (struct sockaddr_storage): Update comment.  Avoid implicit
18645         padding.
18646         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18647         (_SS_PADSIZE): Adjust to account for all padding.
18648         (struct sockaddr_storage): Update comment.  Avoid implicit
18649         padding.
18650         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18651         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18652         (_SS_PADSIZE): Adjust to account for all padding.
18653         (struct sockaddr_storage): Update comment.  Avoid implicit
18654         padding.
18655         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18656         __SS_SIZE is 126 in this version.
18657         * inet/tst-sockaddr.c: New file.
18658         * inet/Makefile (tests): Add tst-sockaddr.c
18659         (tst-sockaddr.c): Compile with non-strict aliasing.
18661 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18663         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18664         [XPG3 || XPG4].
18665         (NL_ARGMAX): Also expect for [XPG3].
18666         (NL_LANGMAX): Likewise.
18667         (NL_MSGMAX): Likewise.
18668         (NL_NMAX): Likewise.
18669         (NL_SETMAX): Likewise.
18670         (NL_TEXTMAX): Likewise.
18671         (NZERO): Likewise.
18672         (TMP_MAX): Likewise.
18673         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18674         variable.
18676         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18677         (PF_MAX): Update value.
18678         (AF_KCM): New macro.
18679         (SOL_NETBEUI): Likewise.
18680         (SOL_LLC): Likewise.
18681         (SOL_DCCP): Likewise.
18682         (SOL_NETLINK): Likewise.
18683         (SOL_TIPC): Likewise.
18684         (SOL_RXRPC): Likewise.
18685         (SOL_PPPOL2TP): Likewise.
18686         (SOL_BLUETOOTH): Likewise.
18687         (SOL_PNPIPE): Likewise.
18688         (SOL_RDS): Likewise.
18689         (SOL_IUCV): Likewise.
18690         (SOL_CAIF): Likewise.
18691         (SOL_ALG): Likewise.
18692         (SOL_NFC): Likewise.
18693         (SOL_KCM): Likewise.
18694         (MSG_BATCH): New enum value and macro.
18696 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18698         [BZ #18185]
18699         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18700         sharing L2 cache to 2 for Knights Landing.
18702 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18704         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18705         (FTW_DP): Do not expect for [XPG3 || XPG4].
18706         (FTW_SL): Do not expect for [XPG3].
18707         (FTW_SLN): Likewise.
18708         (FTW_PHYS): Likewise.
18709         (FTW_MOUNT): Likewise.
18710         (FTW_DEPTH): Likewise.
18711         (FTW_CHDIR): Likewise.
18712         (nftw): Likewise.
18713         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18714         variable.
18716 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18718         * manual/errno.texi: Fix various typos & grammar errors.
18720 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18722         * manual/intro.texi: Fix duplicated typo.
18724 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18726         [BZ #13304]
18727         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18728         <float.h>, <math_private.h> and <stdlib.h>.
18729         (add_split): New function.
18730         (mul_split): Likewise.
18731         (ext_val): New typedef.
18732         (store_ext_val): New function.
18733         (mul_ext_val): New function.
18734         (compare): New function.
18735         (add_split_ext): New function.
18736         (__fmal): After checking for Inf, NaN and zero, compute result as
18737         an exact sum of scaled double values in round-to-nearest before
18738         adding those up and adjusting for other rounding modes.
18739         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18740         tests of fma.
18741         * math/auto-libm-test-out: Regenerated.
18743 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18745         [BZ #20119]
18746         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18747         processor level type mask for CPUID with EAX == 11.
18749 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18751         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18752         logical threads if the HTT bit is 0.
18753         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18754         (index_cpu_HTT): Likewise.
18755         (reg_HTT): Likewise.
18757 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18759         [BZ #20115]
18760         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18761         Remove alignments on jump targets.
18763 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18765         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18766         (getpwent): Likewise.
18767         (setpwent): Likewise.
18768         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18769         variable.
18771         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18772         (remque): Likewise.
18773         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18774         variable.
18776 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18778         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18779         not being tested.
18781 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18783         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18784         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18785         call.
18786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18787         (__condvar_cleanup1): Likewise.
18789 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18791         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18792         New
18793         (__pthread_unwind): Renamed to ...
18794         (PTHREAD_UNWIND): This.
18795         (__pthread_enable_asynccancel): Replace
18796         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18798 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18800         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18801         (CLONE_NEWCGROUP): New macro.
18803         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18804         (Q_GETNEXTQUOTA): New macro.
18806 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18808         [BZ #19907]
18809         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18810         buffer updated by the previous run.
18811         * string/test-memcpy.c (do_one_test): Likewise.
18812         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18813         * string/test-memmove.c (do_one_test): Likewise.
18815 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18817         [BZ #20094]
18818         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18819         not [__USE_XOPEN].
18820         (unlockpt): Likewise.
18821         (ptsname): Likewise.
18822         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18823         variable.
18825         [BZ #20076]
18826         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18827         instead of [__USE_UNIX98].
18828         (S_ISSOCK): Likewise.
18829         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18830         variable.
18832         [BZ #20074]
18833         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18834         [__USE_POSIX].
18835         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18836         variable.
18838         [BZ #20051]
18839         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18840         (ttyslot): Do not declare.
18841         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18842         (ttyslot): New prototype.
18843         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18844         variable.
18845         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18847 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18849         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18851 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18853         Fix race condition in tst-mallocfork2, use fewer resources.
18854         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18855         to current process group.
18856         (signal_sender): Yield in the non-sleeping case.
18858 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18860         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18861         (ecvt): Likewise.
18862         (fcvt): Likewise.
18863         (gcvt): Likewise.
18864         (getsubopt): Likewise.
18865         (grantpt): Likewise.
18866         (initstate): Likewise.
18867         (l64a): Likewise.
18868         (mktemp): Likewise.
18869         (mkstemp): Likewise.
18870         (ptsname): Likewise.
18871         (random): Likewise.
18872         (realpath): Likewise.
18873         (setstate): Likewise.
18874         (srandom): Likewise.
18875         (ttyslot): Likewise.
18876         (unlockpt): Likewise.
18877         (valloc): Likewise.
18879         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18880         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18881         variable.
18883 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18885         [BZ #20072]
18886         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18887         init_cpu_features only if SHARED is defined.
18888         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18890 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18892         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18893         non-inclusive caches on Intel processors.
18895 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18897         * malloc/malloc.c (dumped_main_arena_start)
18898         (dumped_main_arena_end): New variables.
18899         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18900         (do_check_chunk): Skip dumped fake mmapped chunks.
18901         (munmap_chunk): Likewise.
18902         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18903         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18904         mmapped chunks.
18905         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18906         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18907         and dumped_main_arena_end to cover the dumped heap.
18909 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18911         * conform/data/time.h-data (getdate_err): Do not expect for
18912         [XPG3].
18913         (getdate): Likewise.
18914         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18915         variable.
18917         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18918         (F_ULOCK): Likewise.
18919         (F_TEST): Likewise.
18920         (F_TLOCK): Likewise.
18921         (useconds_t): Likewise.
18922         (intptr_t): Do not expect for [XPG3] or [XPG4].
18923         (brk): Do not expect for [XPG3]
18924         (fchown): Likewise.
18925         (fchdir): Likewise.
18926         (ftruncate): Likewise.
18927         (getdtablesize): Likewise.
18928         (gethostid): Likewise.
18929         (getpagesize): Likewise.
18930         (getpgid): Likewise.
18931         (getsid): Likewise.
18932         (getwd): Likewise.
18933         (lchown): Likewise.
18934         (lockf): Likewise.
18935         (readlink): Likewise.
18936         (sbrk): Likewise.
18937         (setpgrp): Likewise.
18938         (setregid): Likewise.
18939         (setreuid): Likewise.
18940         (symlink): Likewise.
18941         (sync): Likewise.
18942         (truncate): Likewise.
18943         (ualarm): Likewise.
18944         (usleep): Likewise.
18945         (vfork): Likewise.
18946         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18947         variable.
18949         [BZ #20054]
18950         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18951         not [__USE_UNIX98].
18952         * conform/data/unistd.h-data (gethostname): Do not expect for
18953         [XPG3].
18955         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18956         [!POSIX] (S_IFBLK): Likewise.
18957         [!POSIX] (S_IFCHR): Likewise.
18958         [!POSIX] (S_IFIFO): Likewise.
18959         [!POSIX] (S_IFREG): Likewise.
18960         [!POSIX] (S_IFDIR): Likewise.
18961         [!POSIX] (S_IFLNK): Likewise.
18962         [!POSIX] (S_IFSOCK): Likewise.
18963         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18964         variable.
18965         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18967 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18969         * sysdeps/aarch64/memset.S (__memset):
18970         Rewrite of optimized memset.
18972 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18974         [BZ #19703]
18975         Partially async-signal-safe fork for single-threaded processes.
18976         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18977         variable.  Do not acquire and reset/release malloc and libio locks
18978         in single-threaded processes.
18979         * malloc/tst-mallocfork2.c: New file.
18980         * malloc/Makefile (tests): Add it.
18982 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18984         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18985         argument.  Use scratch buffer instead of extend_alloca.
18986         (gethosts): Use scratch buffer instead of extend_alloca.
18987         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18988         extend_alloca.
18989         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18991 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18993         [BZ #20055]
18994         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18995         instead of [__USE_UNIX98].
18996         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18997         [__USE_UNIX98].
18998         * conform/data/termios.h-data (tcgetsid): Do not expect for
18999         [XPG3].
19000         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19001         variable.
19002         (test-xfail-XPG4/termios.h/conform): Likewise.
19004 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19006         Do not use mcheck in localedef.
19007         * locale/programs/localedef.c (turn_on_mcheck)
19008         (__malloc_initialize_hook): Remove.
19010 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19012         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19013         * sysdeps/s390/s390-64/Makefile: Likewise.
19015 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19017         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19018         Remove ifunc-defines.sym.
19019         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19020         Likewise.
19021         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19022         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19023         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19024         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19025         rtld-global-offsets.sym.
19026         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19027         * sysdeps/x86/cpu-features-offsets.sym: This.
19028         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19029         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19031 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19033         [BZ #20073]
19034         * io/sys/stat.h (fchmod): Declare for
19035         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19036         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19037         variable.
19039         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19040         [XPG3] (S_IFSOCK): Likewise.
19041         [XPG3] (S_ISVTX): Likewise.
19042         [XPG3] (S_ISLNK): Likewise.
19043         [XPG3] (S_ISSOCK): Likewise.
19044         [XPG3] (fchmod): Likewise.
19045         [XPG3] (lstat): Likewise.
19046         [XPG3] (mknod): Likewise.
19048         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19049         [XPG3].  Expect type long and XFAIL for [XPG4].
19050         (st_blocks): Likewise.
19052         [BZ #20044]
19053         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19054         (pthread_atfork): New prototype.
19055         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19056         variable.
19058         [BZ #20043]
19059         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19060         prototype.
19062 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19064         [BZ #20017]
19065         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19066         gmtime.
19068 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19070         [BZ #19994]
19071         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19072         flag in _res.options.
19074 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19076         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19077         [XPG3 || XPG4].
19078         (blksize_t): Likewise.
19079         (clockid_t): Likewise.
19080         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19081         variable.
19082         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19084 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19086         * sysdeps/unix/sysv/linux/s390/init-first.c:
19087         Add VDSO_SYMBOL(getcpu).
19088         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19089         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19090         Add VDSO_SYMBOL(getcpu).
19091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19092         New define HAVE_GETCPU_VSYSCALL.
19093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19095 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19097         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19098         instead of <sysdeps/x86_64/cacheinfo.c>.
19099         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19100         * sysdeps/x86/cacheinfo.c: Here.
19102 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19104         * malloc/malloc-internal.h: Adjust header file guard.
19106 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19108         [BZ #19787]
19109         * inet/getnameinfo.c (check_sprintf_result): New function.
19110         (CHECKED_SNPRINTF): New macro.
19111         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19112         to the host buffer.
19113         (gni_host_local): Use checked_copy to copy the host name.
19114         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19115         (gni_serv_local): Use checked_copy to copy the service name.
19116         (getnameinfo): Remove unnecessary truncation of result buffers.
19118 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19120         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19121         in case of inet_ntop failure.
19123 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19125         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19126         avoid long lines.
19127         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19128         variables.
19129         (gni_host_inet, gni_host_local): Add comment.
19130         (gni_host): Add comment.  Use temporary to avoid long lines.
19132 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19134         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19135         registers specifiers where general purpose registers specifiers should
19136         have been used.
19138 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19140         [BZ #19779]
19141         CVE-2016-1234
19142         Avoid copying names of directory entries.
19143         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19144         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19145         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19146         (struct readdir_result): New type.
19147         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19148         (GL_READDIR): New macros.
19149         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19150         (convert_dirent, convert_dirent64): New functions.
19151         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19152         convert_dirent64.  Adjust references to the readdir result.
19153         * sysdeps/unix/sysv/linux/i386/glob64.c:
19154         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19155         * posix/bug-glob2.c (LONG_NAME): Define.
19156         (filesystem): Add LONG_NAME.
19157         (my_DIR): Increase the size of room_for_dirent.
19159 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19161         [BZ #20041]
19162         * misc/sys/select.h (__need_timespec): Only define if
19163         [__USE_XOPEN2K].
19164         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19165         variable.
19166         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19167         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19168         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19170 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19171             Segher Boessenkool  <segher@gcc.gnu.org>
19173         [BZ #20004]
19174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19175         (__novec_swapcontext): Add missing load.
19177 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19179         [BZ #20023]
19180         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19181         <time.h>.
19182         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19183         variable.
19184         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19186 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19189         flags CLONE_VM compare.
19191 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19193         [BZ #20031]
19194         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19195         completely empty.
19197 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19199         [BZ #19573]
19200         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19201         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19202         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19203         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19204         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19205         (hesiod_free_list): Mark as hidden.
19206         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19207         res_set, res_get.
19208         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19209         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19210         (hesiod_init): Remove obsolete res_ninit call.
19211         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19212         (hesiod_bind): Do not call init.
19213         (get_txt_records): Use res_mkquery, res_send instead of
19214         res_nmkquery, res_nsend.
19215         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19216         instead of _nss_hesiod_init.
19217         (_nss_hesiod_initgroups_dyn): Likewise.
19218         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19219         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19220         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19222 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19224         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19225         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19227 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19229         * hesiod/hesiod.h: Remove RCS keyword.
19230         * hesiod/hesiod_p.h: Likewise.
19232         * hesiod/hesiod.c: Likewise.
19234 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19236         [BZ #12450]
19237         * locale/iso-639.def: Add Samogitian/sgs.
19239 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19241         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19243         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19245 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19246             Carlos O'Donell  <carlos@redhat.com>
19248         [BZ #19072]
19249         * grp/Makefile (headers): Add grp-merge.h
19250         (routines): Add grp-merge.
19251         * grp/getgrgid_r.c: Include grp-merge.h.
19252         (DEEPCOPY_FN): Define.
19253         (MERGE_FN): Define.
19254         * grp/getgrname_r.c: Include grp-merge.h.
19255         (DEEPCOPY_FN): Define.
19256         (MERGE_FN): Define.
19257         * grp/grp-merge.c: New file.
19258         * grp/grp-merge.h: New file.
19259         * include/grp-merge.h: New file.
19260         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19261         __copy_grp@GLIBC_PRIVATE.
19262         * manual/nss.texi (Actions in the NSS configuration): Describe
19263         return, continue, and merge.
19264         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19265         (DEEPCOPY_FN): Define.
19266         (MERGE_FN): Define.
19267         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19268         (DEEPCOPY_FN): Define.
19269         (MERGE_FN): Define.
19270         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19271         [!MERGE_FN]: Define __merge_einval.
19272         (CHECK_MERGE): Define.
19273         (REENTRANT_NAME): Process merge if do_merge is true.
19274         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19275         (__nss_getent_r): Likewise.
19276         * nss/nsswitch.c (nss_parse_service_list): Likewise.
19277         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19279 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19281         [BZ #20012]
19282         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19283         length to calculate the buffer to read.
19284         (fmemopen_write): Set the buffer position based on bytes written.
19285         (fmemopen_seek): Return EINVAL for invalid whence modes.
19287         [BZ #19957]
19288         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19289         tst-getpid2.
19290         (test): Add tst-clone2.
19291         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19292         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19293         pid/tid fields for CLONE_VM.
19294         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19295         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19296         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19297         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19298         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19299         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19300         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19301         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19305         Likewise.
19306         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19307         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19308         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19309         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19310         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19311         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19312         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19313         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19315 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19317         [BZ #19642]
19318         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19319         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19320         (gni_serv_local, gni_serv): New functions extracted from
19321         getnameinfo.
19322         (getnameinfo): Call gni_host and gni_serv to perform the
19323         processing.  Always free scratch buffer.
19325 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19327         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19328         remaining bytes in the dest string, with zeros.
19330 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19332         [BZ #20010]
19333         CVE-2016-3706
19334         * sysdeps/posix/getaddrinfo.c
19335         (convert_hostent_to_gaih_addrtuple): New function.
19336         (gethosts): Call convert_hostent_to_gaih_addrtuple.
19337         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19338         AF_INET data.
19340 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19342         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19343         callback function gl_readdir.
19344         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19345         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19346         (glob_in_dir): Remove len.  Use strdup instead of malloc and
19347         memcpy to copy the name.
19348         * manual/pattern.texi (Calling Glob): Document requirements for
19349         implementations of the gl_readdir callback function.
19350         * manual/examples/mkdirent.c: New example.
19351         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19352         per the manual guidance.
19353         * posix/tst-gnuglob.c (my_readdir): Likewise.
19355 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
19357         [BZ #20014]
19358         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19359         not [__USE_POSIX].
19360         (getchar_unlocked): Likewise.
19361         (putc_unlocked): Likewise.
19362         (putchar_unlocked): Likewise.
19363         (flockfile): Likewise.
19364         (ftrylockfile): Likewise.
19365         (funlockfile): Likewise.
19366         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19367         variable.
19368         (test-xfail-XPG4/stdio.h/conform): Likewise.
19370         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19371         Expect constant.
19372         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19373         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19374         variable.
19375         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19376         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19378         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19379         [__USE_LARGEFILE64] (off64_t): Likewise.
19380         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19381         variable.
19383 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19385         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19387 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19389         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19390         * resolv/res_init.c: Likewise.
19391         * resolv/res_mkquery.c: Likewise.
19393 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19395         * resolv/res_init.c (isascii): Do not define.  Use definition in
19396         <ctype.h>.
19397         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19398         (LOG_AUTH): Remove.
19399         (SPRINTF): Remove, adjust caller.
19400         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19404         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19405         SUNSECURITY conditional.
19406         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19408 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19410         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19411         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19412         Remove BSD-related preprocessor conditionals.
19413         * conf/portability.h: Remove.
19415 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19417         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19418         * resolv/res_data.c: Likewise.
19420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19422         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19423         * resolv/res_data.c: Remove code conditional on ultrix.
19425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19427         * resolv/res_init.c (RFC1535): Do not define.  Remove
19428         RFC1535 preprocessor conditionals.
19429         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19430         because there configuration options which make the resolver
19431         behavior different.
19433 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19435         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19436         RESOLVSORT preprocessor conditionals.
19437         * resolv/nss_dns/dns-host.c: Likewise.
19438         * resolv/res_init.c: Likewise.
19440 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19442         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19443         is never defined.
19445 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19447         * inet/inet_lnaof.c: Remove SCSS keyword.
19448         * inet/inet_mkadr.c: Likewise.
19449         * inet/inet_net.c: Likewise.
19450         * inet/inet_netof.c: Likewise.
19451         * inet/rcmd.c: Likewise.
19452         * inet/rexec.c: Likewise.
19453         * inet/ruserpass.c: Likewise.
19455 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19457         * resolv/inet_addr.c: Remove _LIBC conditionals.
19458         * resolv/res_data.c: Likewise.
19459         * resolv/res_init.c: Likewise.
19460         * resolv/res_mkquery.c: Likewise.
19461         * resolv/res_libc.c: Update comment.
19462         * resolv/README: Update.
19464 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19466         * resolv/gethnamaddr.c: Remove SCSS keyword.
19467         * resolv/herror.c: Likewise.
19468         * resolv/inet_addr.c: Likewise.
19469         * resolv/inet_net_ntop.c: Likewise.
19470         * resolv/inet_net_pton.c: Likewise.
19471         * resolv/inet_neta.c: Likewise.
19472         * resolv/inet_ntop.c: Likewise.
19473         * resolv/inet_pton.c: Likewise.
19474         * resolv/ns_date.c: Remove RCS keyword.
19475         * resolv/ns_name.c: Likewise.
19476         * resolv/ns_netint.c: Likewise.
19477         * resolv/ns_parse.c: Likewise.
19478         * resolv/ns_print.c: Likewise.
19479         * resolv/ns_samedomain.c: Likewise.
19480         * resolv/ns_ttl.c: Likewise.
19481         * resolv/nsap_addr.c: Likewise.
19482         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19483         * resolv/res_data.c: Remove RCS keyword.
19484         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19485         * resolv/res_init.c: Likewise.
19486         * resolv/res_mkquery.c: Likewise.
19487         * resolv/res_query.c: Likewise.
19488         * resolv/res_send.c: Likewise.
19490 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19492         * conform/data/stdio.h-data (fdopen): Expect also for
19493         [XPG3 || XPG4].
19495         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19496         (fseeko): Likewise.
19497         (ftello): Likewise.
19498         (ftrylockfile): Likewise.
19499         (funlockfile): Likewise.
19500         (getc_unlocked): Likewise.
19501         (getchar_unlocked): Likewise.
19502         (putc_unlocked): Likewise.
19503         (putchar_unlocked): Likewise.
19505 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19507         [BZ #19868]
19508         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19509         DNS packet syntax checks (which were not needed before).  Skip
19510         over non-PTR records.
19512 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19514         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19515         definition.  Include <stddef.h> instead.
19517 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19519         [BZ #19831]
19520         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19521         function.
19522         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19523         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19525 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19527         [BZ #19862]
19528         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19529         (getanswer_r): Do not call syslog.
19530         (gaih_getanswer_slice): Likewise.
19531         * resolv/gethnamaddr.c (AskedForGot): Remove.
19532         (getanswer): Do not call syslog.
19533         (gethostbyaddr): Likewise.
19535 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19537         * conform/data/signal.h-data (union sigval): Expect also if
19538         [XOPEN2K].
19539         (struct sigevent): Likewise.
19540         (SIGEV_NONE): Likewise.
19541         (SIGEV_SIGNAL): Likewise.
19542         (SIGEV_THREAD): Likewise.
19543         (SIGRTMIN): Likewise.
19544         (SIGRTMAX): Likewise.
19545         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19546         variable.
19547         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19549 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19551         [BZ #19830]
19552         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19553         (gaih_getanswer_slice): Likewise.
19554         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19555         Also check for availability of RR metadata.
19557 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19559         [BZ #19825]
19560         * resolv/res_send.c (send_vc): Remove early *resplen2
19561         initialization.  Set *resplen2 on socket error.  Call
19562         close_and_return_error for other errors.
19564 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19566         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19567         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19568         (SCM_IUCV_TRGCLS): New define.
19570 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19572         [BZ #20005]
19573         * libio/fmemopen.c (fmemopen_write): Update internal position after
19574         write.
19575         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19576         * stdio-common/tst-fmemopen4.c: New file..
19578 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19580         [BZ #19996]
19581         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19582         not [__USE_XOPEN2K].
19583         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19584         variable.
19586         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19587         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19588         variable.
19590         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19591         [__USE_XOPEN2K8].
19592         [__USE_LARGEFILE64] (off64_t): Likewise.
19593         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19594         variable.
19596 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19598         [BZ #19989]
19599         * libio/stdio.h (cuserid): Do not declare if
19600         [__USE_XOPEN2K && !__USE_GNU].
19601         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19602         variable.
19604 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19606         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19607         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19609         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19610         ifunc'ed strcspn.
19611         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19612         [EALIGN]: Removed.
19613         [END]: Likewise
19614         [STRSPN]: Define instead of the above to control symbol name.
19615         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19616         New file.
19617         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19618         Likewise.
19619         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19620         Likewise.
19621         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19622         Likewise.
19623         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19624         [INITIAL_MASK]: New macro.
19625         [STRCSPN]: Likewise.
19626         [UPDATE_MASK]: Likewise.
19627         [USE_AS_STRCSPN]: Likewise.
19629 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19631         [BZ #19931]
19632         * stdio-common/tst-vfprintf-width-prec.c: New file.
19633         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19634         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19635         (generated): Add mtrace-related files.
19636         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19637         (tst-%-mem.out): New pattern rule, replaces
19638         tst-printf-bz18872-mem.out.
19639         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19640         specifier, deallocate any previously allocated work buffer.
19642 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19644         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19645         Add nop before __startcontext, add explaining comments.
19647 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19649         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19650         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19651         completely different API.
19653         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19654         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19655         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19656         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19657         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19658         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19659         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19660         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19661         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19662         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19664 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19666         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19668 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19670         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19671         when it is the default of 0.
19673 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19675         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19676         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19677         (sysdep_routines): Add new strcasestr targets.
19678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19679         (__libc_ifunc_impl_list): Likewise.
19680         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19681         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19682         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19683         * sysdeps/powerpc/powerpc64/power8/Makefile:
19684         New file to add strcasestr-ppc64 to sysdep_routines.
19685         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19686         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19688 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19690         * benchtests/Makefile (wcsmbs-benchset): Include only for
19691         native builds and runs.
19692         (LOCALES): Likewise.
19693         (bench-build): Build timing-type here instead of the bench
19694         target.  Generate locale only for native builds.
19695         * benchtests/README: Add note for cross-building.
19697         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19699         * benchtests/README: Update README to include instructions on
19700         using bench-build.
19702         * Makefile.in (bench-build): New target.
19703         * Rules (PHONY): Add bench-build target.
19704         * benchtests/Makefile (bench): Depend on bench-build.
19705         (bench-build): New target.
19707 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19709         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19710         profil_reply_port.
19711         (profile_waiter): Do not initialize profil_reply_port.
19712         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19713         frequency instead of tick length in us.
19715 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19717         [BZ #18712]
19718         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19719         (__old_mempcpy_small): Likewise.
19720         (__old_strcpy_small): Likewise.
19721         (__old_stpcpy_small): Likewise.
19722         (__old_strpbrk_c2): Fix compat symbol name.
19723         (__old_strpbrk_c3): Likewise.
19724         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19725         (__mempcpy_small): Remove.
19726         (__strcpy_small): Remove.
19727         (__stpcpy_small): Remove.
19729 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19731         [BZ #19400]
19732         * locale/iso-639.def: Add the Talossan/tzl language.
19734 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19736         [BZ #16983]
19737         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19738         comment.  Add "ln" to strchr check on postal_fmt.
19740 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19742         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19743         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19744         tel_dom_fmt.
19746 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19748         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19749         (sysdep_routines): Added __strlen_power8.
19750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19751         __strlen_power8 entry.
19752         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19753         Implementation for POWER8.
19754         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19755         for __strlen_power8.
19756         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19757         Implementation for POWER8.
19759 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19761         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19763 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19765         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19766         Goldmont and Airmont processors.
19768 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19770         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19771         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19772         (__STRING2_SMALL_GET32): Remove.
19773         (memset): Remove.
19774         (__memset_1): Remove.
19775         (__memset_gc): Remove.
19776         (__mempcpy): Remove.
19777         (mempcpy): Remove.
19778         (__mempcpy_args): Remove.
19779         (strchr): Remove.
19780         (strcpy): Remove.
19781         (strcpy_args): Remove.
19782         (__stpcpy_args): Remove.
19783         (__strcmp_cc): Remove.
19784         (__strcmp_gc): Remove.
19785         (strstr): Remove.
19787 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19789         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19790         * nis/nis_call.c (nis_server_cache_add): Likewise.
19792 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19794         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19796 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19798         * malloc/arena.c (__malloc_fork_lock_parent)
19799         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19800         internal_function attribute.
19802 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19804         * stdio-common/printf_fp.c (__printf_fp_l):
19805         Rename ___printf_fp_l to __printf_fp_l and
19806         remove strong alias. Use libc_hidden_def instead
19807         of ldbl_hidden_def macro.
19809 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19811         Remove malloc hooks from fork handler.  They are no longer needed
19812         because malloc runs right before fork, and no malloc calls from
19813         other fork handlers are not possible anymore.
19814         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19815         declarations.
19816         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19817         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19818         (atfork_recursive_cntr): Remove.
19819         (__malloc_fork_lock_parent): Do not override malloc hooks and
19820         thread_arena.
19821         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19822         thread_arena.
19823         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19824         thread_arena instead of save_arena.
19826 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19828         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19829         (thread_atfork, thread_atfork_static): Remove.
19830         * sysdeps/mach/hurd/malloc-machine.h:
19831         (thread_atfork, thread_atfork_static): Remove.
19833 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19835         [BZ #19431]
19836         Run the malloc fork handler as late as possible to avoid deadlocks.
19837         * malloc/malloc-internal.h: New file.
19838         * malloc/malloc.c: Include it.
19839         * malloc/arena.c (ATFORK_MEM): Remove.
19840         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19841         Update comment.
19842         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19843         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19844         Remove outdated comment.
19845         (ptmalloc_init): Do not call thread_atfork.  Remove
19846         thread_atfork_static.
19847         * malloc/tst-malloc-fork-deadlock.c: New file.
19848         * Makefile (tests): Add tst-malloc-fork-deadlock.
19849         (tst-malloc-fork-deadlock): Link against libpthread.
19850         * manual/memory.texi (Aligned Memory Blocks): Update safety
19851         annotation comments.
19852         * sysdeps/nptl/fork.c (__libc_fork): Call
19853         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19854         __malloc_fork_unlock_child.
19855         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19857 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19859         [BZ #19613]
19860         Remove union wait.
19861         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19862         (w_stopsig, w_stopval): Remove.
19863         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19864         stat_loc argument.
19865         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19866         (__WAIT_STATUS_DEFN): Remove.
19867         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19868         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19869         (wait, wait3, wait4): Use int * for the stat_loc argument.
19870         * posix/wait.c (__wait): Likewise.
19871         * posix/wait3.c (__wait3): Likewise.
19872         * posix/wait4.c (__wait4): Likewise.
19873         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19874         (__WAIT_STATUS_DEFN): Remove.
19875         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19876         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19877         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19878         argument.
19879         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19880         * sysdeps/posix/wait3.c (__wait3): Likewise.
19881         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19882         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19883         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19884         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19885         stat_loc argument.
19886         * manual/process.texi (BSD Wait Functions): Remove union wait.
19888 2016-04-13  Andreas Schwab  <schwab@suse.de>
19890         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19891         (test-extras): Add tst-tlsalign-vars.
19892         * math/Makefile: Wrap long lines.
19893         (libm-vec-test-wrappers): Define.
19894         (test-extras): Add $(libm-vec-test-wrappers).
19895         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19896         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19897         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19898         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19899         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19900         (extra-test-objs): Add corresponding objects.
19902 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19904         [BZ #19928]
19905         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19906         New.
19907         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19908         times of shared cache size.
19909         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19910         (VMOVNT): New.
19911         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19912         (VMOVNT): Likewise.
19913         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19914         (VMOVNT): Likewise.
19915         (VMOVU): Changed to movups for smaller code sizes.
19916         (VMOVA): Changed to movaps for smaller code sizes.
19917         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19918         comments.
19919         (PREFETCH): New.
19920         (PREFETCH_SIZE): Likewise.
19921         (PREFETCHED_LOAD_SIZE): Likewise.
19922         (PREFETCH_ONE_SET): Likewise.
19923         Rewrite to use forward and backward loops, which move 4 vector
19924         registers at a time, to support overlapping addresses and use
19925         non temporal store if size is above the threshold and there is
19926         no overlap between destination and source.
19928 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19930         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19931         Include dl-vdso.
19932         * sysdeps/unix/sysv/linux/mips/Versions: Add
19933         __vdso_clock_gettime.
19934         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19935         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19936         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19937         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19938         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19939         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19940         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19941         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19942         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19944 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19946         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19947         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19948         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19950         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19951         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19954         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19956         syscalls generation.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19958         [__NR_pwrite64] (__NR_write): Remove define.
19959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19960         [__NR_pwrite64] (__NR_write): Remove define.
19961         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19962         Remove define.
19963         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19964         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19965         Remove define.
19966         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19967         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19968         Linux implementation as base.
19969         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19971         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19972         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19977         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19978         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19979         syscall generation.
19980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19981         [__NR_pread64] (__NR_pread): Remove define.
19982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19983         [__NR_pread64] (__NR_pread): Likewise.
19984         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19985         define.
19986         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19987         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19988         Remove define.
19989         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19990         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19991         Linux implementation as base.
19992         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19993         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19994         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19996         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19997         definition.
19998         (__ALIGNMENT_COUNT): Likewise.
19999         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20000         (__ALIGNMENT_COUNT): Likewise.
20001         (SYSCALL_LL): New define.
20002         (SYSCALL_LL64): Likewise.
20003         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20004         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20005         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20006         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20008         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20009         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20011         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20012         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20013         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20015 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20017         [BZ #19865]
20018         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20019         original buffer before retry.
20021 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20023         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20024         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20025         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20026         GLRO(dl_auxv) list.
20027         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20028         including <ldsodefs.h>.
20029         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20031 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20033         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20034         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20035         $(CPPFLAGS).
20037 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20039         [BZ #17950]
20040         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20041         Add -mfpmath=387.
20043 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20045         * sysdeps/i386/configure.ac: Change == to = when calling test.
20046         * sysdeps/x86_64/configure.ac: Likewise.
20047         * sysdeps/i386/configure: Regenerated.
20048         * sysdeps/x86_64/configure: Likewise.
20050 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20052         [BZ #16137]
20053         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20054         * benchtests/bench-strcoll.c (input_files): Likewise.
20055         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20056         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20057         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20059 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20061         [BZ #19929]
20062         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20063         [__USE_XOPEN2K8 && !__USE_GNU].
20064         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20065         variable.
20067         [BZ #19925]
20068         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20069         define if [!__USE_MISC && __USE_XOPEN2K].
20070         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20071         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20072         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20073         Likewise.
20074         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20075         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20076         variable.
20077         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20079 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20081         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20082         (sysdep_routines): Add new strspn targets.
20083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20084         (__libc_ifunc_impl_list): Add strspn.
20085         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20086         New file.
20087         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20088         Likewise.
20089         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20090         Likewise.
20091         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20092         Likewise.
20094 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20096         * misc/hsearch_r.c: Include <limits.h>.
20098 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20100         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20102 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20104         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20105         (MEMCPY_SYMBOL): New.
20106         (MEMPCPY_SYMBOL): Likewise.
20107         (MEMMOVE_CHK_SYMBOL): Likewise.
20108         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20109         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20110         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20111         Provide alias for memcpy in libc.a and ld.so.
20113 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20115         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20116         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20117         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20118         Disabled fro now.
20119         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20120         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20122 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20124         * benchtests/Makefile (string-benchset): Add memcpy-large,
20125         memmove-large and memset-large.
20126         * benchtests/bench-memcpy-large.c: New file.
20127         * benchtests/bench-memmove-large.c: Likewise.
20128         * benchtests/bench-memmove-large.c: Likewise.
20129         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20131 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20133         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20134         32-bit displacement to avoid long nop between instructions.
20136 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20138         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20139         a comment on VMOVU and VMOVA.
20141 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20143         [BZ #19633]
20144         Use specified locale for number formatting in strfmon_l.
20145         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20146         (__nl_lookup_word): New inline functions.
20147         * include/printf.h (__print_fp_l): Declare.
20148         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20149         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20150         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20151         (___printf_fp): New function.
20152         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20153         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20154         * stdlib/tst-strfmon_l.c (do_test): New test.
20155         * stdlib/Makefile (tests): Add kt.
20156         (LOCALES): Build additional locales.
20157         (tst-strfmon_l.out): Require locales.
20159 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20161         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20162         if not in libc.
20163         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20164         Likewise.
20165         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20166         Likewise.
20167         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20168         Likewise.
20170 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20172         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20173         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20174         with unaligned_erms.
20175         (__memmove_erms): Skip if source == destination.
20176         (__memmove_unaligned_erms): Don't check source == destination
20177         first.
20179 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20181         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20182         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20184 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20186         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20187         * string/strspn.c (strspn): Likewise.
20189 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20191         * benchtests/bench-memset.c (do_test): Support 64-byte
20192         alignment.
20193         (test_main): Test 64-byte alignment.
20195 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20197         * benchtests/bench-memmove.c (test_main): Test 64-byte
20198         alignment.
20200 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20202         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20204 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20206         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20207         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20208         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20210         * string/strpbrk.c (strpbrk): Rewrite function.
20211         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20212         (__strpbrk_c2): Likewise.
20213         (__strpbrk_c3): Likewise.
20214         * string/string-inlines.c
20215         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20216         Likewise.
20217         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20218         Likewise.
20220         * string/strspn.c (strcspn): Rewrite function.
20221         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20222         (__strspn_c1): Remove inline function.
20223         (__strspn_c2): Likewise.
20224         (__strspn_c3): Likewise.
20225         * string/string-inlines.c
20226         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20227         compatibility symbol.
20228         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20229         Likewise.
20230         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20231         Likewise.
20232         * string/string-inlines.c: Include generic version.
20234 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20235             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20237         * string/Version (libc): Add GLIBC_2.24.
20238         * string/strcspn.c (strcspn): Rewrite function.
20239         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20240         (__strcspn_c1): Remove inline function.
20241         (__strcspn_c2): Likewise.
20242         (__strcspn_c3): Likewise.
20243         * string/string-inline.c
20244         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20245         compatibility symbol.
20246         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20247         Likewise.
20248         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20249         Likewise.
20250         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20252 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20254         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20255         Use ahi instead of aghi to adjust stack pointer.
20257 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20259         [BZ #19853]
20260         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20261         TEST to take significant digits as second parameter.
20262         [TEST]: Redefine in terms of TEST_N taking 30
20263         significant digits.
20264         (do_test): Add test case to demonstrate precision
20265         failure in the ldbl-128ibm printf.
20266         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20267         (__mpn_extract_long_double): Carry 7 extra intermediate
20268         bits of precision to aide computing difference when
20269         signs differ.
20271 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20273         [BZ #19881]
20274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20275         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20276         memset-avx512-unaligned-erms.
20277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20278         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20279         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20280         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20281         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20282         __memset_sse2_unaligned_erms, __memset_erms,
20283         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20284         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20285         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20286         file.
20287         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20288         Likewise.
20289         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20290         Likewise.
20291         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20292         Likewise.
20294 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20296         [BZ #19776]
20297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20298         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20299         memmove-avx512-unaligned-erms.
20300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20301         (__libc_ifunc_impl_list): Test
20302         __memmove_chk_avx512_unaligned_2,
20303         __memmove_chk_avx512_unaligned_erms,
20304         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20305         __memmove_chk_sse2_unaligned_2,
20306         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20307         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20308         __memmove_avx512_unaligned_erms, __memmove_erms,
20309         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20310         __memcpy_chk_avx512_unaligned_2,
20311         __memcpy_chk_avx512_unaligned_erms,
20312         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20313         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20314         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20315         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20316         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20317         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20318         __mempcpy_chk_avx512_unaligned_erms,
20319         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20320         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20321         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20322         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20323         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20324         __mempcpy_erms.
20325         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20326         file.
20327         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20328         Likewise.
20329         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20330         Likewise.
20331         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20332         Likewise.
20334 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20336         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20337         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20338         (La_s390_64_regs): Likewise.
20339         (La_s390_32_retval): Append vector register lrv_v24.
20340         (La_s390_64_retval): Likeweise.
20341         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20342         Handle extended structs La_s390_32_regs and La_s390_32_retval.
20343         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20344         Handle extended structs La_s390_64_regs and La_s390_64_retval.
20346 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20348         [BZ #19916]
20349         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20350         to create a non-vector/vector version for _dl_runtime_resolve and
20351         _dl_runtime_profile. Move implementation to ...
20352         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20353         (_dl_runtime_resolve) Save and restore fpr/vrs.
20354         (_dl_runtime_profile) Save and restore vrs and fix some issues
20355         if _dl_call_pltexit is called.
20356         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20357         Choose the correct resolver function if running on a machine with vx.
20358         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20359         to create a non-vector/vector version for _dl_runtime_resolve and
20360         _dl_runtime_profile. Move implementation to ...
20361         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20362         (_dl_runtime_resolve) Save and restore fpr/vrs.
20363         (_dl_runtime_profile) Save and restore vrs and fix some issues
20364         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20365         Choose the correct resolver function if running on a machine with vx.
20367 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20369         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20371 2016-03-31  Florian Weimer  <fweimer@redhat.com>
20373         [BZ #19509]
20374         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20375         skip_map != NULL.
20376         * elf/tst-dlsym-error.c: New file.
20377         * elf/Makefile (tests): Add tst-dlsym-error.
20378         (tst-dlsym-error): Link against libdl.
20380 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20383         (__ASSUME_FUTIMESAT): Remove macro.
20384         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20386 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20388         [BZ #19879]
20389         CVE-2016-3075
20390         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20391         copy name.
20393 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20395         [BZ #19837]
20396         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20397         error if parse_line fails.
20399 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20401         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20402         (index_cpu_ERMS): Likewise.
20403         (reg_ERMS): Likewise.
20405 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20407         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20408         PER_LINUX_FDPIC): Add.
20410 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20413         memcpy-avx512-no-vzeroupper.
20414         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20415         to ...
20416         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20417         (MEMCPY): Don't define.
20418         (MEMCPY_CHK): Likewise.
20419         (MEMPCPY): Likewise.
20420         (MEMPCPY_CHK): Likewise.
20421         (MEMPCPY_CHK): Renamed to ...
20422         (__mempcpy_chk_avx512_no_vzeroupper): This.
20423         (MEMPCPY_CHK): Renamed to ...
20424         (__mempcpy_chk_avx512_no_vzeroupper): This.
20425         (MEMCPY_CHK): Renamed to ...
20426         (__memmove_chk_avx512_no_vzeroupper): This.
20427         (MEMCPY): Renamed to ...
20428         (__memmove_avx512_no_vzeroupper): This.
20429         (__memcpy_avx512_no_vzeroupper): New alias.
20430         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20432 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20434         [BZ #18858]
20435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20436         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20437         and mempcpy-avx512-no-vzeroupper.
20438         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20439         New.
20440         (MEMPCPY): Likewise.
20441         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20442         (MEMPCPY_CHK): New.
20443         (MEMPCPY): Likewise.
20444         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20445         (MEMPCPY): Likewise.
20446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20447         (MEMPCPY): Likewise.
20448         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20449         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20450         Likewise.
20451         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20452         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20454 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20455              Amit Pawar  <Amit.Pawar@amd.com>
20457         [BZ #19583]
20458         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20459         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20460         processors.  Set Fast_Copy_Backward for AMD Excavator
20461         processors.
20462         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20463         New.
20464         (index_arch_Fast_Unaligned_Copy): Likewise.
20465         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20466         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20468 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20470         [BZ #19791]
20471         * resolv/res_send.c (close_and_return_error): New function.
20472         (send_dg): Initialize *resplen2 after reopen failure.  Call
20473         close_and_return_error for error returns.  On error paths without
20474         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20475         successful return.
20477 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20479         [BZ #19860]
20480         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20481         zero if the compiler does not provide the AVX512F bit.
20483 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20485         [BZ #19848]
20486         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20487         from 8 to 4.
20488         (__ieee754_powl): Compare integer exponent against 4 not 8.
20489         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20490         from 8 to 4.
20491         (__ieee754_powl): Compare integer exponent against 4 not 8.
20492         * math/auto-libm-test-in: Add more tests of pow.
20493         * math/auto-libm-test-out: Regenerated.
20494         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20497 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20499         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20500         Make code unconditional.
20501         [!__NR_utimensat]: Remove conditional code.
20502         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20503         Make code unconditional.
20504         [!__NR_utimensat]: Remove conditional code.
20505         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20506         Make code unconditional.
20507         [!__NR_utimensat]: Remove conditional code.
20509 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20511         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20512         Make code unconditional.
20514 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20516         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20517         call-clobbered %eax on retry path.
20518         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20520 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20522         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20523         Don't set %rcx twice before "rep movsb".
20525 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20527         [BZ #19583]
20528         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20529         inline.  Check family before setting family, model and
20530         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20531         bits here.
20532         (init_cpu_features): Replace HAS_CPU_FEATURE and
20533         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20534         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20535         for Intel processors with usable AVX2.  Call get_common_indeces
20536         for other processors with family == NULL.
20537         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20538         (CPU_FEATURES_ARCH_P): Likewise.
20539         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20540         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20542 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20544         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20545         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20546         $(shared-thread-library) instead of hardcoding the path to libpthread.
20548 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20550         * sysdeps/unix/sysv/linux/kernel-features.h
20551         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20552         * sysdeps/unix/sysv/linux/getdents.c
20553         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20554         [!have_no_getdents64_defined]: Likewise.
20555         (__GETDENTS): Remove __have_no_getdents64 conditional.
20557 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20560         Remove macro.
20561         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20562         <kernel-features.h>.
20563         (signalfd) [__NR_signalfd4]: Make code unconditional.
20564         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20566 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20568         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20569         style.
20571 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20573         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20574         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20575         __pthread_unwind.
20576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20577         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20579         (__condvar_cleanup1): Likewise.
20581 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20583         [BZ #19822]
20584         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20585         move it to the final $@ location.
20587 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20589         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20590         access where posix_spawn success and pid argument is null.
20591         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20592         success case.
20594 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20596         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20598         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20600         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20601         and __fcntl.
20602         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20603         __fcntl only.
20604         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20605         adding attribute_hidden to __open and __fcntl.
20607         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20608         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20609         depend on libc-modules.h,
20610         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20612 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20615         Remove macro.
20616         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20617         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20618         entry.
20620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20621         Remove macro.
20622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20623         include <kernel-features.h>.
20624         [!__ASSUME_FALLOCATE]: Remove conditional code.
20625         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20627 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20629         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20630         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20631         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20632         (_ZGVdN4v_cos_avx2): Likewise.
20633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20634         (_ZGVdN4v_cos): Likewise.
20635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20636         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20638         (_ZGVdN4v_exp_avx2): Likewise.
20639         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20640         (_ZGVdN4v_exp): Likewise.
20641         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20642         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20643         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20644         (_ZGVdN4v_log_avx2): Likewise.
20645         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20646         (_ZGVdN4v_log): Likewise.
20647         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20648         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20650         (_ZGVdN4vv_pow_avx2): Likewise.
20651         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20652         (_ZGVdN4vv_pow): Likewise.
20653         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20654         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20655         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20656         (_ZGVdN4v_sin_avx2): Likewise.
20657         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20658         (_ZGVdN4v_sin): Likewise.
20659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20660         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20661         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20662         (_ZGVdN4vvv_sincos_avx2): Likewise.
20663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20664         (_ZGVdN4vvv_sincos): Likewise.
20665         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20666         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20667         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20668         (_ZGVbN4v_cosf_sse4): Likewise.
20669         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20670         (_ZGVdN8v_cosf_avx2): Likewise.
20671         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20672         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20673         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20674         (_ZGVbN4v_expf_sse4): Likewise.
20675         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20676         (_ZGVdN8v_expf_avx2): Likewise.
20677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20678         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20679         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20680         (_ZGVbN4v_logf_sse4): Likewise.
20681         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20682         (_ZGVdN8v_logf_avx2): Likewise.
20683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20684         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20686         (_ZGVbN4vv_powf_sse4): Likewise.
20687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20688         (_ZGVdN8vv_powf_avx2): Likewise.
20689         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20690         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20691         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20692         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20694         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20695         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20696         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20697         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20698         (_ZGVbN4v_sinf_sse4): Likewise.
20699         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20700         (_ZGVdN8v_sinf_avx2): Likewise.
20701         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20702         Use JUMPTARGET to call callee.
20703         (WRAPPER_IMPL_SSE2_ff): Likewise.
20704         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20705         (WRAPPER_IMPL_AVX): Likewise.
20706         (WRAPPER_IMPL_AVX_ff): Likewise.
20707         (WRAPPER_IMPL_AVX_fFF): Likewise.
20708         (WRAPPER_IMPL_AVX512): Likewise.
20709         (WRAPPER_IMPL_AVX512_ff): Likewise.
20710         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20711         Likewise.
20712         (WRAPPER_IMPL_SSE2_ff): Likewise.
20713         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20714         (WRAPPER_IMPL_AVX): Likewise.
20715         (WRAPPER_IMPL_AVX_ff): Likewise.
20716         (WRAPPER_IMPL_AVX_fFF): Likewise.
20717         (WRAPPER_IMPL_AVX512): Likewise.
20718         (WRAPPER_IMPL_AVX512_ff): Likewise.
20719         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20721 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20723         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20724         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20725         qualifier.
20726         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20727         internal_function qualifiers.
20729 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20731         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20732         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20733         * math/atest-exp.c (exp_mpn): Mark chk unused.
20734         * math/atest-exp2.c (exp_mpn): Likewise.
20735         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20736         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20738 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20741         Remove macro.
20742         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20743         <kernel-features.h>.
20744         [__NR_ppoll]: Make code unconditional.
20745         [!__ASSUME_PPOLL]: Remove conditional code.
20747         * sysdeps/unix/sysv/linux/kernel-features.h
20748         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20749         (__ASSUME_ACCEPT4): Likewise.
20750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20751         Define.
20752         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20753         Likewise.
20754         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20755         Likewise.
20756         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20757         Likewise.
20758         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20759         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20760         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20761         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20762         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20765         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20766         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20767         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20768         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20769         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20771         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20772         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20773         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20774         Likewise.
20775         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20776         Likewise.
20777         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20778         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20779         0x040300].
20780         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20781         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20783         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20784         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20785         0x030300].
20786         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20787         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20788         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20789         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20790         0x040300].
20791         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20794         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20796         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20797         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20798         0x030300].
20799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20800         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20802         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20803         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20804         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20807         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20808         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20809         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20810         0x040300].
20811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20813         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20814         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20815         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20816         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20817         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20818         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20819         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20820         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20821         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20822         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20823         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20824         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20825         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20826         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20827         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20828         Likewise.
20829         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20830         Likewise.
20832 2016-03-15  Andreas Schwab  <schwab@suse.de>
20834         [BZ #19257]
20835         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20836         statp->_u._ext.nscount as loop count.
20838 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20840         * math/test-signgam-finite-c99.c: Also #undef
20841         __LIBC_INTERNAL_MATH_INLINES.
20842         * math/test-signgam-main.c: Likewise.
20844 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20846         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20847         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20848         (MADV_FREE): Likewise.
20849         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20850         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20851         EPOLLEXCLUSIVE.
20853 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20855         * timezone/README: Remove mention of checktab.awk. Mention wiki
20856         SharedSourceFiles.
20858 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20860         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20861         WUNTRACED.
20863 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20865         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20866         order to match the type of p when calling atomic_exchange_acq().
20868 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20870         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20871         cfi_offset calls.
20872         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20873         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20874         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20875         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20876         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20878 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20880         * timezone/checktab.awk: Removed.
20882 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20884         * manual/math.texi (Errors in Math Functions): Document relaxed
20885         accuracy goals for IBM long double.
20886         * math/libm-test.inc (test_exceptions): Always allow spurious
20887         "underflow" and "inexact" exceptions for IBM long double.
20889 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20891         [BZ #19762]
20892         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20893         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20894         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20895         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20896         (bit_arch_*): This for feature array.
20897         (bit_*): Renamed to ...
20898         (bit_cpu_*): This for cpu array.
20899         (index_*): Renamed to ...
20900         (index_arch_*): This for feature array.
20901         (index_*): Renamed to ...
20902         (index_cpu_*): This for cpu array.
20903         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20904         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20905         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20906         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20907         bit_##name with index_cpu_##name and bit_cpu_##name.
20908         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20909         bit_##name with index_arch_##name and bit_arch_##name.
20911 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20913         [BZ #19792]
20914         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20915         Terminate FDE before return label.
20917 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20919         [BZ #19790]
20920         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20921         (rintl): Define as macro.
20922         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20923         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20924         of fesetround.  Ensure results are evaluated before end of scope.
20925         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20926         USE_AS_NEARBYINTL and include s_rintl.c.
20927         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20928         Disable exception traps in new environment.
20929         (libc_feholdsetround_ppc_ctx): Likewise.
20931 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20933         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20934         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20935         (tst_audit10_aux) [__AVX512F__]: ... here.
20937 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20939         * include/sys/auxv.h: New file.
20941 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20943         [BZ #19759]
20944         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20946 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20948         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20949         operand modifier.
20950         (feclearexcept): Likewise.
20952 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20954         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20955         to reflect the entire 32-bit HWCAP.
20956         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20957         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20959 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20961         [BZ #19783]
20962         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20963         $(test-via-rtld-prefix).
20964         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20966 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20968         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20969         union wait.  Report any non-zero exit status as error.
20971 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20973         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20974         configured with --enable-hardcoded-path-in-tests.
20976 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20978         [BZ #19677]
20979         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20980         (__ieee754_remainderl): Put zero low parts in canonical form.
20981         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20982         file.  Based on
20983         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20984         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20985         with wrapper round test-fmodrem-ldbl-128ibm.c.
20986         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20987         file.
20988         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20989         Likewise.
20990         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20991         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20993 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20995         [BZ #19610]
20996         * elf/ldconfig.c (opt_link): Update comment.
20997         (options): Update help string for option -X.
20998         (search_dir): Unlink stale symbolic link only if updating symbolic
20999         links.
21000         * elf/tst-ldconfig-X.sh: New file.
21001         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21002         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21004 2016-03-07  Andreas Schwab  <schwab@suse.de>
21006         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21007         needed arguments.
21009 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21011         [BZ #15333]
21012         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21013         to lstat64.
21015 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21017         * libio/filedoalloc.c (isatty): Remove.
21018         (local_isatty): Add comment.  Call __isatty directly.
21019         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21020         * libio/wfiledoalloc.c (isatty): Remove.
21021         (_IO_wfile_doallocate): Update comment.
21023 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21025         [BZ #19269]
21026         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21027         tst-audit4-aux.o.
21028         (tst-audit10): Depend on tst-audit10-aux.o.
21029         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21030         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21031         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21032         instead of inline AVX code.
21033         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21034         instead of inline AVX512 code.
21035         * sysdeps/x86_64/tst-audit4-aux.c: New file
21036         * sysdeps/x86_64/tst-audit10-aux.c: New file
21038         [BZ #19648]
21039         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21041 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21043         [BZ #14750]
21044         [BZ #10354]
21045         [BZ #18433]
21046         * include/sched.h (__clone): Add hidden prototype.
21047         (__clone2): Likewise.
21048         * include/unistd.h (__dup): Likewise.
21049         * posix/Makefile (tests): Add tst-spawn2.
21050         * posix/tst-spawn2.c: New file.
21051         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21052         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21053         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21054         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21055         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21056         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21057         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21058         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21059         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21060         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21061         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21063         Likewise.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21065         Likewise.
21066         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21067         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21068         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21069         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21070         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21071         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21072         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21073         * sysdeps/unix/sysv/linux/nptl-signals.h
21074         (____nptl_is_internal_signal): New function.
21075         * sysdeps/unix/sysv/linux/spawni.c: New file.
21077         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21078         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21079         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21080         * posix/tst-execvp2.c (do_test): Likewise.
21081         * posix/tst-execvp3.c (do_test): Likewise.
21082         * posix/tst-execvp4.c (do_test): Likewise.
21083         * posix/tst-execvpe1.c: New file.
21084         * posix/tst-execvpe2.c: Likewise.
21085         * posix/tst-execvpe3.c: Likewise.
21086         * posix/tst-execvpe4.c: Likewise.
21087         * posix/tst-execvpe5.c: Likewise.
21088         * posix/tst-execvpe6.c: Likewise.
21090         [BZ #19534]
21091         * posix/execl.c (execl): Remove dynamic memory allocation.
21092         * posix/execle.c (execle): Likewise.
21093         * posix/execlp.c (execlp): Likewise.
21095 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21097         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21098         Replace .text with .text.avx512.
21099         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21100         Likewise.
21102 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21104         * sysdeps/generic/libnsl.abilist: New file.
21105         * sysdeps/generic/libutil.abilist: New file.
21107 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21109         [BZ #19762]
21110         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21111         HAS_ARCH_FEATURE with Fast_Rep_String.
21112         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21113         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21114         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21115         Likewise.
21116         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21117         Likewise.
21118         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21119         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21120         Likewise.
21121         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21122         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21123         Likewise.
21125 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21127         [BZ #19745]
21128         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21129         with *%rax in call.
21131 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21133         [BZ #19745]
21134         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21135         with *__libc_start_main@GOTPCREL(%rip) in call.
21137 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21139         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21140         inside conditional for nonempty $(CXX).
21142         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21143         nonempty.
21145         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21146         to test for empty $(CXX) rather than $(CXX) of "no".
21148 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21150         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21152 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21153             H.J. Lu  <hongjiu.lu@intel.com>
21155         [BZ #18880]
21156         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21157         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21158         enable __memcpy_ssse3_back.
21160 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21162         [BZ #19758]
21163         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21164         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21166 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21168         [BZ #19490]
21169         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21170         (__fentry__): Likewise.
21172 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21174         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21175         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21177 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21179         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21180         __mcount_internal directly.
21181         (C_LABEL(__fentry__)): Likewise.
21182         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21183         directly.
21185 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21187         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21188         (__start_context): Call __setcontext directly.
21190 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21192         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21193         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21194         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21195         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21196         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21197         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21198         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21199         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21200         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21201         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21202         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21203         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21204         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21205         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21206         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21208         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21210         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21211         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21212         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21213         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21214         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21215         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21216         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21217         Remove conditional code.
21218         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21219         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21220         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21221         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21222         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21223         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21224         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21225         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21226         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21227         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21228         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21229         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21231 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21233         * NEWS (2.23): Fix typo in bug 19048 text.
21235 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21237         [BZ #14259]
21238         * Makeconfig: Rename msgcatdir to localedir.
21239         Rename inst_msgcatdir to inst_localedir.
21240         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21241         * config.make.in: Add localedir.
21242         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21243         (ldd-rewrite): Likewise.
21244         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21245         (install-others): Use inst_localedir.
21246         (CPPFLAGS): Use localedir.
21247         * locale/Makefile (locale-CPPFLAGS): Likewise.
21248         * po/Makefile (mo-installed): Use inst_localedir.
21250         [BZ #19575]
21251         * localedata/charmaps/GB18030: Update comments regarding PAU to
21252         non-PUA mappings.
21254 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21256         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21257         test for header.
21258         * sysdeps/unix/sysv/linux/configure: Regenerated.
21259         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21260         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21261         Remove conditional code.
21262         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21264         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21265         Define to 3.2.0.
21266         (arch_minimum_kernel): Likewise.
21267         * sysdeps/unix/sysv/linux/configure: Regenerated.
21268         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21269         Define to 2.6.32.
21270         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21271         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21272         (arch_minimum_kernel): Define to 2.6.32.
21273         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21274         * README: Document Linux 3.2 requirement.
21275         * manual/install.texi (Linux): Document Linux 3.2 headers
21276         requirement.
21277         * INSTALL: Regenerated.
21279 2016-02-24  Andreas Schwab  <schwab@suse.de>
21281         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21282         if !NO_LONG_DOUBLE.
21284 2016-02-22  Roland McGrath  <roland@hack.frob.com>
21286         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21287         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21289 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
21291         [BZ #19512]
21292         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21294 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21296         * posix/tst-dir.c: Include libc-internal.h.
21298 2016-02-20  Florian Weimer  <fweimer@redhat.com>
21300         [BZ #19056]
21301         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21302         * manual/filesys.texi (Reading/Closing Directory): Mention
21303         deprecaion.
21304         * posix/tst-dir.c (main): Disable deprecation warning in test.
21306 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
21308         [BZ #19679]
21309         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21310         Renamed to ...
21311         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
21312         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21313         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
21314         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21315         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21316         * sysdeps/x86_64/dl-trampoline.h
21317         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21318         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21320 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21322         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21324 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21326         * elf/elf.h (R_386_GOT32X): New.
21327         (R_386_NUM): Update.
21328         (R_X86_64_GOTPCRELX: New.
21329         (R_X86_64_REX_GOTPCRELX): New.
21330         (R_X86_64_NUM): Update.
21332 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
21334         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21336 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
21338         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21339         assign attr->stackaddr to it, and adjust it down when
21340         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
21341         [_STACK_GROWS_UP]: Delete assert.
21342         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21343         Implement stack grows up logic.
21344         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21345         stack grows up logic.
21347 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21349         * NEWS: Update with 2.24 template.
21351 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #19678]
21354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21355         Ensure +0.0 is returned when taking the next value below the least
21356         positive value.
21358 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21360         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21361         available.  Do not define NO_THREADS.
21362         * malloc/malloc.c: Do not check NO_THREADS.
21363         * malloc/arena.c: Likewise.
21365 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21367         * malloc/malloc.c (__libc_mallinfo): Update comment.
21368         (struct malloc_par): Remove max_total_mem member, it was always 0.
21369         (int_mallinfo): Store 0 into usmblks (no functional change).
21370         * malloc/hooks.c (struct malloc_state): Document that
21371         max_total_mem is always 0.
21372         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21373         always 0.
21374         * manual/memory.texi (Statistics of Malloc): Likewise.
21376 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21378         * malloc/malloc.c (sysmalloc): Do not update arena_max.
21379         * malloc/arena.c (arena_max): Remove.
21380         (heap_trim, _int_new_arena): Do not update arena_max.
21382 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21384         * resolv/res_init.c (res_ninit): Update comment.
21386 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21388         [BZ #19505]
21389         * posix/spawn_int.h: Add headers and include guard.
21390         (__spawn_valid_fd): New function.
21391         * posix/spawn_faction_addopen.c
21392         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21393         * posix/spawn_faction_addclose.c
21394         (posix_spawn_file_actions_addclose): Likewise.
21395         * posix/spawn_faction_adddup2.c
21396         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21397         second file descriptor.
21398         * posix/spawn_valid_fd.c: New file.
21399         * posix/tst-posix_spawn-fd.c: New file.
21400         * posix/Makefile (routines): Add spawn_valid_fd.
21401         (tests): Add tst-posix_spawn-fd.
21403 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21405         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21406         (do_test): Limit the number of arenas, so that we can use fewer
21407         outer threads.  Limit timeout to 3 seconds, in preparation for a
21408         larger TIMEOUT value.
21410 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21412         [BZ #19674]
21413         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21414         sign in overflowing and underflowing results when overflow or
21415         underflow is detected early.  Include sign in result before rather
21416         than after scaling.
21418         [BZ #19603]
21419         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21420         (__ieee754_remainderl): Adjust sign of integer version of low part
21421         when taking absolute value of high part.
21422         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21423         * math/libm-test.inc (remainder_test_data): Add another test.
21424         (remquo_test_data): Likewise.
21426 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21428         [BZ #19602]
21429         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21430         equal high parts and both low parts zero specially.
21431         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21432         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21433         Add test-fmodl-ldbl-128ibm.
21435         [BZ #19595]
21436         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21437         common logic for all cases of shifting subnormal results.  Do not
21438         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21439         exponent to ldbl_insert_mantissa in subnormal case.
21441         [BZ #19594]
21442         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21443         on high and low parts then adjust result and use
21444         ldbl_canonicalize_int if needed.
21446         [BZ #19593]
21447         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21448         on high part and __floor or __ceil on low part then use
21449         ldbl_canonicalize_int if needed.
21451         [BZ #19592]
21452         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21453         high and low parts then use ldbl_canonicalize_int if needed.
21455         [BZ #17899]
21456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21457         New function.
21458         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21459         on high and low parts then use ldbl_canonicalize_int if needed.
21461 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21463         * configure: Regenerated.
21465         * po/libc.pot: Regenerated.
21467         * po/be.po: Updated translation.
21468         * po/bg.po: Likewise.
21469         * po/ca.po: Likewise.
21470         * po/cs.po: Likewise.
21471         * po/da.po: Likewise.
21472         * po/el.po: Likewise.
21473         * po/eo.po: Likewise.
21474         * po/es.po: Likewise.
21475         * po/fi.po: Likewise.
21476         * po/fr.po: Likewise.
21477         * po/gl.po: Likewise.
21478         * po/hr.po: Likewise.
21479         * po/hu.po: Likewise.
21480         * po/ia.po: Likewise.
21481         * po/id.po: Likewise.
21482         * po/it.po: Likewise.
21483         * po/ja.po: Likewise.
21484         * po/lt.po: Likewise.
21485         * po/nb.po: Likewise.
21486         * po/nl.po: Likewise.
21487         * po/pt_BR.po: Likewise.
21488         * po/rw.po: Likewise.
21489         * po/sk.po: Likewise.
21490         * po/sl.po: Likewise.
21491         * po/sv.po: Likewise.
21492         * po/tr.po: Likewise.
21493         * po/zh_CN.po: Likewise.
21494         * po/zh_TW.po: Likewise.
21496         * version.h (RELEAES): Set to "development".
21497         (VERSION): Set to 2.23.90.
21499         * version.h (RELEASE): Set to "stable".
21500         (VERSION): Set to 2.23.
21501         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21503         * NEWS: Updated fixed bugs.
21505 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21506             Wilco Dijkstra  <wdijkstr@arm.com>
21508         [BZ #19462]
21509         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21510         (_STRING_INLINE_unaligned): This.
21511         * include/string.h: Include <string_private.h>.
21512         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21513         _STRING_INLINE_unaligned.
21514         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21515         (_STRING_INLINE_unaligned): New.
21516         * sysdeps/aarch64/string_private.h: New file.
21517         * sysdeps/generic/string_private.h: Likewise.
21518         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21519         * sysdeps/s390/string_private.h: Likewise.
21520         * sysdeps/x86/string_private.h: Likewise.
21521         * sysdeps/m68k/m680x0/m68020/bits/string.h
21522         (_STRING_ARCH_unaligned): Renamed to ...
21523         (_STRING_INLINE_unaligned): This.
21524         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21525         to ...
21526         (_STRING_INLINE_unaligned): This.
21527         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21528         to ...
21529         (_STRING_INLINE_unaligned): This.
21530         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21531         to ...
21532         (_STRING_INLINE_unaligned): This.
21534 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21535             H.J. Lu  <hongjiu.lu@intel.com>
21537         [BZ #19590]
21538         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21539         relocation.
21541 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21543         [BZ #18665]
21544         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21545         *herrno_p.
21546         (gaih_getanswer): Document functional behviour. Return tryagain
21547         if any result is tryagain.
21548         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21549         when freed.
21550         * resolv/res_send.c: Add copyright text.
21551         (__libc_res_nsend): Document that MAXPACKET is expected.
21552         (send_vc): Document. Remove buffer reuse.
21553         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21554         size of the buffer. Add Dprint for truncated UDP buffer.
21556 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21558         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21559         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21560         * INSTALL: Regenerate.
21562 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21563             Jonathan Wakely  <jwakely@redhat.com>
21564             Carlos O'Donell  <carlos@redhat.com>
21566         [BZ 19439]
21567         * math/Makefile (tests): Add test-math-isinff.
21568         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21569         * math/bits/mathcalls.h [__USE_MISC]: Use
21570         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21571         functions not in C++11 and which don't conflict e.g. isinff,
21572         isinfl etc.
21573         * math/test-math-isinff.cc: New file.
21575 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21577         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21579 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21581         [BZ #19529]
21582         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21584 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21586         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21588 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21590         [BZ #19550]
21591         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21592         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21593         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21594         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21595         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21596         New syscall entry.
21597         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21598         New syscall entry.
21599         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21600         syscall entry.
21602 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21604         [BZ #18240]
21605         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21606         unsigned int wraparound.
21608 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21610         [BZ #18240]
21611         * misc/bug18240.c: New test.
21612         * misc/Makefile (tests): Add it.
21614 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21615             Joseph Myers  <joseph@codesourcery.com>
21617         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21618         load in branch delay slot when less than a word of input left.
21620 2016-01-27  Andreas Schwab  <schwab@suse.de>
21622         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21623         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21624         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21625         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21627 2016-01-26  David S. Miller  <davem@davemloft.net>
21629         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21631 2016-01-25  David S. Miller  <davem@davemloft.net>
21633         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21634         __sqrtl_finite.
21635         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21636         instead using versioned_symbol.
21637         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21638         of entries.
21640         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21641         __sqrtl_finite to GLIBC_2.23
21643 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21645         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21647 2016-01-25  Andreas Schwab  <schwab@suse.de>
21649         [BZ #17514]
21650         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21651         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21652         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21653         * nptl/tst-mutex-errorcheck.c: New file.
21655 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21657         [BZ #18560]
21658         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21659         (IPCOP_semop): Likewise.
21660         (IPCOP_semget): Likewise.
21661         (IPCOP_semctl): Likewise.
21662         (IPCOP_msgsnd): Likewise.
21663         (IPCOP_msgrcv): Likewise.
21664         (IPCOP_msgget): Likewise.
21665         (IPCOP_msgctl): Likewise.
21666         (IPCOP_shmat): Likewise.
21667         (IPCOP_shmdt): Likewise.
21668         (IPCOP_shmget): Likewise.
21669         (IPCOP_shmctl): Likewise.
21671 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21673         * string/tst-endian.c: Include <libc-internal.h>.
21674         (do_test): Ignore tautological-compare warnings around
21675         "htobeXX (beXXtoh (i)) != i" and
21676         "htoleXX (leXXtoh (i)) != i" if-statements.
21678 2016-01-24  David S. Miller  <davem@davemloft.net>
21680         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21681         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21682         alias.
21683         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21684         __sqrtl_finite.
21686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21688 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21690         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21691         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21692         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21694 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21696         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21697         (thread_func): Use new function to simplify barrier check.
21698         (do_test): Use new function to simplify checking barrier exit
21699         code, and actually join the child thread.
21701 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21703         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21704         semicolon.
21705         (__libc_tend): Likewise.
21706         (__libc_tabort): Likewise.
21708 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21710         * sysdeps/nios2/libm-test-ulps: Update.
21711         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21712         (__gtsf2): Likewise.
21713         (__unorddf2): Likewise.
21714         (__unordsf2): Likewise.
21715         (__ledf2): Likewise.
21717 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21719         * nis/nis_table.c (__follow_path): Disable diagnostic for
21720         uninitialized variable that is a false positive for gcc 4.7.
21721         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21723 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21725         * sysdeps/nacl/lowlevellock-futex.h
21726         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21727         Always evaluate PRIVATE argument.
21729 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21731         [BZ #19490]
21732         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21733         (pthread_cond_broadcast): Use ENTRY/END
21734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21735         (pthread_cond_signal): Likewise.
21736         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21737         Likewise.
21738         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21739         Likewise.
21740         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21741         Likewise.
21743 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21745         * sysdeps/ieee754/dbl-64/s_finite.c
21746         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21747         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21748         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21749         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21750         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21753         (__gtsf2): Add as optional for libc.so.
21754         (__unordsf2): Likewise.
21755         (__signbit): Remove for libc.so.
21756         (__signbitl): Likewise.
21758 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21760         * iconvdata/bug-iconv11.c (test_ibm93x):
21761         Use %zu printf format specifier for size_t argument.
21763 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21765         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21766         already-recorded ulps.
21767         * sysdeps/arm/libm-test-ulps: Regenerated.
21768         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21769         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21770         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21772 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21773             Paul Pluzhnikov  <ppluzhnikov@google.com>
21775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21776         assembler not supporting AVX-512.
21778 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21780         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21782 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21784         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21787         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21789         * sysdeps/arm/libm-test-ulps: Regenerated.
21791 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21793         [BZ #19451]
21794         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21796 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21798         [BZ #19486]
21799         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21800         * sysdeps/generic/fix-fp-int-convert-overflow.h
21801         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21802         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21803         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21804         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21805         Likewise.
21806         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21807         Avoid conversions to long int where inexact exceptions
21808         could be raised.
21809         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21810         Likewise.
21811         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21812         Avoid conversions to long long int where inexact exceptions
21813         could be raised.
21814         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21815         Likewise.
21817 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21819         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21820         * configure: Regenerated.
21822 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21824         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21826 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21829         outside of comment.
21831 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21833         * nptl/tst-barrier1.c: Add description on first line.
21834         * nptl/tst-barrier2.c: Likewise.
21835         * nptl/tst-barrier3.c: Likewise.
21836         * nptl/tst-barrier4.c: Likewise.
21837         * nptl/tst-barrier5.c: Likewise.
21839 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21841         [BZ #18868]
21842         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21844 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21848         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21849         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21850         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21851         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21852         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21853         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21854         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21855         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21856         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21858 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21860         [BZ #13065]
21861         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21862         new implementation.
21863         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21864         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21865         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21866         (BARRIER_IN_THRESHOLD): New macro.
21867         * nptl/pthread_barrierattr_setpshared.c
21868         (pthread_barrierattr_setpshared): Clean up.
21869         * nptl/tst-barrier4.c: Correct comment.
21870         * nptl/tst-barrier5.c: New file.
21871         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21872         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21873         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21874         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21875         * nptl/lowlevelbarrier.sym: Remove.
21876         * nptl/DESIGN-barrier.txt: Remove.
21877         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21878         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21879         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21880         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21881         error.
21882         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21883         implementation.
21885 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21887         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21888         (do_child): Mask SIGRTMIN while thr is running.
21890 2016-01-15  Martin Sebor  <msebor@redhat.com>
21892         [BZ #19432]
21893         * iconvdata/Makefile: Add bug-iconv11.
21894         * iconvdata/bug-iconv11.c: New test.
21895         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21896         * iconvdata/ibm933.c: Same.
21897         * iconvdata/ibm935.c: Same.
21898         * iconvdata/ibm937.c: Same.
21899         * iconvdata/ibm939.c: Same.
21901 2016-01-15  Martin Sebor  <msebor@redhat.com>
21903         [BZ #19443]
21904         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21905         [DEBUG] (_ufc_set_bits): Declare used.
21906         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21907         [DEBUG] (print_all): Declare used.
21908         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21909         operands of the ternary ?: expression to target type.
21910         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21911         calling the undeclared abort.
21912         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21914 2016-01-15  Martin Sebor  <msebor@redhat.com>
21916         [BZ #18755]
21917         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21918         warnings.
21919         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21920         (__gai_create_helper_thread): Same.
21921         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21922         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21923         to suppress -Wmaybe-uninitialized warnings.
21925 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21927         [BZ #19465]
21928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21929         inside if.
21930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21931         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21932         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21934 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21936         [BZ #19466]
21937         * time/tst-mktime2.c (time_t_max): Removed.
21938         (time_t_min): Likewise.
21939         (TYPE_SIGNED): New.
21940         (TYPE_MINIMUM): Likewise.
21941         (TYPE_MAXIMUM): Likewise.
21942         (TIME_T_MIN): Likewise.
21943         (TIME_T_MAX): Likewise.
21944         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21945         and TIME_T_MIN.
21946         (do_test): Likewise.
21948 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21950         [BZ #19467]
21951         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21952         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21954 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21956         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21958 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21960         * benchtests/Makefile (PYTHON): Define.
21961         (bench-func): Use $(PYTHON) to run python scripts.
21962         ($(objpfx)bench-%.c): Likewise.
21964 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21967         leading slash when `file_name' is "/".
21969 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21971         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21972         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21973         Likewise.
21974         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21975         Likewise.
21976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21977         Likewise.
21978         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21979         enum constant and macro.
21980         (PTRACE_SETSIGMASK): Likewise.
21981         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21982         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21983         (PTRACE_GETSIGMASK): Likewise.
21984         (PTRACE_SETSIGMASK): Likewise.
21985         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21986         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21987         Likewise.
21988         (PTRACE_SETSIGMASK): Likewise.
21989         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21991         (PTRACE_GETSIGMASK): Likewise.
21992         (PTRACE_SETSIGMASK): Likewise.
21993         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21994         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21995         Likewise.
21996         (PTRACE_SETSIGMASK): Likewise.
21997         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21998         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21999         Likewise.
22000         (PTRACE_SETSIGMASK): Likewise.
22001         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22002         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22003         Likewise.
22004         (PTRACE_SETSIGMASK): Likewise.
22005         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22007 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22008             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22010         [BZ #19439]
22011         * math/bits/mathcalls.h
22012         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22013         prototype.
22014         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22016 2016-01-11  Andreas Schwab  <schwab@suse.de>
22018         [BZ #19253]
22019         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22020         cache when TZDEFRULES was used.
22021         * time/tst-tzname.c: New file.
22022         * time/Makefile (test): Add tst-tzname.
22023         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22024         * timezone/Makefile (test-zones): Add $(posixrules-file).
22025         ($(testdata)/$(posixrules-file)): New rule.
22027 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22029         Fix doc quoting problems with Texinfo 5
22030         Without this change, in the info file output, Texinfo 5 quotes code
22031         in text with undirected single quotes 'like this' and generates
22032         code examples that with many PDF readers cannot be cut out of PDFs
22033         and pasted into code.
22034         * manual/libc.texinfo: Configure the libc manual like the GNU
22035         Emacs manual, by using @documentencoding and setting
22036         txicodequoteundirected and txicodequotebacktick.  This way,
22037         Texinfo 5 quotes code in text with directed single quotes ‘like
22038         this’ and produces examples that can be cut out of PDFs.  This
22039         change causes Texinfo 5 to generate info files that contain UTF-8
22040         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22041         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22043 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22045         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22046         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22047         barriers to their respective compiler built-ins.
22048         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22049         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22050         * sysdeps/powerpc/sysdep.h: Likewise.
22051         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22052         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22053         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22055 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22057         * scripts/config.guess: Revert previous shebang change.
22058         * scripts/config.sub: Likewise.
22059         * scripts/mkinstalldirs: Likewise.
22061 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22063         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22064         PPC_FEATURE2_HAS_IEEE128.
22065         * sysdeps/powerpc/dl-procinfo.c:
22066         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22068 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22070         [BZ #19415]
22071         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22072         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22073         (_dl_lookup_address): Rewrite using function resolver trampoline.
22074         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22075         two bits in address.
22077 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22079         * longlong.h: Change !__SHMEDIA__ to
22080         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22081         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22083 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22084             Joseph Myers  <joseph@codesourcery.com>
22085             Mark Shinwell  <shinwell@codesourcery.com>
22086             Andrew Stubbs  <ams@codesourcery.com>
22087             Rich Felker <dalias@libc.org>
22089         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22091 2016-01-07  Richard Henderson  <rth@redhat.com>
22093         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22095 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22097         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22098         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22099         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22100         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22101         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22103 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22104             Joseph Myers  <joseph@codesourcery.com>
22106         * timezone/private.h: Update from tzcode 2015g.
22107         * timezone/tzfile.h: Likewise.
22108         * timezone/tzselect.ksh: Likewise.
22109         * timezone/zdump.c: Likewise.
22110         * timezone/zic.c: Likewise.
22111         * timezone/ialloc.c: Remove file.
22112         * timezone/scheck.c: Likewise.
22113         * timezone/Makefile (extra-objs): Remove variable.
22114         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22115         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22116         -Wno-maybe-uninitialized.
22117         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22118         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22119         (CFLAGS-ialloc.c): Remove variable.
22120         (CFLAGS-scheck.c): Likewise.
22121         * timezone/README: Update list of files from tzcode.
22123 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22125         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22126         instead of __fxprintf when _LIBC is undefined.
22128 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22130         * catgets/test-gencat.sh: Remove space after shebang.
22131         * conform/GlibcConform.pm: Likewise.
22132         * conform/check-header-lists.sh: Likewise.
22133         * conform/conformtest.pl: Likewise.
22134         * conform/linknamespace.pl: Likewise.
22135         * conform/list-header-symbols.pl: Likewise.
22136         * debug/catchsegv.sh: Likewise.
22137         * elf/genrtldtbl.awk: Likewise.
22138         * elf/tst-pathopt.sh: Likewise.
22139         * elf/tst-rtld-load-self.sh: Likewise.
22140         * grp/tst_fgetgrent.sh: Likewise.
22141         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22142         * iconvdata/gen-8bit-gap.sh: Likewise.
22143         * iconvdata/gen-8bit.sh: Likewise.
22144         * iconvdata/run-iconv-test.sh: Likewise.
22145         * intl/tst-gettext.sh: Likewise.
22146         * intl/tst-gettext2.sh: Likewise.
22147         * intl/tst-gettext4.sh: Likewise.
22148         * intl/tst-gettext6.sh: Likewise.
22149         * intl/tst-translit.sh: Likewise.
22150         * io/ftwtest-sh: Likewise.
22151         * libio/test-freopen.sh: Likewise.
22152         * locale/gen-translit.pl: Likewise.
22153         * malloc/tst-mtrace.sh: Likewise.
22154         * manual/check-safety.sh: Likewise.
22155         * manual/libc-texinfo.sh: Likewise.
22156         * manual/tsort.awk: Likewise.
22157         * manual/xtract-typefun.awk: Likewise.
22158         * nptl/tst-cancel-wrappers.sh: Likewise.
22159         * nptl/tst-tls6.sh: Likewise.
22160         * posix/globtest.sh: Likewise.
22161         * posix/tst-getconf.sh: Likewise.
22162         * posix/wordexp-tst.sh: Likewise.
22163         * scripts/check-c++-types.sh: Likewise.
22164         * scripts/check-local-headers.sh: Likewise.
22165         * scripts/config.guess: Likewise.
22166         * scripts/config.sub: Likewise.
22167         * scripts/cpp: Likewise.
22168         * scripts/cross-test-ssh.sh: Likewise.
22169         * scripts/documented.sh: Likewise.
22170         * scripts/evaluate-test.sh: Likewise.
22171         * scripts/gen-libc-abis: Likewise.
22172         * scripts/gen-sorted.awk: Likewise.
22173         * scripts/list-fixed-bugs.py: Likewise.
22174         * scripts/merge-test-results.sh: Likewise.
22175         * scripts/mkinstalldirs: Likewise.
22176         * scripts/rellns-sh: Likewise.
22177         * scripts/test-installation.pl: Likewise.
22178         * scripts/update-copyrights: Likewise.
22179         * stdio-common/tst-printf.sh: Likewise.
22180         * stdio-common/tst-unbputc.sh: Likewise.
22181         * stdlib/tst-fmtmsg.sh: Likewise.
22182         * stdlib/tst-setcontext3.sh: Likewise.
22183         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22184         * sysdeps/unix/make-syscalls.sh: Likewise.
22186 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22188         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22189         asm stw with atomic_exchange_rel.  Add explanatory comment.
22190         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22191         Likewise.
22193 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22195         [BZ #19122]
22196         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22197         * sysdeps/generic/dl-unistd.h: New file.
22198         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22200 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22202          [BZ #19122]
22203          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22204          * sysdeps/generic/dl-mman.h: New file.
22205          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22207 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22209         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22210         trailing whitespace removed.
22211         * scripts/config.guess: Update to version 2016-01-01.
22212         * scripts/config.sub: Update to version 2016-01-01.
22213         * scripts/move-if-change: Update from gnulib.
22215 2016-01-04  Anton Blanchard  <anton@samba.org>
22217         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22218         for array indices.
22219         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22221 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22223         * NEWS: Update copyright dates.
22224         * catgets/gencat.c (print_version): Likewise.
22225         * csu/version.c (banner): Likewise.
22226         * debug/catchsegv.sh: Likewise.
22227         * debug/pcprofiledump.c (print_version): Likewise.
22228         * debug/xtrace.sh (do_version): Likewise.
22229         * elf/ldconfig.c (print_version): Likewise.
22230         * elf/ldd.bash.in: Likewise.
22231         * elf/pldd.c (print_version): Likewise.
22232         * elf/sotruss.sh: Likewise.
22233         * elf/sprof.c (print_version): Likewise.
22234         * iconv/iconv_prog.c (print_version): Likewise.
22235         * iconv/iconvconfig.c (print_version): Likewise.
22236         * locale/programs/locale.c (print_version): Likewise.
22237         * locale/programs/localedef.c (print_version): Likewise.
22238         * login/programs/pt_chown.c (print_version): Likewise.
22239         * malloc/memusage.sh (do_version): Likewise.
22240         * malloc/memusagestat.c (print_version): Likewise.
22241         * malloc/mtrace.pl: Likewise.
22242         * manual/libc.texinfo: Likewise.
22243         * nptl/version.c (banner): Likewise.
22244         * nscd/nscd.c (print_version): Likewise.
22245         * nss/getent.c (print_version): Likewise.
22246         * nss/makedb.c (print_version): Likewise.
22247         * posix/getconf.c (main): Likewise.
22248         * scripts/test-installation.pl: Likewise.
22249         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22251         * All files with FSF copyright notices: Update copyright dates
22252         using scripts/update-copyrights.
22253         * intl/plural.c: Regenerated.
22254         * locale/programs/charmap-kw.h: Likewise.
22255         * locale/programs/locfile-kw.h: Likewise.
22257 2016-01-02  Helge Deller  <deller@gmx.de>
22259         [BZ #19285]
22260         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22261         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22262         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22263         (MADV_xxK_PAGES): Remove.
22265 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
22267         [BZ #15421]
22268         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22269         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
22270         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22271         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22273 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
22275         [BZ #19408]
22276         * sysdeps/unix/sysv/linux/personality.c: New file.
22277         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22278         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22279         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22280         (sysdep_routines): Add personality.
22281         (tests): Add tst-personality.
22282         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22284         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22285         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22286         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22288         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22289         Likewise.
22290         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22291         Likewise.
22292         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22293         Likewise.
22294         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22295         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22296         Likewise.
22298 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
22300         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22301         (PATH_ARM_SYSTYPE): Remove.
22302         (PATH_CPUINFO): Likewise.
22303         (IO_BASE_FOOTBRIDGE): Likewise.
22304         (IO_SHIFT_FOOTBRIDGE): Likewise.
22305         (struct platform): Likewise.
22306         (init_iosys): Remove compatibility code for 2.4 kernels.
22307         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22309 2015-12-29  Florian Weimer  <fweimer@redhat.com>
22311         * malloc/tst-malloc-thread-fail.c: New file.
22312         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22313         (tst-malloc-thread-fail): Link against libpthread.
22315 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
22317         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
22318         (get_parser): New function.
22319         (main): New function.
22321 2015-12-29  Rob Wu  <rob@robwu.nl>
22323         [BZ #19369]
22324         * resolv/res_init.c (__res_vinit): Reset defdname before use.
22326 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
22328         [BZ #19270]
22329         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22331 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
22333         [BZ #15421]
22334         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22336 2015-12-23  Torvald Riegel  <triegel@redhat.com>
22338         [BZ #13690]
22339         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22340         after releasing it.
22341         (__lll_robust_unlock): Likewise.
22342         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22344         (lll_robust_unlock): Likewise.
22345         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22346         Prevent warnings in callers.
22348 2015-12-23  Florian Weimer  <fweimer@redhat.com>
22350         * malloc/arena.c (list_lock): Update comment.
22352 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22354         * sysdeps/powerpc/hwcapinfo.c: Export symbol
22355         __parse_hwcap_and_convert_at_platform to libc.a.
22357 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22359         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22360         platform and feature support for POWER9.
22361         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22362         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22363         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22364         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22365         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22366         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22367         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22368         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22370 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22372         Harmonize generic stdio-lock support with nptl
22374         This fixes build when _IO_funlockfile is a macro, fixes build where
22375         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22376         stack unwind.
22378         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22379         _IO_release_lock ): Use cleanup attribute on new
22380         _IO_acquire_lock_file variable instead of assuming that
22381         _IO_release_lock will be called.
22382         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22383         _IO_acquire_lock_needs_exceptions_enabled.
22384         (_IO_acquire_lock_clear_flags2): New macro.
22386 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22388         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22390 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22392         [BZ #19182]
22393         * malloc/arena.c (list_lock): Document lock ordering requirements.
22394         (free_list_lock): New lock.
22395         (ptmalloc_lock_all): Comment on free_list_lock.
22396         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22397         (detach_arena): Update comment.  free_list_lock is now needed.
22398         (_int_new_arena): Use free_list_lock around detach_arena call.
22399         Acquire arena lock after list_lock.  Add comment, including FIXME
22400         about incorrect synchronization.
22401         (get_free_list): Switch to free_list_lock.
22402         (reused_arena): Acquire free_list_lock around detach_arena call
22403         and attached threads counter update.  Add two FIXMEs about
22404         incorrect synchronization.
22405         (arena_thread_freeres): Switch to free_list_lock.
22406         * malloc/malloc.c (struct malloc_state): Update comments to
22407         mention free_list_lock.
22409 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22411         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22412         Remove functions.
22413         (sloww, sloww1): Accept argument to offset quadrant.
22414         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22415         quadrant.
22416         (__sin, __cos): Consolidate common code into new functions.
22417         (reduce_sincos_1, do_sincos_1): New functions.
22418         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22420         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22421         code to new functions.
22422         (reduce_sincos_2, do_sincos_2): New functions.
22423         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22426         common code for sincos.
22427         (__cos) [!IN_SINCOS]: Likewise.
22428         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22429         New function.
22430         (__sincos): Use it.
22432 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22434         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22435         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22436         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22438 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22440         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22443         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22444         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22445         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22446         index_Prefer_No_VZEROUPPER): New feature.
22447         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22448         Prefer_No_VZEROUPPER for Knights Landing.
22450 015-12-18  Torvald Riegel  <triegel@redhat.com>
22452         * math/atest-exp2.c (mp_exp_m1): Remove.
22454 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22456         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22457         syscalls.
22458         (__SYSCALL0): New macro.
22459         (__SYSCALL1): Likewise.
22460         (__SYSCALL2): Likewise.
22461         (__SYSCALL3): Likewise.
22462         (__SYSCALL4): Likewise.
22463         (__SYSCALL5): Likewise.
22464         (__SYSCALL6): Likewise.
22465         (__SYSCALL_CONCAT_X): Likewise.
22466         (__SYSCALL_CONCAT): Likewise.
22467         (__SYSCALL_DIST): Likewise.
22468         (__SYSCALL_CALL): Likewise.
22470 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22472         [BZ #19363]
22473         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22475 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22477         [BZ #19375]
22478         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22479         negative subnormals.
22481 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22484         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22485         (INTERNAL_SYSCALL_NCS): Use it.
22486         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22488 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22490         [BZ #19243]
22491         * malloc/arena.c (get_free_list): Remove assert and adjust
22492         reference count handling.  Add comment about reused_arena
22493         interaction.
22494         (reused_arena): Add comments abount get_free_list interaction.
22495         * malloc/tst-malloc-thread-exit.c: New file.
22496         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22497         (tst-malloc-thread-exit): Link against libpthread.
22499 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22501         [BZ #19367]
22502         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22503         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22504         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22505         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22506         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22508 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22510         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22511         Silvermont optimizations for Knights Landing.
22513 2015-12-15  Andreas Schwab  <schwab@suse.de>
22515         [BZ #17197]
22516         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22517         immediately after emitting SI.
22518         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22519         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22520         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22521         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22522         * iconvdata/bug-iconv10.c: New file.
22523         * iconvdata/Makefile (tests): Add bug-iconv10.
22524         ($(objpfx)bug-iconv10.out): New rule.
22526 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22528         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22529         aliasing violation.
22531 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22533         [BZ #18472]
22534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22535         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22536         conditionals for them.
22537         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22538         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22540         sys/kdaemon.h.
22541         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22542         compat-only syscall, obsoleted in glibc 2.23.
22543         (create_module): Likewise.
22544         (get_kernel_syms): Likewise.
22545         (query_module): Likewise.
22546         (uselib): Likewise.
22547         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22549 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22551         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22552         <linux/version.h>.
22553         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22554         conditional code.
22555         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22556         and ioshift_name initialization.
22558 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22560         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22561         Fix indentation.
22563 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22565         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22567 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22569         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22571 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22572             Jakub Wilk  <jwilk@debian.org>
22574         [BZ #19347]
22575         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22576         to change the group of the device to the tty group.
22578 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22580         Split large string section; add truncation advice
22581         * manual/examples/strncat.c: Remove.
22582         This example was misleading, as the code would have undefined
22583         behavior if "hello" was longer than SIZE.  Anyway, the manual
22584         shouldn't encourage strncpy+strncat for this sort of thing.
22585         * manual/string.texi (Copying Strings and Arrays): Split into
22586         three sections Copying Strings and Arrays, Concatenating Strings,
22587         and Truncating Strings, as this section was way too long.  All
22588         cross-referenced changed.  Add advice about string-truncation
22589         functions.  Remove misleading strncat example.
22591 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22593         * manual/nss.texi (NSS Modules Interface): Document
22594         NSS_STATUS_NOTFOUND and SUCCESS.
22596 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22598         [BZ 18568]
22599         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22600         201505L, for Unicode 8.
22602 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22604         * locale/C-translit.h: Regenerate.
22606 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22608         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22609         and U+0153.
22611 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22613         [BZ #19351]
22614         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22615         expanding log(1+z), compare z rather than its square with epsilon
22616         to determine when to avoid evaluating the expansion.
22618         [BZ #19350]
22619         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22620         Increase overflow threshold.
22622         [BZ #19349]
22623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22624         when small.
22626         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22628         New macro.
22629         [__LINUX_KERNEL_VERSION >= 0x040300]
22630         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22632         Likewise.
22633         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22634         Likewise.
22635         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22636         Likewise.
22637         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22638         Likewise.
22639         [__LINUX_KERNEL_VERSION >= 0x040300]
22640         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22641         [__LINUX_KERNEL_VERSION >= 0x040300]
22642         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22643         [__LINUX_KERNEL_VERSION >= 0x040300]
22644         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22645         [__LINUX_KERNEL_VERSION >= 0x040300]
22646         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22647         [__LINUX_KERNEL_VERSION >= 0x040300]
22648         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22650         Likewise.
22651         [__LINUX_KERNEL_VERSION >= 0x040300]
22652         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22654         Likewise.
22655         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22656         Likewise.
22657         [__LINUX_KERNEL_VERSION >= 0x040300]
22658         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22659         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22660         Likewise.
22661         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22662         Likewise.
22663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22665         Likewise.
22666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22667         Likewise.
22668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22669         Likewise.
22670         [__LINUX_KERNEL_VERSION >= 0x040300]
22671         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22673         Likewise.
22674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22675         Likewise.
22676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22677         Likewise.
22678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22679         Likewise.
22680         [__LINUX_KERNEL_VERSION >= 0x040300]
22681         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22682         [__LINUX_KERNEL_VERSION >= 0x040300]
22683         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22684         [__LINUX_KERNEL_VERSION >= 0x040300]
22685         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22686         [__LINUX_KERNEL_VERSION >= 0x040300]
22687         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22688         [__LINUX_KERNEL_VERSION >= 0x040300]
22689         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22691         Likewise.
22692         [__LINUX_KERNEL_VERSION >= 0x040300]
22693         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22695         Likewise.
22696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22697         Likewise.
22698         [__LINUX_KERNEL_VERSION >= 0x040300]
22699         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22700         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22701         Likewise.
22702         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22703         Likewise.
22704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22705         (__ASSUME_SOCKET_SYSCALL): Likewise.
22706         (__ASSUME_BIND_SYSCALL): Likewise.
22707         (__ASSUME_CONNECT_SYSCALL): Likewise.
22708         (__ASSUME_LISTEN_SYSCALL): Likewise.
22709         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22710         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22711         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22712         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22713         (__ASSUME_SEND_SYSCALL): Likewise.
22714         (__ASSUME_SENDTO_SYSCALL): Likewise.
22715         (__ASSUME_RECV_SYSCALL): Likewise.
22716         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22717         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22718         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22719         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22720         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22721         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22722         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22724         Likewise.
22725         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22726         Likewise.
22727         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22728         Likewise.
22729         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22730         Likewise.
22731         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22732         Likewise.
22733         [__LINUX_KERNEL_VERSION >= 0x020625]
22734         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22735         [__LINUX_KERNEL_VERSION >= 0x020625]
22736         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22737         [__LINUX_KERNEL_VERSION >= 0x020625]
22738         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22739         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22740         Likewise.
22741         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22742         Likewise.
22743         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22744         Likewise.
22745         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22746         Likewise.
22747         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22748         Likewise.
22749         [__LINUX_KERNEL_VERSION >= 0x020625]
22750         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22751         [__LINUX_KERNEL_VERSION >= 0x020625]
22752         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22753         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22754         Likewise.
22755         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22756         Likewise.
22758 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22760         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22761         record the current if the current ABI and CPU support the FP64
22762         extension.
22763         (has-modd-spreg): Define to record the current if the current ABI and
22764         CPU support 32-bit floating point values in odd FPU registers.
22765         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22766         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22767         $(has-modd-spreg) equals yes.
22768         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22769         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22770         $(has-modd-spreg) equal yes.
22772 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22774         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22775         basename.
22777 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22779         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22780         (bench-string): ... here.
22781         (bench): Add bench-string.
22782         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22783         to *-benchset to reflect what they are.
22784         (benchset): Adjust.
22786         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22787         cos-inputs.
22789 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22791         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22792         __attribute__ ((__simd__)) for vector math function declarations.
22794 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22796         Fix typo in strncat, wcsncat manual entries
22797         * manual/string.texi (Copying and Concatenation): Fix typos in
22798         sample implementations of strncat and wcsncat, by having them use
22799         the old value of the destination length, not the new one.
22801 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22803         [BZ #16961]
22804         [BZ #16962]
22805         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22806         string on the stack for strtod.
22807         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22808         a string on the stack for strtof.
22809         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22810         constructing a string on the stack for strtold.
22811         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22812         __strtold_nan to GLIBC_PRIVATE.
22813         * math/test-nan-overflow.c: New file.
22814         * math/test-nan-payload.c: Likewise.
22815         * math/Makefile (tests): Add test-nan-overflow and
22816         test-nan-payload.
22818 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22820         Consistency about byte vs character in string.texi
22821         * manual/string.texi (String and Array Utilities):
22822         Distinguish more carefully among bytes, multibyte characters,
22823         and wide characters.  Use "byte" when talking about C 'char',
22824         to distinguish it more clearly from multibyte characters.
22825         Say "wide character" or "multibyte character" instead of
22826         "character", when a wide or multibyte character is intended.
22827         Similarly for "multibyte string" versus "string".
22828         Define these terms more carefully.
22830 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22832         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22833         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22834         Likewise.
22835         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22836         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22837         * sysdeps/sh/math_private.h: New file.
22838         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22839         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22840         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22841         long double function name.
22842         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22843         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22844         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22848         Remove __finitel, __isinfl, and __isnanl.
22849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22850         Likewise.
22851         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22853         Remove __finitel.
22854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22855         Likewise.
22856         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22858 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22860         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22861         installed libmvec_nonshared.a.
22863 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22865         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22866         (sysdep_routines): Likewise.
22867         (sysdep-rtld-routines): Likewise.
22868         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22869         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22870         * sysdeps/powerpc/Versions: Added new
22871         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22872         * sysdeps/powerpc/hwcapinfo.c: New file.
22873         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22874         and parse hwcap, hwcap2 and platform number information.
22875         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22876         to store HWCAP+HWCAP2 and platform number.
22877         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22878         for HWCAP+HWCAP2 and platform number in the TCB.
22879         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22880         the HWCAP, HWCAP2 and platform number in the TCB.
22881         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22882         (TLS_INIT_TP): Included calls to add the hwcap and
22883         at_platform values in the TCB in TP initialization.
22884         (TLS_DEFINE_INIT_TP): Likewise.
22885         (THREAD_GET_HWCAP): New macro.
22886         (THREAD_SET_HWCAP): Likewise.
22887         (THREAD_GET_AT_PLATFORM): Likewise.
22888         (THREAD_SET_AT_PLATFORM): Likewise.
22889         * sysdeps/powerpc/powerpc32/dl-machine.h:
22890         (dl_platform_init): New function that calls
22891         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22892         powerpc32.
22893         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22894         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22895         this functionality, static linking case.
22896         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22897         linking case.
22898         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22899         __parse_hwcap_and_convert_at_platform for the static linking case.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22901         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22902         ABI list for GLIBC 2.23.
22903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22904         Likewise.
22905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22906         Likewise.
22908 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22910         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22911         * configure: Regenerate.
22912         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22913         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22915 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22917         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22918         * iconvdata/ibm933.c: Likewise.
22919         * iconvdata/ibm935.c: Likewise.
22920         * iconvdata/ibm937.c: Likewise.
22921         * iconvdata/ibm939.c: Likewise.
22923 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22925         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22926         pthread_join.
22927         * nptl/tst-cancel21.c (tf): Likewise.
22929 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22931         [BZ #19313]
22932         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22933         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22934         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22935         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22936         Likewise.
22937         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22938         Likewise.
22939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22940         Likewise.
22941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22942         Likewise.
22943         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22944         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22945         unsigned long int with __CPU_MASK_TYPE.
22947 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22949         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22951 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22953         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22954         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22955         t512.x.
22956         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22958 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22960         [BZ #19214]
22961         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22962         argument to return extended model.  Update family and model
22963         with extended family and model when family == 0x0f.
22964         (init_cpu_features): Updated.
22966 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22968         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22969         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22971         * sysdeps/mach/hurd/mmap64.c: New file.
22973 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22975         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22976         rights for its main user thread in NEWTASK.
22978 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22980         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22981         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22983 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22985         [BZ #14259]
22986         * Makeconfig: Rename localedir to complocaledir.
22987         Rename inst_localedir to inst_complocaledir.
22988         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22989         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22990         * configure.ac: Use libc_cv_complocaledir.
22991         * configure: Regenerate.
22992         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22993         -DCOMPLOCALEDIR.
22994         * locale/findlocale.c: Use COMPLOCALEDIR.
22995         * locale/loadarchive.c: Likewise.
22996         * locale/programs/locale.c: Likewise.
22997         * locale/programs/localedef.c: Likewise.
22998         * locale/programs/locarchive.c: Likewise.
22999         * localedata/Makefile: Use inst_complocaledir.
23000         * sysdeps/gnu/configure: Regenerate.
23001         * sysdeps/hppa/configure: Regenerate.
23002         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23003         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23005         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23006         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23007         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23008         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23010 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23012         [BZ #19058]
23013         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23014         AS_NEEDED.
23015         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23016         workaround.
23017         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23018         libmvec-static-only-routines): Added new file.
23019         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23021 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23023         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23024         of interrupted RPC instead of restoring it.
23026         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23027         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23028         libc_hidden_def.
23029         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23030         into initialized data instead of common. Define rtld_hidden_data_def.
23031         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23032         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23033         libc_hidden_def.
23034         (if_freenameindex): Add libc_hidden_weak.
23035         (if_nameindex): Add libc_hidden_weak.
23036         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23037         __open64.
23038         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23039         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23040         * sysdeps/mach/nanosleep.c: Include <time.h>
23041         (__nanosleep): Rename to __libc_nanosleep.
23042         (__nanosleep): Add weak_alias.
23043         (nanosleep): Update alias.
23045 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23047         * stdlib/strtod_nan.c: New file.
23048         * stdlib/strtod_nan_double.h: Likewise.
23049         * stdlib/strtod_nan_float.h: Likewise.
23050         * stdlib/strtod_nan_main.c: Likewise.
23051         * stdlib/strtod_nan_narrow.h: Likewise.
23052         * stdlib/strtod_nan_wide.h: Likewise.
23053         * stdlib/strtof_nan.c: Likewise.
23054         * stdlib/strtold_nan.c: Likewise.
23055         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23056         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23057         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23058         * wcsmbs/wcstod_nan.c: Likewise.
23059         * wcsmbs/wcstof_nan.c: Likewise.
23060         * wcsmbs/wcstold_nan.c: Likewise.
23061         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23062         strtold_nan.
23063         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23064         wcstof_nan.
23065         * include/stdlib.h (__strtof_nan): Declare and use
23066         libc_hidden_proto.
23067         (__strtod_nan): Likewise.
23068         (__strtold_nan): Likewise.
23069         (__wcstof_nan): Likewise.
23070         (__wcstod_nan): Likewise.
23071         (__wcstold_nan): Likewise.
23072         * include/wchar.h (____wcstoull_l_internal): Declare.
23073         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23074         (____strtoull_l_internal): Remove declaration.
23075         (STRTOF_NAN): Define macro.
23076         (SET_MANTISSA): Remove macro.
23077         (STRTOULL): Likewise.
23078         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23079         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23080         (STRTOF_NAN): Define macro.
23081         (SET_MANTISSA): Remove macro.
23082         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23083         (SET_MANTISSA): Remove macro.
23084         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23085         macro.
23086         (SET_MANTISSA): Remove macro.
23087         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23088         macro.
23089         (SET_MANTISSA): Remove macro.
23090         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23091         (SET_MANTISSA): Remove macro.
23092         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23093         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23094         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23096         [BZ #19266]
23097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23098         upper case and lower case letters inside NAN(), not using TOLOWER.
23099         * stdlib/tst-strtod-nan-locale-main.c: New file.
23100         * stdlib/tst-strtod-nan-locale.c: Likewise.
23101         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23102         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23103         Depend on $(gen-locales).
23104         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23105         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23106         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23107         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23108         Depend on $(gen-locales).
23109         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23111 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23113         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23115         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23117         __finitel, __isinfl, and __isnanl.
23118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23119         Likewise.
23120         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23122         __finitel.
23123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23124         Likewise.
23125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23127 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23129         * malloc/memusage.c (me): Remove redundant getenv call.
23131 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23133         [BZ #19143]
23134         [BZ #19164]
23135         * nptl/check-cpuset.h: Remove.
23136         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23137         Remove CPU set size check.
23138         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23139         Likewise.
23140         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23141         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23142         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23143         (__pthread_setaffinity_new): Remove CPU set size check.
23144         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23145         (__kernel_cpumask_size): Remove.
23146         (__sched_setaffinity_new): Remove CPU set size check.
23147         * manual/threads.texi (Default Thread Attributes): Remove stale
23148         reference to check_cpuset_attr, determine_cpumask_size in comment.
23149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23150         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23151         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23152         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23153         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23154         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23155         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23156         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23157         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23158         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23159         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23160         skeleton test file.
23161         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23162         tst-affinity-pid.
23164 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23166         * scripts/update-abilist.sh: New file.
23167         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23168         * Makerules (update-all-abi-%, update-all-abi)
23169         (subdir_update-all-abi): New targets.
23170         * elf/Makefile (update-all-abi): New target.
23172 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23174         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23175         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23176         (__libc_lock_define_initialized): Use it.
23177         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23178         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23179         * malloc/malloc.c (main_arena): Likewise.
23180         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23181         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23183 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23185         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23186         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23187         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23188         (PTRACE_O_MASK): Update value.
23189         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23190         New value in enum __ptrace_setoptions.
23191         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23192         (PTRACE_O_MASK): Update value.
23193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23194         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23195         (PTRACE_O_MASK): Update value.
23196         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23197         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23198         (PTRACE_O_MASK): Update value.
23199         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23200         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23201         (PTRACE_O_MASK): Update value.
23202         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23203         New value in enum __ptrace_setoptions.
23204         (PTRACE_O_MASK): Update value.
23205         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23206         New value in enum __ptrace_setoptions.
23207         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23208         (PTRACE_O_MASK): Update value.
23210         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23211         New macro.
23212         (PACKET_AUXDATA): Likewise.
23213         (PACKET_ORIGDEV): Likewise.
23214         (PACKET_VERSION): Likewise.
23215         (PACKET_HDRLEN): Likewise.
23216         (PACKET_RESERVE): Likewise.
23217         (PACKET_TX_RING): Likewise.
23218         (PACKET_LOSS): Likewise.
23219         (PACKET_VNET_HDR): Likewise.
23220         (PACKET_TX_TIMESTAMP): Likewise.
23221         (PACKET_TIMESTAMP): Likewise.
23222         (PACKET_FANOUT): Likewise.
23223         (PACKET_TX_HAS_OFF): Likewise.
23224         (PACKET_QDISC_BYPASS): Likewise.
23225         (PACKET_ROLLOVER_STATS): Likewise.
23226         (PACKET_FANOUT_DATA): Likewise.
23227         (PACKET_MR_UNICAST): Likewise.
23229         [BZ #19242]
23230         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23231         (TOUPPER): Likewise.
23232         * stdlib/tst-strtol-locale-main.c: New file.
23233         * stdlib/tst-strtol-locale.c: Likewise.
23234         * stdlib/Makefile (tests): Add tst-strtol-locale.
23235         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23236         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23237         Depend on $(gen-locales).
23238         * wcsmbs/tst-wcstol-locale.c: New file.
23239         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23240         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23241         tr_TR.ISO-8859-9.
23242         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23243         Depend on $(gen-locales).
23245 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23247         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23248         __glibc_likely instead of __builtin_expect.  After falling back to
23249         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23250         system interface to register the code pages as occupied.
23252 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23254         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23255         [!ARM_MATH_PRIVATE_H].
23256         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23257         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23258         [!HPPA_MATH_PRIVATE_H].
23259         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23260         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23261         to [!I386_MATH_PRIVATE_H].
23262         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23263         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23264         Change guard to [!M68K_MATH_PRIVATE_H].
23265         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23266         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23267         guard to [!MICROBLAZE_MATH_PRIVATE_H].
23268         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23269         macro.
23270         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23271         [!MIPS_MATH_PRIVATE_H].
23272         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23273         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23274         [!NIO2_MATH_PRIVATE_H].
23275         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23276         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23277         [!TILE_MATH_PRIVATE_H].
23278         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23280         [BZ #15421]
23281         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23282         initialize with 0 and define as weak alias of __signgam.
23283         * include/math.h [!_ISOMAC] (__signgam): Declare.
23284         * math/Makefile (libm-calls): Add w_lgamma_compat.
23285         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23286         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23287         test-signgam-ullong-init.
23288         (tests-static): Add test-signgam-uchar-static,
23289         test-signgam-uchar-init-static, test-signgam-uint-static,
23290         test-signgam-uint-init-static, test-signgam-ullong-static and
23291         test-signgam-ullong-init-static.
23292         (CFLAGS-test-signgam-uchar.c): New variable.
23293         (CFLAGS-test-signgam-uchar-init.c): Likewise.
23294         (CFLAGS-test-signgam-uchar-static.c): Likewise.
23295         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23296         (CFLAGS-test-signgam-uint.c): Likewise.
23297         (CFLAGS-test-signgam-uint-init.c): Likewise.
23298         (CFLAGS-test-signgam-uint-static.c): Likewise.
23299         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23300         (CFLAGS-test-signgam-ullong.c): Likewise.
23301         (CFLAGS-test-signgam-ullong-init.c): Likewise.
23302         (CFLAGS-test-signgam-ullong-static.c): Likewise.
23303         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23304         * math/Versions (libm): Add GLIBC_2.23.
23305         * math/lgamma-compat.h: New file.
23306         * math/test-signgam-main.c: Likewise.
23307         * math/test-signgam-uchar-init-static.c: Likewise.
23308         * math/test-signgam-uchar-init.c: Likewise.
23309         * math/test-signgam-uchar-static.c: Likewise.
23310         * math/test-signgam-uchar.c: Likewise.
23311         * math/test-signgam-uint-init-static.c: Likewise.
23312         * math/test-signgam-uint-init.c: Likewise.
23313         * math/test-signgam-uint-static.c: Likewise.
23314         * math/test-signgam-uint.c: Likewise.
23315         * math/test-signgam-ullong-init-static.c: Likewise.
23316         * math/test-signgam-ullong-init.c: Likewise.
23317         * math/test-signgam-ullong-static.c: Likewise.
23318         * math/test-signgam-ullong.c: Likewise.
23319         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23320         wrapper of w_lgamma_main.c.
23321         * math/w_lgamma_compat.c: New file.
23322         * math/w_lgamma_compatf.c: Likewise.
23323         * math/w_lgamma_compatl.c: Likewise.
23324         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
23325         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23326         defining compatibility symbols.
23327         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
23328         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23329         wrapper of w_lgammaf_main.c.
23330         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
23331         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23332         defining compatibility symbols.
23333         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
23334         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23335         wrapper of w_lgammal_main.c.
23336         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
23337         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23338         defining compatibility symbols.
23339         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
23340         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23341         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23342         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
23343         <lgamma-compat.h>.
23344         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
23345         (__ieee754_gamma): Define as alias.
23346         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23347         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
23348         <lgamma-compat.h>.
23349         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
23350         (__ieee754_gammaf): Define as alias.
23351         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23352         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
23353         <lgamma-compat.h>.
23354         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
23355         (__ieee754_gammal): Define as alias.
23356         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23357         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
23358         <math/w_lgamma_compat.c>.
23359         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23360         Define as alias of __lgamma_compat and use in defining lgammal.
23361         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23362         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
23363         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23364         (USE_AS_COMPAT): New macro.
23365         (LGAMMA_OLD_VER): Undefine and redefine.
23366         (lgammal): Do not define here.
23367         (gammal): Only define here if [GAMMA_ALIAS].
23368         * conform/linknamespace.pl (@whitelist): Remove signgam.
23369         * sysdeps/nacl/libm.abilist: Update.
23370         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23371         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23372         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23373         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23374         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23375         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23376         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23377         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23378         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23379         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23380         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23381         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23383         Likewise.
23384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23385         Likewise.
23386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23387         Likewise.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23389         Likewise.
23390         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23391         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23392         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23393         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23394         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23396         Likewise.
23397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23398         Likewise.
23399         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23400         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23401         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23403 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23405         [BZ #16364]
23406         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23407         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23409 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23411         * sysdeps/s390/fpu/bits/mathinline.h:
23412         Use __asm__ [__volatile__] instead of asm [volatile].
23413         * sysdeps/s390/abort-instr.h: Likewise.
23414         * sysdeps/s390/atomic-machine.h: Likewise.
23415         * sysdeps/s390/bits/string.h: Likewise.
23416         * sysdeps/s390/dl-tls.h: Likewise.
23417         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23418         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23419         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23420         * sysdeps/s390/fpu/fesetround.c: Likewise.
23421         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23422         * sysdeps/s390/fpu/s_fma.c: Likewise.
23423         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23424         * sysdeps/s390/memusage.h: Likewise.
23425         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23426         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23427         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23428         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23429         * sysdeps/s390/nptl/tls.h: Likewise.
23430         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23431         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23432         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23433         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23434         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23435         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23436         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23437         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23438         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23439         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23440         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23441         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23442         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23443         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23444         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23445         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23446         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23447         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23448         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23450         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23452         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23454 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23455             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23457         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23458         Add lwarx hint, and use macro for acquire instruction.
23459         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23460         Likewise.
23461         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23462         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23463         update to use new atomic macros.
23465 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23467         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23468         (__lll_trylock_elision): Fix setting of adapt_count.
23469         * sysdeps/unix/sysv/linux/powerpc/htm.h
23470         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23471         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23472         (_ABORT_SYSCALL): Renumber, and clarify definition.
23473         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23475 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23477         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23478         after system headers to prevent MIN/MAX redefinition.  Define
23479         HAVE_ALLOCA to preserve builtin alloca usage.
23481 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23484         static and don't set or restore rounding.
23485         (__cos)[IN_SINCOS]: Likewise.
23486         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23487         (__sincos): Set and restore rounding mode.  Remove check for infinite
23488         or NaN input.
23490         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23492         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23493         as used.
23495 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23497         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23499 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23501         * config.make.in (have-glob-dat-reloc): New.
23502         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23503         target supports GLOB_DAT relocaton. AC_SUBST.
23504         * configure: Regenerated.
23505         * elf/Makefile (tests): Add tst-prelink.
23506         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23507         (tst-prelink-ENV): New.
23508         ($(objpfx)tst-prelink-conflict.out): Likewise.
23509         ($(objpfx)tst-prelink-cmp.out): Likewise.
23510         * sysdeps/x86/tst-prelink.c: Moved to ...
23511         * elf/tst-prelink.c: Here.
23512         * sysdeps/x86/tst-prelink.exp: Moved to ...
23513         * elf/tst-prelink.exp: Here.
23514         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23515         (tst-prelink-ENV): Removed.
23516         ($(objpfx)tst-prelink-conflict.out): Likewise.
23517         ($(objpfx)tst-prelink-cmp.out): Likewise.
23518         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23520 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23522         [BZ #14551]
23523         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23524         (__mpn_construct_long_double): If high part overflows to infinity,
23525         set errno and recompute overflowed result of the correct sign.
23526         * sysdeps/ieee754/ldbl-128ibm/Makefile
23527         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23528         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23529         $(libm).
23530         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23532 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23534         [BZ #15479]
23535         [BZ #19238]
23536         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23537         floating-point state after first operation on input.  Restore full
23538         state rather than just rounding mode.
23539         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23540         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23541         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23543         [BZ #19235]
23544         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23545         add 0.5 to integer arguments.
23546         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23547         Likewise.
23548         (.LC2): New object.
23550 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23552         * scripts/pylintrc (reports): Set to no.
23554 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23556         * elf/dl-load.c (open_verify): Take new argument FD.
23557         Skip __open call if passed FD is not -1.
23558         (_dl_map_object, open_path): Update callers.
23559         * elf/dl-sysdep-open.h: New file.
23560         * elf/dl-load.c: Include it.
23561         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23562         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23563         * sysdeps/nacl/dl-sysdep-open.h: New file.
23564         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23565         from libc to rtld.
23567 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23569         [BZ #19228]
23570         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23571         and restore full floating-point state.
23572         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23573         Likewise.
23574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23575         Likewise.
23576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23577         Likewise.
23578         * math/test-nearbyint-except-2.c: New file.
23579         * math/Makefile (tests): Add test-nearbyint-except-2.
23581 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23583         [BZ #19178]
23584         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23585         (tst-prelink-ENV): New.
23586         ($(objpfx)tst-prelink-conflict.out): Likewise.
23587         ($(objpfx)tst-prelink-cmp.out): Likewise.
23588         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23589         * sysdeps/x86/tst-prelink.c: New file.
23590         * sysdeps/x86/tst-prelink.exp: Likewise.
23592 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23594         * math/auto-libm-test-in: Add another test of pow.
23595         * math/auto-libm-test-out: Regenerated.
23596         * math/libm-test.inc (pow_test_data): Add another test.
23598 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23600         [BZ #19219]
23601         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23602         weak_alias to nearbyintl.
23604 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23606         * sysdeps/aarch64/bits/string.h: New file.
23607         (_STRING_ARCH_unaligned): Define.
23609 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23611         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23612         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23613         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23614         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23617 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23619         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23620         for original name of the DSO.  Add it to the name list of the DSO
23621         if it is actually given.
23622         (_dl_map_object): Keep track of whether an audit module rewrote
23623         the file name.  If yes, pass the original name to
23624         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23625         debugging is enabled, log the change of the file name.
23626         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23627         _dl_map_object_from_fd.
23628         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23629         * elf/tst-audit11.c: New file
23630         * elf/tst-auditmod11.c: New file.
23631         * elf/tst-audit11mod1.c: New file.
23632         * elf/tst-audit11mod2.c: New file.
23633         * elf/tst-audit11mod2.map: New file.
23634         * elf/tst-audit12.c: New file
23635         * elf/tst-auditmod12.c: New file.
23636         * elf/tst-audit12mod1.c: New file.
23637         * elf/tst-audit12mod2.c: New file.
23638         * elf/tst-audit12mod2.map: New file.
23639         * elf/tst-audit12mod3.c: New file.
23641 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23643         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23644         Don't create weak aliases,
23645         because versioned symbols are created later.
23646         * sysdeps/s390/s390-32/setjmp.S
23647         (setjmp, _setjmp): Remove weak and rename to an unique name
23648         in SHARED case due to existing versioned symbols.
23649         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23650         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23651         (getcontext): Create weak alias only in non SHARED case.
23652         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23654 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23656         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23657         (__ASSUME_*_SYSCALL) Define new macros.
23658         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23659         Remove socketcall syscalls.
23660         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23661         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23662         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23663         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23664         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23665         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23667 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23669         [BZ #12926]
23670         Terminate process on invalid netlink response.
23671         * sysdeps/unix/sysv/linux/netlinkaccess.h
23672         (__netlink_assert_response): Declare.
23673         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23675         (sysdep_routines): Add netlink_assert_response.
23676         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23677         __netlink_assert_response.
23678         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23679         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23680         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23681         __netlink_assert_response.
23683 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23685         [BZ #19178]
23686         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23687         (RTYPE_CLASS_PLT): Likewise.
23688         (RTYPE_CLASS_COPY): Likewise.
23689         (RTYPE_CLASS_TLS): Likewise.
23690         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23691         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23692         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23693         DL_DEBUG_PRELINK.
23695 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23697         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23698         calls with argument -0.5.
23699         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23701         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23702         (libc_cv_z_nodlopen): Likewise.
23703         (libc_cv_z_initfirst): Likewise.
23704         * configure: Regenerated.
23706 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23708         Simplify abilist format to be line-based.
23709         * scripts/abilist.awk: Collect descriptors in the descs variable.
23710         (emit): Write descs variable and sort it
23711         externally, with sort.
23712         * sysdeps/**/*.abilist: Convert to new format.
23714 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23716         [BZ #11460]
23717         * io/Makefile (routines): Add fts64.
23718         (tests): Add tst-fts and tst-fts-lfs.
23719         (CFLAGS-fts64.c): New.
23720         * io/Versions (GLIBC_2.23): New.
23721         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23722         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23723         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23724         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23725         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23726         (FTSENT64): Likewise.
23727         (fts64_children): Likewise.
23728         (fts64_close): Likewise.
23729         (fts64_open): Likewise.
23730         (fts64_read): Likewise.
23731         (fts64_set): Likewise.
23732         * io/fts64.c: New file.
23733         * io/tst-fts.c: New test.
23734         * io/tst-fts-lfs.c: Likewise.
23735         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23736         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23737         fts64_set.
23738         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23739         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23740         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23741         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23742         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23743         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23744         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23745         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23746         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23747         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23748         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23749         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23750         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23752         Likewise.
23753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23754         Likewise.
23755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23757         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23758         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23759         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23760         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23761         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23764         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23765         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23766         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23767         * sysdeps/wordsize-64/fts.c: New file.
23768         * sysdeps/wordsize-64/fts64.c: Likewise.
23769         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23770         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23771         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23772         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23774 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23776         * math/libm-test.inc (NON_FINITE): New macro.
23777         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23778         * math/gen-libm-test.pl (show_exceptions): Add argument
23779         $non_finite.
23780         (parse_args): Update call to show_exceptions.
23781         * math/test-math-finite.h: New file.
23782         * math/test-math-no-finite.h: Likewise.
23783         * math/test-double-finite.c: Likewise.
23784         * math/test-float-finite.c: Likewise.
23785         * math/test-ldouble-finite.c: Likewise.
23786         * math/test-double.c: Include "test-math-no-finite.h".
23787         * math/test-float.c: Include "test-math-no-finite.h".
23788         * math/test-ldouble.c: Include "test-math-no-finite.h".
23789         * math/test-math-inline.h (TEST_FINITE): New macro.
23790         * math/test-math-vector.h (TEST_FINITE): Likewise.
23791         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23792         (libm-tests): Add test-float-finite and test-double-finite.
23793         ($(objpfx)test-float-finite.o): New dependency on
23794         $(objpfx)libm-test.stmp.
23795         ($(objpfx)test-double-finite.o): Likewise.
23796         ($(objpfx)test-ldouble-finite.o): Likewise.
23797         (libm-test-no-inline-cflags): New variable.
23798         (libm-test-finite-cflags): Likewise.
23799         (CFLAGS-test-float-finite.c): Likewise.
23800         (CFLAGS-test-double-finite.c): Likewise.
23801         (CFLAGS-test-ldouble-finite.c): Likewise.
23802         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23803         (CFLAGS-test-double.c): Likewise.
23804         (CFLAGS-test-ldouble.c): Likewise.
23806 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23808         * io/fcntl.c (__fcntl): Add ... to prototype.
23809         * misc/ioctl.c (__ioctl): Likewise.
23810         * misc/syscall.c (syscall): Likewise.
23812 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23814         * scripts/list-fixed-bugs.py: New file.
23816         [BZ #19213]
23817         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23818         returned for argument 1.
23819         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23820         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23821         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23822         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23823         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23824         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23826         [BZ #19211]
23827         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23828         __USE_XOPEN], not if [!__USE_ISOC99].
23829         (lgammaf): Likewise.
23830         (lgammal): Likewise.
23831         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23832         (gammaf): Likewise.
23833         (gammal): Likewise.
23834         * math/test-signgam-finite-c11.c: New file.
23835         * math/test-signgam-finite-c99.c: Likewise.
23836         * math/test-signgam-finite.c: Likewise.
23837         * math/Makefile (tests): Add test-signgam-finite,
23838         test-signgam-finite-c99 and test-signgam-finite-c11.
23839         (CFLAGS-test-signgam-finite.c): New variable.
23840         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23841         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23843         [BZ #19212]
23844         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23845         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23846         500].
23847         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23848         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23849         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23850         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23851         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23852         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23853         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23854         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23855         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23856         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23858         [BZ #19209]
23859         * math/bits/math-finite.h (ldexp): Remove declaration.
23860         (ldexpf): Likewise.
23861         (ldexpl): Likewise.
23863         [BZ #19205]
23864         * math/bits/math-finite.h (acosf): Condition declaration on
23865         [__USE_ISOC99].
23866         (acosl): Likewise.
23867         (acoshf): Likewise.
23868         (acoshl): Likewise.
23869         (asinf): Likewise.
23870         (asinl): Likewise.
23871         (atan2f): Likewise.
23872         (atan2l): Likewise.
23873         (atanhf): Likewise.
23874         (atanhl): Likewise.
23875         (coshf): Likewise.
23876         (coshl): Likewise.
23877         (expf): Likewise.
23878         (expl): Likewise.
23879         (fmodf): Likewise.
23880         (fmodl): Likewise.
23881         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23882         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23883         (j0l): Likewise.
23884         (y0f): Likewise.
23885         (y0l): Likewise.
23886         (j1f): Likewise.
23887         (j1l): Likewise.
23888         (y1f): Likewise.
23889         (y1l): Likewise.
23890         (jnf): Likewise.
23891         (jnl): Likewise.
23892         (ynf): Likewise.
23893         (ynl): Likewise.
23894         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23895         (lgammal_r): Likewise.
23896         (__lgamma_r_finite): New declaration.
23897         (__lgammaf_r_finite): Likewise.
23898         (__lgammal_r_finite): Likewise.
23899         (lgamma): Use __lgamma_r_finite.
23900         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23901         __lgammaf_r_finite.
23902         (lgammal): Condition definition on [__USE_ISOC99].  Use
23903         __lgammal_r_finite.
23904         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23905         __lgamma_r_finite.
23906         (gammaf): Condition definition on [__USE_ISOC99].  Use
23907         __lgammaf_r_finite.
23908         (gammal): Condition definition on [__USE_ISOC99].  Use
23909         __lgammal_r_finite.
23910         (logf): Condition declaration on [__USE_ISOC99].
23911         (logl): Likewise.
23912         (log10f): Likewise.
23913         (log10l): Likewise.
23914         (ldexpf): Likewise.
23915         (ldexpl): Likewise.
23916         (powf): Likewise.
23917         (powl): Likewise.
23918         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23919         __USE_ISOC99].
23920         (remainderf): Condition declaration on [__USE_ISOC99].
23921         (remainderl): Likewise.
23922         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23923         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23924         (scalbl): Likewise.
23925         (sinhf): Condition declaration on [__USE_ISOC99].
23926         (sinhl): Likewise.
23927         (sqrtf): Likewise.
23928         (sqrtl): Likewise.
23930 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23932         * sysdeps/arm/atomic-machine.h
23933         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23934         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23935         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23936         Remove conditional code.
23937         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23938         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23939         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23940         Change conditional to [__ASSEMBLER__].
23941         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23942         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23943         [!__ASSEMBLER__].
23944         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23945         code.
23946         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23947         conditional macro definitions.
23948         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23949         (__arch_compare_and_exchange_val_16_acq): Likewise.
23950         (__arch_compare_and_exchange_val_32_acq): Likewise.
23951         (atomic_exchange_and_add): Likewise.
23952         (atomic_add): Likewise.
23953         (atomic_add_negative): Likewise.
23954         (atomic_add_zero): Likewise.
23955         (atomic_bit_set): Likewise.
23956         (atomic_bit_test_set): Likewise.
23957         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23958         code unconditional.
23959         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23961         * math/test-math-errno.h: New file.
23962         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23963         empty.
23964         (TEST_ERRNO): New macro.
23965         (TEST_EXCEPTIONS): Likewise.
23966         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23967         (TEST_EXCEPTIONS): Likewise.
23968         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23969         * math/test-double.c: Include "test-math-errno.h".
23970         * math/test-float.c: Likewise.
23971         * math/test-ldouble.c: Likewise.
23972         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23973         code unconditional.
23974         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23975         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23976         unconditional.
23977         (test_errno): Only run code if TEST_ERRNO.
23978         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23980 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23982         * nptl/tst-once5.cc: Remove attribution.
23984 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23986         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23987         sqrt, tan, tanh, y0, y1 and yn.
23988         * math/auto-libm-test-out: Regenerated.
23989         * math/libm-test.inc (scalb_test_data): Add more tests.
23990         (scalbn_test_data): Likewise.
23991         (scalbln_test_data): Likewise.
23992         (signbit_test_data): Likewise.
23993         (sin_test_data): Likewise.
23994         (sincos_test_data): Likewise.
23995         (sinh_test_data): Likewise.
23996         (sqrt_test_data): Likewise.
23997         (tan_test_data): Likewise.
23998         (tanh_test_data): Likewise.
23999         (tgamma_test_data): Likewise.
24000         (y0_test_data): Likewise.
24001         (y1_test_data): Likewise.
24002         (yn_test_data): Likewise.
24003         (significand_test_data): Likewise.
24004         * sysdeps/i386/fpu/libm-test-ulps: Update.
24006 2015-11-03  David Kastrup  <dak@gnu.org>
24008         [BZ #18604]
24009         * assert/assert.h (assert): Don't macro-expand failed assertion
24010         expression in error message.
24011         * malloc/malloc.c (assert): Likewise.
24013 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24015         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24016         test.
24017         * configure: Regenerated.
24019 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24021         * math/libm-test.inc (modf_test_data): Add more tests.
24022         (nearbyint_test_data): Likewise.
24023         (nextafter_test_data): Likewise.
24024         (nexttoward_test_data): Likewise.
24025         (pow_test_data): Likewise.
24026         (remainder_test_data): Likewise.
24027         (remquo_test_data): Likewise.
24028         (rint_test_data): Likewise.
24030         [BZ #19201]
24031         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24032         Check for zero remainder in case of large exponents and ensure
24033         correct sign of result in that case.
24034         * math/libm-test.inc (remainder_test_data): Add more tests.
24036         [BZ #6799]
24037         * math/s_nextafter.c: Include <errno.h>.
24038         (__nextafter): Set errno on overflow and underflow.
24039         * math/s_nexttowardf.c: Include <errno.h>.
24040         (__nexttowardf): Set errno on overflow and underflow.
24041         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24042         (__nextafterl): Set errno on overflow and underflow.
24043         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24044         (__nexttoward): Set errno on overflow and underflow.
24045         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24046         (__nexttowardf): Set errno on overflow and underflow.
24047         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24048         (__nextafterf): Set errno on overflow and underflow.
24049         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24050         (__nextafterl): Set errno on overflow and underflow.
24051         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24052         (__nexttoward): Set errno on overflow and underflow.
24053         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24054         (__nexttowardf): Set errno on overflow and underflow.
24055         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24056         (__nextafterl): Set errno on overflow and underflow.
24057         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24058         (__nexttoward): Set errno on overflow and underflow.
24059         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24060         (__nexttowardf): Set errno on overflow and underflow.
24061         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24062         (__nexttoward): Set errno on overflow and underflow.
24063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24064         (__nexttowardf): Set errno on overflow and underflow.
24065         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24066         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24067         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24068         (__nextafterl): Set errno on overflow and underflow.
24069         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24070         setting to be missing on overflow.  Add more tests.
24071         (nexttoward_test_data): Likewise.
24073         * configure.ac (libc_cv_initfini_array): Remove configure test.
24074         * configure: Regenerated.
24076 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #19189]
24079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24080         non-finite argument handle arguments with negative sign.
24082         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24083         result from infinite argument.
24084         (j1_test_data): Likewise.
24085         (jn_test_data): Likewise.
24086         (y0_test_data): Likewise.
24087         (y1_test_data): Likewise.
24088         (yn_test_data): Likewise.
24090         [BZ #16171]
24091         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24092         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24093         * math/w_remainderf.c (dremf): Define as weak alias of
24094         __remainderf.
24095         * math/w_remainderl.c (dreml): Define as weak alias of
24096         __remainderl.
24097         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24098         __remainder.
24099         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24100         __remainderf.
24101         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24102         __remainderl.
24103         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24104         weak alias of remainderl.
24105         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24106         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24107         alias of __remainder.
24108         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24109         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24110         strong alias of __remainderl.
24111         (dreml): Use long_double_symbol.
24112         * math/Makefile (libm-calls): Remove w_drem.
24113         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24114         (CFLAGS-nldbl-drem.c): Remove variable.
24115         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24116         * math/w_drem.c: Remove file.
24117         * math/w_dremf.c: Likewise.
24118         * math/w_dreml.c: Likewise.
24119         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24120         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24121         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24123         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24124         * sysdeps/i386/configure: Regenerated.
24125         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24126         * sysdeps/x86_64/configure: Regenerated.
24128         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24129         test.
24130         (libc_cv_visibility_attribute): Likewise.
24131         (libc_cv_protected_data): Test unconditionally.
24132         (libc_cv_broken_visibility_attribute): Remove configure test.
24133         (libc_cv_have_sdata_section): Test unconditionally.
24134         * configure: Regenerated.
24136         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24137         * include/scratch_buffer.h: Include <stddef.h> instead of
24138         <libc-internal.h>.
24139         (struct scratch_buffer): Use max_align_t instead of
24140         libc_max_align_t.
24142 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24144         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24145         instead of extend_alloca.  Change control flow to avoid a goto.
24146         Remove assert which is trivially always true.
24148 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24150         [BZ #16068]
24151         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24152         (FE_ALL_EXCEPT_X86): New macro.
24153         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24154         FE_ALL_EXCEPT.  Ensure precision control is included in
24155         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24156         handle "denormal operand exception" and clear FZ and DAZ bits.
24157         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24158         (FE_ALL_EXCEPT_X86): New macro.
24159         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24160         FE_ALL_EXCEPT.  Ensure precision control is included in
24161         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24162         handle "denormal operand exception" and clear FZ and DAZ bits.
24163         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24164         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24165         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24166         test-fenv-x87 and test-fenv-sse-2.
24167         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24169         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24170         * math/test-double.h (BUILD_COMPLEX): New macro.
24171         * math/test-float.h (BUILD_COMPLEX): Likewise.
24172         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24174         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24175         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24176         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24178         instead of DBL_DENORM_MIN in comment.
24179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24180         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24182         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24184         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24186 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24188         [BZ #19048]
24189         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24190         attached_threads member.
24191         (main_arena): Initialize attached_threads.
24192         * malloc/arena.c (list_lock): Update comment.
24193         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24194         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24195         (deattach_arena): New function.
24196         (_int_new_arena): Initialize arena reference count and deattach
24197         replaced arena.
24198         (get_free_list, reused_arena): Update reference count and deattach
24199         replaced arena.
24200         (arena_thread_freeres): Update arena reference count and only put
24201         unreferenced arenas on the free list.
24203 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #19181]
24206         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24207         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24208         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24209         * math/test-fenv-clear-main.c: New file.
24210         * math/test-fenv-clear.c: Likewise.
24211         * math/Makefile (tests): Add test-fenv-clear.
24212         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24213         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24214         test-fenv-clear-sse.
24215         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24217         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24218         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24219         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24221 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24223         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24224         static libc.
24226 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24228         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24229         test.
24230         * sysdeps/i386/configure: Regenerated.
24231         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24232         test.
24233         * sysdeps/x86_64/configure: Regenerated.
24234         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24236         memset-avx2 unconditionally instead of conditionally on
24237         [$(config-cflags-avx2) = yes].
24238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24239         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24240         unconditional.
24241         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24242         * sysdeps/x86_64/multiarch/memset_chk.S
24243         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24244         to [IS_IN (libc) && SHARED].
24246 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24248         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24249         configure test.
24250         * sysdeps/arm/configure: Regenerated.
24251         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24252         Define variable if not already defined.
24254         [BZ #17404]
24255         * sysdeps/mips/atomic-machine.h
24256         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24257         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24258         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24260         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24261         unconditional.
24262         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24263         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24264         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24265         unconditional.
24266         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24267         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24268         unconditional.
24269         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24270         * stdlib/setenv.c
24271         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24272         code unconditional.
24273         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24274         Remove conditional code.
24275         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24276         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24277         unconditional.
24278         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24279         code.
24280         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24281         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24282         unconditional.
24283         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24284         code.
24285         * sysdeps/ieee754/ldbl-128/k_tanl.c
24286         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24287         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24289         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24290         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24291         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24292         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24293         unconditional.
24294         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24295         code.
24296         * sysdeps/ieee754/ldbl-96/k_tanl.c
24297         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24298         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24300         * nptl/tst-initializers1-c11.c: New file.
24301         * nptl/tst-initializers1-gnu11.c: Likewise.
24302         * nptl/Makefile (tests): Add these new tests.
24303         (CFLAGS-tst-initializers1-c11.c): New variable.
24304         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24306         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24307         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24308         instead of -std=gnu99.
24309         * configure.ac (systemtap): Test with -std=gnu11 instead of
24310         -std=gnu99.
24311         * configure: Regenerated.
24312         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24313         in compilation command in comment.
24315         * sysdeps/nptl/configure.ac: Remove file.
24316         * sysdeps/nptl/configure: Remove generated file.
24317         * configure.ac (libc_cv_forced_unwind): Do not substitute.
24318         * configure: Regenerated.
24319         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24320         * config.make.in (have-forced-unwind): Remove variable.
24321         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24322         unconditional.
24323         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24324         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24325         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24326         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24327         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24328         unconditional.
24330 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24332         [BZ #19174]
24333         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24334         .skip_lock_out_of_tbegin_retries.
24335         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24336         (__lll_lock_elision): Likewise, and respect a value of
24337         try_tbegin <= 0.
24339 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24341         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24342         statement.
24344 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24346         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24347         variable.
24348         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24349         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24351         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24352         of -std=c1x -D_ISOC11_SOURCE.
24354         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24355         * configure: Regenerated.
24356         * manual/install.texi (Tools for Compilation): Document
24357         requirement for GCC 4.7 or later.
24358         * INSTALL: Regenerated.
24360 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
24362         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24363         on CNT to a conditional jump to 'puntdata'.
24365 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24367         * configure.ac (libc_cv_gcc___thread): Remove configure test.
24368         (libc_cv_gcc_tls_model_attr): Likewise.
24369         * configure: Regenerated.
24371         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24372         * configure: Regenerated.
24373         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24375 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
24377         * configure.ac (old_glibc_headers): Remove configure test.
24378         * configure: Regenerated.
24379         * config.make.in (old-glibc-headers): Remove variable.
24380         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24381         (install): Remove dependency on remove-old-headers.
24382         (headers2_0): Remove variable.
24383         (remove-old-headers): Remove rule.
24385         * configure.ac (libc_cv_dot_text): Remove configure test.
24386         (libc_cv_asm_set_directive): Use .text instead of
24387         ${libc_cv_dot_text} in configure test.
24388         * configure: Regenerated.
24390 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24392         [BZ #19168]
24393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24395 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24397         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24398         not support static linking.
24399         * configure: Regenerate.
24401 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24403         * math/libm-test.inc (check_float_internal): Do not special-case
24404         errors up to 0.5 ulp.
24406         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24407         log2.
24408         * math/auto-libm-test-out: Regenerated.
24409         * math/libm-test.inc (MAX_EXP): New macro.
24410         (ilogb_test_data): Add more tests.
24411         (isfinite_test_data): Likewise.
24412         (isgreater_test_data): Likewise.
24413         (isgreaterequal_test_data): Likewise.
24414         (isinf_test_data): Likewise.
24415         (isless_test_data): Likewise.
24416         (islessequal_test_data): Likewise.
24417         (islessgreater_test_data): Likewise.
24418         (isnan_test_data): Likewise.
24419         (isnormal_test_data): Likewise.
24420         (issignaling_test_data): Likewise.
24421         (isunordered_test_data): Likewise.
24422         (j0_test_data): Likewise.
24423         (j1_test_data): Likewise.
24424         (jn_test_data): Likewise.
24425         (lgamma_test_data): Likewise.
24426         (log_test_data): Likewise.
24427         (log10_test_data): Likewise.
24428         (log1p_test_data): Likewise.
24429         (log2_test_data): Likewise.
24430         (logb_test_data): Likewise.
24431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24433         [BZ #18611]
24434         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24435         avoid excess range and precision on underflow.
24436         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24439         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24440         underflow.
24441         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24443         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24444         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24445         * math/auto-libm-test-in: Do not allow missing errno setting for
24446         tests of j1 and jn.
24447         * math/auto-libm-test-out: Regenerated.
24449 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24451         [BZ #15491]
24452         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24453         floating-point environment instead of clearing all exceptions.
24454         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24455         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24456         merging in "invalid" exceptions from frndint.
24457         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24458         * math/test-nearbyint-except.c: New file.
24459         * math/Makefile (tests): Add test-nearbyint-except.
24461 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24463         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24465         * sysdeps/tile/libm-test-ulps: Regenerated.
24467 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24470         (__NR_sync_file_range2): Assume it is always defined.
24471         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24472         (__NR_sync_file_range): Assume it is always defined.
24474 2015-10-22  Andreas Schwab  <schwab@suse.de>
24476         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24477         INTERNAL_SYSCALL_ERRNO.
24478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24479         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24480         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24481         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24482         Likewise.
24483         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24485 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24487         * io/tst-fcntl.c (fd): New static variable.
24488         (do_prepare): Open temporary file here....
24489         (do_test): ...not here.
24491         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24493 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24495         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24496         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24497         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24498         Moved before "#ifdef __ASSEMBLER__".
24500 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24502         [BZ #19156]
24503         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24504         arguments very close to 0.
24506 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24508         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24509         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24511 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24513         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24514         New.  Defined for GCC 5 and above when not compiling for
24515         profiling.
24516         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24518         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24519         Renamed to ...
24520         (CFLAGS-epoll_pwait.o): This.
24521         (CFLAGS-mmap.c): Renamed to ...
24522         (CFLAGS-mmap.o): This.
24523         (CFLAGS-mmap64.c): Renamed to ...
24524         (CFLAGS-mmap64.o): This.
24525         (CFLAGS-epoll_pwait.os): New.
24526         (CFLAGS-mmap.os): Likewise.
24527         (CFLAGS-mmap64.os): Likewise.
24528         (CFLAGS-semtimedop.os): Likewise.
24529         (CFLAGS-semtimedop.c): Renamed to ...
24530         (CFLAGS-semtimedop.o): This.
24532 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24534         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24535         warning message.
24537 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24539         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24540         * Makefile ($(objpfx)c++-types-check.out): Filter out
24541         $(+gccwarn-c) instead of -Wstrict-prototypes.
24543         * io/fts.c (fts_open): Convert to prototype-style function
24544         definition.
24545         * malloc/mcheck.c (mcheck): Likewise.
24546         (mcheck_pedantic): Likewise.
24547         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24548         internal_function.
24549         (re_search_internal): Likewise.
24550         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24551         prototype-style function definition.
24552         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24553         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24554         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24555         (xdr_utmpptr): Likewise.
24556         (xdr_utmparr): Likewise.
24557         (xdr_utmpidle): Likewise.
24558         (xdr_utmpidleptr): Likewise.
24559         (xdr_utmpidlearr): Likewise.
24561         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24562         log, log10 and log2.
24563         * math/auto-libm-test-out: Regenerated.
24564         * math/libm-test.inc (fmod_test_data): Add more tests.
24565         (fpclassify_test_data): Likewise.
24566         (frexp_test_data): Likewise.
24567         (hypot_test_data): Likewise.
24568         (ilogb_test_data): Likewise.
24570 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24572         * debug/fortify_fail.c (__fortify_fail): Convert to
24573         prototype-style function definition.  Use internal_function.
24574         * libio/genops.c (save_for_backup): Convert to prototype-style
24575         function definition.
24576         * libio/wgenops.c (save_for_wbackup): Likewise.
24577         * login/grantpt.c (grantpt): Likewise.
24578         * login/ptsname.c (ptsname): Likewise.
24579         (__ptsname_r): Likewise.
24580         * login/unlockpt.c (unlockpt): Likewise.
24581         * mach/msgserver.c (__mach_msg_server): Likewise.
24582         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24583         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24584         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24585         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24586         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24587         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24588         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24589         Likewise.
24590         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24591         internal_function.
24592         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24593         prototype-style function definition.
24594         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24595         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24596         (__pthread_create_2_0): Likewise.
24597         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24598         * nptl/register-atfork.c (__register_atfork): Likewise.
24599         * posix/glob.c (glob): Likewise.
24600         * posix/regcomp.c (re_comp): Likewise.
24601         * posix/regexec.c (re_exec): Likewise.
24602         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24603         [!__STDC__]: Remove conditional code.
24604         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24605         [!__STDC__]: Remove conditional code.
24606         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24607         [!__STDC__]: Remove conditional code.
24608         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24609         [!__STDC__]: Remove conditional code.
24610         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24611         [!__STDC__]: Remove conditional code.
24612         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24613         [!__STDC__]: Remove conditional code.
24614         * stdlib/mul.c [__STDC__]: Make code unconditional.
24615         [!__STDC__]: Remove conditional code.
24616         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24617         [!__STDC__]: Remove conditional code.
24618         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24619         [!__STDC__]: Remove conditional code.
24620         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24621         function definition.
24622         (STRTOF): Likewise.
24623         * stdlib/strtod_l.c (__STRTOF): Likewise.
24624         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24625         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24626         (__strtol_l): Likewise.
24627         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24628         [!__STDC__]: Remove conditional code.
24629         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24630         definition.
24631         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24632         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24633         type.
24634         (__strcasecmp): Convert to prototype-style function definition.
24635         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24636         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24637         type.
24638         (__strncasecmp): Convert to prototype-style function definition.
24639         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24640         * sunrpc/xdr.c (xdr_union): Likewise.
24641         * sunrpc/xdr_array.c (xdr_array): Likewise.
24642         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24643         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24644         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24645         Likewise.
24646         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24647         Likewise.
24648         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24649         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24650         Likewise.
24651         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24652         (LOCALE_PARAM_PROTO): Likewise.
24653         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24654         argument type.
24655         (ut_argument_spec): Remove macro.
24656         (ut_argument_spec_iso): Rename to ut_argument_spec.
24657         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24658         prototype-style function definition.
24659         (memcpy_uppcase): Likewise.
24660         (__strftime_internal): Likewise.
24661         (my_strftime): Likewise.
24662         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24663         (LOCALE_PARAM_DECL): Likewise.
24664         [_LIBC] (LOCALE_PARAM): Include argument type.
24665         (__strptime_internal): Convert to prototype-style function
24666         definition.
24667         (strptime): Likewise.
24668         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24669         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24670         type.
24671         (__wcscasecmp): Convert to prototype-style function definition.
24672         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24673         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24674         type.
24675         (__wcsncasecmp): Convert to prototype-style function definition.
24677         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24678         function definition.
24679         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24680         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24681         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24682         * elf/dl-minimal.c (_itoa): Likewise.
24683         * hurd/hurdmalloc.c (malloc): Likewise.
24684         (free): Likewise.
24685         (realloc): Likewise.
24686         * inet/inet6_option.c (inet6_option_space): Likewise.
24687         (inet6_option_init): Likewise.
24688         (inet6_option_append): Likewise.
24689         (inet6_option_alloc): Likewise.
24690         (inet6_option_next): Likewise.
24691         (inet6_option_find): Likewise.
24692         * io/ftw.c (FTW_NAME): Likewise.
24693         (NFTW_NAME): Likewise.
24694         (NFTW_NEW_NAME): Likewise.
24695         (NFTW_OLD_NAME): Likewise.
24696         * libio/iofwide.c (_IO_fwide): Likewise.
24697         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24698         (_IO_str_init_static): Likewise.
24699         (_IO_str_init_readonly): Likewise.
24700         (_IO_str_overflow): Likewise.
24701         (_IO_str_underflow): Likewise.
24702         (_IO_str_count): Likewise.
24703         (_IO_str_seekoff): Likewise.
24704         (_IO_str_pbackfail): Likewise.
24705         (_IO_str_finish): Likewise.
24706         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24707         (_IO_wstr_overflow): Likewise.
24708         (_IO_wstr_underflow): Likewise.
24709         (_IO_wstr_count): Likewise.
24710         (_IO_wstr_seekoff): Likewise.
24711         (_IO_wstr_pbackfail): Likewise.
24712         (_IO_wstr_finish): Likewise.
24713         * locale/programs/localedef.c (normalize_codeset): Likewise.
24714         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24715         (add_locales_to_archive): Likewise.
24716         (delete_locales_from_archive): Likewise.
24717         * malloc/malloc.c (__libc_mallinfo): Likewise.
24718         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24719         * misc/tsearch.c (__tfind): Likewise.
24720         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24721         * nptl/pthread_attr_getdetachstate.c
24722         (__pthread_attr_getdetachstate): Likewise.
24723         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24724         Likewise.
24725         * nptl/pthread_attr_getinheritsched.c
24726         (__pthread_attr_getinheritsched): Likewise.
24727         * nptl/pthread_attr_getschedparam.c
24728         (__pthread_attr_getschedparam): Likewise.
24729         * nptl/pthread_attr_getschedpolicy.c
24730         (__pthread_attr_getschedpolicy): Likewise.
24731         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24732         Likewise.
24733         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24734         Likewise.
24735         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24736         Likewise.
24737         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24738         Likewise.
24739         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24740         (__pthread_attr_init_2_0): Likewise.
24741         * nptl/pthread_attr_setdetachstate.c
24742         (__pthread_attr_setdetachstate): Likewise.
24743         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24744         Likewise.
24745         * nptl/pthread_attr_setinheritsched.c
24746         (__pthread_attr_setinheritsched): Likewise.
24747         * nptl/pthread_attr_setschedparam.c
24748         (__pthread_attr_setschedparam): Likewise.
24749         * nptl/pthread_attr_setschedpolicy.c
24750         (__pthread_attr_setschedpolicy): Likewise.
24751         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24752         Likewise.
24753         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24754         Likewise.
24755         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24756         Likewise.
24757         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24758         Likewise.
24759         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24760         Likewise.
24761         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24762         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24763         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24764         use internal_function.
24765         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24766         prototype-style function definition.
24767         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24768         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24769         internal_function.
24770         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24771         Convert to prototype-style function definition.
24772         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24773         Likewise.
24774         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24775         Likewise.
24776         (__pthread_mutex_unlock): Likewise.
24777         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24778         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24779         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24780         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24781         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24782         * nss/makedb.c (process_input): Likewise.
24783         * posix/fnmatch.c (__strchrnul): Likewise.
24784         (__wcschrnul): Likewise.
24785         (fnmatch): Likewise.
24786         * posix/fnmatch_loop.c (FCT): Likewise.
24787         * posix/glob.c (globfree): Likewise.
24788         (__glob_pattern_type): Likewise.
24789         (__glob_pattern_p): Likewise.
24790         * posix/regcomp.c (re_compile_pattern): Likewise.
24791         (re_set_syntax): Likewise.
24792         (re_compile_fastmap): Likewise.
24793         (regcomp): Likewise.
24794         (regerror): Likewise.
24795         (regfree): Likewise.
24796         * posix/regexec.c (regexec): Likewise.
24797         (re_match): Likewise.
24798         (re_search): Likewise.
24799         (re_match_2): Likewise.
24800         (re_search_2): Likewise.
24801         (re_search_stub): Likewise.  Use internal_function
24802         (re_copy_regs): Likewise.
24803         (re_set_registers): Convert to prototype-style function
24804         definition.
24805         (prune_impossible_nodes): Likewise.  Use internal_function.
24806         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24807         prototype-style function definition.
24808         (inet_net_pton_ipv4): Likewise.
24809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24810         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24811         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24812         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24813         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24814         Make variadic.
24815         * time/strptime_l.c (localtime_r): Convert to prototype-style
24816         function definition.
24817         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24818         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24819         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24820         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24822         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24823         definition.
24824         (_ufc_doit_r): Likewise.
24825         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24826         (_ufc_output_conversion_r): Likewise.
24827         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24828         * inet/rcmd.c (rcmd_af): Likewise.
24829         (rcmd): Likewise.
24830         (ruserok_af): Likewise.
24831         (ruserok): Likewise.
24832         (ruserok2_sa): Likewise.
24833         (ruserok_sa): Likewise.
24834         (iruserok_af): Likewise.
24835         (iruserok): Likewise.
24836         (__ivaliduser): Likewise.
24837         (__validuser2_sa): Likewise.
24838         * inet/rexec.c (rexec_af): Likewise.
24839         (rexec): Likewise.
24840         * inet/ruserpass.c (ruserpass): Likewise.
24841         * locale/programs/xmalloc.c (xcalloc): Likewise.
24842         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24843         * math/w_drem.c (__drem): Likewise.
24844         * math/w_dremf.c (__dremf): Likewise.
24845         * math/w_dreml.c (__dreml): Likewise.
24846         * misc/daemon.c (daemon): Likewise.
24847         * resolv/res_debug.c (p_fqnname): Likewise.
24848         * stdlib/div.c (div): Likewise.
24849         * string/memcmp.c (memcmp_bytes): Likewise.
24850         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24851         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24853         * crypt/cert.c (main): Convert to prototype-style function
24854         definition.
24855         * io/pipe.c (__pipe): Likewise.
24856         * io/pipe2.c (__pipe2): Likewise.
24857         * misc/futimesat.c (futimesat): Likewise.
24858         * misc/utimes.c (__utimes): Likewise.
24859         * posix/execve.c (__execve): Likewise.
24860         * posix/execvp.c (execvp): Likewise.
24861         * posix/execvpe.c (__execvpe): Likewise.
24862         * posix/fexecve.c (fexecve): Likewise.
24863         * socket/socketpair.c (socketpair): Likewise.
24864         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24865         * stdlib/erand48.c (erand48): Likewise.
24866         * stdlib/erand48_r.c (__erand48_r): Likewise.
24867         * stdlib/jrand48.c (jrand48): Likewise.
24868         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24869         * stdlib/lcong48.c (lcong48): Likewise.
24870         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24871         * stdlib/nrand48.c (nrand48): Likewise.
24872         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24873         * stdlib/seed48.c (seed48): Likewise.
24874         * stdlib/seed48_r.c (__seed48_r): Likewise.
24875         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24876         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24877         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24879 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24881         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24882         * configure: Regenerated.
24883         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24884         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24885         unconditional.
24886         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24887         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24888         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24889         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24890         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24891         unconditional.
24892         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24894         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24895         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24897         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24898         function definition.
24899         * crypt/crypt_util.c (__encrypt_r): Likewise.
24900         * libio/genops.c (_IO_no_init): Likewise.
24901         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24902         (_IO_old_fopencookie): Likewise.
24903         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24904         * libio/iogetline.c (_IO_getline): Likewise.
24905         (_IO_getline_info): Likewise.
24906         * libio/iogetwline.c (_IO_getwline): Likewise.
24907         (_IO_getwline_info): Likewise.
24908         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24909         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24910         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24911         (find_entry): Likewise.
24912         (iterate_table): Likewise.
24913         (lookup): Likewise.
24914         * login/forkpty.c (forkpty): Likewise.
24915         * misc/hsearch_r.c (__hsearch_r): Likewise.
24916         * misc/select.c (__select): Likewise.
24917         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24918         Likewise.
24919         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24920         Likewise.
24921         * nptl/old_pthread_cond_timedwait.c
24922         (__pthread_cond_timedwait_2_0): Likewise.
24923         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24924         * nptl/pthread_barrierattr_getpshared.c
24925         (pthread_barrierattr_getpshared): Likewise.
24926         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24927         Likewise.
24928         * nptl/pthread_mutex_setprioceiling.c
24929         (pthread_mutex_setprioceiling): Likewise.
24930         * nptl/pthread_mutexattr_getprioceiling.c
24931         (pthread_mutexattr_getprioceiling): Likewise.
24932         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24933         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24934         Likewise.
24935         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24936         Likewise.
24937         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24938         Likewise.
24939         * socket/recvfrom.c (__recvfrom): Likewise.
24940         * socket/sendto.c (__sendto): Likewise.
24941         * socket/setsockopt.c (__setsockopt): Likewise.
24942         * stdio-common/_itoa.c (_itoa): Likewise.
24943         * stdio-common/_itowa.c (_itowa): Likewise.
24944         * stdio-common/reg-printf.c (__register_printf_specifier):
24945         Likewise.
24946         (__register_printf_function): Likewise.
24947         * stdio-common/tempname.c (__path_search): Likewise.
24948         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24949         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24950         * stdlib/random_r.c (__initstate_r): Likewise.
24951         * stdlib/setenv.c (__add_to_environ): Likewise.
24952         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24953         * streams/getpmsg.c (getpmsg): Likewise.
24954         * streams/putmsg.c (putmsg): Likewise.
24955         * streams/putpmsg.c (putpmsg): Likewise.
24956         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24957         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24958         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24959         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24960         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24961         * sunrpc/svc_udp.c (cache_get): Likewise.
24962         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24963         * sysdeps/mach/hurd/getcwd.c
24964         (__canonicalize_directory_name_internal): Likewise.
24965         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24966         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24967         * sysdeps/mach/hurd/select.c (__select): Likewise.
24968         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24969         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24970         * sysdeps/sparc/nptl/pthread_barrier_init.c
24971         (__pthread_barrier_init): Likewise.
24972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24973         (__pthread_cond_timedwait): Likewise.
24974         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24975         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24976         Likewise.
24977         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24978         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24979         Likewise.
24980         * sysvipc/semtimedop.c (semtimedop): Likewise.
24981         * time/setitimer.c (__setitimer): Likewise.
24982         * time/strftime_l.c (emacs_strftime): Likewise.
24984 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24986         * config.make.in (have-ssp): Delete.
24987         (stack-protector): New variable.
24988         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24989         cache test for -fstack-protector-strong.  Export stack_protector to
24990         the best ssp flag.
24991         * configure: Regenerated.
24992         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24993         * nscd/Makefile (CFLAGS-nscd): Likewise.
24994         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24996 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24998         [BZ #19122]
24999         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25000         attribute_hidden.
25002 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25004         [BZ #18743]
25005         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25006         code to...
25007         (ELIDE_LOCK): ...here.
25008         (__get_new_count): New function with part of the code from
25009         __elide_lock that updates the value of adapt_count after a
25010         transaction abort.
25011         (__elided_trylock): Moved this code to...
25012         (ELIDE_TRYLOCK): ...here.
25014 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25016         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25017         * configure: Regenerate.
25018         * INSTALL: Regenerate.
25019         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25020         and tweak grammar.
25022 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25024         * login/programs/pt_chown.c: Include signal.h
25025         (main): Clear any signal mask from the parent process.
25027 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25029         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25030         * configure: Regenerated.
25031         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25032         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25033         $(gnu89-inline-CFLAGS).
25035         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25036         test.
25037         (libc_cv_asm_weakext_directive): Likewise.
25038         * configure: Regenerated.
25039         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25040         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25041         * include/libc-symbols.h
25042         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25043         #error.
25044         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25045         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25047         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25048         prototype-style function definition.
25049         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25050         * sysdeps/i386/ffs.c (__ffs): Likewise.
25051         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25052         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25053         Likewise.
25054         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25055         Likewise.
25056         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25057         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25058         Likewise.
25059         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25060         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25061         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25062         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25063         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25064         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25065         * sysdeps/mach/hurd/access.c (__access): Likewise.
25066         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25067         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25068         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25069         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25070         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25071         (cthread_getspecific): Likewise.
25072         (cthread_setspecific): Likewise.
25073         (__libc_getspecific): Likewise.
25074         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25075         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25076         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25077         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25078         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25079         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25080         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25081         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25082         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25083         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25084         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25085         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25086         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25087         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25088         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25089         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25090         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25091         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25092         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25093         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25094         * sysdeps/mach/hurd/link.c (__link): Likewise.
25095         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25096         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25097         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25098         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25099         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25100         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25101         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25102         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25103         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25104         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25105         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25106         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25107         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25108         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25109         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25110         * sysdeps/mach/hurd/send.c (__send): Likewise.
25111         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25112         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25113         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25114         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25115         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25116         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25117         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25118         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25119         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25120         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25121         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25122         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25123         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25124         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25125         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25126         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25127         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25128         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25129         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25130         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25131         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25132         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25133         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25134         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25135         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25136         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25137         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25138         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25139         * sysdeps/posix/alarm.c (alarm): Likewise.
25140         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25141         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25142         * sysdeps/posix/dup.c (__dup): Likewise.
25143         * sysdeps/posix/dup2.c (__dup2): Likewise.
25144         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25145         (main): Likewise.
25146         * sysdeps/posix/flock.c (__flock): Likewise.
25147         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25148         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25149         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25150         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25151         * sysdeps/posix/isatty.c (__isatty): Likewise.
25152         * sysdeps/posix/killpg.c (killpg): Likewise.
25153         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25154         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25155         * sysdeps/posix/raise.c (raise): Likewise.
25156         * sysdeps/posix/remove.c (remove): Likewise.
25157         * sysdeps/posix/rename.c (rename): Likewise.
25158         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25159         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25160         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25161         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25162         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25163         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25164         * sysdeps/posix/sigset.c (sigset): Likewise.
25165         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25166         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25167         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25168         * sysdeps/posix/time.c (time): Likewise.
25169         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25170         (ttyname): Likewise.
25171         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25172         * sysdeps/posix/utime.c (utime): Likewise.
25173         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25174         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25175         Likewise.
25176         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25177         (pthread_spin_trylock): Likewise.
25178         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25179         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25180         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25181         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25182         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25183         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25184         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25185         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25186         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25187         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25188         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25189         * sysdeps/s390/ffs.c (__ffs): Likewise.
25190         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25191         Likewise.
25192         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25193         Likewise.
25194         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25195         Likewise.
25196         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25197         (pthread_barrier_destroy): Likewise.
25198         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25199         (__pthread_barrier_wait): Likewise.
25200         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25201         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25202         (__pthread_barrier_wait): Likewise.
25203         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25204         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25205         (memcmp_not_common_alignment): Likewise.
25206         (MEMCMP): Likewise.
25207         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25208         (_wordcopy_fwd_dest_aligned): Likewise.
25209         (_wordcopy_bwd_aligned): Likewise.
25210         (_wordcopy_bwd_dest_aligned): Likewise.
25211         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25212         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25213         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25214         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25215         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25216         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25217         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25218         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25219         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25220         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25221         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25222         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25223         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25224         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25225         * sysdeps/unix/stime.c (stime): Likewise.
25226         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25227         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25228         Likewise.  Use internal_function.
25229         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25230         Convert to prototype-style function definition.
25231         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25232         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25234         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25235         Likewise.  Use internal_function.
25236         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25237         prototype-style function definition
25238         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25239         Likewise.
25240         (__getlogin_r): Likewise.
25241         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25243         (__pthread_cond_broadcast): Likewise.
25244         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25245         (__pthread_cond_destroy): Likewise.
25246         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25247         (__pthread_cond_init): Likewise.
25248         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25249         (__pthread_cond_signal): Likewise.
25250         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25251         (__pthread_cond_wait): Likewise.
25252         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25253         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25254         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25255         Likewise.
25256         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25257         Likewise.
25258         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25259         Likewise.
25260         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25261         Likewise.
25262         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25264         (__ftruncate64): Likewise.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25266         (truncate64): Likewise.
25267         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25268         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25269         (pthread_getcpuclockid): Likewise.
25270         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25271         Likewise.
25272         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25273         Likewise.
25274         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25275         Likewise.
25276         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25277         Likewise.
25278         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25279         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25280         (__libc_sigaction): Likewise.
25281         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25282         Likewise.
25283         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25284         (__sigprocmask): Likewise.
25285         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25286         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25287         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25288         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25289         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25290         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25291         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25292         Likewise.
25293         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25294         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25295         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25296         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25297         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25298         Likewise.
25299         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25300         (__sigprocmask): Likewise.
25301         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25302         (cfgetispeed): Likewise.
25303         (cfsetospeed): Likewise.
25304         (cfsetispeed): Likewise.
25305         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25306         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25307         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25308         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25309         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25310         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25311         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25312         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25313         Likewise.
25314         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25315         Likewise.
25316         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25317         Likewise.
25318         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25319         Likewise.
25320         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25322 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25324         sunrpc: Rewrite with explicit TLS access using __thread.
25325         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25326         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25327         directly.
25328         (__rpc_thread_variables): Access thread_rpc_vars directly.
25329         Eliminate redundant assignment of the tvp variable.
25331 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25333         malloc: Rewrite with explicit TLS access using __thread.
25334         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25335         (tsd_setspecific, tsd_getspecific): Remove.
25336         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25337         (tsd_setspecific, tsd_getspecific): Likewise.
25338         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25339         (tsd_setspecific, tsd_getspecific): Likewise.
25340         * malloc/arena.c (thread_arena): New TLS variable.
25341         (arena_key): Remove variable.
25342         (arena_get): Use thread_arena.
25343         (arena_lookup): Remove macro.
25344         (malloc_atfork, free_atfork, ptmalloc_lock_all)
25345         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25346         (_int_new_arena, get_free_list, reused_arena)
25347         (arena_thread_freeres): Use thread_arena.
25348         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25349         tsd_getspecific, tsd_setspecific from safety annotations.
25350         (Allocating Cleared Space): Remove arena_lookup from safety
25351         annotations.
25353 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25355         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25356         struct scratch_buffer instead of extend_alloca.
25358 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25360         * sysdeps/unix/sysv/linux/kernel-features.h
25361         (__ASSUME_SOCK_CLOEXEC): Remove.
25362         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25363         (__have_paccept): Remove unused macro.
25364         * include/unistd.h (__have_sock_cloexec): Remove declaration.
25365         * misc/syslog.c (openlog_internal): Remove fallback code for
25366         !__ASSUME_SOCK_CLOEXEC.
25367         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25368         missing SOCK_CLOEXEC.
25369         * nscd/connections.c (have_sock_cloexec): Remove definition.
25370         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25371         * nscd/nscd_helper.c (open_socket): Remove fallback code for
25372         !__ASSUME_SOCK_CLOEXEC.
25373         * resolv/res_send.c (__have_o_nonblock): Remove definition.
25374         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25375         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25376         definition.
25377         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25378         code for !__ASSUME_SOCK_CLOEXEC.
25380 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25382         [BZ #18982]
25383         * manual/stdio.texi (Variable Arguments Output): Add portability
25384         note, explaining that vfprintf clobbers the va_list pointer.
25386 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25388         * math/libm-test.inc (fabs_test_data): Add more tests.
25389         (fdim_test_data): Likewise.
25390         (fma_test_data): Likewise.
25391         (fmax_test_data): Likewise.
25392         (fmin_test_data): Likewise.
25393         (fmod_test_data): Likewise.
25395 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25397         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25398         data.
25400 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25402         * math/libm-test.inc (ceil_test_data): Add more tests and more
25403         expectations for "inexact".
25404         (floor_test_data): Add more tests.
25405         (round_test_data): Likewise.
25406         (trunc_test_data): Likewise.
25408         * crypt/cert.c (good_bye): Convert to prototype-style function
25409         definition.
25410         (get8): Likewise.
25411         (put8): Likewise.
25412         * crypt/crypt-entry.c (crypt): Likewise.
25413         (__fcrypt): Likewise.
25414         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25415         (_ufc_set_bits): Likewise.
25416         (_ufc_clearmem): Likewise.
25417         (__init_des_r): Likewise.
25418         (shuffle_sb): Likewise.
25419         (shuffle_sb): Likewise.
25420         (_ufc_setup_salt_r): Likewise.
25421         (_ufc_mk_keytab_r): Likewise.
25422         (_ufc_dofinalperm_r): Likewise.
25423         (encrypt): Likewise.
25424         (__setkey_r): Likewise.
25425         (setkey): Likewise.
25426         * crypt/md5.c (md5_init_ctx): Likewise.
25427         (md5_read_ctx): Likewise.
25428         (md5_finish_ctx): Likewise.
25429         (md5_stream): Likewise.
25430         (md5_buffer): Likewise.
25431         (md5_process_bytes): Likewise.
25432         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25433         (__sha256_finish_ctx): Likewise.
25434         (__sha256_process_bytes): Likewise.
25435         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25436         (__sha512_finish_ctx): Likewise.
25437         (__sha512_process_bytes): Likewise.
25438         * ctype/isctype.c (__isctype): Likewise.
25439         * debug/backtrace.c (__backtrace): Likewise.
25440         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25441         * debug/fgets_chk.c (__fgets_chk): Likewise.
25442         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25443         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25444         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25445         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25446         * debug/memset_chk.c (__memset_chk): Likewise.
25447         * debug/strcat_chk.c (__strcat_chk): Likewise.
25448         * debug/strncat_chk.c (__strncat_chk): Likewise.
25449         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25450         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25451         * dirent/dirfd.c (dirfd): Likewise.
25452         * dirent/getdents.c (__getdirentries): Likewise.
25453         * dirent/getdents64.c (getdirentries64): Likewise.
25454         * dirent/rewinddir.c (__rewinddir): Likewise.
25455         * dirent/seekdir.c (seekdir): Likewise.
25456         * dirent/telldir.c (telldir): Likewise.
25457         * elf/sln.c (makesymlinks): Likewise.
25458         (makesymlink): Likewise.
25459         * gmon/gmon.c (__moncontrol): Likewise.
25460         (__monstartup): Likewise.
25461         (write_hist): Likewise.
25462         (write_call_graph): Likewise.
25463         (write_bb_counts): Likewise.
25464         * grp/setgroups.c (setgroups): Likewise.
25465         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25466         * inet/inet_net.c (inet_network): Likewise.
25467         * inet/inet_netof.c (inet_netof): Likewise.
25468         * inet/rcmd.c (rresvport_af): Likewise.
25469         (rresvport): Likewise.
25470         * io/access.c (__access): Likewise.
25471         * io/chdir.c (__chdir): Likewise.
25472         * io/chmod.c (__chmod): Likewise.
25473         * io/chown.c (__chown): Likewise.
25474         * io/close.c (__close): Likewise.
25475         * io/creat.c (creat): Likewise.
25476         * io/creat64.c (creat64): Likewise.
25477         * io/dup.c (__dup): Likewise.
25478         * io/dup2.c (__dup2): Likewise.
25479         * io/dup3.c (__dup3): Likewise.
25480         * io/euidaccess.c (__euidaccess): Likewise.
25481         * io/faccessat.c (faccessat): Likewise.
25482         * io/fchmod.c (__fchmod): Likewise.
25483         * io/fchmodat.c (fchmodat): Likewise.
25484         * io/fchown.c (__fchown): Likewise.
25485         * io/fchownat.c (fchownat): Likewise.
25486         * io/fcntl.c (__fcntl): Likewise.
25487         * io/flock.c (__flock): Likewise.
25488         * io/fts.c (fts_load): Likewise.
25489         (fts_close): Likewise.
25490         (fts_read): Likewise.
25491         (fts_set): Likewise.
25492         (fts_children): Likewise.
25493         (fts_build): Likewise.
25494         (fts_stat): Likewise.
25495         (fts_sort): Likewise.
25496         (fts_alloc): Likewise.
25497         (fts_lfree): Likewise.
25498         (fts_palloc): Likewise.
25499         (fts_padjust): Likewise.
25500         (fts_maxarglen): Likewise.
25501         (fts_safe_changedir): Likewise.
25502         * io/getwd.c (getwd): Likewise.
25503         * io/isatty.c (__isatty): Likewise.
25504         * io/lchown.c (__lchown): Likewise.
25505         * io/link.c (__link): Likewise.
25506         * io/linkat.c (linkat): Likewise.
25507         * io/lseek.c (__libc_lseek): Likewise.
25508         * io/mkdir.c (__mkdir): Likewise.
25509         * io/mkdirat.c (mkdirat): Likewise.
25510         * io/mkfifo.c (mkfifo): Likewise.
25511         * io/mkfifoat.c (mkfifoat): Likewise.
25512         * io/open.c (__libc_open): Likewise.
25513         * io/open64.c (__libc_open64): Likewise.
25514         * io/readlink.c (__readlink): Likewise.
25515         * io/readlinkat.c (readlinkat): Likewise.
25516         * io/rmdir.c (__rmdir): Likewise.
25517         * io/symlink.c (__symlink): Likewise.
25518         * io/symlinkat.c (symlinkat): Likewise.
25519         * io/ttyname.c (ttyname): Likewise.
25520         * io/ttyname_r.c (__ttyname_r): Likewise.
25521         * io/umask.c (__umask): Likewise.
25522         * io/unlink.c (__unlink): Likewise.
25523         * io/unlinkat.c (unlinkat): Likewise.
25524         * io/utime.c (utime): Likewise.
25525         * libio/clearerr.c (clearerr): Likewise.
25526         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25527         * libio/feof.c (_IO_feof): Likewise.
25528         * libio/feof_u.c (feof_unlocked): Likewise.
25529         * libio/ferror.c (_IO_ferror): Likewise.
25530         * libio/ferror_u.c (ferror_unlocked): Likewise.
25531         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25532         * libio/fileno.c (__fileno): Likewise.
25533         * libio/fputc.c (fputc): Likewise.
25534         * libio/fputc_u.c (fputc_unlocked): Likewise.
25535         * libio/fputwc.c (fputwc): Likewise.
25536         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25537         * libio/freopen.c (freopen): Likewise.
25538         * libio/freopen64.c (freopen64): Likewise.
25539         * libio/fseek.c (fseek): Likewise.
25540         * libio/fseeko.c (fseeko): Likewise.
25541         * libio/fseeko64.c (fseeko64): Likewise.
25542         * libio/ftello.c (__ftello): Likewise.
25543         * libio/ftello64.c (ftello64): Likewise.
25544         * libio/fwide.c (fwide): Likewise.
25545         * libio/genops.c (_IO_un_link): Likewise.
25546         (_IO_link_in): Likewise.
25547         (_IO_least_marker): Likewise.
25548         (_IO_switch_to_main_get_area): Likewise.
25549         (_IO_switch_to_backup_area): Likewise.
25550         (_IO_switch_to_get_mode): Likewise.
25551         (_IO_free_backup_area): Likewise.
25552         (_IO_switch_to_put_mode): Likewise.
25553         (__overflow): Likewise.
25554         (__underflow): Likewise.
25555         (__uflow): Likewise.
25556         (_IO_setb): Likewise.
25557         (_IO_doallocbuf): Likewise.
25558         (_IO_default_underflow): Likewise.
25559         (_IO_default_uflow): Likewise.
25560         (_IO_default_xsputn): Likewise.
25561         (_IO_sgetn): Likewise.
25562         (_IO_default_xsgetn): Likewise.
25563         (_IO_sync): Likewise.
25564         (_IO_default_setbuf): Likewise.
25565         (_IO_default_seekpos): Likewise.
25566         (_IO_default_doallocate): Likewise.
25567         (_IO_init): Likewise.
25568         (_IO_old_init): Likewise.
25569         (_IO_default_sync): Likewise.
25570         (_IO_default_finish): Likewise.
25571         (_IO_default_seekoff): Likewise.
25572         (_IO_sputbackc): Likewise.
25573         (_IO_sungetc): Likewise.
25574         (_IO_set_column): Likewise.
25575         (_IO_set_column): Likewise.
25576         (_IO_adjust_column): Likewise.
25577         (_IO_get_column): Likewise.
25578         (_IO_init_marker): Likewise.
25579         (_IO_remove_marker): Likewise.
25580         (_IO_marker_difference): Likewise.
25581         (_IO_marker_delta): Likewise.
25582         (_IO_seekmark): Likewise.
25583         (_IO_unsave_markers): Likewise.
25584         (_IO_nobackup_pbackfail): Likewise.
25585         (_IO_default_pbackfail): Likewise.
25586         (_IO_default_seek): Likewise.
25587         (_IO_default_stat): Likewise.
25588         (_IO_default_read): Likewise.
25589         (_IO_default_write): Likewise.
25590         (_IO_default_showmanyc): Likewise.
25591         (_IO_default_imbue): Likewise.
25592         (_IO_iter_next): Likewise.
25593         (_IO_iter_file): Likewise.
25594         * libio/getc.c (_IO_getc): Likewise.
25595         * libio/getwc.c (_IO_getwc): Likewise.
25596         * libio/iofclose.c (_IO_new_fclose): Likewise.
25597         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25598         * libio/iofflush.c (_IO_fflush): Likewise.
25599         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25600         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25601         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25602         * libio/iofgets.c (_IO_fgets): Likewise.
25603         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25604         * libio/iofgetws.c (fgetws): Likewise.
25605         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25606         * libio/iofopen64.c (_IO_fopen64): Likewise.
25607         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25608         (_IO_cookie_write): Likewise.
25609         (_IO_cookie_seek): Likewise.
25610         (_IO_cookie_close): Likewise.
25611         (_IO_cookie_seekoff): Likewise.
25612         (_IO_old_cookie_seek): Likewise.
25613         * libio/iofputs.c (_IO_fputs): Likewise.
25614         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25615         * libio/iofputws.c (fputws): Likewise.
25616         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25617         * libio/iofread.c (_IO_fread): Likewise.
25618         * libio/iofread_u.c (__fread_unlocked): Likewise.
25619         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25620         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25621         * libio/ioftell.c (_IO_ftell): Likewise.
25622         * libio/iofwrite.c (_IO_fwrite): Likewise.
25623         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25624         * libio/iogets.c (_IO_gets): Likewise.
25625         * libio/iopadn.c (_IO_padn): Likewise.
25626         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25627         (_IO_new_popen): Likewise.
25628         (_IO_new_proc_close): Likewise.
25629         * libio/ioputs.c (_IO_puts): Likewise.
25630         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25631         (_IO_seekoff): Likewise.
25632         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25633         (_IO_seekpos): Likewise.
25634         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25635         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25636         * libio/ioungetc.c (_IO_ungetc): Likewise.
25637         * libio/ioungetwc.c (ungetwc): Likewise.
25638         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25639         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25640         * libio/iowpadn.c (_IO_wpadn): Likewise.
25641         * libio/libc_fatal.c (__libc_fatal): Likewise.
25642         * libio/memstream.c (__open_memstream): Likewise.
25643         (_IO_mem_sync): Likewise.
25644         (_IO_mem_finish): Likewise.
25645         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25646         (_IO_old_file_close_it): Likewise.
25647         (_IO_old_file_finish): Likewise.
25648         (_IO_old_file_fopen): Likewise.
25649         (_IO_old_file_attach): Likewise.
25650         (_IO_old_file_setbuf): Likewise.
25651         (_IO_old_do_write): Likewise.
25652         (old_do_write): Likewise.
25653         (_IO_old_file_underflow): Likewise.
25654         (_IO_old_file_overflow): Likewise.
25655         (_IO_old_file_sync): Likewise.
25656         (_IO_old_file_seekoff): Likewise.
25657         (_IO_old_file_write): Likewise.
25658         (_IO_old_file_xsputn): Likewise.
25659         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25660         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25661         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25662         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25663         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25664         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25665         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25666         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25667         (_IO_old_popen): Likewise.
25668         (_IO_old_proc_close): Likewise.
25669         * libio/oldpclose.c (__old_pclose): Likewise.
25670         * libio/pclose.c (__new_pclose): Likewise.
25671         * libio/peekc.c (_IO_peekc_locked): Likewise.
25672         * libio/putc.c (_IO_putc): Likewise.
25673         * libio/putc_u.c (putc_unlocked): Likewise.
25674         * libio/putchar.c (putchar): Likewise.
25675         * libio/putchar_u.c (putchar_unlocked): Likewise.
25676         * libio/putwc.c (putwc): Likewise.
25677         * libio/putwc_u.c (putwc_unlocked): Likewise.
25678         * libio/putwchar.c (putwchar): Likewise.
25679         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25680         * libio/rewind.c (rewind): Likewise.
25681         * libio/setbuf.c (setbuf): Likewise.
25682         * libio/setlinebuf.c (setlinebuf): Likewise.
25683         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25684         * libio/vscanf.c (_IO_vscanf): Likewise.
25685         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25686         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25687         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25688         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25689         (_IO_switch_to_main_wget_area): Likewise.
25690         (_IO_switch_to_wbackup_area): Likewise.
25691         (_IO_wsetb): Likewise.
25692         (_IO_wdefault_pbackfail): Likewise.
25693         (_IO_wdefault_finish): Likewise.
25694         (_IO_wdefault_uflow): Likewise.
25695         (__woverflow): Likewise.
25696         (__wuflow): Likewise.
25697         (__wunderflow): Likewise.
25698         (_IO_wdefault_xsputn): Likewise.
25699         (_IO_wdefault_xsgetn): Likewise.
25700         (_IO_wdoallocbuf): Likewise.
25701         (_IO_wdefault_doallocate): Likewise.
25702         (_IO_switch_to_wget_mode): Likewise.
25703         (_IO_free_wbackup_area): Likewise.
25704         (_IO_switch_to_wput_mode): Likewise.
25705         (_IO_sputbackwc): Likewise.
25706         (_IO_sungetwc): Likewise.
25707         (_IO_adjust_wcolumn): Likewise.
25708         (_IO_init_wmarker): Likewise.
25709         (_IO_wmarker_delta): Likewise.
25710         (_IO_seekwmark): Likewise.
25711         (_IO_unsave_wmarkers): Likewise.
25712         * libio/wmemstream.c (open_wmemstream): Likewise.
25713         (_IO_wmem_sync): Likewise.
25714         (_IO_wmem_finish): Likewise.
25715         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25716         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25717         * locale/programs/simple-hash.c (init_hash): Likewise.
25718         (delete_hash): Likewise.
25719         (insert_entry): Likewise.
25720         (set_entry): Likewise.
25721         (next_prime): Likewise.
25722         (is_prime): Likewise.
25723         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25724         (xmalloc): Likewise.
25725         (xrealloc): Likewise.
25726         * locale/programs/xstrdup.c (xstrdup): Likewise.
25727         * localedata/collate-test.c (xstrcoll): Likewise.
25728         * localedata/xfrm-test.c (xstrcmp): Likewise.
25729         * login/getlogin_r.c (__getlogin_r): Likewise.
25730         * login/getpt.c (__posix_openpt): Likewise.
25731         * login/login_tty.c (login_tty): Likewise.
25732         * login/setlogin.c (setlogin): Likewise.
25733         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25734         (mach_msg_destroy_port): Likewise.
25735         (mach_msg_destroy_memory): Likewise.
25736         * malloc/mcheck.c (flood): Likewise.
25737         * misc/acct.c (acct): Likewise.
25738         * misc/brk.c (__brk): Likewise.
25739         * misc/chflags.c (chflags): Likewise.
25740         * misc/chroot.c (chroot): Likewise.
25741         * misc/fchflags.c (fchflags): Likewise.
25742         * misc/fstab.c (getfsspec): Likewise.
25743         (getfsfile): Likewise.
25744         * misc/fsync.c (fsync): Likewise.
25745         * misc/ftruncate.c (__ftruncate): Likewise.
25746         * misc/ftruncate64.c (__ftruncate64): Likewise.
25747         * misc/getdomain.c (getdomainname): Likewise.
25748         (getdomainname): Likewise.
25749         * misc/gethostname.c (__gethostname): Likewise.
25750         * misc/getpass.c (getpass): Likewise.
25751         * misc/getttyent.c (skip): Likewise.
25752         (value): Likewise.
25753         * misc/gtty.c (gtty): Likewise.
25754         * misc/hsearch.c (hsearch): Likewise.
25755         (hcreate): Likewise.
25756         * misc/hsearch_r.c (__hcreate_r): Likewise.
25757         (__hdestroy_r): Likewise.
25758         * misc/ioctl.c (__ioctl): Likewise.
25759         * misc/mkdtemp.c (mkdtemp): Likewise.
25760         * misc/mkostemp.c (mkostemp): Likewise.
25761         * misc/mkostemp64.c (mkostemp64): Likewise.
25762         * misc/mkostemps.c (mkostemps): Likewise.
25763         * misc/mkostemps64.c (mkostemps64): Likewise.
25764         * misc/mkstemp.c (mkstemp): Likewise.
25765         * misc/mkstemp64.c (mkstemp64): Likewise.
25766         * misc/mkstemps.c (mkstemps): Likewise.
25767         * misc/mkstemps64.c (mkstemps64): Likewise.
25768         * misc/mktemp.c (__mktemp): Likewise.
25769         * misc/preadv.c (preadv): Likewise.
25770         * misc/preadv64.c (preadv64): Likewise.
25771         * misc/pwritev.c (pwritev): Likewise.
25772         * misc/pwritev64.c (pwritev64): Likewise.
25773         * misc/readv.c (__readv): Likewise.
25774         * misc/revoke.c (revoke): Likewise.
25775         * misc/setdomain.c (setdomainname): Likewise.
25776         * misc/setegid.c (setegid): Likewise.
25777         * misc/seteuid.c (seteuid): Likewise.
25778         * misc/sethostid.c (sethostid): Likewise.
25779         * misc/sethostname.c (sethostname): Likewise.
25780         * misc/setregid.c (__setregid): Likewise.
25781         * misc/setreuid.c (__setreuid): Likewise.
25782         * misc/sstk.c (sstk): Likewise.
25783         * misc/stty.c (stty): Likewise.
25784         * misc/syscall.c (syscall): Likewise.
25785         * misc/syslog.c (setlogmask): Likewise.
25786         * misc/truncate.c (__truncate): Likewise.
25787         * misc/truncate64.c (truncate64): Likewise.
25788         * misc/ualarm.c (ualarm): Likewise.
25789         * misc/usleep.c (usleep): Likewise.
25790         * misc/ustat.c (ustat): Likewise.
25791         * misc/writev.c (__writev): Likewise.
25792         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25793         * nptl/old_pthread_cond_broadcast.c
25794         (__pthread_cond_broadcast_2_0): Likewise.
25795         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25796         Likewise.
25797         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25798         Likewise.
25799         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25800         Likewise.
25801         * nptl/pt-raise.c (raise): Likewise.
25802         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25803         Likewise.
25804         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25805         * nptl/pthread_barrierattr_destroy.c
25806         (pthread_barrierattr_destroy): Likewise.
25807         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25808         Likewise.
25809         * nptl/pthread_barrierattr_setpshared.c
25810         (pthread_barrierattr_setpshared): Likewise.
25811         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25812         Likewise.
25813         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25814         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25815         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25816         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25817         Likewise.
25818         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25819         Likewise.
25820         * nptl/pthread_condattr_getpshared.c
25821         (pthread_condattr_getpshared): Likewise.
25822         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25823         Likewise.
25824         * nptl/pthread_condattr_setpshared.c
25825         (pthread_condattr_setpshared): Likewise.
25826         * nptl/pthread_detach.c (pthread_detach): Likewise.
25827         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25828         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25829         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25830         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25831         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25832         Likewise.
25833         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25834         Likewise.
25835         * nptl/pthread_mutex_getprioceiling.c
25836         (pthread_mutex_getprioceiling): Likewise.
25837         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25838         Likewise.
25839         * nptl/pthread_mutexattr_getprotocol.c
25840         (pthread_mutexattr_getprotocol): Likewise.
25841         * nptl/pthread_mutexattr_getpshared.c
25842         (pthread_mutexattr_getpshared): Likewise.
25843         * nptl/pthread_mutexattr_getrobust.c
25844         (pthread_mutexattr_getrobust): Likewise.
25845         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25846         Likewise.
25847         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25848         Likewise.
25849         * nptl/pthread_mutexattr_setprioceiling.c
25850         (pthread_mutexattr_setprioceiling): Likewise.
25851         * nptl/pthread_mutexattr_setprotocol.c
25852         (pthread_mutexattr_setprotocol): Likewise.
25853         * nptl/pthread_mutexattr_setpshared.c
25854         (pthread_mutexattr_setpshared): Likewise.
25855         * nptl/pthread_mutexattr_setrobust.c
25856         (pthread_mutexattr_setrobust): Likewise.
25857         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25858         Likewise.
25859         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25860         Likewise.
25861         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25862         Likewise.
25863         * nptl/pthread_rwlockattr_getkind_np.c
25864         (pthread_rwlockattr_getkind_np): Likewise.
25865         * nptl/pthread_rwlockattr_getpshared.c
25866         (pthread_rwlockattr_getpshared): Likewise.
25867         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25868         Likewise.
25869         * nptl/pthread_rwlockattr_setkind_np.c
25870         (pthread_rwlockattr_setkind_np): Likewise.
25871         * nptl/pthread_rwlockattr_setpshared.c
25872         (pthread_rwlockattr_setpshared): Likewise.
25873         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25874         Likewise.
25875         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25876         Likewise.
25877         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25878         Likewise.
25879         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25880         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25881         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25882         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25883         * nptl/sem_close.c (sem_close): Likewise.
25884         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25885         * nptl/sem_init.c (__old_sem_init): Likewise.
25886         * nptl/sigaction.c (__sigaction): Likewise.
25887         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25888         * posix/_exit.c (_exit): Likewise.
25889         * posix/alarm.c (alarm): Likewise.
25890         * posix/confstr.c (confstr): Likewise.
25891         * posix/fpathconf.c (__fpathconf): Likewise.
25892         * posix/getgroups.c (__getgroups): Likewise.
25893         * posix/getpgid.c (__getpgid): Likewise.
25894         * posix/group_member.c (__group_member): Likewise.
25895         * posix/pathconf.c (__pathconf): Likewise.
25896         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25897         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25898         * posix/setgid.c (__setgid): Likewise.
25899         * posix/setpgid.c (__setpgid): Likewise.
25900         * posix/setuid.c (__setuid): Likewise.
25901         * posix/sleep.c (__sleep): Likewise.
25902         * posix/sysconf.c (__sysconf): Likewise.
25903         * posix/times.c (__times): Likewise.
25904         * posix/uname.c (__uname): Likewise.
25905         * posix/waitid.c (__waitid): Likewise.
25906         * pwd/getpw.c (__getpw): Likewise.
25907         * resolv/base64.c (b64_pton): Likewise.
25908         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25909         * resolv/gethnamaddr.c (Dprintf): Likewise.
25910         (gethostbyname): Likewise.
25911         (gethostbyname2): Likewise.
25912         (gethostbyaddr): Likewise.
25913         (_sethtent): Likewise.
25914         (_gethtbyname): Likewise.
25915         (_gethtbyname2): Likewise.
25916         (_gethtbyaddr): Likewise.
25917         (map_v4v6_address): Likewise.
25918         (map_v4v6_hostent): Likewise.
25919         (addrsort): Likewise.
25920         (ht_sethostent): Likewise.
25921         (ht_gethostbyname): Likewise.
25922         (ht_gethostbyaddr): Likewise.
25923         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25924         (inet_net_ntop_ipv4): Likewise.
25925         * resolv/inet_neta.c (inet_neta): Likewise.
25926         * resolv/inet_ntop.c (inet_ntop): Likewise.
25927         (inet_ntop4): Likewise.
25928         (inet_ntop6): Likewise.
25929         * resolv/inet_pton.c (__inet_pton): Likewise.
25930         (inet_pton4): Likewise.
25931         (inet_pton6): Likewise.
25932         * resolv/res_debug.c (loc_aton): Likewise.
25933         (loc_ntoa): Likewise.
25934         * resource/getpriority.c (__getpriority): Likewise.
25935         * resource/getrusage.c (__getrusage): Likewise.
25936         * resource/nice.c (nice): Likewise.
25937         * resource/setpriority.c (__setpriority): Likewise.
25938         * resource/setrlimit64.c (setrlimit64): Likewise.
25939         * resource/vlimit.c (vlimit): Likewise.
25940         * resource/vtimes.c (vtimes): Likewise.
25941         * rt/aio_error.c (aio_error): Likewise.
25942         * rt/aio_return.c (aio_return): Likewise.
25943         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25944         * signal/kill.c (__kill): Likewise.
25945         * signal/killpg.c (killpg): Likewise.
25946         * signal/raise.c (raise): Likewise.
25947         * signal/sigaction.c (__sigaction): Likewise.
25948         * signal/sigaddset.c (sigaddset): Likewise.
25949         * signal/sigaltstack.c (sigaltstack): Likewise.
25950         * signal/sigandset.c (sigandset): Likewise.
25951         * signal/sigblock.c (__sigblock): Likewise.
25952         * signal/sigdelset.c (sigdelset): Likewise.
25953         * signal/sigempty.c (sigemptyset): Likewise.
25954         * signal/sigfillset.c (sigfillset): Likewise.
25955         * signal/sighold.c (sighold): Likewise.
25956         * signal/sigignore.c (sigignore): Likewise.
25957         * signal/sigintr.c (siginterrupt): Likewise.
25958         * signal/sigisempty.c (sigisemptyset): Likewise.
25959         * signal/sigismem.c (sigismember): Likewise.
25960         * signal/signal.c (signal): Likewise.
25961         * signal/sigorset.c (sigorset): Likewise.
25962         * signal/sigpause.c (__sigpause): Likewise.
25963         * signal/sigpending.c (sigpending): Likewise.
25964         * signal/sigprocmask.c (__sigprocmask): Likewise.
25965         * signal/sigrelse.c (sigrelse): Likewise.
25966         * signal/sigreturn.c (__sigreturn): Likewise.
25967         * signal/sigset.c (sigset): Likewise.
25968         * signal/sigsetmask.c (__sigsetmask): Likewise.
25969         * signal/sigstack.c (sigstack): Likewise.
25970         * signal/sigsuspend.c (__sigsuspend): Likewise.
25971         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25972         * signal/sysv_signal.c (__sysv_signal): Likewise.
25973         * socket/accept.c (accept): Likewise.
25974         * socket/accept4.c (__libc_accept4): Likewise.
25975         * socket/bind.c (__bind): Likewise.
25976         * socket/connect.c (__connect): Likewise.
25977         * socket/getpeername.c (getpeername): Likewise.
25978         * socket/getsockname.c (__getsockname): Likewise.
25979         * socket/getsockopt.c (getsockopt): Likewise.
25980         * socket/listen.c (__listen): Likewise.
25981         * socket/recv.c (__recv): Likewise.
25982         * socket/recvmsg.c (__recvmsg): Likewise.
25983         * socket/send.c (__send): Likewise.
25984         * socket/sendmsg.c (__sendmsg): Likewise.
25985         * socket/shutdown.c (shutdown): Likewise.
25986         * socket/sockatmark.c (sockatmark): Likewise.
25987         * socket/socket.c (__socket): Likewise.
25988         * stdio-common/ctermid.c (ctermid): Likewise.
25989         * stdio-common/cuserid.c (cuserid): Likewise.
25990         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25991         * stdio-common/remove.c (remove): Likewise.
25992         * stdio-common/rename.c (rename): Likewise.
25993         * stdio-common/renameat.c (renameat): Likewise.
25994         * stdio-common/tempname.c (__gen_tempname): Likewise.
25995         * stdio-common/xbug.c (InitBuffer): Likewise.
25996         (AppendToBuffer): Likewise.
25997         (ReadFile): Likewise.
25998         * stdlib/a64l.c (a64l): Likewise.
25999         * stdlib/drand48_r.c (drand48_r): Likewise.
26000         * stdlib/getcontext.c (getcontext): Likewise.
26001         * stdlib/getenv.c (getenv): Likewise.
26002         * stdlib/l64a.c (l64a): Likewise.
26003         * stdlib/llabs.c (llabs): Likewise.
26004         * stdlib/lldiv.c (lldiv): Likewise.
26005         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26006         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26007         * stdlib/putenv.c (putenv): Likewise.
26008         * stdlib/random.c (__srandom): Likewise.
26009         (__initstate): Likewise.
26010         (__setstate): Likewise.
26011         * stdlib/random_r.c (__srandom_r): Likewise.
26012         (__setstate_r): Likewise.
26013         (__random_r): Likewise.
26014         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26015         * stdlib/setcontext.c (setcontext): Likewise.
26016         * stdlib/setenv.c (setenv): Likewise.
26017         (unsetenv): Likewise.
26018         * stdlib/srand48.c (srand48): Likewise.
26019         * stdlib/srand48_r.c (__srand48_r): Likewise.
26020         * stdlib/swapcontext.c (swapcontext): Likewise.
26021         * stdlib/system.c (__libc_system): Likewise.
26022         * stdlib/tst-strtod.c (expand): Likewise.
26023         * stdlib/tst-strtol.c (expand): Likewise.
26024         * stdlib/tst-strtoll.c (expand): Likewise.
26025         * streams/fattach.c (fattach): Likewise.
26026         * streams/fdetach.c (fdetach): Likewise.
26027         * streams/getmsg.c (getmsg): Likewise.
26028         * streams/isastream.c (isastream): Likewise.
26029         * string/ffs.c (__ffs): Likewise.
26030         * string/ffsll.c (ffsll): Likewise.
26031         * string/memcmp.c (memcmp_common_alignment): Likewise.
26032         (memcmp_not_common_alignment): Likewise.
26033         (MEMCMP): Likewise.
26034         * string/memcpy.c (memcpy): Likewise.
26035         * string/memmove.c (MEMMOVE): Likewise.
26036         * string/memset.c (memset): Likewise.
26037         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26038         * string/strchrnul.c (STRCHRNUL): Likewise.
26039         * string/strerror.c (strerror): Likewise.
26040         * string/strndup.c (__strndup): Likewise.
26041         * string/strverscmp.c (__strverscmp): Likewise.
26042         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26043         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26044         (clnttcp_freeres): Likewise.
26045         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26046         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26047         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26048         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26049         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26050         (xdr_callhdr): Likewise.
26051         * sunrpc/rpcinfo.c (udpping): Likewise.
26052         (tcpping): Likewise.
26053         (pstatus): Likewise.
26054         (pmapdump): Likewise.
26055         (brdcst): Likewise.
26056         (deletereg): Likewise.
26057         (getprognum): Likewise.
26058         (getvers): Likewise.
26059         (get_inet_address): Likewise.
26060         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26061         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26062         (svcudp_stat): Likewise.
26063         (svcudp_recv): Likewise.
26064         (svcudp_reply): Likewise.
26065         (svcudp_getargs): Likewise.
26066         (svcudp_freeargs): Likewise.
26067         (svcudp_destroy): Likewise.
26068         * sunrpc/xdr.c (xdr_bytes): Likewise.
26069         (xdr_netobj): Likewise.
26070         (xdr_string): Likewise.
26071         (xdr_wrapstring): Likewise.
26072         * sunrpc/xdr_float.c (xdr_float): Likewise.
26073         (xdr_double): Likewise.
26074         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26075         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26076         * sysvipc/ftok.c (ftok): Likewise.
26077         * sysvipc/msgctl.c (msgctl): Likewise.
26078         * sysvipc/msgget.c (msgget): Likewise.
26079         * sysvipc/msgrcv.c (msgrcv): Likewise.
26080         * sysvipc/msgsnd.c (msgsnd): Likewise.
26081         * sysvipc/semget.c (semget): Likewise.
26082         * sysvipc/semop.c (semop): Likewise.
26083         * sysvipc/shmat.c (shmat): Likewise.
26084         * sysvipc/shmctl.c (shmctl): Likewise.
26085         * sysvipc/shmdt.c (shmdt): Likewise.
26086         * sysvipc/shmget.c (shmget): Likewise.
26087         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26088         * termios/speed.c (cfgetospeed): Likewise.
26089         (cfgetispeed): Likewise.
26090         (cfsetospeed): Likewise.
26091         (cfsetispeed): Likewise.
26092         * termios/tcflow.c (tcflow): Likewise.
26093         * termios/tcflush.c (tcflush): Likewise.
26094         * termios/tcgetattr.c (__tcgetattr): Likewise.
26095         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26096         * termios/tcgetsid.c (tcgetsid): Likewise.
26097         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26098         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26099         * time/adjtime.c (__adjtime): Likewise.
26100         * time/dysize.c (dysize): Likewise.
26101         * time/ftime.c (ftime): Likewise.
26102         * time/getitimer.c (__getitimer): Likewise.
26103         * time/gettimeofday.c (__gettimeofday): Likewise.
26104         * time/gmtime.c (__gmtime_r): Likewise.
26105         (gmtime): Likewise.
26106         * time/localtime.c (__localtime_r): Likewise.
26107         (localtime): Likewise.
26108         * time/offtime.c (__offtime): Likewise.
26109         * time/settimeofday.c (__settimeofday): Likewise.
26110         * time/stime.c (stime): Likewise.
26111         * time/strftime_l.c (tm_diff): Likewise.
26112         (iso_week_days): Likewise.
26113         * time/strptime.c (strptime): Likewise.
26114         * time/time.c (time): Likewise.
26115         * time/timespec_get.c (timespec_get): Likewise.
26116         * time/tzset.c (tzset_internal): Likewise.
26117         (compute_change): Likewise.
26118         (__tz_compute): Likewise.
26119         * wcsmbs/btowc.c (__btowc): Likewise.
26120         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26121         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26122         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26123         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26124         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26125         * wcsmbs/wcscat.c (__wcscat): Likewise.
26126         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26127         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26128         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26129         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26130         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26131         * wcsmbs/wcslen.c (__wcslen): Likewise.
26132         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26133         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26134         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26135         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26136         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26137         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26138         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26139         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26140         * wcsmbs/wcstok.c (wcstok): Likewise.
26141         * wcsmbs/wctob.c (wctob): Likewise.
26142         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26143         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26144         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26145         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26146         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26147         * wcsmbs/wmemset.c (__wmemset): Likewise.
26148         * wctype/wcfuncs.c (__towlower): Likewise.
26149         (__towupper): Likewise.
26151         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26152         (lll_unlock_elision): Add adapt_count parameter.
26154 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26156         * sysdeps/nptl/configure.ac: Do not give errors based on the
26157         results of top-level configure tests.
26158         * sysdeps/nptl/configure: Regenerated.
26160         * configure.ac (libc_cv_Bgroup): Remove configure test.
26161         * configure: Regenerated.
26162         * config.make.in (have-Bgroup): Remove variable.
26164         * configure.ac (sizeof_long_double): Remove configure test.
26165         * configure: Regenerated.
26166         * config.make.in (sizeof-long-double): Remove variable.
26168         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26169         * configure: Regenerated.
26170         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26171         variable.
26172         (exceptions): Likewise.
26173         * sysdeps/arm/configure: Regenerated.
26174         * config.make.in (exceptions): Remove variable.
26175         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26176         $(exceptions).
26177         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26178         (CFLAGS-vdprintf_chk.c): Likewise.
26179         (CFLAGS-printf_chk.c): Likewise.
26180         (CFLAGS-fprintf_chk.c): Likewise.
26181         (CFLAGS-vprintf_chk.c): Likewise.
26182         (CFLAGS-vfprintf_chk.c): Likewise.
26183         (CFLAGS-gets_chk.c): Likewise.
26184         (CFLAGS-fgets_chk.c): Likewise.
26185         (CFLAGS-fgets_u_chk.c): Likewise.
26186         (CFLAGS-fread_chk.c): Likewise.
26187         (CFLAGS-fread_u_chk.c): Likewise.
26188         (CFLAGS-wprintf_chk.c): Likewise.
26189         (CFLAGS-fwprintf_chk.c): Likewise.
26190         (CFLAGS-vwprintf_chk.c): Likewise.
26191         (CFLAGS-vfwprintf_chk.c): Likewise.
26192         (CFLAGS-fgetws_chk.c): Likewise.
26193         (CFLAGS-fgetws_u_chk.c): Likewise.
26194         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26195         (CFLAGS-fputc.c): Likewise.
26196         (CFLAGS-fputwc.c): Likewise.
26197         (CFLAGS-freopen64.c): Likewise.
26198         (CFLAGS-freopen.c): Likewise.
26199         (CFLAGS-fseek.c): Likewise.
26200         (CFLAGS-fseeko64.c): Likewise.
26201         (CFLAGS-fseeko.c): Likewise.
26202         (CFLAGS-ftello64.c): Likewise.
26203         (CFLAGS-ftello.c): Likewise.
26204         (CFLAGS-fwide.c): Likewise.
26205         (CFLAGS-genops.c): Likewise.
26206         (CFLAGS-getc.c): Likewise.
26207         (CFLAGS-getchar.c): Likewise.
26208         (CFLAGS-getwc.c): Likewise.
26209         (CFLAGS-getwchar.c): Likewise.
26210         (CFLAGS-iofclose.c): Likewise.
26211         (CFLAGS-iofflush.c): Likewise.
26212         (CFLAGS-iofgetpos64.c): Likewise.
26213         (CFLAGS-iofgetpos.c): Likewise.
26214         (CFLAGS-iofgets.c): Likewise.
26215         (CFLAGS-iofgetws.c): Likewise.
26216         (CFLAGS-iofputs.c): Likewise.
26217         (CFLAGS-iofputws.c): Likewise.
26218         (CFLAGS-iofread.c): Likewise.
26219         (CFLAGS-iofsetpos64.c): Likewise.
26220         (CFLAGS-iofsetpos.c): Likewise.
26221         (CFLAGS-ioftell.c): Likewise.
26222         (CFLAGS-iofwrite.c): Likewise.
26223         (CFLAGS-iogetdelim.c): Likewise.
26224         (CFLAGS-iogetline.c): Likewise.
26225         (CFLAGS-iogets.c): Likewise.
26226         (CFLAGS-iogetwline.c): Likewise.
26227         (CFLAGS-ioputs.c): Likewise.
26228         (CFLAGS-ioseekoff.c): Likewise.
26229         (CFLAGS-ioseekpos.c): Likewise.
26230         (CFLAGS-iosetbuffer.c): Likewise.
26231         (CFLAGS-iosetvbuf.c): Likewise.
26232         (CFLAGS-ioungetc.c): Likewise.
26233         (CFLAGS-ioungetwc.c): Likewise.
26234         (CFLAGS-oldfileops.c): Likewise.
26235         (CFLAGS-oldiofclose.c): Likewise.
26236         (CFLAGS-oldiofgetpos64.c): Likewise.
26237         (CFLAGS-oldiofgetpos.c): Likewise.
26238         (CFLAGS-oldiofsetpos64.c): Likewise.
26239         (CFLAGS-oldiofsetpos.c): Likewise.
26240         (CFLAGS-peekc.c): Likewise.
26241         (CFLAGS-putc.c): Likewise.
26242         (CFLAGS-putchar.c): Likewise.
26243         (CFLAGS-putwc.c): Likewise.
26244         (CFLAGS-putwchar.c): Likewise.
26245         (CFLAGS-rewind.c): Likewise.
26246         (CFLAGS-wfileops.c): Likewise.
26247         (CFLAGS-wgenops.c): Likewise.
26248         (CFLAGS-oldiofopen.c): Likewise.
26249         (CFLAGS-iofopen.c): Likewise.
26250         (CFLAGS-iofopen64.c): Likewise.
26251         (CFLAGS-oldtmpfile.c): Likewise.
26252         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26253         (CFLAGS-fprintf.c): Likewise.
26254         (CFLAGS-printf.c): Likewise.
26255         (CFLAGS-vfwprintf.c): Likewise.
26256         (CFLAGS-vfscanf.c): Likewise.
26257         (CFLAGS-vfwscanf.c): Likewise.
26258         (CFLAGS-fscanf.c): Likewise.
26259         (CFLAGS-scanf.c): Likewise.
26260         (CFLAGS-isoc99_vfscanf.c): Likewise.
26261         (CFLAGS-isoc99_vscanf.c): Likewise.
26262         (CFLAGS-isoc99_fscanf.c): Likewise.
26263         (CFLAGS-isoc99_scanf.c): Likewise.
26264         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26265         (CFLAGS-isoc99_fwscanf.c): Likewise.
26266         (CFLAGS-isoc99_vwscanf.c): Likewise.
26267         (CFLAGS-isoc99_vfwscanf.c): Likewise.
26269         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26270         after mkstemp64.
26271         * login/tst-utmp.c (do_prepare): Likewise.
26272         * rt/tst-aio.c (do_prepare): Likewise.
26273         * rt/tst-aio64.c (do_prepare): Likewise.
26275 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26277         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26278         (__lll_lock_elision): Remove adapt_count decrement...
26279         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26280         (__lll_trylock_elision): Likewise.
26281         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26282         (__lll_unlock_elision): ... to here. And utilize
26283         new adapt_count parameter.
26284         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26285         (__lll_unlock_elision): Update to include adapt_count
26286         parameter.
26287         (lll_unlock_elision): Pass pointer to adapt_count
26288         variable.
26290 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26292         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26293         Add elision adapt_count parameter to list of arguments.
26294         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26295         (lll_unlock_elision): Update with new parameter list
26296         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26297         (lll_unlock_elision): Likewise.
26298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26299         (lll_unlock_elision): Likewise.
26301 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26303         [BZ #19122]
26304         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26305         attribute_hidden.
26307         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26308         attribute_hidden.
26309         [IS_IN (rtld)] (__strdup): Likewise.
26310         [IS_IN (rtld)] (__strerror_r): Likewise.
26311         [IS_IN (rtld)] (__strsep_g): Likewise.
26312         [IS_IN (rtld)] (memchr): Likewise.
26313         [IS_IN (rtld)] (memcmp): Likewise.
26314         [IS_IN (rtld)] (memcpy): Likewise.
26315         [IS_IN (rtld)] (memmove): Likewise.
26316         [IS_IN (rtld)] (memset): Likewise.
26317         [IS_IN (rtld)] (rawmemchr): Likewise.
26318         [IS_IN (rtld)] (stpcpy): Likewise.
26319         [IS_IN (rtld)] (strchr): Likewise.
26320         [IS_IN (rtld)] (strcmp): Likewise.
26321         [IS_IN (rtld)] (strlen): Likewise.
26322         [IS_IN (rtld)] (strnlen): Likewise.
26323         [IS_IN (rtld)] (strsep): Likewise.
26325         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26326         attribute_hidden.
26327         [IS_IN (rtld)] (__strtoul_internal): Likewise.
26329         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26330         attribute_hidden.
26331         [IS_IN (rtld)] (__libc_sigaction): Likewise.
26333         * include/setjmp.h (__longjmp): Add attribute_hidden.
26334         [IS_IN (rtld)] (__sigsetjmp): Likewise.
26336         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26337         Add attribute_hidden.
26339         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26340         [IS_IN (rtld)] (__open): Likewise.
26341         [IS_IN (rtld)] (__fcntl): Likewise.
26343         * include/dirent.h (__opendirat): Add attribute_hidden.
26344         (__getdents): Likewise.
26345         (__getdents64): Likewise.
26346         (__alloc_dir): Likewise.
26347         [IS_IN (rtld)] (__closedir): Likewise.
26348         [IS_IN (rtld)] (__fdopendir): Likewise.
26349         [IS_IN (rtld)] (__readdir): Likewise.
26350         [IS_IN (rtld)] (__readdir64): Likewise.
26351         [IS_IN (rtld)] (__rewinddir): Likewise.
26353         * include/dlfcn.h (_dl_catch_error): Moved to ...
26354         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26355         attribute_hidden.
26357         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26358         (_itoa_word): Likewise.
26360         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26361         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26362         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26363         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26364         (_dl_higher_prime_number): Likewise.
26365         (_dl_debug_printf_c): Likewise.
26366         (_dl_signal_cerror): Likewise.
26367         (_dl_receive_error): Likewise.
26368         (_dl_reloc_bad_type): Likewise.
26369         (_dl_resolve_conflicts): Likewise.
26370         (_dl_check_all_versions): Likewise.
26371         (_dl_check_map_versions): Likewise.
26372         (_dl_sort_fini): Likewise.
26373         (_dl_debug_initialize): Likewise.
26374         (_dl_init_paths): Likewise.
26375         (_dl_show_auxv): Likewise.
26376         (_dl_next_ld_env_entry): Likewise.
26377         (_dl_important_hwcaps): Likewise.
26378         (_dl_load_cache_lookup): Likewise.
26379         (_dl_update_slotinfo): Likewise.
26380         (_dl_show_scope): Likewise.
26382         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26383         attribute_hidden.
26384         (_wordcopy_fwd_dest_aligned): Likewise.
26385         (_wordcopy_bwd_aligned): Likewise.
26386         (_wordcopy_bwd_dest_aligned): Likewise.
26388         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26389         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26390         Likewise.
26391         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26392         Likewise.
26393         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26395 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26398         GCC 5 requirement.
26400 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26402         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26403         test.
26404         * sysdeps/i386/configure: Regenerated.
26405         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26406         code unconditional.
26408         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26409         test.
26410         (libc_cv_asm_popsection_directive): Likewise.
26411         * configure: Regenerated.
26412         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26413         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26414         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26415         (__make_section_unallocated): Make definition unconditional.
26416         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26417         Remove conditional definition.
26418         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26419         (__make_section_unallocated): Likewise.
26421         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26422         * configure: Regenerated.
26423         * config.make.in (static-libgcc): Remove variable.
26424         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26425         $(static-libgcc).
26426         (build-module-helper): Likewise.
26428         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26429         * configure: Regenerated.
26431 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26433         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26434         (struct char_buffer): New type.
26435         (char_buffer_start, char_buffer_size, char_buffer_error)
26436         (char_buffer_rewind, char_buffer_add): New functions.
26437         (ADDW): Remove macro, replaced by the char_buffer_add function.
26438         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26439         of extend_alloca.  Make control flow more explicit.
26441 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26443         [BZ #19137]
26444         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26445         Add -fomit-frame-pointer.
26446         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26448 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26450         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26451         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26452         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26453         only if !__GNUC_PREREQ (5,0).
26454         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26455         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26456         (INTERNAL_SYSCALL_NCS): Likewise.
26457         (LOADREGS_0): New macro for GCC 5.
26458         (ASMARGS_0): Likewise.
26459         (LOADREGS_1): Likewise.
26460         (ASMARGS_1): Likewise.
26461         (LOADREGS_2): Likewise.
26462         (ASMARGS_2): Likewise.
26463         (LOADREGS_3): Likewise.
26464         (ASMARGS_3): Likewise.
26465         (LOADREGS_4): Likewise.
26466         (ASMARGS_4): Likewise.
26467         (LOADREGS_5): Likewise.
26468         (ASMARGS_5): Likewise.
26469         (LOADREGS_6): Likewise.
26470         (ASMARGS_6): Likewise.
26472 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26474         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26475         -fomit-frame-pointer.
26476         (CFLAGS-mmap64.c): Likewise.
26477         (CFLAGS-semtimedop.c): Likewise.
26478         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26479         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26480         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26481         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26483 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26485         [BZ #18928]
26486         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26487         _dl_pointer_guard member.
26488         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26489         initializer.
26490         (security_init): Always set up pointer guard.
26491         (process_envvars): Do not process LD_POINTER_GUARD.
26493 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26495         [BZ #19134]
26496         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26497         (.LC2): Likewise.
26498         (.LC3): Likewise.
26499         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26501 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26503         [BZ #19129]
26504         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26505         r0 and r1.
26507 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26509         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26511 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26513         * include/stap-probe.h: Fix macro definition formatting.
26515 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26517         [BZ #19074]
26518         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26519         load and store num_ifs.
26521 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26523         [BZ #18822]
26524         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26525         (__sched_getaffinity_new): Add libc_hidden_proto and
26526         libc_hidden_def.
26528 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26530         [BZ #19007]
26531         * scripts/localplt.awk: Also allow GOT references.
26532         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26533         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26534         with "+ REL R_386_GLOB_DAT".
26535         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26536         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26538 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26540         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26541         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26542         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26543         Likewise.
26544         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26545         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26546         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26547         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26548         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26549         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26550         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26551         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26552         Likewise.
26553         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26555 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26557         [BZ #19125]
26558         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26559         <math_private.h> and <stdint.h>.
26560         (__llround): Avoid conversions to and from long long int, and
26561         subtractions, where those might raise spurious exceptions.
26562         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26563         <math_private.h> and <stdint.h>.
26564         (__llroundf): Avoid conversions to and from long long int, and
26565         subtractions, where those might raise spurious exceptions.
26567 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26569         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26570         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26571         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26572         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26573         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26574         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26575         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26576         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26577         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26578         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26579         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26580         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26581         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26582         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26583         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26584         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26585         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26586         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26587         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26588         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26589         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26590         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26591         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26592         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26593         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26594         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26595         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26596         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26597         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26598         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26599         (__xstat64_conv): Likewise.
26600         (__xstat32_conv): Likewise.
26602 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26604         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26605         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26606         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26607         <sysdeps/unix/sysv/linux/sysdep.h>.
26608         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26609         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26610         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26611         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26612         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26613         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26614         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26615         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26616         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26621         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26622         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26624         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26625         (sysdep-dl-routines): Add sysdep.
26626         [$(subdir) == nptl] (libpthread-routines): Likewise.
26627         [$(subdir) == rt] (librt-routines): Likewise.
26628         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26629         PIC when branching to SYSCALL_ERROR_LABEL.
26630         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26632         <sysdeps/unix/sysv/linux/sysdep.h>.
26633         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26634         (SYSCALL_ERROR_ERRNO): Removed.
26635         (SYSCALL_ERROR_HANDLER): Changed to empty.
26636         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26637         (__syscall_error): New prototype.
26638         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26639         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26641 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26643         [BZ #19124]
26644         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26645         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26646         _dl_runtime_resolve_avx.
26647         (_dl_runtime_profile_avx512): Make it a hidden alias of
26648         _dl_runtime_profile_avx.
26650 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26652         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26653         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26654         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26655         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26657         [BZ #16422]
26658         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26659         New configure test.
26660         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26661         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26662         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26663         <math_private.h> and <stdint.h>.
26664         (__llrint): Avoid conversions to long long int where those might
26665         raise spurious exceptions.
26666         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26667         <math_private.h> and <stdint.h>.
26668         (__llrintf): Avoid conversions to long long int where those might
26669         raise spurious exceptions.
26671 2015-10-12  Andreas Schwab  <schwab@suse.de>
26673         [BZ #18969]
26674         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26675         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26676         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26677         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26678         $(gen-locales).
26679         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26680         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26681         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26682         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26683         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26684         $(gen-locales).
26685         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26686         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26687         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26688         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26689         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26690         ($(objpfx)tst-ftell-active-handler.out)
26691         ($(objpfx)tst-ftell-append.out)
26692         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26693         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26694         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26695         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26696         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26697         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26698         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26699         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26700         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26701         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26702         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26703         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26704         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26705         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26706         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26707         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26708         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26709         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26710         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26711         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26712         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26713         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26714         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26715         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26716         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26717         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26718         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26719         $(gen-locales).
26720         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26721         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26722         $(gen-locales).
26723         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26724         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26725         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26726         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26727         $(gen-locales).
26728         * libio/tst_wprintf2.c (main): Use explicit locale.
26729         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26731 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26733         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26734         __msg_sig_post.
26735         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26737 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26739         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26740         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26742         * sysdeps/arm/libm-test-ulps: Regenerated.
26744         [BZ #15470]
26745         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26747         [BZ #16399]
26748         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26749         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26750         and <fix-fp-int-convert-overflow.h>.
26751         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26752         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26753         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26754         and <fix-fp-int-convert-overflow.h>.
26755         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26756         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26757         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26758         <fix-fp-int-convert-overflow.h>.
26759         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26760         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26761         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26762         <fix-fp-int-convert-overflow.h>.
26763         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26764         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26765         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26766         and <fix-fp-int-convert-overflow.h>.
26767         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26768         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26769         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26770         <limits.h> and <fix-fp-int-convert-overflow.h>.
26771         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26772         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26773         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26774         and <fix-fp-int-convert-overflow.h>.
26775         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26776         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26777         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26778         and <fix-fp-int-convert-overflow.h>.
26779         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26780         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26781         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26783 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26785         [BZ #18589]
26786         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26787         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26788         $(gen-locales).
26790 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26791             Phil Blundell <pb@pbcl.net>
26793         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26794         * nptl/tst-cancel26.c: New file.
26795         * nptl/tst-cancel27.c: Likewise.
26797 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26799         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26800         __ILP32__ isn't defined.
26801         (lrint): Likewise.
26802         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26803         (lrintf): Likewise.
26804         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26805         (lrintl): Likewise.
26806         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26807         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26808         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26810 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26815         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26816         file.
26817         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26818         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26820 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26822         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26823         configure test.
26824         * sysdeps/i386/configure: Regenerated.
26825         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26826         configure test.
26827         * sysdeps/x86_64/configure: Regenerated.
26828         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26829         Make code unconditional.
26831         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26832         test.
26833         * sysdeps/i386/configure: Regenerated.
26834         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26835         test.
26836         * sysdeps/x86_64/configure: Regenerated.
26837         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26838         Make code unconditional.
26839         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26840         Likewise.
26841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26842         Likewise.
26843         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26844         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26845         code unconditional.
26846         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26847         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26848         code unconditional.
26849         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26850         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26851         code unconditional.
26852         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26853         code unconditional.
26854         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26855         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26856         code unconditional.
26857         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26858         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26859         code unconditional.
26860         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26861         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26862         code unconditional.
26863         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26864         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26865         code unconditional.
26866         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26867         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26869         [BZ #19095]
26870         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26871         mantissa to long int before shifting left.
26873 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26875         [BZ #19094]
26876         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26877         <limits.h>.
26878         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26879         when result overflows but exception would not result from cast.
26880         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26881         <limits.h>.
26882         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26883         when result overflows but exception would not result from cast.
26884         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26885         <limits.h>.
26886         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26887         when result overflows but exception would not result from cast.
26888         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26889         <limits.h>.
26890         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26891         when result overflows but exception would not result from cast.
26892         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26893         <limits.h>.
26894         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26895         when result overflows but exception would not result from cast.
26896         * math/libm-test.inc (lrint_test_data): Add more tests.
26897         (llrint_test_data): Likewise.
26899 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26901         [BZ #18872]
26902         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26903         Move out from under [$(run-built-tests) = yes] conditional.
26904         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26905         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26907 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26909         [BZ #18589]
26910         * string/Makefile (tests): Add bug-strcoll2.
26911         (LOCALES): Add cs_CZ.UTF-8.
26912         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26914         [BZ #18589]
26915         * string/bug-strcoll2.c: New file.
26916         * locale/categories.def: Revert commit
26917         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26918         * locale/langinfo.h: Likewise.
26919         * locale/localeinfo.h: Likewise.
26920         * locale/C-collate.c: Likewise.
26921         * locale/programs/ld-collate.c (collate_output): Likewise.
26922         * string/strcoll_l.c (STRDIFF): Likewise.
26923         (STRCOLL): Likewise.
26924         * wcsmbs/wcscoll_l.c: Likewise.
26926 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26928         * math/libm-test.inc (lround_test_data): Do not expect the absence
26929         of "inexact" for some tests with non-integer arguments.
26930         (llround_test_data): Likewise.
26932         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26933         test.
26934         (libc_cv_cc_sse2avx): Likewise.
26935         * sysdeps/i386/configure: Regenerated.
26936         * sysdeps/i386/i686/multiarch/Makefile
26937         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26938         [$(subdir) = math].
26939         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26940         code unconditional.
26941         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26942         Likewise.
26943         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26944         Likewise.
26945         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26946         Likewise.
26947         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26948         test.
26949         (libc_cv_cc_sse2avx): Likewise.
26950         * sysdeps/x86_64/configure: Regenerated.
26951         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26952         unconditional.
26953         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26954         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26955         unconditional.
26956         (_dl_runtime_profile)
26957         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26958         conditional code.
26959         * sysdeps/x86_64/fpu/multiarch/Makefile
26960         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26961         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26962         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26963         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26964         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26965         * sysdeps/x86_64/fpu/multiarch/e_log.c
26966         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26967         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26968         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26969         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26970         Likewise.
26971         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26972         Likewise.
26973         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26974         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26975         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26976         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26977         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26978         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26979         (HAVE_SSE2AVX_SUPPORT): Likewise.
26981 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26983         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26984         instead of #pragma optimize.
26986 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26988         [BZ #17195]
26989         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26990         as is similarly done in systrim and _int_free already.
26992 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26994         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26996 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26998         [BZ #19088]
26999         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27000         <limits.h>.
27001         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27002         overflows but exception would not result from cast.
27003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27004         and <limits.h>.
27005         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27006         overflows but exception would not result from cast.
27007         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27008         <limits.h>.
27009         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27010         overflows but exception would not result from cast.
27011         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27012         <limits.h>.
27013         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27014         overflows but exception would not result from cast.
27015         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27016         <limits.h>.
27017         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27018         overflows but exception would not result from cast.
27019         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27020         <limits.h>.
27021         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27022         overflows but exception would not result from cast.
27023         * math/libm-test.inc (lround_test_data): Add more tests.
27024         (llround_test_data): Likewise.
27026 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27028         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27029         (CFLAGS-ialloc.c): Ditto.
27030         (CFLAGS-scheck.c): Ditto.
27032 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27034         [BZ #19086]
27035         * manual/filesys.texi (Storage Allocation): Fix argument order for
27036         posix_fallocate64.
27038 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27040         [BZ #19085]
27041         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27042         exponent below 48 inside case for non-overflowing exponent.
27043         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27045 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27047         * iconvdata/cp737.h (from_idx): Add const.
27048         * iconvdata/cp775.h (from_idx): Likewise.
27050 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27052         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27053         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27054         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27056         [BZ #19079]
27057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27058         file, conditioned on [!_LP64].
27059         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27060         [!_LP64] (__lround): Do not define as function or alias.
27061         [!_LP64] (lround): Likewise.
27062         [!_LP64] (__lroundl): Likewise.
27063         [!_LP64] (lroundl): Likewise.
27064         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27065         macro.
27066         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27067         Likewise.
27069 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27071         * math/libm-test.inc (lrint_test_data): Add more tests.
27072         (llrint_test_data): Likewise.
27073         (lround_test_data): Likewise.
27074         (llround_test_data): Likewise.
27076         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27077         (llrint_test_data): Add tests used for lrint.
27079         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27080         test.
27081         * sysdeps/i386/configure: Regenerated.
27082         * sysdeps/i386/i686/multiarch/Makefile
27083         [$(config-cflags-sse4) = yes]: Make code unconditional.
27084         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27085         Likewise.
27086         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27087         Likewise.
27088         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27089         test.
27090         * sysdeps/x86_64/configure: Regenerated.
27091         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27092         Make code unconditional.
27093         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27094         Likewise.
27095         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27096         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27098         * scripts/rpm2dynsym.sh: Remove file.
27100 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27102         * configure.ac (libc_cv_cxx_thread_local): Define.
27103         * configure: Regenerate.
27104         * config.make.in (have-cxx-thread_local): Define.
27105         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27106         (LDLIBS-tst-thread_local1): Define.
27107         (tests): Add tst-thread_local1.
27108         [have-cxx-thread_local != yes] (tests-unsupported): Add
27109         tst-thread_local1.
27110         * nptl/tst-thread_local1.cc: New file.
27112 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27114         [BZ #19078]
27115         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27116         (u_thres): Likewise.
27117         (__expl): Determine whether to call __kernel_standard_l based on
27118         value of result, not argument.
27120         * math/libm-test.inc (scalb_test_data): Add more expectations for
27121         the "inexact" exception.
27123         [BZ #19077]
27124         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27125         0.0L for argument 1.0L.
27127         [BZ #19076]
27128         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27129         constant 0.0L when computing infinite result.
27131 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27133         [BZ #10432]
27134         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27135         malloc_usable_size.
27137 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27139         [BZ #19018]
27140         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27141         Mangle function pointer before storing it.
27142         (__call_tls_dtors): Demangle function pointer before calling it.
27144 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27146         [BZ #19012]
27147         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27148         Clean up on failure.
27150 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27152         [BZ #19071]
27153         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27154         long int variable to store possibly incremented high part of
27155         mantissa.
27156         * math/libm-test.inc (lround_test_data): Add tests used for
27157         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27158         for tests requiring 64-bit long.  Do not condition tests on
27159         [TEST_FLOAT] unnecessarily.
27160         (llround_test_data): Add tests used for lround.  Add another
27161         expectation for the "inexact" exception.  Do not condition tests
27162         on [TEST_FLOAT] unnecessarily.
27164         [BZ #887]
27165         [BZ #19049]
27166         [BZ #19050]
27167         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27168         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27169         <fix-int-fp-convert-zero.h>.
27170         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27171         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27172         <fix-int-fp-convert-zero.h>.
27173         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27174         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27175         <fix-int-fp-convert-zero.h>.
27176         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27177         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27178         <fix-int-fp-convert-zero.h>.
27179         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27180         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27181         <fix-int-fp-convert-zero.h>.
27182         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27183         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27184         <fix-int-fp-convert-zero.h>.
27185         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27186         * sysdeps/ieee754/flt-32/s_erff.c: Include
27187         <fix-int-fp-convert-zero.h>.
27188         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27189         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27190         <fix-int-fp-convert-zero.h>.
27191         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27193         <fix-int-fp-convert-zero.h>.
27194         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27195         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27196         <fix-int-fp-convert-zero.h>.
27197         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27198         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27199         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27200         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27201         file.
27202         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27204 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27206         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27208 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #19059]
27211         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27212         overflowing computation.
27213         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27214         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27215         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27216         Likewise.
27217         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27218         Likewise.
27219         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27220         Likewise.
27221         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27222         Likewise.
27223         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27224         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27225         Likewise.
27226         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27227         Likewise.
27228         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27230         * nss/rewrite_field.c (__nss_rewrite_field): Use
27231         internal_function.
27232         * nss/valid_field.c (__nss_valid_field): Likewise.
27233         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27235 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27237         [BZ #18724]
27238         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27239         (__nss_invalid_field_characters, __nss_valid_field)
27240         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27241         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27242         tst-field.c: New file.
27243         * nss/Makefile (routines): Add valid_field, rewrite_field.
27244         (tests-static): Define unconditionally.
27245         (tests): Include tests-static.
27246         [build-static-nss] (tests-static): Use append.
27247         [build-static-nss] (tests): Remove modification.
27248         * nss/getent.c (print_group): Call putgrent.  Report error.
27249         (print_gshadow): Call putsgent.  Report error.
27250         (print_passwd): Call putpwent.  Report error.
27251         (print_shadow): Call putspent.  Report error.
27252         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27253         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27254         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27255         name, password, directory, shell fields for valid syntax.  Rewrite
27256         GECOS field to match syntax.
27257         * pwd/Makefile (tests): Add tst-putpwent.
27258         * pwd/tst-putpwent.c: New file.
27259         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27260         Check grName, grpasswd, gr_mem fields for valid syntax.
27261         Change loop variable i to size_t.
27262         * grp/Makefile (tests): Add tst-putgrent.
27263         * grp/tst-putgrent.c: New file.
27264         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27265         valid syntax.
27266         * shadow/Makefile (tests): Add tst-putspent.
27267         * shadow/tst-putspent.c: New file.
27268         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27269         sg_mem fields for valid syntax.
27270         * gshadow/Makefile (tests): Add tst-putsgent.
27271         * gshadow/tst-putsgent.c: New file.
27273 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27275         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27276         assembly instructions.
27278 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27280         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27281         prefix from operands.
27283 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #16347]
27286         [BZ #19046]
27287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27288         <libc-internal.h>.
27289         (MAXLGM): Do not use diagnostic control macros.
27290         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27291         threshold for ldbl-128ibm.
27292         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27293         instead of multiplying by log then subtracting.
27294         * math/auto-libm-test-in: Add more tests of lgamma.
27295         * math/auto-libm-test-out: Regenerated.
27297         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27298         (TYPE_HEX_DIG): Likewise.
27299         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27300         precisions when printing floating-point numbers.
27301         (check_float_internal): Likewise.
27303 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27305         [BZ #16620]
27306         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27307         of log (10) rounded downward to 48 bits.
27308         (log10_low): Use corresponding low part of log (10).
27310         [BZ #19032]
27311         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27312         compute result as (x - x) / (x - x) not as 0 / 0.
27313         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27314         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27316         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27317         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27318         and expm1.
27319         * math/auto-libm-test-out: Regenerated.
27320         * math/libm-test.inc (acos_test_data): Add more tests.
27321         (asin_test_data): Likewise.
27322         (asinh_test_data): Likewise.
27323         (atan_test_data): Likewise.
27324         (atanh_test_data): Likewise.
27325         (atan2_test_data): Likewise.
27326         (cbrt_test_data): Likewise.
27327         (ceil_test_data): Likewise.
27328         (copysign_test_data): Likewise.
27329         (cos_test_data): Likewise.
27330         (cosh_test_data): Likewise.
27331         (erf_test_data): Likewise.
27332         (erfc_test_data): Likewise.
27333         (exp_test_data): Likewise.
27334         (exp10_test_data): Likewise.
27335         (exp2_test_data): Likewise.
27336         (expm1_test_data): Likewise.
27337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27339 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
27341         [BZ #19006]
27342         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27343         to ...
27344         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27345         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27346         to ...
27347         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27348         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27349         to ...
27350         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27351         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27352         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27353         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27354         to ...
27355         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27356         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27357         Moved to ...
27358         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27359         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27360         Moved to ...
27361         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27362         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27363         to ...
27364         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27366         Moved to ...
27367         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27368         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27369         to ...
27370         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27371         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27372         Removed.
27373         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27374         Likewise.
27375         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27376         Likewise.
27377         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27378         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27379         Likewise.
27380         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27381         Likewise.
27382         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27383         Likewise.
27384         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27385         Likewise.
27386         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27387         Likewise.
27388         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27389         Likewise.
27390         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27391         Likewise.
27392         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27393         Likewise.
27394         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27395         Likewise.
27396         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27397         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27398         Likewise.
27399         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27400         Likewise.
27401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27402         Likewise.
27403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27404         Likewise.
27405         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27406         Likewise.
27407         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27408         Replace ../i486/pthread_cond_timedwait.S with
27409         ../pthread_cond_timedwait.S.
27411 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27413         * math/libm-test.inc (acos_test_data): Refine expectations for
27414         errno and "inexact" exceptions.
27415         (acosh_test_data): Likewise.
27416         (asin_test_data): Likewise.
27417         (asinh_test_data): Likewise.
27418         (atan_test_data): Likewise.
27419         (atanh_test_data): Likewise.
27420         (atan2_test_data): Likewise.
27421         (cbrt_test_data): Likewise.
27422         (ceil_test_data): Likewise.
27423         (copysign_test_data): Likewise.
27424         (cosh_test_data): Likewise.
27425         (erf_test_data): Likewise.
27426         (erfc_test_data): Likewise.
27427         (exp_test_data): Likewise.
27428         (exp10_test_data): Likewise.
27429         (exp2_test_data): Likewise.
27430         (expm1_test_data): Likewise.
27431         (fabs_test_data): Likewise.
27432         (floor_test_data): Likewise.
27433         (fma_test_data): Likewise.
27434         (fmax_test_data): Likewise.
27435         (fmin_test_data): Likewise.
27436         (fmod_test_data): Likewise.
27437         (fpclassify_test_data): Likewise.
27438         (frexp_test_data): Likewise.
27439         (hypot_test_data): Likewise.
27440         (ilogb_test_data): Likewise.
27441         (isgreater_test_data): Likewise.
27442         (isgreaterequal_test_data): Likewise.
27443         (isinf_test_data): Likewise.
27444         (isless_test_data): Likewise.
27445         (islessequal_test_data): Likewise.
27446         (islessgreater_test_data): Likewise.
27447         (isnan_test_data): Likewise.
27448         (isnormal_test_data): Likewise.
27449         (issignaling_test_data): Likewise.
27450         (isunordered_test_data): Likewise.
27451         (j0_test_data): Likewise.
27452         (j1_test_data): Likewise.
27453         (jn_test_data): Likewise.
27454         (lgamma_test_data): Likewise.
27455         (lrint_test_data): Likewise.
27456         (llrint_test_data): Likewise.
27457         (log_test_data): Likewise.
27458         (log10_test_data): Likewise.
27459         (log1p_test_data): Likewise.
27460         (log2_test_data): Likewise.
27461         (logb_test_data): Likewise.
27462         (lround_test_data): Likewise.
27463         (llround_test_data): Likewise.
27464         (modf_test_data): Likewise.
27465         (nearbyint_test_data): Likewise.
27466         (nextafter_test_data): Likewise.
27467         (nexttoward_test_data): Likewise.
27468         (pow_test_data): Likewise.
27469         (remainder_test_data): Likewise.
27470         (remquo_test_data): Likewise.
27471         (rint_test_data): Likewise.
27472         (round_test_data): Likewise.
27473         (signbit_test_data): Likewise.
27474         (sinh_test_data): Likewise.
27475         (sqrt_test_data): Likewise.
27476         (tanh_test_data): Likewise.
27477         (tgamma_test_data): Likewise.
27478         (trunc_test_data): Likewise.
27479         (y0_test_data): Likewise.
27480         (y1_test_data): Likewise.
27481         (yn_test_data): Likewise.
27482         (significand_test_data): Likewise.
27484 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27486         * manual/filesys.texi (Storage Allocation): Document that
27487         posix_fallocate emulation fails when fd is open with O_WRONLY.
27489 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27491         [BZ #19016]
27492         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27493         allow more cases with X^2 + Y^2 >= 0.5.
27494         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27495         normal element in sum instead of special-casing based on values of
27496         arguments.
27497         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27498         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27499         -1 as normal element in sum instead of special-casing based on
27500         values of arguments.
27501         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27502         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27503         (__x2y2m1): Update comment.
27504         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27505         as normal element in sum instead of special-casing based on values
27506         of arguments.
27507         * math/s_clog.c (__clog): Handle more cases using log1p without
27508         hypot.
27509         * math/s_clog10.c (__clog10): Likewise.
27510         * math/s_clog10f.c (__clog10f): Likewise.
27511         * math/s_clog10l.c (__clog10l): Likewise.
27512         * math/s_clogf.c (__clogf): Likewise.
27513         * math/s_clogl.c (__clogl): Likewise.
27514         * math/auto-libm-test-in: Add more tests of clog and clog10.
27515         * math/auto-libm-test-out: Regenerated.
27516         * sysdeps/i386/fpu/libm-test-ulps: Update.
27517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27519 2015-09-28  Martin Sebor  <msebor@redhat.com>
27521         [BZ #18969]
27522         * string/Makefile (LOCALES): Define.
27523         (gen-locales.mk): Include.
27524         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27525         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27526         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27527         on setlocale failure.
27529 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27531         [BZ #18985]
27532         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27533         (__strftime_internal): Likewise.
27534         * time/tst-strftime.c (do_bz18985): New test.
27535         (do_test): Call it.
27537 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27539         [BZ #18956]
27540         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27541         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27542         extracting high part.
27543         * math/auto-libm-test-in: Add another test of pow.
27544         * math/auto-libm-test-out: Regenerated.
27545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27547 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27549         [BZ #18825]
27550         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27551         New macro.
27552         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27553         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27554         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27555         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27556         DBL_NARROW_EVAL, reloading the PIC register as needed.
27557         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27558         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27559         FLT_NARROW_EVAL.  Use separate return path for case when first
27560         argument is NaN.
27561         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27562         DEFINE_LDBL_MIN.
27563         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27564         PIC register.
27565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27566         math_check_force_underflow_nonneg.
27567         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27568         underflow for subnormal result.
27569         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27570         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27571         math_check_force_underflow_nonneg.
27572         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27573         math_check_force_underflow.
27574         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27575         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27576         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27577         DEFINE_LDBL_MIN.
27578         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27579         * math/auto-libm-test-in: Add more tests of pow.
27580         * math/auto-libm-test-out: Regenerated.
27582 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27584         * nss/bug17079.c (init_test_items): Add diagnostic for
27585         inconsistent entries.
27586         (test_buffer_size): Skip inconsistent entries.
27588 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27590         [BZ #13304]
27591         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27592         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27593         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27595         [BZ #13304]
27596         * sysdeps/microblaze/s_fma.c: New file.
27597         * sysdeps/microblaze/s_fmaf.c: Likewise.
27598         * sysdeps/microblaze/sfp-machine.h: Likewise.
27600 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27602         [BZ #17250]
27603         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27604         member.
27606 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27608         [BZ #18803]
27609         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27610         (MO): New macro.
27611         (__ieee754_hypot) [PIC]: Load PIC register.
27612         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27613         DBL_NARROW_EVAL.
27614         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27615         math_check_force_underflow_nonneg in case where result might be
27616         tiny.
27617         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27618         Likewise.
27619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27620         Likewise.
27621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27622         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27623         * math/auto-libm-test-in: Add more tests of hypot.
27624         * math/auto-libm-test-out: Regenerated.
27626 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27628         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27630 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27632         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27633         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27634         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27635         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27636         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27637         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27638         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27640         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27641         LOAD_PIC_REG.
27643         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27644         (FLT_CHECK_FORCE_UFLOW): Likewise.
27645         (DBL_CHECK_FORCE_UFLOW): Likewise.
27646         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27647         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27648         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27649         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27650         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27651         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27652         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27653         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27654         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27655         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27656         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27657         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27658         (flt_min): Replace with use of DEFINE_FLT_MIN.
27659         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27660         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27662         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27663         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27664         (flt_min): Replace with use of DEFINE_FLT_MIN.
27665         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27666         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27667         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27668         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27669         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27670         (flt_min): Replace with use of DEFINE_FLT_MIN.
27671         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27672         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27673         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27674         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27675         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27676         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27677         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27678         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27680         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27681         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27682         (flt_min): Replace with use of DEFINE_FLT_MIN.
27683         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27684         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27685         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27686         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27687         main computation.
27688         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27689         (flt_min): Replace with use of DEFINE_FLT_MIN.
27690         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27691         main computation.
27692         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27693         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27694         (MO): New macro.
27695         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27696         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27697         (flt_min): Replace with use of DEFINE_FLT_MIN.
27698         (MO): New macro.
27699         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27700         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27701         (__log1pl): Use MO.
27703         [BZ #19003]
27704         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27705         $(config-cflags-nofma).
27707 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27709         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27711 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27713         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27714         (TWO127): Likewise.
27716         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27717         (min_of_type): Likewise.
27718         (math_check_force_underflow): Likewise.
27719         (math_check_force_underflow_nonneg): Likewise.
27720         (math_check_force_underflow_complex): Likewise.
27721         * math/e_exp2l.c (__ieee754_exp2l): Use
27722         math_check_force_underflow_nonneg.
27723         * math/k_casinh.c (__kernel_casinh): Likewise.
27724         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27725         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27726         * math/s_catan.c (__catan): Use
27727         math_check_force_underflow_complex.
27728         * math/s_catanf.c (__catanf): Likewise.
27729         * math/s_catanh.c (__catanh): Likewise.
27730         * math/s_catanhf.c (__catanhf): Likewise.
27731         * math/s_catanhl.c (__catanhl): Likewise.
27732         * math/s_catanl.c (__catanl): Likewise.
27733         * math/s_ccosh.c (__ccosh): Likewise.
27734         * math/s_ccoshf.c (__ccoshf): Likewise.
27735         * math/s_ccoshl.c (__ccoshl): Likewise.
27736         * math/s_cexp.c (__cexp): Likewise.
27737         * math/s_cexpf.c (__cexpf): Likewise.
27738         * math/s_cexpl.c (__cexpl): Likewise.
27739         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27740         * math/s_clog10.c (__clog10): Likewise.
27741         * math/s_clog10f.c (__clog10f): Likewise.
27742         * math/s_clog10l.c (__clog10l): Likewise.
27743         * math/s_clogf.c (__clogf): Likewise.
27744         * math/s_clogl.c (__clogl): Likewise.
27745         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27746         * math/s_csinf.c (__csinf): Likewise.
27747         * math/s_csinh.c (__csinh): Likewise.
27748         * math/s_csinhf.c (__csinhf): Likewise.
27749         * math/s_csinhl.c (__csinhl): Likewise.
27750         * math/s_csinl.c (__csinl): Likewise.
27751         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27752         * math/s_csqrtf.c (__csqrtf): Likewise.
27753         * math/s_csqrtl.c (__csqrtl): Likewise.
27754         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27755         * math/s_ctanf.c (__ctanf): Likewise.
27756         * math/s_ctanh.c (__ctanh): Likewise.
27757         * math/s_ctanhf.c (__ctanhf): Likewise.
27758         * math/s_ctanhl.c (__ctanhl): Likewise.
27759         * math/s_ctanl.c (__ctanl): Likewise.
27760         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27761         instead of volatile.
27762         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27763         math_check_force_underflow.
27764         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27765         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27766         volatile when forcing underflow.
27767         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27768         math_check_force_underflow_nonneg.
27769         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27770         Likewise.
27771         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27772         math_check_force_underflow.
27773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27774         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27775         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27776         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27777         math_check_force_underflow_nonneg.
27778         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27779         math_check_force_underflow.
27780         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27782         instead of volatile.
27783         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27784         math_check_force_underflow.
27785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27786         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27787         math_check_force_underflow_nonneg.
27788         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27789         math_check_force_underflow.
27790         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27791         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27792         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27793         math_check_force_underflow_nonneg.
27794         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27795         Likewise.
27796         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27797         math_check_force_underflow.
27798         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27799         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27800         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27801         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27802         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27803         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27804         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27805         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27806         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27807         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27808         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27809         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27810         Likewise.
27811         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27812         math_check_force_underflow_nonneg.
27813         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27814         Likewise.
27815         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27816         math_check_force_underflow.
27817         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27818         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27819         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27820         Likewise.
27821         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27822         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27823         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27824         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27825         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27826         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27827         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27828         instead of volatile.
27829         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27830         math_check_force_underflow.
27831         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27832         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27833         math_check_force_underflow.
27834         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27835         Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27837         Use math_check_force_underflow_nonneg.
27838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27839         math_check_force_underflow.
27840         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27841         Likewise.
27842         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27843         Likewise.
27844         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27845         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27846         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27847         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27849         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27850         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27851         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27852         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27853         math_check_force_underflow_nonneg.
27854         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27855         math_check_force_underflow.
27856         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27857         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27858         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27859         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27860         math_check_force_underflow_nonneg.
27861         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27862         math_check_force_underflow.
27863         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27865         instead of volatile.
27866         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27867         math_check_force_underflow.
27869         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27870         * stdlib/strtod_l.c: Include <math_private.h>.
27871         (overflow_value): Use math_narrow_eval.
27872         (underflow_value): Likewise.
27873         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27874         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27875         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27876         (__ieee754_gamma_r): Likewise.
27877         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27878         Likewise.
27879         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27880         Likewise.
27881         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27882         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27883         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27884         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27885         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27886         (__ieee754_gammaf_r): Likewise.
27887         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27888         Likewise.
27889         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27890         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27891         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27892         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27893         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27894         volatile.
27895         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27896         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27897         math_narrow_eval.
27898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27899         Likewise.
27900         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27901         Likewise.
27902         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27903         Likewise.
27904         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27905         volatile.
27906         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27907         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27908         math_narrow_eval.
27909         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27910         Likewise.
27911         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27912         Likewise.
27914 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27916         * nptl/Versions: Remove ignored symbols.
27918 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27920         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27921         * nss/Makefile (tests): Update.
27923 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27925         * nss/bug18287.c: New file.
27926         * nss/Makefile (tests): Add bug18287.
27928 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27930         * mach/Versions (__mach_host_self_): Add symbol.
27932 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27934         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27935         vm_page_size.
27937 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27939         Really fix sysdeps/i386/fpu/s_scalbn.S build
27941         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27942         (libc: GLIBC_2_22): Remove unused version set.
27944 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27946         * config.make.in (enable-timezone-tools): New variable.
27947         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27948         (enable_timezone_tools): Export to generated files.
27949         * configure: Regenerate.
27950         * INSTALL: Regenerate.
27951         * manual/install.texi (--disable-timezone-tools): Document new flag.
27952         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27953         ifeq ($(enable-timezone-tools),yes) check.
27955 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27957         * timezone/Makefile: Revert previous change.
27959         [BZ #18980]
27960         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27961         (DEFINE_DBL_MIN): Likewise.
27962         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27963         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27964         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27965         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27966         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27967         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27968         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27969         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27970         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27971         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27972         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27973         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27974         (flt_min): Replace with use of DEFINE_FLT_MIN.
27975         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27976         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27977         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27978         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27979         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27980         (flt_min): Replace with use of DEFINE_FLT_MIN.
27981         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27982         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27983         (flt_min): Replace with use of DEFINE_FLT_MIN.
27984         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27985         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27986         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27987         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27988         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27989         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27990         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27991         (__ieee754_pow): Use DBL_NARROW_EVAL.
27992         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27993         (__ieee754_powf): Use FLT_NARROW_EVAL.
27994         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27995         (__ieee754_expf_sse2): Convert double-precision result to single
27996         precision.
27997         * sysdeps/i386/fpu/libm-test-ulps: Update.
27999 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28001         * timezone/Makefile: Ignore unused variable errors due to private.h
28002         (time_t_min) and (time_t_max).
28003         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28004         Likewise.
28006 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28008         [BZ #18981]
28009         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28010         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28011         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28012         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28013         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28014         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28015         (__scalbn): Use DBL_NARROW_EVAL.
28016         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28017         (__scalbnf): Use FLT_NARROW_EVAL.
28019 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28021         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28022         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28023         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28024         * stdio-common/printf_fp.c (___printf_fp):
28025         Use signbit to get the sign. Use isinf macro to allow inlining.
28026         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28027         * stdio-common/printf_size.c (__printf_size): Likewise.
28029 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28031         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28033 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28035         [BZ #18980]
28036         * sysdeps/generic/math_private.h: Include <float.h>.
28037         (math_narrow_eval): New macro.
28038         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28039         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28040         math_narrow_eval on overflowing return value.
28041         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28042         Likewise.
28043         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28044         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28045         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28046         Likewise.
28047         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28049 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28051         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28052         * math/Makefile: Remove isinf_ns.c.
28053         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28054         * math/multc3.c (__multc3): Likewise.
28055         * math/s_casin.c (__casin): Likewise.
28056         * math/s_casinf.c (__casinf): Likewise.
28057         * math/s_casinl.c (__casinl): Likewise.
28058         * math/s_cproj.c (__cproj): Likewise.
28059         * math/s_cprojf.c (__cprojf): Likewise.
28060         * math/s_cprojl.c (__cprofl): Likewise.
28061         * math/s_ctan.c (__ctan): Likewise.
28062         * math/s_ctanf.c (__ctanf): Likewise.
28063         * math/s_ctanh.c (__ctanh): Likewise.
28064         * math/s_ctanhf.c (__ctanhf): Likewise.
28065         * math/s_ctanhl.c (__ctanhl): Likewise.
28066         * math/s_ctanl.c (__ctanl): Likewise.
28067         * math/w_fmod.c (__fmod): Likewise.
28068         * math/w_fmodf.c (__fmodf): Likewise.
28069         * math/w_fmodl.c (_fmodl): Likewise.
28070         * math/w_remainder.c (__remainder): Likewise.
28071         * math/w_remainderf.c (__remainderf): Likewise.
28072         * math/w_remainderl.c (__remainderl): Likewise.
28073         * math/w_scalb.c (__scalb): Likewise.
28074         * math/w_scalbf.c (__scalbf): Likewise.
28075         * math/w_scalbl.c (__scalbl): Likewise.
28076         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28077         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28078         with isinf.
28079         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28081         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28082         __isinf_nsf with isinf.
28083         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28084         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28085         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28086         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28087         with isinf.
28088         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28089         __isinf_nsl with isinf.
28090         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28091         with isinf.
28092         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28093         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28094         __isinf_nsl with isinf.
28095         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28096         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28097         with isinf.
28099 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28101         * resolv/base64.c (rcsid): Remove unused static.
28102         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28103         static.  (tqpi1): Likewise.
28104         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28105         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28106         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28107         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28109         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28110         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28111         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28112         Likewise.
28114 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28116         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28117         <nptl/pthreadP.h>.
28118         (_longjmp_unwind): Use __libc_ptf_call.
28119         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28121 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28123         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28124         * sysdeps/arm/__longjmp.S: Likewise.
28126 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28128         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28129         Use __builtin_signbit.
28130         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28131         Use __builtin_signbitf.
28132         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28133         Use __builtin_signbitl.
28134         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28135         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28137 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28139         [BZ #15367]
28140         [BZ #17441]
28142         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28143         * math/math.h (fpclassify): Use __builtin_fpclassify when
28144         available.  (signbit): Use __builtin_signbit(f/l).
28145         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28146         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28147         (isinf): Use __builtin_isinf_sign.
28149 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28151         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28152         * benchtests/bench-math-inlines.c: New benchmark.
28153         * benchtests/bench-util.h: New file.
28154         * benchtests/bench-util.c: New file.
28155         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28157 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28159         * elf/tst-dlmopen1.c: Define TEST_SO.
28160         (do_test): Use TEST_SO.
28162         * elf/dl-load.c: Include libc-internal.h.
28163         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28165 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28167         [BZ #17887]
28168         * time/strptime_l.c (__strptime_internal): Make %z accept
28169         [+-]HH:MM time zones.
28171 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28173         [BZ #17886]
28174         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28175         valid time zone.
28177 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28179         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28180         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28182         (__ASSUME_FDATASYNC): Delete.
28184 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28186         * conform/linknamespace.pl: Require weak undefined symbols to be
28187         in the standard namespace.
28188         (%strong_syms): Rename to %seen_syms.
28189         (%strong_seen): Rename to %seen_where.
28191 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28193         [BZ #18970]
28194         * misc/error.c (error): Replace pthread_setcancelstate with
28195         __pthread_setcancelstate.
28196         (error_at_line): Likewise.
28197         * posix/wordexp.c (parse_comm): Likewise.
28198         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28199         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28200         (__pthread_setcancelstate): This.
28201         (pthread_setcancelstate): Add an alias.
28202         * nptl/nptl-init.c (pthread_functions): Replace
28203         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28204         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28205         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28206         hidden_proto.
28207         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28208         it with hidden_def.
28209         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28210         (pthread_setcancelstate): Renamed to ...
28211         (__pthread_setcancelstate): This.
28212         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28213         __libc_ptf_call with __pthread_setcancelstate.
28215 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28216             Andreas Schwab  <schwab@suse.de>
28218         [BZ #17118]
28219         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28220         result when imaginary part of argument is infinite using sine and
28221         cosine.
28222         * math/s_ctanf.c (__ctanf): Likewise.
28223         * math/s_ctanl.c (__ctanl): Likewise.
28224         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28225         of result when real part of argument is infinite using sine and
28226         cosine.
28227         * math/s_ctanhf.c (__ctanhf): Likewise.
28228         * math/s_ctanhl.c (__ctanhl): Likewise.
28229         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28230         (ctanh_test_data): Add more tests of ctanh.
28232 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28234         [BZ #15384]
28235         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28236         bit-mask as in subtraction.
28237         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28238         Likewise.
28239         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28240         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28241         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28243         [BZ #18951]
28244         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28245         underflow exception for small results.
28246         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28247         Likewise.
28248         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28249         Likewise.
28250         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28251         Likewise.
28252         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28253         Likewise.
28254         * math/auto-libm-test-in: Add more tests of tgamma.
28255         * math/auto-libm-test-out: Regenerated.
28257 2015-09-17  Andreas Schwab  <schwab@suse.de>
28259         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28261 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28263         [BZ #18977]
28264         * math/bits/mathcalls.h
28265         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28266         not declare.
28267         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28268         Likewise.
28269         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28270         Likewise.
28271         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28272         Likewise.
28273         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28274         Likewise.
28275         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28276         Likewise.
28277         * conform/data/math.h-data
28278         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28279         function.
28280         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28281         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28282         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28283         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28284         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28285         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28286         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28287         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28288         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28289         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28290         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28292         [BZ #6803]
28293         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28294         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28295         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28296         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28297         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28298         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28299         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28300         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28301         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28302         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28303         Likewise.
28304         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28305         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28306         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28307         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28308         long_double_symbol calls.
28309         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28310         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28311         strong alias of __ldexpl.
28312         (scalbnl): Define using long_double_symbol.
28313         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28314         Remove alias.
28315         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28316         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28317         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28318         (scalbln_test_data): Add more errno expectations.
28320 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
28322         Cache the host port like we cache the task port.  This way we do not
28323         need to call the kernel just to get the port.  Furthermore, we no
28324         longer increase the reference count on every invocation of
28325         `mach_host_self'.
28327         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28328         Protect declarations against the macro expansion.
28329         * mach/mach_init.c (__mach_host_self_): New variable.
28330         (mach_init): Initialize `__mach_host_self_'.
28331         * mach/mach_init.h (__mach_host_self_): New declaration.
28332         (__mach_host_self, mach_host_self): New macros.
28333         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28334         Release reference.
28336 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28338         [BZ #4404]
28339         * po/de.po: Update from Translation Project.
28341         [BZ #16415]
28342         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28343         (__expm1l): Remove code to handle positive infinity and overflow.
28344         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28345         variable.
28346         (__expm1l): Remove code to handle positive infinity and overflow.
28348 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
28349             Paul Pluzhnikov  <ppluzhnikov@google.com>
28351         [BZ #18872]
28352         * stdio-common/Makefile (tst-printf-bz18872): New test.
28353         (tst-printf-bz18872-mem.out): Likewise.
28354         * stdio-common/tst-printf-bz18872.sh: Generate new test.
28355         * stdio-common/vfprintf.c: Fix memory leaks.
28357 2015-09-16  Andreas Schwab  <schwab@suse.de>
28359         [BZ #17244]
28360         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28361         Remove extra va_start/va_end calls.
28363         [BZ #17243]
28364         * posix/execl.c (execl): Add missing va_end.
28365         * posix/execle.c (execle): Likewise.
28366         * posix/execlp.c (execlp): Likewise.
28368 2015-09-15  Roland McGrath  <roland@hack.frob.com>
28370         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28371         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28373 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
28375         [BZ #18967]
28376         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
28377         undefine around includes of <bits/mathcalls.h>.
28378         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28379         not declare function.
28380         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28381         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28382         (scalb): Likewise.
28383         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28384         not define macro.
28385         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28386         variable.
28387         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28388         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28389         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28391         [BZ #18857]
28392         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28393         return non-finite argument without doing ordered comparisons on
28394         it.
28396         [BZ #16296]
28397         * math/fenv.h (fegetround): Use __attribute_pure__.
28398         * include/fenv.h (__fegetround): Likewise.
28400         [BZ #18595]
28401         * math/s_ctan.c (__ctan): Force underflow exception for results
28402         whose real or imaginary part has small absolute value.
28403         * math/s_ctanf.c (__ctanf): Likewise.
28404         * math/s_ctanh.c (__ctanh): Likewise.
28405         * math/s_ctanhf.c (__ctanhf): Likewise.
28406         * math/s_ctanhl.c (__ctanhl): Likewise.
28407         * math/s_ctanl.c (__ctanl): Likewise.
28408         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28409         and ctanh.  Add more tests of ctan and ctanh.
28411         [BZ #15918]
28412         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28413         handling of cases where one argument is an infinity.
28415         [BZ #18875]
28416         [BZ #18966]
28417         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28418         (MO): New macro.
28419         (__ieee754_exp10): For small results, force underflow exception
28420         and remove excess range and precision from return value.
28421         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28422         (MO): New macro.
28423         (__ieee754_exp10f): For small results, force underflow exception
28424         and remove excess range and precision from return value.
28425         * math/auto-libm-test-in: Add more tests of exp10.
28426         * math/auto-libm-test-out: Regenerated.
28428 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28430         [BZ #18875]
28431         [BZ #18961]
28432         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28433         (MO): New macro.
28434         (__ieee754_exp): For small results, force underflow exception and
28435         remove excess range and precision from return value.
28436         (__exp_finite): Likewise.
28437         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28438         (MO): New macro.
28439         (__ieee754_expf): For small results, force underflow exception and
28440         remove excess range and precision from return value.
28441         (__expf_finite): Likewise.
28442         * math/auto-libm-test-in: Add more tests of exp.
28443         * math/auto-libm-test-out: Regenerated.
28445         [BZ #16521]
28446         [BZ #18875]
28447         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28448         small results.
28449         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28450         (MO): New macro.
28451         (__ieee754_exp2): For small results, force underflow exception and
28452         remove excess range and precision from return value.
28453         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28454         (MO): New macro.
28455         (__ieee754_exp2f): For small results, force underflow exception
28456         and remove excess range and precision from return value.
28457         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28458         (MO): New macro.
28459         (__ieee754_exp2l): Force underflow exception for small results.
28460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28461         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28462         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28463         (MO): New macro.
28464         (__ieee754_exp2l): Force underflow exception for small results.
28465         * math/auto-libm-test-in: Add more tests or exp2.
28466         * math/auto-libm-test-out: Regenerated.
28468 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28470         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28472         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28473         /dev/null.
28475 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28477         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28478         io fs process)): Drop spurious backslash.
28480 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28483         Use sysinfo system call instead of parsing /proc/meminfo.
28484         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28485         Likewise.
28487 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28489         [BZ #16985]
28490         * programs/localedef.c (main): Display argv[remaining] when
28491         output_path is NULL.
28493 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28495         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28496         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28497         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28498         tanh.
28499         * math/auto-libm-test-out: Regenerated.
28500         * sysdeps/i386/fpu/libm-test-ulps: Update.
28501         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28502         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28505 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28507         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28508         Use 'override' keyword to freeze the value here, preventing
28509         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28511 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28513         [BZ #14912]
28514         * sysdeps/aarch64/bits/atomic.h: Move to ...
28515         * sysdeps/aarch64/atomic-machine.h: ...here.
28516         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28517         _AARCH64_ATOMIC_MACHINE_H.
28518         * sysdeps/alpha/bits/atomic.h: Move to ...
28519         * sysdeps/alpha/atomic-machine.h: ...here.
28520         * sysdeps/arm/bits/atomic.h: Move to ...
28521         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28522         * bits/atomic.h: Move to ...
28523         * sysdeps/generic/atomic-machine.h: ...here.
28524         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28525         * sysdeps/i386/bits/atomic.h: Move to ...
28526         * sysdeps/i386/atomic-machine.h: ...here.
28527         * sysdeps/ia64/bits/atomic.h: Move to ...
28528         * sysdeps/ia64/atomic-machine.h: ...here.
28529         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28530         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28531         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28532         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28533         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28534         * sysdeps/microblaze/bits/atomic.h: Move to ...
28535         * sysdeps/microblaze/atomic-machine.h: ...here.
28536         * sysdeps/mips/bits/atomic.h: Move to ...
28537         * sysdeps/mips/atomic-machine.h: ...here.
28538         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28539         * sysdeps/powerpc/bits/atomic.h: Move to ...
28540         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28541         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28542         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28543         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28544         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28545         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28546         <atomic-machine.h> instead of <bits/atomic.h>.
28547         * sysdeps/s390/bits/atomic.h: Move to ...
28548         * sysdeps/s390/atomic-machine.h: ...here.
28549         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28550         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28551         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28552         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28553         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28554         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28555         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28556         * sysdeps/tile/bits/atomic.h: Move to ...
28557         * sysdeps/tile/atomic-machine.h: ...here.
28558         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28559         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28560         <sysdeps/tile/atomic-machine.h> instead of
28561         <sysdeps/tile/bits/atomic.h>.
28562         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28563         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28564         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28565         <sysdeps/tile/atomic-machine.h> instead of
28566         <sysdeps/tile/bits/atomic.h>.
28567         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28568         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28569         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28570         <sysdeps/arm/atomic-machine.h> instead of
28571         <sysdeps/arm/bits/atomic.h>.
28572         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28573         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28574         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28575         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28576         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28577         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28578         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28579         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28580         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28581         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28582         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28583         * sysdeps/x86_64/bits/atomic.h: Move to ...
28584         * sysdeps/x86_64/atomic-machine.h: ...here.
28585         * include/atomic.h: Include <atomic-machine.h> instead of
28586         <bits/atomic.h>.
28588         * sysdeps/mips/mips32/libm-test-ulps: Update.
28589         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28591         [BZ #18952]
28592         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28593         not convert non-integer negative arguments to int to determine the
28594         value of signgam.
28595         * math/auto-libm-test-in: Add more tests of lgamma.
28596         * math/auto-libm-test-out: Regenerated.
28598         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28599         cosh, csqrt, erfc, expm1 and lgamma.
28600         * math/auto-libm-test-out: Regenerated.
28601         * sysdeps/i386/fpu/libm-test-ulps: Update.
28602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28604 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28606         [BZ #2542]
28607         [BZ #2543]
28608         [BZ #2558]
28609         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28610         __lgamma_neg for arguments from -28.0 to -2.0.
28611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28612         __lgamma_negf for arguments from -15.0 to -2.0.
28613         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28614         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28615         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28616         Call __lgamma_negl for arguments from -33.0 to -2.0.
28617         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28618         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28619         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28620         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28627         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28628         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28629         (__lgamma_neg): Likewise.
28630         (__lgamma_negl): Likewise.
28631         (__lgamma_product): Likewise.
28632         (__lgamma_productl): Likewise.
28633         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28634         * math/auto-libm-test-in: Add more tests of lgamma.
28635         * math/auto-libm-test-out: Regenerated.
28636         * sysdeps/i386/fpu/libm-test-ulps: Update.
28637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28639 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28641         [BZ #18675]
28642         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28644 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28646         [BZ #14912]
28647         * bits/libc-lock.h: Move to ...
28648         * sysdeps/generic/libc-lock.h: ...here.
28649         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28650         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28651         * sysdeps/mach/hurd/libc-lock.h: ...here.
28652         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28653         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28654         * sysdeps/mach/bits/libc-lock.h: Move to ...
28655         * sysdeps/mach/libc-lock.h: ...here.
28656         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28657         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28658         * sysdeps/nptl/libc-lock.h: ...here.
28659         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28660         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28661         * sysdeps/nptl/libc-lockP.h: ...here.
28662         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28663         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28664         <bits/libc-lock.h>.
28665         * dirent/scandir-tail.c: Likewise.
28666         * dlfcn/dlerror.c: Likewise.
28667         * elf/dl-close.c: Likewise.
28668         * elf/dl-iteratephdr.c: Likewise.
28669         * elf/dl-lookup.c: Likewise.
28670         * elf/dl-open.c: Likewise.
28671         * elf/dl-support.c: Likewise.
28672         * elf/dl-writev.h: Likewise.
28673         * elf/rtld.c: Likewise.
28674         * grp/fgetgrent.c: Likewise.
28675         * gshadow/fgetsgent.c: Likewise.
28676         * gshadow/sgetsgent.c: Likewise.
28677         * iconv/gconv_conf.c: Likewise.
28678         * iconv/gconv_db.c: Likewise.
28679         * iconv/gconv_dl.c: Likewise.
28680         * iconv/gconv_int.h: Likewise.
28681         * iconv/gconv_trans.c: Likewise.
28682         * include/link.h: Likewise.
28683         * inet/getnameinfo.c: Likewise.
28684         * inet/getnetgrent.c: Likewise.
28685         * inet/getnetgrent_r.c: Likewise.
28686         * intl/bindtextdom.c: Likewise.
28687         * intl/dcigettext.c: Likewise.
28688         * intl/finddomain.c: Likewise.
28689         * intl/gettextP.h: Likewise.
28690         * intl/loadmsgcat.c: Likewise.
28691         * intl/localealias.c: Likewise.
28692         * intl/textdomain.c: Likewise.
28693         * libidn/idn-stub.c: Likewise.
28694         * libio/libioP.h: Likewise.
28695         * locale/duplocale.c: Likewise.
28696         * locale/freelocale.c: Likewise.
28697         * locale/newlocale.c: Likewise.
28698         * locale/setlocale.c: Likewise.
28699         * login/getutent_r.c: Likewise.
28700         * login/getutid_r.c: Likewise.
28701         * login/getutline_r.c: Likewise.
28702         * login/utmp-private.h: Likewise.
28703         * login/utmpname.c: Likewise.
28704         * malloc/mtrace.c: Likewise.
28705         * misc/efgcvt.c: Likewise.
28706         * misc/error.c: Likewise.
28707         * misc/fstab.c: Likewise.
28708         * misc/getpass.c: Likewise.
28709         * misc/mntent.c: Likewise.
28710         * misc/syslog.c: Likewise.
28711         * nis/nis_call.c: Likewise.
28712         * nis/nis_callback.c: Likewise.
28713         * nis/nss-default.c: Likewise.
28714         * nis/nss_compat/compat-grp.c: Likewise.
28715         * nis/nss_compat/compat-initgroups.c: Likewise.
28716         * nis/nss_compat/compat-pwd.c: Likewise.
28717         * nis/nss_compat/compat-spwd.c: Likewise.
28718         * nis/nss_nis/nis-alias.c: Likewise.
28719         * nis/nss_nis/nis-ethers.c: Likewise.
28720         * nis/nss_nis/nis-grp.c: Likewise.
28721         * nis/nss_nis/nis-hosts.c: Likewise.
28722         * nis/nss_nis/nis-network.c: Likewise.
28723         * nis/nss_nis/nis-proto.c: Likewise.
28724         * nis/nss_nis/nis-pwd.c: Likewise.
28725         * nis/nss_nis/nis-rpc.c: Likewise.
28726         * nis/nss_nis/nis-service.c: Likewise.
28727         * nis/nss_nis/nis-spwd.c: Likewise.
28728         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28729         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28730         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28731         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28732         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28733         * nis/nss_nisplus/nisplus-network.c: Likewise.
28734         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28735         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28736         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28737         * nis/nss_nisplus/nisplus-service.c: Likewise.
28738         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28739         * nis/ypclnt.c: Likewise.
28740         * nptl/libc_pthread_init.c: Likewise.
28741         * nss/getXXbyYY.c: Likewise.
28742         * nss/getXXent.c: Likewise.
28743         * nss/getXXent_r.c: Likewise.
28744         * nss/nss_db/db-XXX.c: Likewise.
28745         * nss/nss_db/db-netgrp.c: Likewise.
28746         * nss/nss_db/nss_db.h: Likewise.
28747         * nss/nss_files/files-XXX.c: Likewise.
28748         * nss/nss_files/files-alias.c: Likewise.
28749         * nss/nsswitch.c: Likewise.
28750         * posix/regex_internal.h: Likewise.
28751         * posix/wordexp.c: Likewise.
28752         * pwd/fgetpwent.c: Likewise.
28753         * resolv/res_hconf.c: Likewise.
28754         * resolv/res_libc.c: Likewise.
28755         * shadow/fgetspent.c: Likewise.
28756         * shadow/lckpwdf.c: Likewise.
28757         * shadow/sgetspent.c: Likewise.
28758         * socket/opensock.c: Likewise.
28759         * stdio-common/reg-modifier.c: Likewise.
28760         * stdio-common/reg-printf.c: Likewise.
28761         * stdio-common/reg-type.c: Likewise.
28762         * stdio-common/vfprintf.c: Likewise.
28763         * stdio-common/vfscanf.c: Likewise.
28764         * stdlib/abort.c: Likewise.
28765         * stdlib/cxa_atexit.c: Likewise.
28766         * stdlib/fmtmsg.c: Likewise.
28767         * stdlib/random.c: Likewise.
28768         * stdlib/setenv.c: Likewise.
28769         * string/strsignal.c: Likewise.
28770         * sunrpc/auth_none.c: Likewise.
28771         * sunrpc/bindrsvprt.c: Likewise.
28772         * sunrpc/create_xid.c: Likewise.
28773         * sunrpc/key_call.c: Likewise.
28774         * sunrpc/rpc_thread.c: Likewise.
28775         * sysdeps/arm/backtrace.c: Likewise.
28776         * sysdeps/generic/ldsodefs.h: Likewise.
28777         * sysdeps/generic/stdio-lock.h: Likewise.
28778         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28779         * sysdeps/i386/backtrace.c: Likewise.
28780         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28781         * sysdeps/m68k/backtrace.c: Likewise.
28782         * sysdeps/mach/hurd/cthreads.c: Likewise.
28783         * sysdeps/mach/hurd/dirstream.h: Likewise.
28784         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28785         * sysdeps/nptl/malloc-machine.h: Likewise.
28786         * sysdeps/nptl/stdio-lock.h: Likewise.
28787         * sysdeps/posix/dirstream.h: Likewise.
28788         * sysdeps/posix/getaddrinfo.c: Likewise.
28789         * sysdeps/posix/system.c: Likewise.
28790         * sysdeps/pthread/aio_suspend.c: Likewise.
28791         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28792         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28793         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28794         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28795         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28796         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28797         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28798         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28799         * sysdeps/unix/sysv/linux/system.c: Likewise.
28800         * sysdeps/x86_64/backtrace.c: Likewise.
28801         * time/alt_digit.c: Likewise.
28802         * time/era.c: Likewise.
28803         * time/tzset.c: Likewise.
28804         * wcsmbs/wcsmbsload.c: Likewise.
28805         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28806         instead of <bits/libc-lock.h> in comment.
28808 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28810         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28811         Only use .set mips2 if the current ISA is below mips2.
28812         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28813         Likewise.
28814         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28815         mips32r2 if the current ISA is below mips32r2.
28816         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28817         (TLS_IE): Updated to use the TLD_RDHWR macro.
28818         (TLS_LE): Likewise.
28819         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28820         __ASSEMBLER__ condition.
28822 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28824         Fix parallel build of before-compile targets.
28826         * sysdeps/mach/Makefile ($(patsubst
28827         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28828         mach-before-compile target.
28829         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28830         io fs process)): Move rule to dedicated hurd-before-compile target.
28832 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28834         Fix rules generating headers in hurd/ and mach/ when initial make call
28835         has subdir= explicitly set.
28837         * sysdeps/mach/Makefile ($(patsubst
28838         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28839         calling $(MAKE).
28840         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28841         io fs process)): Force subdir to hurd when calling $(MAKE).
28842         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28843         subdir to mach when calling $(MAKE).
28845 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28847         Check sysheaders when looking for Mach and Hurd headers
28849         * sysdeps/mach/configure.ac: Add sysheaders check.
28850         * sysdeps/mach/configure: Regenerate.
28851         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28852         * sysdeps/mach/hurd/configure: Regenerate.
28854 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28856         [BZ #18921]
28857         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28858         Fix inverted sense of test of 'o_directory_works' value.
28859         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28860         Bernhard Voelker <mail@bernhard-voelker.de>.
28862 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28864         [BZ #14912]
28865         * bits/linkmap.h: Move to ...
28866         * sysdeps/generic/linkmap.h: ...here.
28867         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28868         * sysdeps/aarch64/linkmap.h: ...here.
28869         * sysdeps/arm/bits/linkmap.h: Move to ...
28870         * sysdeps/arm/linkmap.h: ...here.
28871         * sysdeps/hppa/bits/linkmap.h: Move to ...
28872         * sysdeps/hppa/linkmap.h: ...here.
28873         * sysdeps/ia64/bits/linkmap.h: Move to ...
28874         * sysdeps/ia64/linkmap.h: ...here.
28875         * sysdeps/mips/bits/linkmap.h: Move to ...
28876         * sysdeps/mips/linkmap.h: ...here.
28877         * sysdeps/s390/bits/linkmap.h: Move to ...
28878         * sysdeps/s390/linkmap.h: ...here.
28879         * sysdeps/sh/bits/linkmap.h: Move to ...
28880         * sysdeps/sh/linkmap.h: ...here.
28881         * sysdeps/x86/bits/linkmap.h: Move to ...
28882         * sysdeps/x86/linkmap.h: ...here.
28883         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28885 2015-09-04  Andreas Schwab  <schwab@suse.de>
28887         [BZ #18635]
28888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28889         (__makecontext): Terminate FDE before return label.
28890         (__novec_makecontext): Likewise.
28892 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28894         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28895         first member of struct sv in syscall macro.
28897 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28899         [BZ #14912]
28900         * bits/stdio-lock.h: Move to ...
28901         * sysdeps/generic/stdio-lock.h: ...here.
28902         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28903         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28904         * sysdeps/nptl/stdio-lock.h: ...here.
28905         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28906         * include/libio.h: Include <stdio-lock.h> instead of
28907         <bits/stdio-lock.h>.
28908         * sysdeps/nptl/fork.c: Likewise.
28909         * sysdeps/pthread/flockfile.c: Likewise.
28910         * sysdeps/pthread/ftrylockfile.c: Likewise.
28911         * sysdeps/pthread/funlockfile.c: Likewise.
28913         [BZ #14912]
28914         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28915         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28916         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28917         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28918         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28919         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28920         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28922 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28924         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28925         (test-xfail-tst-protected1b): New variable.
28927 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28929         [BZ #14912]
28930         * bits/libc-tsd.h: Move to ...
28931         * sysdeps/generic/libc-tsd.h: ...here.
28932         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28933         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28934         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28935         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28936         * include/ctype.h: Include <libc-tsd.h> instead of
28937         <bits/libc-tsd.h>.
28938         * include/rpc/rpc.h: Likewise.
28939         * locale/localeinfo.h: Likewise.
28940         * sunrpc/rpc_thread.c: Likewise.
28941         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28942         * sysdeps/nptl/malloc-machine.h: Likewise.
28944         * Makefile (headers): Remove bits/libc-lock.h.
28945         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28947         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28948         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28949         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28950         <bits/stdio-lock.h>.
28951         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28952         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28954 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28956         [BZ #18757]
28957         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28958         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28959         BZ #18757.
28961 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28963         * malloc/mtrace.pl: Filter out NULL entries.
28965 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28967         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28968         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28969         macro.
28971         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28972         (TCP_CC_INFO): Likewise.
28973         (TCP_SAVE_SYN): Likewise.
28974         (TCP_SAVED_SYN): Likewise.
28976 2015-08-31  Brett Neumeier <brett@neumeier.us>
28978         [BZ #18870]
28979         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28981 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28983         [BZ #18873]
28984         Fix broken overflow check in posix_fallocate
28985         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28986         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28987         Fix parenthesization typo.
28989 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28991         [BZ #18887]
28992         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28993         tst-mntent-blank-passno.
28994         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28995         * misc/tst-mntent-blank-corrupt.c: New test.
28996         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28997         * misc/tst-mntent.c (do_test): ... here.
28999 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29001         [BZ #4404]
29002         * po/de.po: Fix SIGALRM typo.
29004 2015-08-28  James Perkins  <james@loowit.net>
29006         * time/tst-strptime2.c (tests): Replace short list of test
29007         strings for strptime %z specifier with code which exhaustively
29008         tests every combination of sign and 0 to 5 digits. Tests for
29009         rejection of invalid strings.
29011 2015-08-28  James Perkins  <james@loowit.net>
29013         [BZ #16141]
29014         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29015         calculation, removing incorrect decimal time rounding, so that
29016         all minute values result in a valid seconds value.
29017         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29018         offset range limits to UTC-99:59 through UTC+99:59 to parse
29019         current and historical use cases.
29020         * time/tst-strptime2.c (tests): Modify and add tests for the
29021         strptime %z input field descriptor, specifically conversion of
29022         minutes to seconds and validating an offset range of -9959 to
29023         +9959.
29025 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29026             Dmitry V. Levin  <ldv@altlinux.org>
29028         [BZ #18877]
29029         * posix/Makefile (tests): Add tst-mmap-offset.
29030         * posix/tst-mmap.c: New file.
29031         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29032         offset calculation for negative values.
29034 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29036         * sysdeps/i386/init-arch.h: New file.
29037         * sysdeps/i386/i586/init-arch.h: Likewise.
29038         * sysdeps/i386/i686/init-arch.h: Likewise.
29039         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29040         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29041         * sysdeps/x86/cpu-features.h (bit_I586): New.
29042         (bit_I686): Likewise.
29043         (bit_CX8): Likewise.
29044         (bit_CMOV): Likewise.
29045         (index_CX8): Likewise.
29046         (index_CMOV): Likewise.
29047         (index_I586): Likewise.
29048         (index_I686): Likewise.
29049         (reg_CX8): Likewise.
29050         (reg_CMOV): Likewise.
29051         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29052         available at compile-time.
29053         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29054         available at compile-time.
29055         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29056         (USE_I686): Likewise.
29058 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29060         * sysdeps/i386/bcopy.S: New file.
29061         * sysdeps/i386/bzero.S: Likewise.
29062         * sysdeps/i386/memcpy.S: Likewise.
29063         * sysdeps/i386/memmove.S: Likewise.
29064         * sysdeps/i386/mempcpy.S: Likewise.
29065         * sysdeps/i386/memset.S: Likewise.
29066         * sysdeps/i386/bzero.c: Removed.
29067         * sysdeps/i386/memset.c: Likewise.
29068         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29069         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29070         * sysdeps/i386/i586/memset_chk.S: Likewise.
29071         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29072         * sysdeps/i386/memcpy_chk.S: Here.
29073         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29074         * sysdeps/i386/memmove_chk.S: Here.
29075         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29076         * sysdeps/i386/mempcpy_chk.S: Likewise.
29077         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29078         * sysdeps/i386/memset_chk.S: Likewise.
29080 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29082         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29083         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29084         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29085         * soft-fp/fmadf4.c: Ditto.
29086         * soft-fp/fmatf4.c: Ditto.
29088 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29090         * sysdeps/i386/i586/Implies: Removed.
29091         * sysdeps/i386/i686/Implies: Likewise.
29093 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29095         * sysdeps/i386/i486/strlen.S: Moved to ...
29096         * sysdeps/i386/strlen.S: Here.
29098 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29100         * sysdeps/i386/i486/strcat.S: Moved to ...
29101         * sysdeps/i386/strcat.S: Here.
29103 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29105         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29106         * sysdeps/i386/pthread_spin_trylock.S: Here.
29107         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29108         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29110 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29112         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29113         * sysdeps/i386/string-inlines.c: Here.
29115 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29117         * sysdeps/i386/i486/htonl.S: Moved ...
29118         * sysdeps/i386/htonl.S: here.
29120 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29122         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29123         * sysdeps/i386/bits/atomic.h: Here.
29125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29127         * sysdeps/i386/i486/Versions: Removed.
29129 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29131         [BZ #2898]
29132         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29133         Based on patch by Aurelien Jarno.
29135 2015-08-26  Stan Shebs  <stanshebs@google.com>
29137         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29138         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29140 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29142         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29143         * sysdeps/powerpc/dl-procinfo.c:
29144         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29145         feature so it shows when LD_SHOW_AUXV=1.
29147 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29149         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29150         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29151         definition.  ISA 2.07B no longer requires full sync.
29153 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29155         [BZ #18863]
29156         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29157         (si_call_addr): Define.
29158         (si_syscall): Define.
29159         (si_arch): Define.
29161 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29163         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29164         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29165         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29166         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29167         (__memset_zero_constant_len_parameter): New.
29168         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29169         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29170         (__memset_zero_constant_len_parameter): Don't define if
29171         __memset_chk or USE_AS_BZERO are defined.
29173         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29174         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29175         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29177         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29178         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29179         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29180         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29181         comments.
29182         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29183         -mno-mmx for $(all-rtld-routines).
29184         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29185         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29186         i386.
29188 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29190         * sysdeps/generic/unwind.h
29191         (_Unwind_Word): Use __mode__(__unwind_word__)
29192         instead of __mode__(__word__).
29193         (_Unwind_Sword): Likewise.
29195         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29196         (MAX_NEEDED_INPUT): New define.
29197         (MAX_NEEDED_OUTPUT): New define.
29199         * NEWS: New item for IBM z13 string optimizations.
29201         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29202         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29203         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29204         * sysdeps/s390/multiarch/Makefile
29205         (sysdep_routines): Add memrchr functions.
29206         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29207         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29209         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29210         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29211         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29212         * sysdeps/s390/multiarch/Makefile
29213         (sysdep_routines): Add wmemcmp functions.
29214         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29215         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29216         * benchtests/bench-wmemcmp.c: New File.
29217         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29219         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29220         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29221         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29222         * sysdeps/s390/multiarch/Makefile
29223         (sysdep_routines): Add wmemset functions.
29224         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29225         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29226         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29227         * string/test-memset.c: Add wmemset support.
29228         * wcsmbs/test-wmemset.c: New File.
29229         * wcsmbs/Makefile (strop-tests): Add wmemset.
29230         * benchtests/bench-memset.c: Add wmemset support.
29231         * benchtests/bench-wmemset.c: New File.
29232         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29234         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29235         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29236         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29237         * sysdeps/s390/multiarch/Makefile
29238         (sysdep_routines): Add memccpy functions.
29239         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29240         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29241         * string/memccpy.c: Use MEMCCPY if defined.
29243         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29244         * sysdeps/s390/multiarch/memchr.c: Likewise.
29245         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29246         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29247         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29248         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29249         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29250         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29251         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29252         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29253         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29254         and rawmemchr functions.
29255         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29256         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29257         and wmemchr.
29258         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29259         * string/test-memchr.c: Add wmemchr support.
29260         * wcsmbs/test-wmemchr.c: New File.
29261         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29262         * benchtests/bench-memchr.c: Add wmemchr support.
29263         * benchtests/bench-wmemchr.c: New File.
29264         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29266         * sysdeps/s390/multiarch/strcspn-c.c: New File.
29267         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29268         * sysdeps/s390/multiarch/strcspn.c: Likewise.
29269         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29270         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29271         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29272         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29273         wcscspn functions.
29274         * sysdeps/s390/multiarch/ifunc-impl-list.c
29275         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29276         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29277         * string/test-strcspn.c: Add wcscspn support.
29278         * wcsmbs/test-wcscspn.c: New File.
29279         * wcsmbs/Makefile (strop-tests): Add wcscspn.
29280         * benchtests/bench-strcspn.c: Add wcscspn support.
29281         * benchtests/bench-wcscspn.c: New File.
29282         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29284         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29285         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29286         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29287         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29288         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29289         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29291         wcspbrk functions.
29292         * sysdeps/s390/multiarch/ifunc-impl-list.c
29293         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29294         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29295         * string/test-strpbrk.c: Add wcspbrk support.
29296         * wcsmbs/test-wcspbrk.c: New File.
29297         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29298         * benchtests/bench-strpbrk.c: Add wcspbrk support.
29299         * benchtests/bench-wcspbrk.c: New File.
29300         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29302         * sysdeps/s390/multiarch/strspn-c.c: New File.
29303         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29304         * sysdeps/s390/multiarch/strspn.c: Likewise.
29305         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29306         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29307         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29308         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29310         wcsspn functions.
29311         * sysdeps/s390/multiarch/ifunc-impl-list.c
29312         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29313         * string/test-strspn.c: Add wcsspn support.
29314         * wcsmbs/test-wcsspn.c: New File.
29315         * wcsmbs/Makefile (strop-tests): Add wcsspn.
29316         * benchtests/bench-strspn.c: Add wcsspn support.
29317         * benchtests/bench-wcsspn.c: New File.
29318         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29320         * sysdeps/s390/multiarch/strrchr-c.c: New File.
29321         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29322         * sysdeps/s390/multiarch/strrchr.c: Likewise.
29323         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29324         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29325         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29327         wcsrchr functions.
29328         * sysdeps/s390/multiarch/ifunc-impl-list.c
29329         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29330         * benchtests/bench-wcsrchr.c: New File.
29331         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29333         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29334         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29335         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29336         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29337         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29338         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29340         wcschrnul functions.
29341         * sysdeps/s390/multiarch/ifunc-impl-list.c
29342         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29343         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29344         * string/test-strchr.c: Add wcschrnul support.
29345         * wcsmbs/test-wcschrnul.c: New File.
29346         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29347         * benchtests/bench-strchr.c: Add wcschrnul support.
29348         * benchtests/bench-wcschrnul.c: New File.
29349         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29351         * sysdeps/s390/multiarch/strchr-c.c: New File.
29352         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29353         * sysdeps/s390/multiarch/strchr.c: Likewise.
29354         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29355         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29356         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29358         wcschr functions.
29359         * sysdeps/s390/multiarch/ifunc-impl-list.c
29360         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29361         * string/strchr.c (STRCHR): Define and use macro.
29362         * benchtests/bench-wcschr.c: New File.
29363         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29365         * sysdeps/s390/multiarch/strncmp-c.c: New File.
29366         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29367         * sysdeps/s390/multiarch/strncmp.c: Likewise.
29368         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29369         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29370         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29372         wcsncmp functions.
29373         * sysdeps/s390/multiarch/ifunc-impl-list.c
29374         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29375         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29376         * benchtests/bench-strncmp.c: Add wcsncmp support.
29377         * benchtests/bench-wcsncmp.c: New File.
29378         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29380         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29381         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29382         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29383         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29384         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29385         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29386         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29387         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29388         wcscmp functions.
29389         * sysdeps/s390/multiarch/ifunc-impl-list.c
29390         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29391         * string/strcmp.c (STRCMP): Define and use macro.
29392         * benchtests/bench-wcscmp.c: New File.
29393         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29394         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29395         instead of _HAVE_STRING_ARCH_memchr.
29397         * sysdeps/s390/multiarch/strncat-c.c: New File.
29398         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29399         * sysdeps/s390/multiarch/strncat.c: Likewise.
29400         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29401         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29402         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29404         wcsncat functions.
29405         * sysdeps/s390/multiarch/ifunc-impl-list.c
29406         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29407         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29408         * string/test-strncat.c: Add wcsncat support.
29409         * wcsmbs/test-wcsncat.c: New File.
29410         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29411         * benchtests/bench-strncat.c: Add wcsncat support.
29412         * benchtests/bench-wcsncat.c: New File.
29413         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29415         * sysdeps/s390/multiarch/strcat-c.c: New File.
29416         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29417         * sysdeps/s390/multiarch/strcat.c: Likewise.
29418         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29419         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29420         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29421         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29422         wcscat functions.
29423         * sysdeps/s390/multiarch/ifunc-impl-list.c
29424         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29425         * string/strcat.c (STRCAT): Define and use macro.
29426         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29427         * string/test-strcat.c: Add wcscat support.
29428         * wcsmbs/test-wcscat.c: New File.
29429         * wcsmbs/Makefile (strop-tests): Add wcscat.
29430         * benchtests/bench-strcat.c: Add wcscat support.
29431         * benchtests/bench-wcscat.c: New File.
29432         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29434         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29435         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29436         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29437         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29438         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29439         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29441         wcpncpy functions.
29442         * sysdeps/s390/multiarch/ifunc-impl-list.c
29443         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29444         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29445         * string/test-stpncpy.c: Add wcpncpy support.
29446         * wcsmbs/test-wcpncpy.c: New File.
29447         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29448         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29449         * benchtests/bench-wcpncpy.c: New File.
29450         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29452         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29453         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29454         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29455         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29456         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29457         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29458         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29459         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29460         wcsncpy functions.
29461         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29462         * sysdeps/s390/multiarch/ifunc-impl-list.c
29463         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29464         * string/test-strncpy.c: Add wcsncpy support.
29465         * wcsmbs/test-wcsncpy.c: New File.
29466         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29467         * benchtests/bench-strncpy.c: Add wcsncpy support.
29468         * benchtests/bench-wcsncpy.c: New File.
29469         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29471         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29472         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29473         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29474         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29475         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29476         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29478         wcpcpy functions.
29479         * string/stpcpy.c: Use STPCPY if defined.
29480         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29481         * sysdeps/s390/multiarch/ifunc-impl-list.c
29482         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29483         * string/test-stpcpy.c: Add wcpcpy support.
29484         * wcsmbs/test-wcpcpy.c: New File.
29485         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29486         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29487         * benchtests/bench-wcpcpy.c: New File.
29488         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29490         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29491         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29492         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29493         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29494         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29495         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29496         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29498         wcscpy functions.
29499         * sysdeps/s390/multiarch/ifunc-impl-list.c
29500         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29501         * benchtests/bench-wcscpy.c: New File.
29502         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29504         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29505         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29506         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29507         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29508         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29509         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29510         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29511         wcsnlen functions.
29512         * sysdeps/s390/multiarch/ifunc-impl-list.c
29513         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29514         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29515         * string/test-strnlen.c: Add wcsnlen support.
29516         * wcsmbs/test-wcsnlen.c: New File.
29517         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29518         * benchtests/bench-strnlen.c: Add wcsnlen support.
29519         * benchtests/bench-wcsnlen.c: New File.
29520         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29522         * sysdeps/s390/multiarch/Makefile: New File.
29523         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29524         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29525         * sysdeps/s390/multiarch/strlen.c: Likewise.
29526         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29527         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29528         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29529         * string/strlen.c (STRLEN): Define and use macro.
29530         * sysdeps/s390/multiarch/ifunc-impl-list.c
29531         (IFUNC_VX_IMPL): New macro function.
29532         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29533         * benchtests/Makefile (wcsmbs-bench): New variable.
29534         (string-bench-all): Added wcsmbs-bench.
29535         * benchtests/bench-wcslen.c: New File.
29537         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29538         s390_vx_libc_ifunc2): New macro function.
29540         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29541         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29542         assembler support.
29543         * sysdeps/s390/configure: Regenerated.
29545         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29546         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29548         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29549         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29550         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29552         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29553         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29554         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29555         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29556         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29557         (memcmp, bcmp): Use __memcmp_default as alias source.
29558         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29559         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29560         Rename to __memcmp_default.
29561         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29562         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29563         (memcpy): Use __memcpy_default as alias source.
29564         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29565         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29566         Rename to __memcpy_default.
29567         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29568         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29569         (memset): Use __memset_default as alias source.
29570         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29571         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29572         Rename to __memset_default.
29573         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29574         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29575         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29576         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29577         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29578         (memcmp, bcmp): Use __memcmp_default as alias source.
29579         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29580         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29581         Rename to __memcmp_default.
29582         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29583         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29584         (memcpy): Use __memcpy_default as alias source.
29585         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29586         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29587         Rename to __memcpy_default.
29588         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29589         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29590         (memset): Use __memset_default as alias source.
29591         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29592         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29593         Rename to __memset_default.
29594         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29595         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29597         [BZ #18610]
29598         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29599         __ieee_instruction_pointer to __unused.
29600         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29601         __ieee_instruction_pointer.
29602         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29603         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29604         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29605         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29606         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29607         Mark dxc-field as reserved.
29609 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29611         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29612         if the weak reference is not null.
29614 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29616         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29618         [BZ #11214]
29619         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29621 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29624         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29625         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29626         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29627         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29628         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29629         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29630         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29631         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29632         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29633         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29634         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29635         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29636         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29637         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29638         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29639         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29640         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29642 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29644         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29645         register other than r0 for tabort, it has special meaning.
29646         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29647         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29648         transaction before starting syscall.
29650 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29652         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29654 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29656         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29658         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29659         * sysdeps/x86_64/rtld-memset.S: Likewise.
29660         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29661         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29662         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29663         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29665         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29667 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29669         * debug/strcpy_chk.c: Improve performance.
29670         * debug/stpcpy_chk.c: Likewise.
29671         * sysdeps/x86_64/strcpy_chk.S: Remove.
29672         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29674         [BZ #18240]
29675         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29677 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29679         [BZ #15128]
29680         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29681         ifuncmain8.
29682         (modules-names): Add ifuncmod8.
29683         ($(objpfx)ifuncmain8): New rule.
29684         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29685         <cpuid.h>.
29686         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29687         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29688         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29689         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29690         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29691         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29692         * sysdeps/x86_64/ifuncmain8.c: New file.
29693         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29694         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29695         Removed.
29696         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29697         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29698         Change rtld_savespace_sse to __glibc_unused2.
29699         (RTLD_CHECK_FOREIGN_CALL): Removed.
29700         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29701         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29702         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29704 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29706         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29708 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29710         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29711         Unconditionally set __fpcr to avoid uninialized warning.
29712         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29714 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29716         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29717         is corrupt.
29719         * malloc/arena.c (arena_get2): Drop unused argument.
29720         (arena_lock): Adjust.
29721         (arena_get_retry): Likewise.
29723 2015-08-24  Andreas Schwab  <schwab@suse.de>
29725         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29726         Don't define.
29727         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29728         (__ASSUME_IPC64): Don't undef.
29729         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29730         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29731         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29732         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29733         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29734         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29735         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29736         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29737         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29738         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29739         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29740         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29741         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29742         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29743         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29744         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29745         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29746         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29747         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29748         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29749         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29751 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29753         * manual/Makefile (install): Only build manual when perl is available.
29755 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29757         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29758         '#undef memcpy' by '#undef memchr'.
29760 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29762         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29763         memchr not point to the internal __GI_memchr implementation.
29765 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29767         * timezone/Makefile (CFLAGS-zdump.c): Remove
29768         -Wno-strict-prototypes.
29769         (CFLAGS-zic.c): Likewise.
29770         (CFLAGS-ialloc.c): Likewise.
29771         (CFLAGS-scheck.c): Likewise.
29773         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29774         -Wno-error=undef.
29776 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29778         * i386/i686/multiarch/strcasestr-c.c: Removed.
29779         * x86_64/multiarch/strcasestr.c: Likewise.
29780         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29781         Remove strcasestr.
29783 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29785         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29788         variables for high and low parts before possibly modifying them.
29790 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29792         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29793         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29794         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29795         of "multiarch/init-arch.h".
29796         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29797         * sysdeps/x86/init-arch.h: This.
29799 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29801         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29802         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29804 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29806         [BZ #17787]
29807         * manual/macros.texi: Add twoexp macro.
29808         * manual/filesys.texi: Fix exponents.
29809         * manual/llio.texi: Likewise.
29810         * manual/stdio.texi: Likewise.
29812 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29814         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29815         incorrect use.
29817 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29819         [BZ #18370]
29820         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29821         whose real or imaginary part has small absolute value.
29822         * math/s_csqrtf.c (__csqrtf): Likewise.
29823         * math/s_csqrtl.c (__csqrtl): Likewise.
29824         * math/auto-libm-test-in: Add more tests of csqrt.
29825         * math/auto-libm-test-out: Regenerated.
29826         * sysdeps/i386/fpu/libm-test-ulps: Update.
29828 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29830         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29831         __ppc_set_ppr_very_low): New functions.
29832         * manual/platform.texi: Add documentation about
29833         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29835 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29837         * string/stpncpy.c (stpncpy): Improve performance using
29838         __strnlen/memcpy/memset.
29840 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29842         [BZ #18796]
29843         * scripts/test-installation.pl: Don't add -lmvec to build options if
29844         libmvec wasn't built.
29846 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29848         [BZ #14341]
29849         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29850         case when there is a gap between DT_REL and DT_JMPREL sections.
29851         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29852         (LDFLAGS-tst-split-dynreloc): New.
29853         (tst-split-dynreloc-ENV): Likewise.
29854         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29855         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29857 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29859         [BZ #18822]
29860         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29861         attribute_hidden.
29862         (__xstat64_conv): Likewise.
29863         (__xstat32_conv): Likewise.
29865 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29867         [BZ #18822]
29868         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29869         Don't load %ebx when calling __setcontext.  Call __setcontext
29870         with HIDDEN_JUMPTARGET.
29871         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29872         libc_hidden_def.
29874 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29876         * sysdeps/i386/i686/Makefile
29877         [$(subdir) == string] (sysdep_routines): Moved to ...
29878         * sysdeps/i386/Makefile: Here.
29879         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29880         * sysdeps/i386/cacheinfo.c: Here.
29881         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29882         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29883         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29884         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29886 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29888         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29889         __i586__ is defined.
29890         (HAS_I686): Defined to 1 if __i686__ is defined.
29892 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29894         * elf/Makefile [$(have-z-execstack) = yes]
29895         (CPPFLAGS-tst-execstack.c): New variable.
29897         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29898         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29899         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29900         UTMPX || _HAVE_UT_TV].
29901         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29902         UTMPX || _HAVE_UT_TV - 0].
29904 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29906         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29907         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29908         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29910 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29912         * sysdeps/powerpc/dl-procinfo.c:
29913         (_dl_powerpc_cap_flags): Added missing strings for some
29914         hwcap features.
29915         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29917 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29919         Port the 0x7efe...feff pattern to GCC 6.
29920         See Steve Ellcey's bug report in:
29921         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29922         * string/memrchr.c (MEMRCHR):
29923         * string/rawmemchr.c (RAWMEMCHR):
29924         * string/strchr.c (strchr):
29925         * string/strchrnul.c (STRCHRNUL):
29926         Rewrite code to avoid issues with signed shift overflow.
29928 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29930         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29931         whether cpuid is available only if HAS_CPUID is 0.
29932         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29933         (HAS_I586): Likewise.
29934         (HAS_I686): Likewise.
29936 2015-08-18  Zack Weinberg  <zackw@panix.com>
29938         * misc/Versions (libc): Add GLIBC_2.23.
29940 2015-08-18  Alan Modra  <amodra@gmail.com>
29942         [BZ #18421]
29943         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29944         .Lp__global.
29945         (_start): Load %dp via .Lp__global.
29946         [!SHARED]: Use .section .rodata.
29948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29950         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29951         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29955         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29956         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29960         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29961         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29963 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29965         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29966         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29970         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29971         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29975         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29976         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29978 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29980         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29982 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29984         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29985         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29986         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29987         (__ASSUME_LWS_CAS): Delete.
29989 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29991         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29992         * sysdeps/hppa/configure: Regenerated.
29993         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29994         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29995         * sysdeps/hppa/nptl/tls.h: Likewise.
29997 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29999         [BZ #18823]
30000         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30001         for scaling up small arguments.
30002         * math/s_csqrtf.c (__csqrtf): Likewise.
30003         * math/s_csqrtl.c (__csqrtl): Likewise.
30004         * math/auto-libm-test-in: Add more tests of csqrt.
30005         * math/auto-libm-test-out: Regenerated.
30007 2015-08-17  Andreas Schwab  <schwab@suse.de>
30009         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30010         version set GLIBC_2.19.
30012 2015-08-16  Zack Weinberg  <zackw@panix.com>
30014         [BZ #18681]
30015         * misc/regexp.h: This interface is no longer supported.
30016         Remove all contents, leaving only an #error directive.
30017         * misc/regexp.c (loc1, loc2, locs, step, advance):
30018         Demote to compatibility symbols.
30020 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30022         [BZ #18084]
30023         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30024         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30025         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30026         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30027         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30028         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30029         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30030         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30031         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30033 2015-08-15  Zack Weinberg  <zackw@panix.com>
30035         [BZ #18795]
30036         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30037         buffer length is known to be too large, not if it's known to be
30038         small enough.
30039         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30040         overflow at runtime, involving a length parameter, twice: once
30041         with a compile-time constant length parameter, once without.
30043 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30045         [BZ #18824]
30046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30047         scaling x * y up instead of down.
30048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30050         * math/auto-libm-test-in: Add more tests of fma.
30051         * math/auto-libm-test-out: Regenerated.
30053 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30057 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30059         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30060         unnecessary movq.
30061         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30062         Likewise.
30064 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30066         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30067         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30068         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30069         and tgamma.
30070         * math/auto-libm-test-out: Regenerated.
30071         * sysdeps/i386/fpu/libm-test-ulps: Update.
30072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30074         [BZ #16520]
30075         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30076         (__tanh): Force underflow exception for arguments with small
30077         absolute value.
30078         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30079         (__tanhf): Force underflow exception for arguments with small
30080         absolute value.
30081         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30082         (__tanhl): Force underflow exception for arguments with small
30083         absolute value.
30084         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30085         (__tanhl): Force underflow exception for arguments with small
30086         absolute value.
30087         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30088         (__tanhl): Force underflow exception for arguments with small
30089         absolute value.
30090         * math/auto-libm-test-in: Add more tests of tanh.
30091         * math/auto-libm-test-out: Regenerated.
30092         * sysdeps/i386/fpu/libm-test-ulps: Update.
30094 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30096         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30097         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30099 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30101         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30102         <cpuid.h>.
30104 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30106         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30107         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30109 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30111         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30112         Remove $(objpfx)init-arch.o.
30113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30114         init-arch.
30115         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30116         (INIT_ARCH_EXT): Defined as empty.
30117         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30118         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30119         __init_cpu_features call.  Replace HAS_XXX with
30120         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30121         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30122         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30126         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30127         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30128         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30129         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30135         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30136         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30140         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30142         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30144         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30151         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30153         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30157 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30159         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30160         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30161         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30162         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30163         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30164         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30165         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30166         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30167         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30168         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30169         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30170         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30171         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30172         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30173         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30174         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30175         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30176         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30177         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30178         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30179         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30180         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30181         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30182         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30183         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30184         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30185         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30186         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30187         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30188         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30189         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30190         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30191         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30192         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30193         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30194         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30195         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30196         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30197         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30198         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30199         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30200         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30201         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30203 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30205         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30206         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30207         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30208         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30209         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30210         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30211         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30212         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30213         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30214         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30215         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30216         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30217         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30218         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30219         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30220         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30221         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30222         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30223         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30224         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30226         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30227         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30228         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30229         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30230         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30231         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30232         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30233         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30234         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30236         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30237         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30238         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30239         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30240         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30241         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30242         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30243         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30244         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30245         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30246         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30247         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30249 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30251         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30252         (dl_platform_init): Call init_cpu_features.
30253         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30254         * sysdeps/i386/i686/cacheinfo.c
30255         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30256         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30257         * sysdeps/i386/i686/multiarch/Versions: Removed.
30258         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30259         Removed.
30260         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30261         * sysdeps/unix/sysv/linux/x86/Makefile
30262         (libpthread-sysdep_routines): Remove init-arch.
30263         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30264         <sysdeps/x86_64/dl-procinfo.c> instead of
30265         sysdeps/generic/dl-procinfo.c>.
30266         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30267         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30268         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30269         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30270         [$(subdir) == elf] (tests-static): Add
30271         tst-get-cpu-features-static.
30272         * sysdeps/x86/Versions: New file.
30273         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30274         * sysdeps/x86/cpu-features.c: Likewise.
30275         * sysdeps/x86/cpu-features.h: Likewise.
30276         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30277         * sysdeps/x86/libc-start.c: Likewise.
30278         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30279         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30280         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30281         * sysdeps/x86_64/dl-procinfo.c: Likewise.
30282         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30283         Assume USE_MULTIARCH is defined and don't check it.
30284         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30285         (is_amd): Likewise.
30286         (max_cpuid): Likewise.
30287         (intel_check_word): Likewise.
30288         (__cache_sysconf): Don't call __init_cpu_features.
30289         (__x86_preferred_memory_instruction): Removed.
30290         (init_cacheinfo): Don't call __init_cpu_features. Replace
30291         __cpu_features with GLRO(dl_x86_cpu_features).
30292         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30293         (dl_platform_init): Call init_cpu_features.
30294         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30295         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30296         * sysdeps/x86_64/multiarch/Versions: Removed.
30297         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30298         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30299         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30300         Removed.
30301         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30303 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30305         [BZ #18820]
30306         * libio/Makefile (test-fmemopen-mem): New test.
30307         * libio/test-fmemopen.c (do_bz18820): New test.
30308         * libio/fmemopen.c (__fmemopen): Fix memory leak.
30309         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30311 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30313         [BZ #16734]
30314         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30315         (FREE_BUF): Delete.
30316         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30317         * libio/genops.c (_IO_setb): Use malloc and free directly.
30318         (_IO_default_doallocate, _IO_default_finish): Likewise.
30319         ( _IO_unbuffer_all): Likewise.
30320         ( libc_freeres_fn): Likewise.
30321         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30322         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30323         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30324         (_IO_wdefault_doallocate): Likewise.
30326 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30328         [BZ #18086]
30329         * sysdeps/posix/nice.c (nice): Restore old errno.
30330         * posix/tst-nice.c (do_test): Add test for BZ #18086.
30332 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
30334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30336 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30338         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30339         __bcopy and add a weak_alias to bcopy.
30340         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30341         for static build.
30343         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30344         cleanup macro usage.
30345         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30349         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30350         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30351         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30352         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30353         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30354         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30356         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30358         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30359         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30361         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30363         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30365         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30366         libc_hidden_def.
30367         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30369         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30370         (sysdep_routines): Add strstr-ppc64.
30371         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30373 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
30375         [BZ #18778]
30376         * elf/Makefile (tests): Add Add tst-nodelete2.
30377         (modules-names): Add tst-nodelete2mod.
30378         (tst-nodelete2mod.so-no-z-defs): New.
30379         ($(objpfx)tst-nodelete2): Likewise.
30380         ($(objpfx)tst-nodelete2.out): Likewise.
30381         (LDFLAGS-tst-nodelete2): Likewise.
30382         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30383         out of loop through all loaded libraries.
30384         * elf/tst-nodelete2.c: New file.
30385         * elf/tst-nodelete2mod.c: Likewise.
30386         * elf/tst-znodelete-zlib.cc: Delete.
30388 2015-08-11  Andreas Schwab  <schwab@suse.de>
30390         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30391         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30392         (__openat64_nocancel): Likewise.
30394 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30396         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30397         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30398         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30399         * math/auto-libm-test-out: Regenerated.
30400         * sysdeps/i386/fpu/libm-test-ulps: Update.
30401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30403 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #18790]
30406         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30407         threshold for returning +/- 1.
30408         * math/auto-libm-test-in: Add more tests of tanh.
30409         * math/auto-libm-test-out: Regenerated.
30410         * sysdeps/i386/fpu/libm-test-ulps: Update.
30412 2015-08-10  Andreas Schwab  <schwab@suse.de>
30414         [BZ #18781]
30415         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30416         MORE_OFLAGS to oflag.
30417         * io/test-lfs.c (do_test): Test openat64.
30419 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30421         [BZ #18789]
30422         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30423         smaller threshold for returning the argument.
30424         * math/auto-libm-test-in: Add more tests of sinh.
30425         * math/auto-libm-test-out: Regenerated.
30426         * sysdeps/i386/fpu/libm-test-ulps: Update.
30428 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30430         [BZ #18674]
30431         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30432         break.
30434 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30436         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30437         (generated): Don't add $(addprefix z.,$(tzfiles)).
30439 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30441         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30442         * scripts/sysd-rules.awk: Likewise.
30444 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30446         * iconvdata/tst-tables.sh: Change echo -n to printf.
30447         * nss/db-Makefile: Likewise.
30448         * posix/tst-getconf.sh: Likewise.
30449         * stdio-common/tst-unbputc.sh: Likewise.
30451 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30453         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30454         MADV_*_PAGES defines behind this feature check.
30456 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30458         [BZ #18480]
30459         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30460         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30461         Define.
30462         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30463         LOAD_REGS_5, LOAD_REGS_6): Update.
30464         (INTERNAL_SYSCALL): Update using new LOAD defines.
30465         (INTERNAL_SYSCALL_NCS): Likewise.
30466         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30468 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30470         [BZ #16734]
30471         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30473 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30475         [BZ #17905]
30476         * catgets/Makefile (tst-catgets-mem): New test.
30477         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30478         * catgets/open_catalog.c (__open_catalog): Likewise.
30479         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30481 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30483         [BZ #18787]
30484         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30485         clobber registers.
30486         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30487         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30488         Cast return to __typeof (oldval).
30490 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30492         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30493         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30494         and delete sys/syscall.h include.
30496 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30498         [BZ #16517]
30499         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30500         (tan): Force underflow exception for arguments with small absolute
30501         value.
30502         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30503         (__kernel_tanf): Force underflow exception for arguments with
30504         small absolute value.
30505         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30506         (__kernel_tanl): Force underflow exception for arguments with
30507         small absolute value.
30508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30509         (__kernel_tanl): Force underflow exception for arguments with
30510         small absolute value.
30511         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30512         (__kernel_tanl): Force underflow exception for arguments with
30513         small absolute value.
30514         * math/auto-libm-test-in: Add more tests of tan.
30515         * math/auto-libm-test-out: Regenerated.
30517 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30519         Fix sysdeps/i386/fpu/s_scalbn.S build
30521         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30523 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30525         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30527 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30529         Fix gcrt0.o compilation
30531         When static-start-installed-name is different from
30532         start-installed-name, we must not use the shared objects.
30534         * csu/Makefile
30535         (extra-objs): Add gmon-start.o when building shared library and
30536         $(static-start-installed-name) is different from
30537         $(start-installed-name).
30538         $(objpfx)g$(static-start-installed-name): When building shared
30539         library and $(static-start-installed-name) is different from
30540         $(static-start-installed-name), revert to non-shared rule,
30541         i.e. using $(objpfx)% and gmon-start.o.
30543 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30545         [BZ #16519]
30546         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30547         (__ieee754_sinh): Force underflow exception for arguments with
30548         small absolute value.
30549         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30550         (__ieee754_sinhf): Force underflow exception for arguments with
30551         small absolute value.
30552         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30553         (__ieee754_sinhl): Force underflow exception for arguments with
30554         small absolute value.
30555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30556         (__ieee754_sinhl): Force underflow exception for arguments with
30557         small absolute value.
30558         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30559         (__ieee754_sinhl): Force underflow exception for arguments with
30560         small absolute value.
30561         * math/auto-libm-test-in: Add more tests of sinh.
30562         * math/auto-libm-test-out: Regenerated.
30563         * sysdeps/i386/fpu/libm-test-ulps: Update.
30565 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30567         * libio/oldfileops.c: Include unistd.h.
30569 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30571         * stdlib/isomac.c: Include ctype.h.
30573 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30575         * dirent/tst-seekdir.c (main): Converted to ...
30576         (do_test): ... this.
30577         (TEST_FUNCTION): New macro.
30578         Include test-skeleton.c.
30579         * elf/tst-dlmodcount.c (main): Converted to ...
30580         (do_test): ... this.
30581         (TEST_FUNCTION): New macro.
30582         Include test-skeleton.c.
30583         * elf/tst-order-main.c (main): Converted to ...
30584         (do_test): ... this.
30585         (TEST_FUNCTION): New macro.
30586         Include test-skeleton.c.
30587         * elf/tst-pie2.c (main): Converted to ...
30588         (do_test): ... this.
30589         (TEST_FUNCTION): New macro.
30590         Include test-skeleton.c.
30591         * inet/tst-ether_aton.c (main): Converted to ...
30592         (do_test): ... this.
30593         (TEST_FUNCTION): New macro.
30594         Include test-skeleton.c.
30595         * misc/tst-mntent.c (main): Converted to ...
30596         (do_test): ... this.
30597         (TEST_FUNCTION): New macro.
30598         Include test-skeleton.c.
30599         * misc/tst-tsearch.c (main): Converted to ...
30600         (do_test): ... this.
30601         (TEST_FUNCTION): New macro.
30602         Include test-skeleton.c.
30603         * posix/tst-regexloc.c (main): Converted to ...
30604         (do_test): ... this.
30605         (TEST_FUNCTION): New macro.
30606         Include test-skeleton.c.
30607         * resolv/tst-aton.c (main): Converted to ...
30608         (do_test): ... this.
30609         (TEST_FUNCTION): New macro.
30610         Include test-skeleton.c.
30611         * stdio-common/test-fwrite.c (main): Converted to ...
30612         (do_test): ... this.
30613         (TEST_FUNCTION): New macro.
30614         Include test-skeleton.c.
30615         * stdio-common/tst-ferror.c (main): Converted to ...
30616         (do_test): ... this.
30617         (TEST_FUNCTION): New macro.
30618         Include test-skeleton.c.
30619         * stdio-common/tst-printf.c (main): Converted to ...
30620         (do_test): ... this.
30621         (TEST_FUNCTION): New macro.
30622         Include test-skeleton.c.
30623         * stdio-common/tst-printfsz.c (main): Converted to ...
30624         (do_test): ... this.
30625         (TEST_FUNCTION): New macro.
30626         Include test-skeleton.c.
30627         * stdlib/tst-strtod.c (main): Converted to ...
30628         (do_test): ... this.
30629         (TEST_FUNCTION): New macro.
30630         Include test-skeleton.c.
30631         * string/tst-strlen.c (main): Converted to ...
30632         (do_test): ... this.
30633         (TEST_FUNCTION): New macro.
30634         Include test-skeleton.c.
30635         * string/tst-svc.c (main): Converted to ...
30636         (do_test): ... this.
30637         (TEST_FUNCTION): New macro.
30638         Include test-skeleton.c.
30639         * time/tst-strptime.c (main): Converted to ...
30640         (do_test): ... this.
30641         (TEST_FUNCTION): New macro.
30642         Include test-skeleton.c.
30643         * timezone/tst-timezone.c (main): Converted to ...
30644         (do_test): ... this.
30645         (TEST_FUNCTION): New macro.
30646         Include test-skeleton.c.
30648 2015-08-05  Zack Weinberg  <zackw@panix.com>
30650         * misc/regexp.h: Update comments.
30652 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30654         [BZ #18635]
30655         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30656         before return label.
30658 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30660         [BZ #18661]
30661         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30662         when calling __errno_location.
30663         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30664         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30666 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30668         [BZ #18661]
30669         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30670         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30671         __gettimeofday.
30673 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30675         [BZ #18661]
30676         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30677         (__start_context): Don't use pop to restore %rdi so that stack
30678         is aligned to 16 bytes when calling __setcontext.
30680 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30682         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30683         only for libc.
30684         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30686 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30688         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30689         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30690         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30692 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30694         * string/memccpy.c (memccpy):
30695         Improve performance by using memchr/memcpy/__mempcpy.
30697 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30699         * string/strncpy.c (strncpy):
30700         Improve performance by using __strnlen/memcpy.
30702 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30704         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30705         Optimize to avoid an unnecessary FPCR read.
30707 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30709         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30710         Optimize to reduce FPCR/FPSR accesses.
30712 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30714         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30715         dead->data[category] != NULL.
30717 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30719         [BZ #18647]
30720         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30721         and |x| close to 1, use absolute value of x when computing log.
30722         * math/auto-libm-test-in: Add more tests of pow.
30723         * math/auto-libm-test-out: Regenerated.
30725 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30727         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30728         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30729         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30731 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30733         [BZ #18525]
30734         * locales/km_KH: Remove timezone definition.
30735         * locales/lo_LA: Likewise.
30736         * locales/my_MM: Likewise.
30737         * locales/nan_TW@latin: Likewise.
30738         * locales/th_TH: Likewise.
30739         * locales/uk_UA: Likewise.
30741 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30743         [BZ #18265]
30744         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30745         (wcsncat): Likewise.
30746         (wcscmp): Likewise.
30747         (wcsncmp): Likewise.
30749 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30751         * test-skeleton.c (usage): New function.
30752         (main): Call usage when opt is '?'.
30754 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30756         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30757         before first use.
30759 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30761         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30762         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30763         in there too.
30765 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30767         * version.h (RELEASE): Set to "development".
30768         (VERSION): Set to "2.22.90"
30770         * version.h (RELEASE): Set to "stable".
30771         (VERSION): Set to "2.22"
30772         * include/features.h (__GLIBC_MINOR__): Set to 22.
30774 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30776         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30777         Restructure macro to avoid "value computed is not used" warning.
30778         (atomic_compare_and_exchange_val_acq): Likewise.
30780 2015-08-04  Andreas Schwab  <schwab@suse.de>
30782         [BZ #18635]
30783         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30784         ret.
30785         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30787 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30789         * po/pl.po: Updated translation.
30790         * po/uk.po: Likewise.
30791         * po/fi.po: Likewise.
30792         * po/ko.po: Likewise.
30793         * po/ru.po: Likewise.
30794         * po/vi.po: Likewise.
30796 2015-07-31  Zack Weinberg  <zackw@panix.com>
30798         [BZ #18681]
30799         * regexp.h: Add unconditional #warning stating that this header
30800         will be removed soon.  Revise banner comment to match.
30801         (compile): Consistently use ERROR instead of RETURN to report
30802         errors (partial fix for BZ #18681).
30803         * regexp.c: Don't include regexp.h. Remove some unnecessary
30804         declarations.
30806 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30808         * po/libc.pot: Regenerated.
30810 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30812         [BZ #18740]
30813         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30814         float-vlen4-arch-ext-cflags): Removed.
30815         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30816         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30818 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30820         [BZ #14113]
30821         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30822         aligned to __aligned__.
30823         (pthread_cond_t, pthread_rwlock_t): Likewise.
30825 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30827         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30829 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30831         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30832         (struct sigaction): Change sa_flags from a long to an int, and add
30833         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30835 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30837         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30838         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30839         sysdeps/generic/sysdep.h include.
30840         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30841         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30842         sysdeps/hppa/sysdep.h.
30843         (ENTRY, PSEUDO): Undefine before defining.
30845 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30847         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30848         from scratch to use INTERNAL_SYSCALL.
30850 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30852         [BZ #18078]
30853         * scripts/check-localplt.awk: Support alternate relocations.
30854         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30855         sections.
30856         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30857         malloc entries with + REL R_386_GLOB_DAT.
30858         * sysdeps/x86_64/localplt.data: New file.
30860 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30862         [BZ #18731]
30863         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30864         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30865         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30867 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30869         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30871 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30873         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30874         directly in terms of __sync_fetch_and_add and delete (int) cast.
30876 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30878         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30879         the -D_ASM_IA64_CURRENT_H flag.
30881 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30883         [BZ #18641]
30884         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30886 2015-07-27  Andreas Schwab  <schwab@suse.de>
30888         * conform/conformtest.pl (checknamespace): Filter out string
30889         literals while tokenizing.
30891 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30893         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30894         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30895         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30897 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30899         * nptl/tst-join7mod.c: Add #include <string.h>.
30901 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30903         * sysdeps/nios2/libm-test-ulps: Update.
30905 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30907         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30908         Fix order of arguments to the rt_sigprocmask syscall.
30909         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30910         Likewise.
30912 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30914         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30916 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30918         [BZ #18457]
30919         * nptl/Makefile (tests): New test case tst-join7.
30920         (modules-names): New test case module tst-join7mod.
30921         * nptl/tst-join7.c: New file.
30922         * nptl/tst-join7mod.c: New file.
30923         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30924         all translation units in libc.so, libpthread.so and rtld.
30926 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30930 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30932         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30933         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30934         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30935         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30937         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30939         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30941         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30943         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30944         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30945         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30947         implementation.
30949 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30951         [BZ #17711]
30952         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30953         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30954         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30955         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30956         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30957         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30959 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30961         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30962         instead of just saying load lock in the comments.
30964 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30966         * sysdeps/unix/Subdirs: Moved ...
30967         * sysdeps/posix/Subdirs: ... here.
30968         * login/pty.h (struct termios, struct winsize): Add forward decls.
30969         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30970         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30971         * sysdeps/arm/nacl/libc.abilist: Updated.
30972         * sysdeps/nacl/libutil.abilist: New file.
30974         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30975         (SIGWINCH): New macro.
30977         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30978         * sysdeps/arm/nacl/libc.abilist: Add it.
30980 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30982         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30984 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30986         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30987         Swap __glibc_reserved0 and sa_flags order.
30989 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30991         [BZ #18657]
30992         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30993         are pending TLS destructor calls.
30994         * include/link.h (struct link_map): Add concurrency note for
30995         L_TLS_DTOR_COUNT.
30996         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30997         Don't touch the link map flag.  Atomically increment
30998         l_tls_dtor_count.
30999         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31000         Avoid taking the load lock and don't touch the link map flag.
31001         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31002         * stdlib/Makefile (tests): Use it.
31003         * stdlib/tst-tls-atexit.c (do_test): dlopen
31004         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31005         to allow tst-tls-atexit-nodelete test case to use it.
31007 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31009         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31010         to bits/types.h.
31011         (msgqnum_t): New typedef.
31012         (msglen_t): Likewise.
31013         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31014         and msg_qbytes type to msglen_t.
31016 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31018         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31019         pad0 to __glibc_reserved0.
31020         (struct stat64): Likewise.
31022 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31024         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31025         Change sa_flags from a long to an int and add __glibc_reserved0 before
31026         it for padding.
31028 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31030         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31031         anonymous by deleting "siginfo" name.
31033 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31035         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31036         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31037         rather than __nacl_irt_filename.
31038         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31040         * NEWS: New item for arm-nacl port.
31041         * sysdeps/arm/nacl/libc.abilist: New file.
31042         * sysdeps/nacl/ld.abilist: New file.
31043         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31044         * sysdeps/nacl/libanl.abilist: New file.
31045         * sysdeps/nacl/libcrypt.abilist: New file.
31046         * sysdeps/nacl/libdl.abilist: New file.
31047         * sysdeps/nacl/libm.abilist: New file.
31048         * sysdeps/nacl/libpthread.abilist: New file.
31049         * sysdeps/nacl/libresolv.abilist: New file.
31050         * sysdeps/nacl/librt.abilist: New file.
31052 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31054         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31055         __startcontext to initialize the new context.
31056         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31057         up CFI directive to forbid further backtracing.
31059 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31061         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31062         reference.
31063         * charmaps/ANSI_X3.4-1968: Likewise.
31064         * charmaps/BS_4730: Likewise.
31065         * charmaps/BS_VIEWDATA: Likewise.
31066         * charmaps/CP1250: Likewise.
31067         * charmaps/CP1251: Likewise.
31068         * charmaps/CP1252: Likewise.
31069         * charmaps/CP1253: Likewise.
31070         * charmaps/CP1254: Likewise.
31071         * charmaps/CP1255: Likewise.
31072         * charmaps/CP1256: Likewise.
31073         * charmaps/CSN_369103: Likewise.
31074         * charmaps/EBCDIC-DK-NO: Likewise.
31075         * charmaps/GB_1988-80: Likewise.
31076         * charmaps/GREEK-CCITT: Likewise.
31077         * charmaps/GREEK7: Likewise.
31078         * charmaps/INIS-8: Likewise.
31079         * charmaps/ISIRI-3342: Likewise.
31080         * charmaps/ISO_2033-1983: Likewise.
31081         * charmaps/ISO_5427-EXT: Likewise.
31082         * locales/POSIX: Likewise.
31083         * locales/ar_SA: Likewise.
31084         * locales/be_BY: Likewise.
31085         * locales/be_BY@latin: Likewise.
31086         * locales/ca_ES: Likewise.
31087         * locales/cs_CZ: Likewise.
31088         * locales/da_DK: Likewise.
31089         * locales/de_BE: Likewise.
31090         * locales/de_CH: Likewise.
31091         * locales/de_LU: Likewise.
31092         * locales/en_AU: Likewise.
31093         * locales/en_BW: Likewise.
31094         * locales/en_CA: Likewise.
31095         * locales/en_DK: Likewise.
31096         * locales/en_GB: Likewise.
31097         * locales/en_IE: Likewise.
31098         * locales/en_NZ: Likewise.
31099         * locales/en_ZA: Likewise.
31100         * locales/en_ZW: Likewise.
31101         * locales/es_AR: Likewise.
31102         * locales/es_BO: Likewise.
31103         * locales/es_CL: Likewise.
31104         * locales/es_CO: Likewise.
31105         * locales/es_DO: Likewise.
31106         * locales/es_EC: Likewise.
31107         * locales/es_ES: Likewise.
31108         * locales/es_HN: Likewise.
31109         * locales/es_MX: Likewise.
31110         * locales/es_PA: Likewise.
31111         * locales/es_PE: Likewise.
31112         * locales/es_PY: Likewise.
31113         * locales/es_SV: Likewise.
31114         * locales/es_US: Likewise.
31115         * locales/es_UY: Likewise.
31116         * locales/es_VE: Likewise.
31117         * locales/et_EE: Likewise.
31118         * locales/fa_IR: Likewise.
31119         * locales/fo_FO: Likewise.
31120         * locales/fr_CA: Likewise.
31121         * locales/fr_CH: Likewise.
31122         * locales/gv_GB: Likewise.
31123         * locales/he_IL: Likewise.
31124         * locales/hr_HR: Likewise.
31125         * locales/id_ID: Likewise.
31126         * locales/is_IS: Likewise.
31127         * locales/it_CH: Likewise.
31128         * locales/iw_IL: Likewise.
31129         * locales/kl_GL: Likewise.
31130         * locales/ko_KR: Likewise.
31131         * locales/kw_GB: Likewise.
31132         * locales/lg_UG: Likewise.
31133         * locales/lt_LT: Likewise.
31134         * locales/lv_LV: Likewise.
31135         * locales/mi_NZ: Likewise.
31136         * locales/nhn_MX: Likewise.
31137         * locales/nl_BE: Likewise.
31138         * locales/pl_PL: Likewise.
31139         * locales/sk_SK: Likewise.
31140         * locales/sl_SI: Likewise.
31141         * locales/sv_FI: Likewise.
31142         * locales/tl_PH: Likewise.
31143         * locales/tr_TR: Likewise.
31144         * locales/vi_VN: Likewise.
31146 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31148         [BZ #17475]
31149         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31150         of tu_IN and bh_IN.
31152 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31154         [BZ #18694]
31155         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31156         bits/wordsize.h.
31157         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31159 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31161         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31162         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31163         (spawn_thread): New function.
31164         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31165         (do_test): ... here.  Use IS_LOADED to test for its
31166         availability.
31168 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31170         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31172 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31174         [BZ #18696]
31175         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31176         si_addr_bnd.
31177         (si_lower): New.
31178         (si_upper): Likewise.
31180 2015-07-16  David S. Miller  <davem@davemloft.net>
31182         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31184 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31186         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31187         buffer.
31188         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31189         fail output information.
31191 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31194         and strstr-ppc64..
31195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31196         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31197         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31198         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31199         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31201 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31203         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31204         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31205         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31206         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31208 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31210         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31211         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31212         rtld_hidden_proto.
31213         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31215 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31217         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31218         the test can fail.
31220         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31222         [BZ #18676]
31223         * elf/tst-nodelete-opened.c: New test case.
31224         * elf/tst-nodelete-opened-lib.c: New test case module.
31225         * elf/Makefile (tests, modules-names): Use them.
31226         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31227         early.
31229 2015-07-15  David S. Miller  <davem@davemloft.net>
31231         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31232         futex-intenal.h
31233         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31234         * sysdeps/sparc/sparc64/Makefile: Likewise.
31235         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31236         Remove space from macro define.
31237         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31239 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31241         [BZ #17475]
31242         * locale/iso-639.def: Update Bhili and Tulu language codes as
31243         per iso639-3.
31245 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31247         * elf/tst-leaks1.c (main): Converted to ...
31248         (do_test): ... this.
31249         (TEST_FUNCTION): New macro.
31250         Include test-skeleton.c.
31251         * localedata/tst-langinfo.c (main): Converted to ...
31252         (do_test): ... this.
31253         (TEST_FUNCTION): New macro.
31254         Include test-skeleton.c.
31255         * math/test-fpucw.c (main): Converted to ...
31256         (do_test): ... this.
31257         (TEST_FUNCTION): New macro.
31258         Include test-skeleton.c.
31259         * math/test-tgmath.c (main): Converted to ...
31260         (do_test): ... this.
31261         (TEST_FUNCTION): New macro.
31262         Include test-skeleton.c.
31263         * math/test-tgmath2.c (main): Converted to ...
31264         (do_test): ... this.
31265         (TEST_FUNCTION): New macro.
31266         Include test-skeleton.c.
31267         * setjmp/tst-setjmp.c (main): Converted to ...
31268         (do_test): ... this.
31269         (TEST_FUNCTION): New macro.
31270         Include test-skeleton.c.
31271         * stdio-common/tst-sscanf.c (main): Converted to ...
31272         (do_test): ... this.
31273         (TEST_FUNCTION): New macro.
31274         Include test-skeleton.c.
31275         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31276         (do_test): ... this.
31277         (TEST_FUNCTION): New macro.
31278         Include test-skeleton.c.
31280         * elf/tst-audit9.c (main): Converted to ...
31281         (do_test): ... this.
31282         (TEST_FUNCTION): New macro.
31283         Include test-skeleton.c.
31285 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
31287         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31289 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31291         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31292         New variable.
31294 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31296         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31298 2015-07-14  Roland McGrath  <roland@hack.frob.com>
31300         * sysdeps/generic/dl-fileid.h: New file.
31301         * sysdeps/posix/dl-fileid.h: New file.
31302         * sysdeps/nacl/dl-fileid.h: New file.
31303         * include/link.h: Include <dl-fileid.h>.
31304         (struct link_map): Replace l_dev and l_ino with l_file_id.
31305         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31306         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
31307         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
31309 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31311         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31313 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31315         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31316         Add iff $CXX is set.
31317         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31318         Likewise.
31319         (tst-nodelete-zmodiff): Likewise.
31320         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31322 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31324         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31326 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31328         * sysdeps/aarch64/fpu/math_private.h
31329         (define math_opt_barrier): Add AArch64 version.
31330         (math_force_eval): Likewise.
31332 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31334         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31336 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
31338         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31339         %ld with %jd and cast to intmax_t.
31340         (do_test_length_zero): Likewise.
31342 2015-07-10  Roland McGrath  <roland@hack.frob.com>
31344         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31346 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
31348         * sysdeps/tile/libm-test-ulps: Regenerated.
31350         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31351         Comment out the whole function, not just its body.
31353 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31355         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31356         locks.
31358         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31360 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31362         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31363         (sem_assume_only_signals_cause_futex_EINTR): Remove.
31365 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31367         * sysdeps/nptl/futex-internal.h: New file.
31368         * sysdeps/nacl/futex-internal.h: New file.
31369         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31370         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31371         error checking.
31372         (setxid_unmark_thread): Likewise.
31373         (__nptl_setxid): Likewise.
31374         (__wait_lookup_done): Likewise.
31375         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31376         * nptl/nptl-init.c (sighandler_setxid): Likewise.
31377         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31378         * nptl/pthread_once.c (clear_once_control): Likewise.
31379         (__pthread_once_slow): Likewise.
31380         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31381         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31382         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31383         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31384         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31385         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31386         Likewise.
31387         (__pthread_rwlock_rdlock): Likewise.
31388         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31389         Likewise.
31390         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31391         Likewise.
31392         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31393         Likewise.
31394         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31395         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31396         Likewise.
31397         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31398         __ASSUME_PRIVATE_FUTEX check.
31399         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31400         Check that shared futexes are supported.
31401         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31402         wrappers with error checking.
31403         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31404         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31405         * nptl/pthread_barrierattr_setpshared.c
31406         (pthread_barrierattr_setpshared): Check that shared futexes are
31407         supported.
31408         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31409         Likewise.
31410         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31411         Likewise.
31412         * nptl/sem_init.c (futex_private_if_supported): Remove.
31413         (__new_sem_init): Adapt and check that shared futexes are supported.
31414         * nptl/sem_open.c (sem_open): Likewise.
31415         * nptl/sem_post.c (futex_wake): Remove.
31416         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31417         (do_futex_wait): Use futex wrappers with error checking.
31418         * nptl/sem_wait.c: Include lowlevellock.h.
31419         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31420         Use futex_supports_pshared.
31421         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31422         Use futex wrappers with error checking.
31423         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31424         Likewise.
31425         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31426         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31427         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31428         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31429         (futex_wake): Likewise.
31430         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31431         (do_futex_wait): Use futex wrappers with error checking.
31432         (__new_sem_wait_slow): Update EINTR handling.
31433         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31435 2015-07-09  Martin Sebor  <msebor@redhat.com>
31437         [BZ #18435]
31438         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31439         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31440         * nptl/Makefile (test-xfail-tst-once5): Define.
31442 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31444         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31445         * elf/dl-minimal.c: For readability, reorder some definitions and
31446         introduce more page breaks.  Include <stdio.h>.
31447         (__libc_fatal): New function.
31449         * include/unistd.h: Add rtld_hidden_proto for _exit.
31450         * posix/_exit.c: Add rtld_hidden_def.
31451         * sysdeps/mach/hurd/_exit.c: Likewise.
31452         * sysdeps/nacl/_exit.c: Likewise.
31453         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31454         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31456 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31459         bndmov encoding with zero displacement.
31461 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31462             H.J. Lu  <hongjiu.lu@intel.com>
31464         [BZ #18134]
31465         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31466         * sysdeps/i386/configure: Regenerated.
31467         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31468         (_dl_runtime_profile): Save and restore Intel MPX return bound
31469         registers when calling _dl_call_pltexit.  Add
31470         PRESERVE_BND_REGS_PREFIX before return.
31471         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31472         (LRV_BND1_OFFSET): Likewise.
31473         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31474         lrv_bnd1.
31475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31476         typo in bndmov encoding.
31477         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31478         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31479         branch instructions to preserve bounds.
31481 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31484         [GLIBC_2.22]: Add fmemopen.
31486 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31488         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31489         returns an error, also try to use host port from __mach_host_self for
31490         the __vm_wire call.
31491         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31493 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31495         [BZ #18400]
31496         [BZ #18648]
31497         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31498         Fix pr_uid and pr_gid members.
31499         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31500         definition to elf_greg_t.
31502 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31504         [BZ #18383]
31505         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31506         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31507         * sysdeps/arm/configure: Regenerated.
31508         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31509         (test-xfail-tst-tlsalign-static): Variable removed.
31511         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31512         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31513         rather than explicit 'ln -s'.
31515         * resolv/rpc/netdb.h: New file.
31516         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31518 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31520         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31521         length buffers.
31522         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31523         test-skeleton.c.
31525         [BZ #6544]
31526         [BZ #11216]
31527         [BZ #12836]
31528         [BZ #13151]
31529         [BZ #13152]
31530         [BZ #14292]
31531         * include/stdio.h (fmemopen): Remove hidden prototype.
31532         (__fmemopen): Add new hidden prototype.
31533         * libio/Makefile: Add oldfmemopen object.
31534         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31535         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31536         compliance.
31537         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31538         symbol compatibility.
31539         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31540         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31541         fmemopen.
31542         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31543         on append and read mode.
31544         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31545         fmemopen.
31546         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31547         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31548         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31549         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31550         Likewise.
31551         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31552         [GLIBC_2.22]: Likewise.
31553         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31554         Likewise.
31555         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31556         Likewise.
31557         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31558         [GLIBC_2.22]: Likewise.
31559         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31560         [GLIBC_2.22]: Likewise.
31561         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31562         [GLIBC_2.22]: Likewise.
31563         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31564         [GLIBC_2.22]: Likewise.
31565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31566         [GLIBC_2.22]: Likewise.
31567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31568         [GLIBC_2.22]: Likewise.
31569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31570         [GLIBC_2.22]: Likewise.
31571         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31572         Likewise.
31573         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31574         Likewise.
31575         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31576         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31577         [GLIBC_2.22]: Likewise.
31578         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31579         [GLIBC_2.22]: Likewise.
31580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31581         [GLIBC_2.22]: Likewise.
31582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31583         [GLIBC_2.22]: Likewise.
31584         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31585         Likewise.
31586         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31587         Likewise.
31588         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31589         Likewise.
31590         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31591         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31593 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31595         [BZ #18643]
31596         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31597         IPV6_PATHMTU, and IPV6_DONTFRAG.
31599 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31601         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31602         and _IO_UNBUFFERED.
31603         * libio/oldfileops.c: Likewise.
31604         * libio/wfileops.c: Likewise.
31606 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31608         * nscd/selinux.c: Delete selinux/flask.h include.
31610 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31612         [BZ #18641]
31613         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31614         (putpwent): Likewise.
31615         (getpwnam): Likewise.
31616         (getpwent_r): Likewise.
31617         (getpwuid_r): Likewise.
31618         (getpwnam_r): Likewise.
31619         (fgetpwent_r): Likewise.
31621 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31623         [BZ #18557]
31624         * inet/rcmd.c (__validuser2_sa): Check user first to
31625         short-circuit host check.
31627 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31628             Mikhail Ilin  <m.ilin@samsung.com>
31630         [BZ #17833]
31631         * elf/Makefile (tests): Add tst-nodelete.
31632         (modules-names): Add tst-nodelete-uniquemod.
31633         (tst-nodelete-uniquemod.so-no-z-defs): New.
31634         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31635         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31636         ($(objpfx)tst-nodelete): Likewise.
31637         ($(objpfx)tst-nodelete.out): Likewise.
31638         (LDFLAGS-tst-nodelete): Likewise.
31639         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31640         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31641         implement forced object deletion.
31642         (_dl_close): Pass false to _dl_close_worker.
31643         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31644         * elf/tst-nodelete.cc: New file.
31645         * elf/tst-nodeletelib.cc: Likewise.
31646         * elf/tst-znodeletelib.cc: Likewise.
31647         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31649 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31651         [BZ #18508]
31652         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31653         Depend on $(libdl).
31654         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31655         is not called infinitely times.
31656         (backtrace_helper): New function.
31657         (trace_arg): New struct.
31658         (st1): Enlarge stack size.
31659         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31660         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31661         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31662         Likewise.
31664 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31666         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31668 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31670         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31671         Include sys/types.h instead of bits/types.h.
31672         Remove inclusion of bits/wordsize.h.
31674 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31676         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31677         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31678         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31679         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31680         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31681         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31683 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31685         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31686         link-defines.sym.
31687         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31688         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31689         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31690         and LR_SIZE.
31691         * sysdeps/i386/link-defines.sym: New file.
31693 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31695         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31696         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31697         ($(objpfx)tst-audit3): New rule.
31698         ($(objpfx)tst-audit3.out): Likewise.
31699         * sysdeps/i386/tst-audit3.c: New file.
31700         * sysdeps/i386/tst-audit3.h: Likewise.
31701         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31702         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31704 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31706         [BZ #18633]
31707         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31708         pointer in C code.
31709         (__strcat_c): Likewise.
31710         (__strcat_g): Likewise.
31712 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31714         [BZ #18592]
31715         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31717 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31719         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31720         New function.  (__ieee754_sqrtf): New function.
31721         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31722         New function.
31723         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31724         New function.
31726 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31728         * sysdeps/ieee754/support.c: Remove unused file.
31730 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31732         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31733         registers instead of d ones so the layout is kernel abi compatible.
31734         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31735         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31736         Likewise.
31738 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31740         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31742 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31744         [BZ #18619]
31745         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31746         and return argument in case of subnormal argument.
31748 2015-07-01  Martin Sebor  <msebor@redhat.com>
31750         [BZ #18435]
31751         * nptl/Makefile: Add tst-once5.cc.
31752         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31753         Remove macro redefinitions.
31754         * nptl/tst-once5.cc: New test.
31756 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31760         * sysdeps/arm/libm-test-ulps: Regenerated.
31762         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31765 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31767         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31768         lll_lock_wait_private and lll_futex_wake probes.
31770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31771         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31772         Likewise.
31773         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31774         atomic_spin_nop.
31775         * sysdeps/x86_64/bits/atomic.h: Likewise.
31776         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31777         to atomic_spin_nop and move ...
31778         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31779         ... here and ...
31780         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31781         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31782         atomic_spin_nop instead of BUSY_WAIT_NOP.
31783         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31784         Likewise.
31785         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31786         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31787         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31788         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31789         instead of atomic_delay.
31791 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31793         [BZ #18613]
31794         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31795         X_ADJ not X when adjusting exponent.
31796         (__ieee754_gamma_r): Do intermediate computations in
31797         round-to-nearest then adjust overflowing and underflowing results
31798         as needed.
31799         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31800         of X_ADJ not X when adjusting exponent.
31801         (__ieee754_gammaf_r): Do intermediate computations in
31802         round-to-nearest then adjust overflowing and underflowing results
31803         as needed.
31804         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31805         log of X_ADJ not X when adjusting exponent.
31806         (__ieee754_gammal_r): Do intermediate computations in
31807         round-to-nearest then adjust overflowing and underflowing results
31808         as needed.  Use 1.0L not 1.0f as numerator of division.
31809         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31810         log of X_ADJ not X when adjusting exponent.
31811         (__ieee754_gammal_r): Do intermediate computations in
31812         round-to-nearest then adjust overflowing and underflowing results
31813         as needed.  Use 1.0L not 1.0f as numerator of division.
31814         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31815         of X_ADJ not X when adjusting exponent.
31816         (__ieee754_gammal_r): Do intermediate computations in
31817         round-to-nearest then adjust overflowing and underflowing results
31818         as needed.  Use 1.0L not 1.0f as numerator of division.
31819         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31820         to auto-libm-test-in.
31821         (tgamma_test): Use ALL_RM_TEST.
31822         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31823         tests of tgamma with spurious-overflow.
31824         * math/auto-libm-test-out: Regenerated.
31825         * math/gen-libm-have-vector-test.sh: Do not check for START.
31826         * sysdeps/i386/fpu/libm-test-ulps: Update.
31827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31829         [BZ #18612]
31830         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31831         arguments, just return 0.5 times the argument, with underflow
31832         forced as needed.
31833         * math/auto-libm-test-in: Add more tests of j1.
31834         * math/auto-libm-test-out: Regenerated.
31836         [BZ #16559]
31837         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31838         (__ieee754_j1): Force underflow exception for small results.
31839         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31840         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31841         (__ieee754_j1f): Force underflow exception for small results.
31842         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31843         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31844         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31845         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31846         (__ieee754_j1l): Force underflow exception for small results.
31847         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31848         * math/auto-libm-test-in: Add more tests of j1 and jn.
31849         * math/auto-libm-test-out: Regenerated.
31851         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31852         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31853         (PF_MPLS): Likewise.
31854         (AF_IB): Likewise.
31855         (AF_MPLS): Likewise.
31856         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31857         value and macro.
31858         (MS_RMT_MASK): Include MS_LAZYTIME.
31860 2015-06-26  Mel Gorman  <mgorman@suse.de>
31862         [BZ #18502]
31863         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31864         already minimal.
31866 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31868         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31869         (DT_MIPS_NUM): Update.
31870         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31871         DT_MIPS_RLD_MAP_REL.
31873 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31875         [BZ #16559]
31876         [BZ #18602]
31877         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31878         round-to-nearest internally then recompute results that
31879         underflowed to zero in the original rounding mode.
31880         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31881         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31882         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31883         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31884         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31885         * sysdeps/i386/fpu/libm-test-ulps: Update.
31886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31888 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31890         * NEWS: Fixed description of link with vector math library.
31892 2015-06-25  Andreas Schwab  <schwab@suse.de>
31894         [BZ #18549]
31895         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31896         * libio/test-fmemopen.c (do_test): Add test for it.
31898 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31900         [BZ #17841]
31901         * Makeconfig (no-pie-ldflag): New.
31902         (+link): Set to $(+link-pie) if default to PIE.
31903         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31904         * config.make.in (build-pie-default): New.
31905         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31906         is default.  AC_SUBST.
31907         * configure: Regenerated.
31908         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31910 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31912         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31913         to 'unsigned int'.
31915         * resolv/gai_misc.h (struct waitlist): Change type of field
31916         counterp to 'volatile unsigned int *'.
31917         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31918         FUTEXADDR and OLDVAL.
31919         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31920         Give local variable TOTAL type 'volatile unsigned int'.
31921         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31922         * resolv/gai_suspend.c (gai_suspend):
31923         Give local variable CNTR type 'unsigned int'.
31925         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31926         counterp to 'volatile unsigned int *'.
31927         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31928         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31929         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31930         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31931         Give local variable TOTAL type 'volatile unsigned int'.
31932         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31934 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31936         [BZ #18383]
31937         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31938         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31939         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31940         comment for i386/x86-64.
31941         (test-xfail-tst-tlsalign-extern-static): Removed.
31943 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31945         * math/test-double.h: New file.
31946         * math/test-float.h: Likewise.
31947         * math/test-ldouble.h: Likewise.
31948         * math/test-math-inline.h: Likewise.
31949         * math/test-math-no-inline.h: Likewise.
31950         * math/test-math-scalar.h: Likewise.
31951         * math/test-math-vector.h: Likewise.
31952         * math/test-vec-loop.h: Remove file.  Contents moved into
31953         test-math-vector.h.
31954         * math/libm-test.inc (MATHCONST): Do not document macro.
31955         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31956         and test-math-scalar.h.
31957         (FUNC): Remove macro.
31958         (FUNC_TEST): Likewise.
31959         (FLOAT): Likewise.
31960         (MATHCONST): Likewise.
31961         (PRINTF_EXPR): Likewise.
31962         (PRINTF_XEXPR): Likewise.
31963         (PRINTF_NEXPR): Likewise.
31964         (TEST_DOUBLE): Likewise.
31965         (TEST_MATHVEC): Likewise.
31966         (__NO_MATH_INLINES): Likewise.
31967         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31968         and test-math-scalar.h.
31969         (FUNC): Remove macro.
31970         (FUNC_TEST): Likewise.
31971         (FLOAT): Likewise.
31972         (MATHCONST): Likewise.
31973         (PRINTF_EXPR): Likewise.
31974         (PRINTF_XEXPR): Likewise.
31975         (PRINTF_NEXPR): Likewise.
31976         (TEST_FLOAT): Likewise.
31977         (TEST_MATHVEC): Likewise.
31978         (__NO_MATH_INLINES): Likewise.
31979         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31980         and test-math-scalar.h.
31981         (FUNC): Remove macro.
31982         (FUNC_TEST): Likewise.
31983         (FLOAT): Likewise.
31984         (MATHCONST): Likewise.
31985         (PRINTF_EXPR): Likewise.
31986         (PRINTF_XEXPR): Likewise.
31987         (PRINTF_NEXPR): Likewise.
31988         (TEST_DOUBLE): Likewise.
31989         (TEST_MATHVEC): Likewise.
31990         (TEST_INLINE): Likewise.
31991         (__NO_MATH_INLINES): Likewise.
31992         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31993         test-math-scalar.h.
31994         (FUNC): Remove macro.
31995         (FUNC_TEST): Likewise.
31996         (FLOAT): Likewise.
31997         (MATHCONST): Likewise.
31998         (PRINTF_EXPR): Likewise.
31999         (PRINTF_XEXPR): Likewise.
32000         (PRINTF_NEXPR): Likewise.
32001         (TEST_FLOAT): Likewise.
32002         (TEST_MATHVEC): Likewise.
32003         (TEST_INLINE): Likewise.
32004         (__NO_MATH_INLINES): Likewise.
32005         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32006         and test-math-scalar.h.
32007         (FUNC): Remove macro.
32008         (FUNC_TEST): Likewise.
32009         (FLOAT): Likewise.
32010         (MATHCONST): Likewise.
32011         (PRINTF_EXPR): Likewise.
32012         (PRINTF_XEXPR): Likewise.
32013         (PRINTF_NEXPR): Likewise.
32014         (TEST_LDOUBLE): Likewise.
32015         (TEST_MATHVEC): Likewise.
32016         (TEST_INLINE): Likewise.
32017         (__NO_MATH_INLINES): Likewise.
32018         * math/test-ldouble.c: Include test-ldouble.h,
32019         test-math-no-inline.h and test-math-scalar.h.
32020         (FUNC): Remove macro.
32021         (FUNC_TEST): Likewise.
32022         (FLOAT): Likewise.
32023         (MATHCONST): Likewise.
32024         (PRINTF_EXPR): Likewise.
32025         (PRINTF_XEXPR): Likewise.
32026         (PRINTF_NEXPR): Likewise.
32027         (TEST_LDOUBLE): Likewise.
32028         (TEST_MATHVEC): Likewise.
32029         (__NO_MATH_INLINES): Likewise.
32030         * math/test-double-vlen2.h: Include test-double.h,
32031         test-math-no-inline.h and test-math-vector.h.
32032         (FLOAT): Remove macro.
32033         (FUNC): Likewise.
32034         (MATHCONST): Likewise.
32035         (PRINTF_EXPR): Likewise.
32036         (PRINTF_XEXPR): Likewise.
32037         (PRINTF_NEXPR): Likewise.
32038         (TEST_DOUBLE): Likewise.
32039         (TEST_MATHVEC): Likewise.
32040         (__NO_MATH_INLINES): Likewise.
32041         (CNCT): Likewise.
32042         (CONCAT): Likewise.
32043         (WRAPPER_NAME): Likewise.
32044         (WRAPPER_DECL): Likewise.
32045         (WRAPPER_DECL_ff): Likewise.
32046         (WRAPPER_DECL_fFF): Likewise.
32047         (VECTOR_WRAPPER): Likewise.
32048         (VECTOR_WRAPPER_ff): Likewise.
32049         (VECTOR_WRAPPER_fFF): Likewise.
32050         (VEC_LEN): New macro.
32051         * math/test-double-vlen4.h: Include test-double.h,
32052         test-math-no-inline.h and test-math-vector.h.
32053         (FLOAT): Remove macro.
32054         (FUNC): Likewise.
32055         (MATHCONST): Likewise.
32056         (PRINTF_EXPR): Likewise.
32057         (PRINTF_XEXPR): Likewise.
32058         (PRINTF_NEXPR): Likewise.
32059         (TEST_DOUBLE): Likewise.
32060         (TEST_MATHVEC): Likewise.
32061         (__NO_MATH_INLINES): Likewise.
32062         (CNCT): Likewise.
32063         (CONCAT): Likewise.
32064         (WRAPPER_NAME): Likewise.
32065         (WRAPPER_DECL): Likewise.
32066         (WRAPPER_DECL_ff): Likewise.
32067         (WRAPPER_DECL_fFF): Likewise.
32068         (VECTOR_WRAPPER): Likewise.
32069         (VECTOR_WRAPPER_ff): Likewise.
32070         (VECTOR_WRAPPER_fFF): Likewise.
32071         (VEC_LEN): New macro.
32072         * math/test-double-vlen8.h: Include test-double.h,
32073         test-math-no-inline.h and test-math-vector.h.
32074         (FLOAT): Remove macro.
32075         (FUNC): Likewise.
32076         (MATHCONST): Likewise.
32077         (PRINTF_EXPR): Likewise.
32078         (PRINTF_XEXPR): Likewise.
32079         (PRINTF_NEXPR): Likewise.
32080         (TEST_DOUBLE): Likewise.
32081         (TEST_MATHVEC): Likewise.
32082         (__NO_MATH_INLINES): Likewise.
32083         (CNCT): Likewise.
32084         (CONCAT): Likewise.
32085         (WRAPPER_NAME): Likewise.
32086         (WRAPPER_DECL): Likewise.
32087         (WRAPPER_DECL_ff): Likewise.
32088         (WRAPPER_DECL_fFF): Likewise.
32089         (VECTOR_WRAPPER): Likewise.
32090         (VECTOR_WRAPPER_ff): Likewise.
32091         (VECTOR_WRAPPER_fFF): Likewise.
32092         (VEC_LEN): New macro.
32093         * math/test-float-vlen4.h: Include test-float.h,
32094         test-math-no-inline.h and test-math-vector.h.
32095         (FLOAT): Remove macro.
32096         (FUNC): Likewise.
32097         (MATHCONST): Likewise.
32098         (PRINTF_EXPR): Likewise.
32099         (PRINTF_XEXPR): Likewise.
32100         (PRINTF_NEXPR): Likewise.
32101         (TEST_FLOAT): Likewise.
32102         (TEST_MATHVEC): Likewise.
32103         (__NO_MATH_INLINES): Likewise.
32104         (CNCT): Likewise.
32105         (CONCAT): Likewise.
32106         (WRAPPER_NAME): Likewise.
32107         (WRAPPER_DECL): Likewise.
32108         (WRAPPER_DECL_ff): Likewise.
32109         (WRAPPER_DECL_fFF): Likewise.
32110         (VECTOR_WRAPPER): Likewise.
32111         (VECTOR_WRAPPER_ff): Likewise.
32112         (VECTOR_WRAPPER_fFF): Likewise.
32113         (VEC_LEN): New macro.
32114         * math/test-float-vlen8.h: Include test-float.h,
32115         test-math-no-inline.h and test-math-vector.h.
32116         (FLOAT): Remove macro.
32117         (FUNC): Likewise.
32118         (MATHCONST): Likewise.
32119         (PRINTF_EXPR): Likewise.
32120         (PRINTF_XEXPR): Likewise.
32121         (PRINTF_NEXPR): Likewise.
32122         (TEST_FLOAT): Likewise.
32123         (TEST_MATHVEC): Likewise.
32124         (__NO_MATH_INLINES): Likewise.
32125         (CNCT): Likewise.
32126         (CONCAT): Likewise.
32127         (WRAPPER_NAME): Likewise.
32128         (WRAPPER_DECL): Likewise.
32129         (WRAPPER_DECL_ff): Likewise.
32130         (WRAPPER_DECL_fFF): Likewise.
32131         (VECTOR_WRAPPER): Likewise.
32132         (VECTOR_WRAPPER_ff): Likewise.
32133         (VECTOR_WRAPPER_fFF): Likewise.
32134         (VEC_LEN): New macro.
32135         * math/test-float-vlen16.h: Include test-float.h,
32136         test-math-no-inline.h and test-math-vector.h.
32137         (FLOAT): Remove macro.
32138         (FUNC): Likewise.
32139         (MATHCONST): Likewise.
32140         (PRINTF_EXPR): Likewise.
32141         (PRINTF_XEXPR): Likewise.
32142         (PRINTF_NEXPR): Likewise.
32143         (TEST_FLOAT): Likewise.
32144         (TEST_MATHVEC): Likewise.
32145         (__NO_MATH_INLINES): Likewise.
32146         (CNCT): Likewise.
32147         (CONCAT): Likewise.
32148         (WRAPPER_NAME): Likewise.
32149         (WRAPPER_DECL): Likewise.
32150         (WRAPPER_DECL_ff): Likewise.
32151         (WRAPPER_DECL_fFF): Likewise.
32152         (VECTOR_WRAPPER): Likewise.
32153         (VECTOR_WRAPPER_ff): Likewise.
32154         (VECTOR_WRAPPER_fFF): Likewise.
32155         (VEC_LEN): New macro.
32156         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32157         test-vec-loop.h.
32158         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32159         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32160         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32161         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32163         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32164         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32166 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32168         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32169         (__getlogin_r): ... this.
32171 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32173         [BZ #18594]
32174         * math/s_ccosh.c (__ccosh): Compare with least normal value
32175         instead of comparing class with FP_SUBNORMAL.
32176         * math/s_ccoshf.c (__ccoshf): Likewise.
32177         * math/s_ccoshl.c (__ccoshl): Likewise.
32178         * math/s_cexp.c (__cexp): Likewise.
32179         * math/s_cexpf.c (__cexpf): Likewise.
32180         * math/s_cexpl.c (__cexpl): Likewise.
32181         * math/s_csin.c (__csin): Likewise.
32182         * math/s_csinf.c (__csinf): Likewise.
32183         * math/s_csinh.c (__csinh): Likewise.
32184         * math/s_csinhf.c (__csinhf): Likewise.
32185         * math/s_csinhl.c (__csinhl): Likewise.
32186         * math/s_csinl.c (__csinl): Likewise.
32187         * math/s_ctan.c (__ctan): Likewise.
32188         * math/s_ctanf.c (__ctanf): Likewise.
32189         * math/s_ctanh.c (__ctanh): Likewise.
32190         * math/s_ctanhf.c (__ctanhf): Likewise.
32191         * math/s_ctanhl.c (__ctanhl): Likewise.
32192         * math/s_ctanl.c (__ctanl): Likewise.
32193         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32194         csin, csinh, ctan and ctanh.
32195         * math/auto-libm-test-out: Regenerated.
32196         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32197         * sysdeps/i386/fpu/libm-test-ulps: Update.
32198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32200 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32202         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32203         return value is wrong, print the expected value too.
32205 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32207         [BZ #18585]
32208         * elf/readlib.c (is_gdb_python_file): New.
32209         (process_file): Don't issue errors on filenames with -gdb.py
32210         suffix.
32212 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32214         * math/auto-libm-test-in: Add more tests of csin and csinh.
32215         * math/auto-libm-test-out: Regenerated.
32216         * math/libm-test.inc (csin_test_data): Remove tests moved to
32217         auto-libm-test-in.
32218         (csinh_test_data): Likewise.
32220         [BZ #18593]
32221         * math/s_csin.c (__csin): Negate before rather than after possibly
32222         overflowing multiplication.
32223         * math/s_csinf.c (__csinf): Likewise.
32224         * math/s_csinh.c (__csinh): Likewise.
32225         * math/s_csinhf.c (__csinhf): Likewise.
32226         * math/s_csinhl.c (__csinhl): Likewise.
32227         * math/s_csinl.c (__csinl): Likewise.
32228         * math/auto-libm-test-in: Add some tests of csin and csinh.
32229         * math/auto-libm-test-out: Regenerated.
32230         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32231         (csinh_test_data): Likewise.
32232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32234         [BZ #18586]
32235         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32236         underflow exception for small results.
32238 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32240         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32241         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32242         variable and included header.
32243         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32244         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32247         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32248         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32251         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32252         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32253         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32254         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32255         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32256         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32257         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32258         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32260 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32262         [BZ #16526]
32263         [BZ #16538]
32264         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32265         (__sin): Force underflow exception for arguments with small
32266         absolute value.
32267         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32268         (__kernel_sinf): Force underflow exception for arguments with
32269         small absolute value.
32270         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32271         (__kernel_sincosl): Force underflow exception for arguments with
32272         small absolute value.
32273         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32274         (__kernel_sinl): Force underflow exception for arguments with
32275         small absolute value.
32276         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32277         (__kernel_sincosl): Force underflow exception for arguments with
32278         small absolute value.
32279         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32280         (__kernel_sinl): Force underflow exception for arguments with
32281         small absolute value.
32282         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32283         (__kernel_sinl): Force underflow exception for arguments with
32284         small absolute value.
32285         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32286         (__kernel_sinf): Force underflow exception for arguments with
32287         small absolute value.
32288         * math/auto-libm-test-in: Add more tests of sin and sincos.
32289         * math/auto-libm-test-out: Regenerated.
32291         [BZ #18245]
32292         [BZ #18583]
32293         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32294         (__kernel_standard_l): Use feholdexcept and fesetenv around
32295         conversion to double instead of special-casing overflow and
32296         underflow.
32297         * math/libm-test.inc (fmod_test_data): Add more tests.
32298         (remainder_test_data): Likewise.
32299         (sqrt_test_data): Likewise.
32301 2015-06-23  Torvald Riegel  <triegel@redhat.com>
32303         [BZ #17403]
32304         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32305         atomic_read_barrier, atomic_write_barrier): Define.
32306         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32307         atomic_read_barrier, atomic_write_barrier): Define.
32309 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32311         * math/Makefile [$(PERL) != no]
32312         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32313         dependency on libm-test.stmp below the inclusion of Rules.
32315 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
32317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32319         and included header.
32320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32322         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32323         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32326         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32328         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32329         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32330         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32331         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32332         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32333         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32334         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32335         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32336         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32337         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32338         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32340 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #18371]
32343         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32344         intermediate but not final result might underflow.
32345         * math/s_csqrtf.c (__csqrtf): Likewise.
32346         * math/s_csqrtl.c (__csqrtl): Likewise.
32347         * math/auto-libm-test-in: Add more tests of csqrt.
32348         * math/auto-libm-test-out: Regenerated.
32349         * sysdeps/i386/fpu/libm-test-ulps: Update.
32351         [BZ #18219]
32352         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32353         threshold on absolute value of exponent for which scaling is used.
32354         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32355         * math/auto-libm-test-in: Add more tests of exp2.
32356         * math/auto-libm-test-out: Regenerated.
32358 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
32360         [BZ #17977]
32361         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32362         when initializing interface list, based on the bug analysis
32363         and the patch proposed by Eric Newton.
32364         * resolv/tst-res_hconf_reorder.c: New test.
32365         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32366         tst-res_hconf_reorder.
32367         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32368         and $(shared-thread-library).
32369         (tst-res_hconf_reorder-ENV): New variable.
32371         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32372         in comment.
32374 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
32376         [BZ #16353]
32377         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32378         (__expm1): Force underflow exception for arguments with small
32379         absolute value.
32380         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32381         (__expm1f): Force underflow exception for arguments with small
32382         absolute value.
32383         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32384         (__expm1): Force underflow exception for arguments with small
32385         absolute value.
32386         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32387         (__expm1f): Force underflow exception for arguments with small
32388         absolute value.
32389         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32390         Check for small arguments before calling __expm1.
32391         * math/auto-libm-test-in: Do not mark underflow exceptions as
32392         possibly missing for bug 16353.
32393         * math/auto-libm-test-out: Regenerated.
32395 2015-06-22  Andreas Schwab  <schwab@suse.de>
32397         [BZ #18513]
32398         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32399         PTR queries.
32401 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32403         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32405         * string/strcoll_l.c: Remove unused struct element idxnow.
32407 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32409         [BZ #18569]
32410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32411         underflow and return argument in case of subnormal argument.
32412         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32413         Likewise.
32414         * math/auto-libm-test-in: Add more tests of expm1.
32415         * math/auto-libm-test-out: Regenerated.
32417         [BZ #16361]
32418         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32419         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32420         tiny results.
32421         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32422         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32423         tiny results.
32424         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32425         mark underflow exceptions as possibly missing for bug 16361.
32426         * math/auto-libm-test-out: Regenerated.
32428 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32430         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32431         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32432         Remove variable.
32433         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32434         (test-xfail-XOPEN2K8/utmpx.h/conform).
32436         * conform/conformtest.pl ($xerrors): New variable.
32437         (note_error): New function.
32438         (compiletest): New argument $xfail.  Use not_error.
32439         (runtest): Likewise.
32440         (top level): Handle xfail- lines.  Update calls to compiletest and
32441         runtest.  Handle xfail- and optional- in headers listed with
32442         allow-header.
32443         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32444         (O_EXEC): Likewise.
32445         (O_SEARCH): Likewise.
32446         * conform/data/stropts.h-data (ioctl): Likewise.
32447         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32448         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32449         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32450         (msghdr.msg_controllen): Likewise.
32451         (cmsghdr.cmsg_len): Likewise.
32452         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32453         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32454         variable.
32455         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32456         (test-xfail-XPG4/stropts.h/conform): Likewise.
32457         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32458         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32459         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32460         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32461         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32462         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32463         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32464         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32465         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32466         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32467         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32468         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32469         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32470         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32471         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32472         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32473         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32474         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32475         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32477 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32479         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32480         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32481         definitions for proper unfolding of __MATHDECL_VEC.
32483 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32485         * benchtests/bench-strcoll.c:
32486         Include string.h.
32487         (main): Remove unused variable res.
32489 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32491         * timezone/Makefile (%/UTC %/Universal):
32492         Generate test-result files for UTC and Universal.
32494 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32496         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32498 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32500         [BZ #16350]
32501         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32502         for arguments with small absolute value.
32503         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32504         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32505         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32506         (__asinh): Force underflow exception for arguments with small
32507         absolute value.
32508         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32509         (__asinhf): Force underflow exception for arguments with small
32510         absolute value.
32511         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32512         (__asinhl): Force underflow exception for arguments with small
32513         absolute value.
32514         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32515         (__asinhl): Force underflow exception for arguments with small
32516         absolute value.
32517         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32518         (__asinhl): Force underflow exception for arguments with small
32519         absolute value.
32520         * math/auto-libm-test-in: Do not mark underflow exceptions as
32521         possibly missing for bug 16350.
32522         * math/auto-libm-test-out: Regenerated.
32524         * include/bits/ipc.h: Remove file.
32525         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32526         variable.
32527         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32528         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32529         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32530         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32531         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32532         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32533         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32534         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32535         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32537         * math/auto-libm-test-in: Remove spurious underflow allowance for
32538         tests of cexp.
32539         * math/auto-libm-test-out: Regenerated.
32541         [BZ #18558]
32542         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32543         unconditional definition.
32544         (MCAST_BLOCK_SOURCE): Likewise.
32545         (MCAST_UNBLOCK_SOURCE): Likewise.
32546         (MCAST_LEAVE_GROUP): Likewise.
32547         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32548         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32549         (MCAST_MSFILTER): Likewise.
32550         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32551         Remove variable.
32552         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32553         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32554         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32555         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32556         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32558 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32560         * NEWS: Mention addition of x86_64 vector sincosf.
32561         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32562         * math/test-float-vlen4.h: Likewise.
32563         * math/test-float-vlen8.h: Likewise.
32564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32565         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32567         * sysdeps/x86_64/fpu/Versions: New versions added.
32568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32569         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32570         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32575         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32577         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32578         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32579         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32580         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32581         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32582         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32583         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32584         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32585         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32586         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32587         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32593         * NEWS: Mention addition of x86_64 vector sincos.
32594         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32595         * math/math.h (__MATHDECL_VEC): New macro.
32596         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32597         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32598         declaration under condition.
32599         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32600         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32601         TEST_VEC_LOOP change.
32602         * math/test-double-vlen4.h: Likewise.
32603         * math/test-double-vlen8.h: Likewise.
32604         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32605         * math/test-float-vlen4.h: Likewise.
32606         * math/test-float-vlen8.h: Likewise.
32607         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32608         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32609         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32610         * sysdeps/x86_64/fpu/Versions: New versions added.
32611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32612         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32613         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32614         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32615         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32616         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32617         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32618         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32620         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32621         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32622         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32623         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32624         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32625         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32626         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32627         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32628         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32629         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32630         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32631         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32632         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32633         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32634         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32638         redirections for powf.
32639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32640         * sysdeps/x86_64/fpu/Versions: New versions added.
32641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32643         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32644         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32645         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32646         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32651         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32652         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32653         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32654         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32655         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32656         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32657         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32658         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32659         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32660         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32661         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32663         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32664         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32665         * math/test-float-vlen16.h: Fixed 2 argument macro.
32666         * math/test-float-vlen4.h: Likewise.
32667         * math/test-float-vlen8.h: Likewise.
32668         * NEWS: Mention addition of x86_64 vector powf.
32670 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32672         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32673         and redefine.
32674         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32675         and redefine.
32676         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32677         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32678         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32680         [BZ #18553]
32681         * resource/getpriority.c (getpriority): Rename to __getpriority
32682         and define as weak alias of __getpriority.
32683         * resource/setpriority.c (setpriority): Rename to __setpriority
32684         and define as weak alias of __setpriority.
32685         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32686         __getpriority and define as weak alias of __getpriority.
32687         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32688         __setpriority and define as weak alias of __setpriority.
32689         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32690         strong name.
32691         (setpriority): Use __setpriority as strong name.
32692         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32693         __getpriority and define as weak alias of __getpriority.
32694         * include/sys/resource.h (__getpriority): Declare.  Use
32695         libc_hidden_proto.
32696         (__setpriority): Likewise.
32697         (getpriority): Don't use libc_hidden_proto.
32698         (setpriority): Likewise.
32699         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32700         getpriority.  Call __setpriority instead of setpriority.
32701         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32702         Remove variable.
32704         [BZ #18547]
32705         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32706         as weak alias of __getttynam.  Use prototype function definition.
32707         Call __setttyent, __getttyent and __endttyent instead of
32708         setttyent, getttyent and endttyent.
32709         (getttyent): Rename to __getttyent and define as weak alias of
32710         __getttyent.  Call __setttyent instead of setttyent.  Call
32711         __fgets_unlocked instead of fgets_unlocked.
32712         (setttyent): Rename to __setttyent and define as weak alias of
32713         __setttyent.
32714         (endttyent): Rename to __endttyent and define as weak alias of
32715         __endttyent.
32716         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32717         (__setttyent): Likewise.
32718         (__endttyent): Likewise.
32719         (getttyent): Don't use libc_hidden_proto.
32720         (setttyent): Likewise.
32721         (endttyent): Likewise.
32722         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32723         __endttyent instead of setttyent, getttyent and endttyent.
32724         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32725         Remove variable.
32727         [BZ #18546]
32728         * socket/recv.c (__recv): Use libc_hidden_def.
32729         * socket/socket.c (__socket): Likewise.
32730         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32731         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32732         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32733         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32734         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32735         libc_hidden_def.
32736         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32737         libc_hidden_weak.
32738         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32739         Use libc_hidden_proto.
32740         (__recv): Likewise.
32741         * socket/Versions (libc): Export __recv and __socket at version
32742         GLIBC_PRIVATE.
32743         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32744         instead of recv.
32745         (init_mq_netlink): Call __socket instead of socket.
32746         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32747         Remove variable.
32749         [BZ #18545]
32750         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32751         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32752         hidden_weak.
32753         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32754         define as alias of __mq_timedsend.  Use hidden_weak.
32755         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32756         __mq_timedsend as strong name.
32757         (mq_timedreceive): Use __mq_timedreceive as strong name.
32758         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32759         (__mq_timedreceive): Likewise.
32760         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32761         __mq_timedreceive instead of mq_timedreceive.
32762         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32763         instead of mq_timedsend.
32764         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32765         Remove variable.
32767         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32768         hidden_def and hidden_weak instead of libc_hidden_def and
32769         libc_hidden_weak.
32770         (top level): Refer to hidden_def in comment.
32771         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32772         macro.  Use it instead of libc_hidden_def.
32773         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32774         specify __GI_* name explicitly.
32775         (mq_timedreceive): Likewise.
32776         (mq_setattr): Likewise.
32778         [BZ #18544]
32779         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32780         __pthread_barrier_init and define as weak alias of
32781         __pthread_barrier_init.
32782         * sysdeps/sparc/nptl/pthread_barrier_init.c
32783         (pthread_barrier_init): Likewise.
32784         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32785         __pthread_barrier_wait and define as weak alias of
32786         __pthread_barrier_wait.
32787         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32788         (pthread_barrier_wait): Likewise.
32789         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32790         (pthread_barrier_wait): Likewise.
32791         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32792         (pthread_barrier_wait): Likewise.
32793         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32794         (pthread_barrier_wait): Likewise.
32795         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32796         __pthread_barrier_wait at version GLIBC_PRIVATE.
32797         * include/pthread.h (__pthread_barrier_init): Declare.
32798         (__pthread_barrier_wait): Likewise.
32799         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32800         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32801         (helper_thread): Likewise.
32802         (init_mq_netlink): Call __pthread_barrier_init instead of
32803         pthread_barrier_init.
32805         [BZ #18542]
32806         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32807         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32808         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32809         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32810         vswscanf.
32811         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32812         Remove variable.
32814         [BZ #18540]
32815         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32816         strong alias of _IO_fflush.  Use libc_hidden_def.
32817         * libio/iofflush_u.c (fflush_unlocked): Rename to
32818         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32819         Use libc_hidden_weak.
32820         * include/stdio.h (__fflush_unlocked): Declare.  Use
32821         libc_hidden_proto.
32822         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32823         fflush_unlocked.
32824         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32825         Remove variable.
32827         [BZ #18539]
32828         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32829         define as weak alias of __addseverity.
32830         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32831         Remove variable.
32832         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32833         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32834         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32836         [BZ #18536]
32837         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32838         (__tfind): Likewise.
32839         (__tdelete): Likewise.
32840         (__twalk): Likewise.
32841         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32842         __twalk to GLIBC_PRIVATE.
32843         * include/search.h (__tsearch): Use libc_hidden_proto.
32844         (__tfind): Likewise.
32845         (__tdelete): Likewise.
32846         (__twalk): Likewise.
32847         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32848         Call __tdelete instead of tdelete.
32849         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32850         tfind.  Call __tsearch instead of tsearch.
32851         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32852         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32853         Remove variable.
32854         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32856         [BZ #18534]
32857         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32858         (dprintf): Define as a weak alias of __dprintf, not a strong
32859         alias.
32860         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32861         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32862         dprintf.
32863         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32864         Remove variable.
32865         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32866         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32868         [BZ #18533]
32869         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32870         not a strong alias.
32871         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32872         Remove variable.
32874         [BZ #18532]
32875         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32876         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32877         (in6addr_loopback): Rename to __in6addr_loopback and define as
32878         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32879         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32880         libc_hidden_proto.
32881         (__in6addr_any): Likewise.
32882         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32883         in6addr_any.
32884         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32885         variable.
32886         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32888 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32890         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32891         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32893         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32894         redirections for pow.
32895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32896         * sysdeps/x86_64/fpu/Versions: New versions added.
32897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32898         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32899         build of SSE, AVX2 and AVX512 IFUNC versions.
32900         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32901         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32902         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32903         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32904         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32905         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32907         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32908         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32909         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32910         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32911         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32912         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32913         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow 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 pow.
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 expf.
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_expf16_core.S: New file.
32932         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32933         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32934         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32935         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32936         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32937         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32938         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32939         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32940         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32941         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32942         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32943         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf 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 expf.
32953         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32954         * math/bits/mathcalls.h: Added exp 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 exp.
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_exp2_core.S: New file.
32964         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32965         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32966         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32967         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32969         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32970         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32971         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32972         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32973         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32974         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32975         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32976         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32977         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32979         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32980         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32981         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32982         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32983         * NEWS: Mention addition of x86_64 vector exp.
32985         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32986         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32987         redirections for logf.
32988         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32989         * sysdeps/x86_64/fpu/Versions: New versions added.
32990         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32991         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32992         build of SSE, AVX2 and AVX512 IFUNC versions.
32993         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32994         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32995         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32996         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32997         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32998         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32999         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33000         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33001         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33002         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33003         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33004         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33005         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33006         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33007         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33008         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33009         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33010         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33011         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33012         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33013         * NEWS: Mention addition of x86_64 vector logf.
33015         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33016         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33017         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33018         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33019         redirections for log.
33020         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33021         * sysdeps/x86_64/fpu/Versions: New versions added.
33022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33023         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33024         build of SSE, AVX2 and AVX512 IFUNC versions.
33025         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33026         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33027         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33028         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33029         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33030         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33031         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33032         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33033         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33034         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33035         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33036         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33037         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33038         test.
33039         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33040         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33041         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33042         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33043         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33044         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33045         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33046         * NEWS: Mention addition of x86_64 vector log.
33048 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33050         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33051         cfi_adjust_cfa_offset argument.
33052         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33053         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33055         [BZ #18034]
33056         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33057         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33058         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33059         ordering using ldar.
33060         (_dl_tlsdesc_dynamic): Likewise.
33061         (_dl_tlsdesc_return_lazy): Likewise.
33062         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33063         relaxed atomics instead of volatile and synchronize with release store.
33064         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33065         volatile.
33066         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33068 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33070         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33071         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33073         * sysdeps/x86_64/fpu/Versions: New versions added.
33074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33076         build of SSE, AVX2 and AVX512 IFUNC versions.
33077         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33078         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33079         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33083         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33084         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33085         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33086         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33087         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33088         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33089         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33090         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33091         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33092         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33094         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33095         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33096         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33097         * NEWS: Mention addition of x86_64 vector sinf.
33099 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33101         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33102         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33103         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33104         Remove variable.
33105         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33106         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33108 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33110         [BZ #18530]
33111         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33112         strong alias of _IO_fputs.  Use libc_hidden_def.
33113         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33114         and define as weak alias of __fputs_unlocked.  Use
33115         libc_hidden_weak.
33116         * include/stdio.h (__fputs_unlocked): Declare.  Use
33117         libc_hidden_proto.
33118         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33119         fputs_unlocked.
33121         [BZ #18529]
33122         * resolv/netdb.h [__USE_POSIX]: Change condition to
33123         [__USE_XOPEN2K].
33124         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33125         not expect.
33126         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33127         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33128         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33129         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33130         [XPG4 || UNIX98] (AI_ALL): Likewise.
33131         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33132         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33133         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33134         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33135         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33136         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33137         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33138         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33139         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33140         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33141         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33142         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33143         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33144         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33145         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33146         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33147         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33148         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33149         [XPG4 || UNIX98] (gai_strerror): Likewise.
33150         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33151         [XPG4 || UNIX98] (getnameinfo): Likewise.
33153         [BZ #18528]
33154         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33155         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33156         __USE_XOPEN2K8].
33157         (getgrent): Likewise.
33158         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33159         expect.
33160         [XPG3 || POSIX2008] (endgrent): Likewise.
33161         [XPG3] (setgrent): Likewise.
33162         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33163         variable.
33164         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33166         [BZ #18527]
33167         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33168         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33169         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33170         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33171         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33172         * include/unistd.h (__getlogin_r): Declare.  Use
33173         libc_hidden_proto.
33174         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33175         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33176         variable.
33177         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33178         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33179         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33181 2015-06-12  Martin Sebor  <msebor@redhat.com>
33183         [BZ #18512]
33184         * Makerules (check-install-supported): New target.
33185         (install): Add check-install-supported as a dependency.
33186         * manual/install.texi (Installing the C Library): Document
33187         that overriding prefix and exec_prefix is not supported.
33188         Mention DESTDIR.
33189         * INSTALL: Regenerate from the above.
33191 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33193         [BZ #18519]
33194         * posix/Versions (libc): Export __libc_pread at version
33195         GLIBC_PRIVATE.
33196         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33197         instead of pread.
33198         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33199         variable.
33201         [BZ #18522]
33202         * misc/efgcvt_r.c
33203         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33204         (cvt_symbol): Use weak_alias instead of strong_alias.
33205         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33206         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33207         Remove variable.
33208         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33209         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33211         [BZ #18520]
33212         * inet/herrno.c (h_errno): Rename to __h_errno.
33213         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33214         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33215         to __h_errno instead of h_errno.
33216         * nptl/herrno.c (h_errno): Rename to __h_errno.
33217         (__h_errno_location): Refer to __h_errno not h_errno.
33218         * resolv/Versions (h_errno): Rename to __h_errno.
33219         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33220         Remove variable.
33221         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33223 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33225         * configure.ac: More strict check for AVX512 assembler support.
33226         * configure: Regenerated.
33228         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33229         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33231         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33233         * sysdeps/x86_64/fpu/Versions: New versions added.
33234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33235         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33236         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33237         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33239         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33240         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33241         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33242         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33243         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33244         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33245         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33246         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33247         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33248         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33249         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33250         test.
33251         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33252         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33254         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33255         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33256         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33257         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33258         * NEWS: Mention addition of x86_64 vector sin.
33260 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33262         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33263         comment.
33265 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
33267         [BZ #18479]
33268         * nptl/pt-interp.c: New file.
33269         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33270         Add pt-interp.
33271         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33272         $(common-objpfx)runtime-linker.h.
33274 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
33276         * Makeconfig (+interp): Remove unused variable.
33277         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33278         only.  Depend on $(common-objpfx)runtime-linker.h instead of
33279         $(elf-objpfx)runtime-linker.h.
33280         ($(elf-objpfx)runtime-linker.h): Rename to
33281         $(common-objpfx)runtime-linker.h and move ...
33282         * Makerules [$(build-shared) = yes]: ... here.
33283         * elf/interp.c: Include <runtime-linker.h> instead of
33284         <elf/runtime-linker.h>.
33286 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33288         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33289         (__gettimeofday_syscall): Remove vsyscall fallback.
33290         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33291         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33292         Add syscall fallback function.
33293         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33294         if vDSO is not present.
33295         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33296         fallback function.
33297         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33298         present.
33299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33300         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33302 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
33304         [BZ #18497]
33305         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33306         of wcscmp.
33307         (wcscmp): Define as weak alias of WCSCMP.
33308         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33309         wcscoll.
33310         (USE_HIDDEN_DEF): Define.
33311         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33312         __wcscoll.  Don't use libc_hidden_weak.
33313         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33314         wcscmp.
33315         * sysdeps/i386/i686/multiarch/wcscmp-c.c
33316         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33317         __GI_wcscmp.
33318         (weak_alias): Undefine and redefine.
33319         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33320         __wcscmp and define as weak alias of __wcscmp.
33321         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33322         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
33323         (__wcscoll): Likewise.
33324         (wcscmp): Don't use libc_hidden_proto.
33325         (wcscoll): Likewise.
33326         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33327         wcscoll.
33328         * posix/regexec.c (check_node_accept_bytes): Likewise.
33329         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33330         variable.
33331         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33332         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33334         [BZ #18507]
33335         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33336         __fstatvfs and define as weak alias of __fstatvfs.  Use
33337         libc_hidden_weak.
33338         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33339         and define as weak alias of __statvfs.  Use libc_hidden_weak.
33340         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33341         Define as alias of __fstatvfs, not fstatvfs.
33342         (fstatvfs64): Likewise.
33343         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33344         Define as alias of __statvfs, not statvfs.
33345         (statvfs64): Likewise.
33346         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33347         Remove variable.
33349 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33352         (HAVE_GETCPU_VSYSCALL): Define.
33353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33354         (HAVE_GETCPU_VSYSCALL): Likewise.
33355         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33356         * sysdeps/unix/sysv/linux/sched_getcpu.c
33357         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33358         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33359         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33360         prototype.
33361         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33362         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33365         Define.
33366         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33367         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33371 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
33373         * sysdeps/x86_64/fpu/Makefile: New file.
33374         * sysdeps/x86_64/fpu/Versions: New file.
33375         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33376         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33377         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33378         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33379         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33380         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33381         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33382         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33383         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33384         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33385         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33386         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33388         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33389         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33390         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33391         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33392         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33393         * sysdeps/x86_64/configure: Regenerated.
33394         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33395         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33396         * manual/install.texi (Configuring and compiling): Document
33397         --disable-mathvec.
33398         * INSTALL: Regenerated.
33399         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33401         * math/Makefile: Added rules for vector tests.
33402         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33403         declaration under condition.
33404         * math/test-double-vlen2.h: New file.
33405         * math/test-double-vlen4.h: New file.
33406         * math/test-double-vlen8.h: New file.
33407         * math/test-vec-loop.h: Added initialization macro.
33408         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33409         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33410         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33412         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33415         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33416         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33417         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33418         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33421         * sysdeps/x86_64/fpu/Versions: New versions added.
33422         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33425         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33426         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33427         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33428         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33429         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33430         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33431         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33432         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33433         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33434         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33436         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33437         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33438         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33439         * NEWS: Mention addition of x86_64 vector cosf.
33441         * math/Makefile: Added CFLAGS for new tests.
33442         * math/test-float-vlen16.h: New file.
33443         * math/test-float-vlen4.h: New file.
33444         * math/test-float-vlen8.h: New file.
33445         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33446         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33448         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33449         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33450         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33451         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33454         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33455         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33457 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33459         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33460         * locale/programs/ld-ctype.c: Likewise.
33462 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33464         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33465         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33466         bit_ZMM16_31_state): New macro.
33467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33468         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33470 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33472         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33474 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33476         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33478 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33480         [BZ #18498]
33481         * libio/memstream.c (open_memstream): Rename to __open_memstream
33482         and define as weak alias of __open_memstream.
33483         * include/stdio.h (__open_memstream): Declare.  Use
33484         libc_hidden_proto.
33485         (open_memstream): Don't use libc_hidden_proto.
33486         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33487         open_memstream.
33488         * posix/getopt.c (_getopt_internal_r): Likewise.
33489         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33490         variable.
33491         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33492         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33493         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33495         [BZ #18496]
33496         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33497         instead of wcrtomb.
33499         [BZ #18483]
33500         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33501         [__USE_XOPEN2K8].  Remove redundant #endif.
33502         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33503         Remove redundant #if.
33504         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33505         Remove variable.
33506         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33507         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33509         [BZ #18495]
33510         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33511         (__iswlower): Likewise.
33512         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33513         (__iswlower): Likewise.
33514         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33515         instead of towlower.
33516         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33517         instead of iswlower.  Call __towupper instead of towupper.
33518         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33519         instead of iswalnum.
33521 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33523         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33524         errors to stderr.
33526 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33528         [BZ #15661]
33529         [BZ #17322]
33530         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33531         Check for overflow properly.  Check for O_APPEND.  Ignore large
33532         file system block sizes.  Add comments about problems.
33533         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33534         * manual/filesys.texi (Storage Allocation): New node.
33536 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33538         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33539         cancellable syscalls.
33540         (SYS_ify): Add guard to no redefine it.
33541         (INLINE_SYSCALL): Likewise.
33542         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33543         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33544         SYSCALL_CANCEL instead.
33545         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33546         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33547         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33548         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33549         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33550         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33551         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33552         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33553         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33554         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33555         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33556         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33557         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33558         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33559         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33561         Likewise.
33562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33563         (__libc_pread64): Likewise.
33564         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33565         (__libc_preadv): Likewise.
33566         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33567         (__libc_readv64): Likewise.
33568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33569         (__libc_pwrite): Likewise.
33570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33571         (__libc_pwrite64): Likewise.
33572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33573         (__libc_pwritev): Likewise.
33574         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33575         (__libc_pwritev64): Likewise.
33576         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33577         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33578         (sync_file_range): Likewise.
33579         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33580         Likewise.
33581         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33582         Likewise.
33583         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33584         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33585         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33586         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33587         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33588         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33589         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33590         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33592         Likewise.
33593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33594         (__libc_read64): Likewise.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33596         Likewise.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33598         Likewise.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33600         Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33602         Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33604         (__libc_pread64): Likewise.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33606         Likewise.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33608         (__libc_pwrite64): Likewise.
33609         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33610         (sync_file_range): Likewise.
33611         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33612         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33613         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33614         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33615         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33616         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33617         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33618         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33619         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33620         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33621         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33622         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33623         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33624         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33625         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33626         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33627         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33628         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33629         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33630         Likewise.
33631         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33632         Likewise.
33633         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33634         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33635         Likewise.
33636         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33637         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33638         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33639         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33640         Likewise.
33641         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33642         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33643         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33644         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33645         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33647 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33649         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33650         Include dl-vdso.
33651         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33652         Use VDSO routines for gettimeofday, clock_gettime if
33653         available.
33654         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33655         Declare VDSO symbols.
33656         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33657         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33658         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33659         * sysdeps/unix/sysv/linux/arm/Versions: Add
33660         __vdso_clock_gettime.
33662 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33664         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33665         be an inline implementation regardless of library is built within.
33666         (open_not_cancel_2): Likewise.
33667         (__read_nocancel): Likewise.
33668         (__write_nocancel): Likewise.
33669         (openat_not_cancel): Likewise.
33670         (openat_not_cancel_3): Likewise.
33671         (openat64_not_cancel): Likewise.
33672         (openat64_not_cancel_3): Likewise.
33673         (__close_nocancel): Likewise.
33674         (pause_not_cancel): Likewise.
33675         (nanosleep_not_cancel): Likewise.
33676         (sigsuspend_not_cancel): Likewise.
33678 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33680         [BZ #14958]
33681         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33682         wake-up.
33683         (__pthread_rwlock_rdlock_slow): Likewise.
33684         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33685         Likewise.
33686         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33687         Likewise.
33688         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33689         * nptl/tst-rwlock16.c: New file.
33690         * nptl/Makefile (tests): Add new test.
33692 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33694         [BZ #18324]
33695         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33696         missing wake-up of readers.
33697         * nptl/tst-rwlock15.c: New file.
33698         * nptl/Makefile (tests): Add new test.
33700 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33702         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33703         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33704         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33705         and __nacl_supply_interface_rtld.
33706         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33707         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33708         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33709         Add __nacl_supply_interface_rtld.
33710         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33712 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33715         isfinite.
33716         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33717         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33719 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33721         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33722         __signbit* with standard C99 macros.
33723         * math/e_exp10l.c: Likewise.
33724         * math/e_exp2l.c: Likewise.
33725         * math/e_scalb.c: Likewise.
33726         * math/e_scalbf.c: Likewise.
33727         * math/e_scalbl.c: Likewise.
33728         * math/s_ldexp.c: Likewise.
33729         * math/s_ldexpf.c: Likewise.
33730         * math/s_ldexpl.c: Likewise.
33731         * math/w_atan2.c: Likewise.
33732         * math/w_atan2f.c: Likewise.
33733         * math/w_atan2l.c: Likewise.
33734         * math/w_cosh.c: Likewise.
33735         * math/w_coshf.c: Likewise.
33736         * math/w_coshl.c: Likewise.
33737         * math/w_exp10.c: Likewise.
33738         * math/w_exp10f.c: Likewise.
33739         * math/w_exp10l.c: Likewise.
33740         * math/w_exp2.c: Likewise.
33741         * math/w_exp2f.c: Likewise.
33742         * math/w_exp2l.c: Likewise.
33743         * math/w_fmod.c: Likewise.
33744         * math/w_fmodf.c: Likewise.
33745         * math/w_fmodl.c: Likewise.
33746         * math/w_hypot.c: Likewise.
33747         * math/w_hypotf.c: Likewise.
33748         * math/w_hypotl.c: Likewise.
33749         * math/w_jnl.c: Likewise.
33750         * math/w_lgamma.c: Likewise.
33751         * math/w_lgamma_r.c: Likewise.
33752         * math/w_lgammaf.c: Likewise.
33753         * math/w_lgammaf_r.c: Likewise.
33754         * math/w_lgammal.c: Likewise.
33755         * math/w_lgammal_r.c: Likewise.
33756         * math/w_pow.c: Likewise.
33757         * math/w_powf.c: Likewise.
33758         * math/w_powl.c: Likewise.
33759         * math/w_remainder.c: Likewise.
33760         * math/w_remainderf.c: Likewise.
33761         * math/w_remainderl.c: Likewise.
33762         * math/w_scalb.c: Likewise.
33763         * math/w_scalbf.c: Likewise.
33764         * math/w_scalbl.c: Likewise.
33765         * math/w_scalbln.c: Likewise.
33766         * math/w_scalblnf.c: Likewise.
33767         * math/w_scalblnl.c: Likewise.
33768         * math/w_sinh.c: Likewise.
33769         * math/w_sinhf.c: Likewise.
33770         * math/w_sinhl.c: Likewise.
33771         * math/w_tgamma.c: Likewise.
33772         * math/w_tgammaf.c: Likewise.
33773         * math/w_tgammal.c: Likewise.
33774         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33777         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33778         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33779         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33780         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33781         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33782         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33783         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33784         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33785         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33786         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33787         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33788         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33789         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33791         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33792         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33793         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33794         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33795         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33796         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33798         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33799         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33800         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33801         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33802         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33803         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33804         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33805         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33806         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33807         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33808         * stdio-common/printf_fp.c: Likewise.
33809         * stdio-common/printf_fphex.c: Likewise.
33810         * stdio-common/printf_size.c: Likewise.
33812 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33814         [BZ #18470]
33815         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33816         strnlen.
33817         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33818         Remove variable.
33819         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33820         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33821         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33822         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33823         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33824         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33825         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33826         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33827         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33828         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33830         [BZ #18468]
33831         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33832         weak alias of __wmemchr.  Use libc_hidden_weak.
33833         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33834         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33835         instead of wmemchr.
33837 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33839         [BZ #18383]
33840         * elf/tst-tlsalign-extern.c: New file.
33841         * elf/tst-tlsalign-extern-static.c: New file.
33842         * elf/tst-tlsalign-vars.c: New file.
33843         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33844         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33845         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33846         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33847         (test-xfail-tst-tlsalign-extern-static): New variable.
33849 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33851         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33852         Use variable name _sc_err instead of err.
33853         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33854         instead of ret.
33855         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33856         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33857         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33858         (INLINE_SYSCALL): Likewise.
33860         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33861         * include/string.h (__strnlen): Use libc_hidden_proto.
33862         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33863         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33864         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33865         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33866         (libc_hidden_def): Undefine and redefine.
33867         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33868         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33869         __GI_strnlen.
33870         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33871         libc_hidden_def.
33872         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33874         [BZ #18469]
33875         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33876         weak alias of __towlower.  Use libc_hidden_weak.
33877         (towupper): Rename to __towupper and define as weak alias of
33878         __towupper.  Use libc_hidden_weak.
33879         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33880         (__towupper): Likewise.
33881         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33882         __towlower instead of towlower.
33884 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33886         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33887         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33889 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33891         * sysdeps/aarch64/libm-test-ulps: Update.
33893 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33895         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33896         Define.
33897         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33899         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33900         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33901         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33902         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33903         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33905 2015-06-01  Martin Sebor  <msebor@redhat.com>
33907         [BZ #18116]
33908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33909         (__setcontext): Use extended four-operand version of mtsf whenever
33910         possible.
33911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33912         (__novec_swapcontext): Likewise.
33914 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33916         * benchtests/scripts/compare_bench.py: New file.
33917         * benchtests/scripts/import_bench.py (mean): New function.
33918         (split_list): Likewise.
33919         (do_for_all_timings): Likewise.
33920         (compress_timings): Likewise.
33922         * benchtests/scripts/import_bench.py: New file.
33923         * benchtests/scripts/validate_benchout.py: Import import_bench
33924         instead of jsonschema.
33925         (validate_bench): Remove function.
33926         (main): Use import_bench.
33928 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33930         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33931         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33933 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33937 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33939         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33940         set THREAD_SELF->tid to a magic value and futex-wake it.
33941         Pass its address to the thread_exit system call.
33942         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33943         bit is clear.
33944         * sysdeps/nacl/lowlevellock.h: New file.
33945         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33947         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33948         Add TIMEOUT to current time, don't subtract it.
33950 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33952         [BZ #2981]
33953         [BZ #18422]
33954         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33955         ($(objpfx)tst-audit2.out): Also depend on
33956         $(objpfx)tst-auditmod9b.so.
33957         * elf/tst-audit2.c: Include <dlfcn.h>.
33958         (calloc_called): New.
33959         (calloc): Allow to be called more than once.
33960         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33962 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33964         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33965         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33967 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33969         * stdlib/monetary.h: Fix comment.
33971 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33973         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33974         Avoid using variables in #defines that might cause shadowing.
33975         (INTERNAL_VSYSCALL_CALL): Likewise.
33977 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33979         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33981         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33982         * nptl/lll_timedlock_wait.c: ... to this new file.
33983         * nptl/Makefile (libpthread-routines): Add it.
33984         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33985         * nptl/lll_timedwait_tid.c: ... to this new file.
33986         * nptl/Makefile (libpthread-routines): Add it.
33987         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33988         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33989         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33990         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33991         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33992         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33993         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33994         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33995         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33996         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33998 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34000         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34001         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34002         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34004         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34006         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34008         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34009         * sysdeps/unix/sysv/linux/tile/sysdep.h
34010         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34011         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34012         using vDSO syscall macro.
34014 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34016         [BZ #17293]
34017         * uk_UA: Fix sorting order for Ukrainian locale
34019 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34021         * stdlib/monetary.h: Fix comment.
34023 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34025         [BZ #18234]
34026         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34027         st_mtim and st_ctim members.
34028         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34029         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34030         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34031         (struct stat64): Likewise.
34032         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34033         (struct stat64): Likewise.
34034         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34035         (struct stat64): Likewise.
34037 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34039         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34040         Define and include sysdep-vdso.h.
34041         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34042         Likewise.
34043         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34044         Likewise.
34045         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34046         Define with VDSO_SYMBOL and use PTR_MANGLE.
34047         (__vdso_clock_gettime): Likewise.
34048         (__vdso_clock_getres): Likewise.
34049         (_libc_vdso_platform_setup): Likewise.
34050         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34051         Likewise.
34052         (_libc_vdso_platform_setup): Likewise.
34053         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34054         Likewise.
34055         (__vdso_clock_gettime): Likewise.
34056         (__vdso_clock_getres): Likewise.
34057         (__vdso_get_tbfreq): Likewise.
34058         (__vdso_getcpu): Likewise.
34059         (__vdso_time): Likewise.
34060         (__vdso_sigtramp_rt64): Likewise.
34061         (__vdso_signtramp32): Likewise.
34062         (__vdso_sigtramp_rt32): Likewise.
34063         (_libc_vdso_platform_setup): Likewise.
34064         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34065         Likewise.
34066         (__vdso_clock_gettime): Likewise.
34067         (__vdso_clock_getres): Likewise.
34068         (_libc_vdso_platform_setup): Likewise.
34069         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34070         Likewise.
34071         (__vdso_clock_gettime): Likewise.
34072         (_libc_vdso_platform_setup): Likewise.
34073         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34074         Likewise.
34075         (__vdso_getcpu): Likewise.
34076         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34077         Use VDSO_SYMBOL macro to define.
34078         (__vdso_clock_gettime): Likewise.
34079         (__vdso_clock_getres): Likewise.
34080         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34081         Likewise.
34082         (__vdso_clock_gettime): Likewise.
34083         (__vdso_clock_getres): Likewise.
34084         (__vdso_get_tbfreq): Likewise.
34085         (__vdso_getcpu): Likewise.
34086         (__vdso_time): Likewise.
34087         (__vdso_sigtramp_rt64): Likewise.
34088         (__vdso_signtramp32): Likewise.
34089         (__vdso_sigtramp_rt32): Likewise.
34090         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34091         Likewise.
34092         (__vdso_clock_gettime): Likewise.
34093         (__vdso_clock_getres): Likewise.
34094         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34095         Likewise.
34096         (__vdso_clock_gettime): Likewise.
34097         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34098         Likewise.
34099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34100         macro.
34101         (INTERNAL_VSYSCALL): Likewise.
34102         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34103         Remove macro.
34104         (INTERNAL_VSYSCALL): Likewise.
34105         (INTERNAL_VSYSCALL_NCS): Likewise.
34106         (INTERNAL_VSYSCALL_CALL): New macro.
34107         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34109         Likewise.
34110         (INTERNAL_VSYSCALL): Likewise.
34111         (INTERNAL_VSYSCALL_NCS): Likewise.
34112         (INTERNAL_VSYSCALL_CALL): New macro.
34113         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34115         (INLINE_VSYSCALL): Remove macro.
34116         (INTERNAL_VSYSCALL): Remove macro.
34117         (INTERNAL_VSYSCALL_NCS): Remove macro.
34118         (INTERNAL_VSYSCALL_CALL): New macro.
34119         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34120         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34121         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34122         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34123         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34125         (INLINE_VSYSCALL): Remove macro.
34126         (INTERNAL_VSYSCALL): Likewise.
34127         (INTERNAL_VSYSCALL_NCS): Likewise.
34128         (INTERNAL_VSYSCALL_CALL): New macro.
34129         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34130         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34131         PTR_DEMANGLE on vDSO pointer.
34132         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34133         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34134         macro.
34135         (INTERNAL_SYSCALL): Likewise.
34136         (INTERNAL_VSYSCALL_NCS): Remove macro.
34137         (INTERNAL_VSYSCALL_CALL): New macro.
34138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34139         Remove macro.
34140         (INTERNAL_VSYSCALL): Likewise.
34141         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34142         sysdep-vdso.h instead of libc-vdso.h.
34143         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34144         definition.
34145         (INLINE_VSYSCALL): Likewise.
34146         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34147         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34148         definition.
34149         (INLINE_VSYSCALL): Likewise.
34150         (INTERNAL_VSYSCALL): Likewise.
34151         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34152         * sysdeps/unix/sysv/linux/timespec_get.c
34153         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34154         (timespec_get): Use ANSI prototype.
34155         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34156         and definition for Linux.
34158 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34160         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34161         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34163 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34165         [BZ #2981]
34166         [BZ #18410]
34167         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34168         for missing DT_PLTRELSZ.
34170 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34172         Remove obsolete aliases that broke 'locale -a'
34173         [BZ #18412]
34174         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34175         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34176         breaking some applications that use 'locale -a' output.
34177         Change the encoding of this file from Latin-1 to ASCII to avoid
34178         other potential problems with people grepping this file.
34180 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34182         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34183         -fasynchronous-unwind-tables.
34184         (CFLAGS-sendto.c): Likewise.
34185         (CFLAGS-sendmsg.c): Likewise.
34186         (CFLAGS-connect.c): Likewise.
34187         (CFLAGS-recvmsg.c): Likewise.
34188         (CFLAGS-recvfrom.c): Likewise.
34189         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34190         (SOCKETCALL): New macro: non-cancellable socketcall.
34191         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34192         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34193         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34194         * sysdeps/unix/sysv/linux/accept.c: New file.
34195         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34196         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34197         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34198         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34199         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34200         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34201         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34202         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34203         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34204         * sysdeps/unix/sysv/linux/send.c: Likewise.
34205         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34206         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34207         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34208         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34209         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34210         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34211         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34212         prototype.
34213         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34214         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34215         instead of __internal_xxx function.
34216         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34217         prototype.
34218         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34219         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34220         instead of __internal_xxx function.
34221         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34222         prototype.
34223         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34224         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34225         instead of __internal_xxx function.
34226         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34227         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34228         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34229         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34230         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34231         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34232         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34233         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34234         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34235         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34236         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34237         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34238         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34239         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34240         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34241         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34242         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34243         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34244         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34245         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34248         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34249         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34250         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34251         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34252         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34253         * sysdeps/unix/sysv/linux/send.S: Likewise.
34254         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34255         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34256         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34257         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34258         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34259         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34260         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34261         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34262         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34263         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34264         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34265         socketcall is implemented in GLIBC.
34267 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34269         * soft-fp/fmadf4.c: Include <libc-internal.h>.
34270         (__fma): Ignore uninitialized warnings around packing.
34271         * soft-fp/fmasf4.c: Include <libc-internal.h>.
34272         (__fmaf): Ignore uninitialized warnings around packing.
34273         * soft-fp/fmatf4.c: Include <libc-internal.h>.
34274         (__fmal): Ignore uninitialized warnings around packing.
34276         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34277         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34278         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34279         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34281         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34282         switch statement into default case.
34283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34285         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34286         a conditional in forcing "inexact".
34287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34288         Likewise.
34290 2015-05-22  Roland McGrath  <roland@hack.frob.com>
34292         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34293         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34294         for each INTERNAL_SYSCALL use.
34296 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34298         [BZ #438]
34299         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34300         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34301         variable.
34303         [BZ #18444]
34304         * string/basename.c (basename): Rename to __basename and define as
34305         weak alias of __basename.  Use libc_hidden_weak.
34306         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
34307         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34308         __basename instead of basename.
34309         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34310         Remove variable.
34311         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34313 2015-05-18  Florian Weimer  <fweimer@redhat.com>
34315         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34316         (_IO_JUMPS_FILE_plus): New.
34317         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34318         _IO_CAST_FIELD_ACCESS.
34319         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34320         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34321         * libio/freopen.c (freopen): Likewise.
34322         * libio/freopen64.c (freopen64): Likewise.
34323         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34324         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34325         * libio/iofwide.c (_IO_fwide): Likewise.
34326         * libio/memstream.c (open_memstream): Likewise.
34327         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34328         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34329         * libio/oldiopopen.c (_IO_old_popen): Likewise.
34331 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
34333         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34334         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34335         NADJ.
34336         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34337         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34338         NADJ.
34339         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34340         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34341         NADJ.
34343         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34344         (p == 4) case.
34346         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34347         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34348         Remove variable.
34349         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34350         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34351         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34353 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34355         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34356         Adjust jump table label generation macros.
34358 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34360         * stdio-common/vfprintf.c (vfprintf): Move local variables
34361         args_malloced, specs, specs_malloced, and the code after
34362         do_positional to the printf_positional function.
34363         (printf_positional): New function.
34365 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34367         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34368         function.
34369         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34370         STEP4_TABLE, process_arg): Move macro definitions
34371         out of the vfprintf function.  (Cosmetic change only.)
34373 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
34375         * benchtests/Makefile (stdio-common-bench): Define.
34376         (benchset): Add stdio-common-bench.
34377         * sprintf-inputs: New file.
34378         * sprintf-source.c: New file.
34380 2015-05-21  Andreas Schwab  <schwab@suse.de>
34382         [BZ #13028]
34383         [BZ #17053]
34384         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34385         of struct __res_state.
34386         * resolv/res_send.c (__libc_res_nsend): Likewise.
34387         (get_nsaddr): New function.
34388         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34389         statp directly.
34391 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34393         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34394         -D_POSIX_C_SOURCE=199506L.
34396         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34398         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34399         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34400         Do not mention otherwise.
34401         [POSIX] (_XOPEN_VERSION): Do not expect.
34402         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34403         [POSIX] (_POSIX2_C_BIND): Likewise.
34404         [POSIX] (_POSIX2_VERSION): Likewise.
34405         [POSIX] (_XOPEN_XPG2): Likewise.
34406         [POSIX] (_XOPEN_XPG3): Likewise.
34407         [POSIX] (_XOPEN_XPG4): Likewise.
34408         [POSIX] (_XOPEN_UNIX): Likewise.
34409         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34410         [POSIX] (_POSIX_BARRIERS): Likewise.
34411         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34412         [POSIX] (_POSIX_CPUTIME): Likewise.
34413         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34414         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34415         [POSIX] (_POSIX_SHELL): Likewise.
34416         [POSIX] (_POSIX_SPAWN): Likewise.
34417         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34418         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34419         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34420         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34421         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34422         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34423         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34424         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34425         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34426         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34427         [POSIX] (_POSIX2_PBS): Likewise.
34428         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34429         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34430         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34431         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34432         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34433         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34434         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34435         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34436         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34437         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34438         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34439         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34440         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34441         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34442         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34443         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34444         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34445         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34446         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34447         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34448         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34449         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34450         [POSIX] (_SC_2_C_BIND): Likewise.
34451         [POSIX] (_SC_2_C_VERSION): Likewise.
34452         [POSIX] (_SC_2_PBS): Likewise.
34453         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34454         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34455         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34456         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34457         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34458         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34459         [POSIX] (_SC_BARRIERS): Likewise.
34460         [POSIX] (_SC_BASE): Likewise.
34461         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34462         [POSIX] (_SC_DEVICE_IO): Likewise.
34463         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34464         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34465         [POSIX] (_SC_FD_MGMT): Likewise.
34466         [POSIX] (_SC_FIFO): Likewise.
34467         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34468         [POSIX] (_SC_FILE_LOCKING): Likewise.
34469         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34470         [POSIX] (_SC_IOV_MAX): Likewise.
34471         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34472         [POSIX] (_SC_NETWORKING): Likewise.
34473         [POSIX] (_SC_PAGE_SIZE): Likewise.
34474         [POSIX] (_SC_PASS_MAX): Likewise.
34475         [POSIX] (_SC_PIPE): Likewise.
34476         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34477         [POSIX] (_SC_REGEXP): Likewise.
34478         [POSIX] (_SC_SHELL): Likewise.
34479         [POSIX] (_SC_SIGNALS): Likewise.
34480         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34481         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34482         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34483         [POSIX] (_SC_USER_GROUPS): Likewise.
34484         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34485         [POSIX] (_SC_STREAMS): Likewise.
34486         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34487         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34488         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34489         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34490         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34491         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34492         [POSIX] (_PC_FILESIZEBITS): Likewise.
34493         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34494         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34495         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34496         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34497         [POSIX] (uid_t): Likewise.
34498         [POSIX] (gid_t): Likewise.
34499         [POSIX] (off_t): Likewise.
34500         [POSIX] (pid_t): Likewise.
34501         [POSIX] (cuserid): Allow.
34502         (_SC_2_CHAR_TERM): Require constant.
34503         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34504         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34505         variable.
34507 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34509         * sysdeps/nacl/pthread-pids.h: New file.
34510         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34511         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34513         * nptl/pthread-pids.h: New file.
34514         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34515         * nptl/nptl-init.c: Include <pthread-pids.h>.
34516         (__pthread_initialize_minimal_internal):
34517         Call __pthread_initialize_pids instead of set_tid_address syscall.
34519         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34520         * sysdeps/posix/usleep.c: ... here.
34522 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34524         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34525         call_pselect6 object.
34526         [$(subdir) = io]: Remove call_sync_file_range object.
34527         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34528         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34529         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34530         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34532 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34534         * math/s_cproj.c: Add include "math_private.h".
34535         * math/s_cprojf.c: Likewise.
34536         * math/s_cprojl.c: Likewise.
34538 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34540         [BZ #18244]
34541         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34542         high mantissa bit when testing whether P is a NaN.
34543         * math/libm-test.inc (remainder_test_data): Add more tests.
34544         (remquo_test_data): Likewise.
34546         [BZ #18049]
34547         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34548         below -32, return the argument, with underflow if subnormal.
34549         * math/auto-libm-test-in: Add more tests of atanh.
34550         * math/auto-libm-test-out: Regenerated.
34552 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34554         [BZ #18434]
34555         * nptl/tst-sem15.c: New file.
34556         * nptl/Makefile (tests): Add it.
34557         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34558         s/<</>>/ to fix typo in EOVERFLOW check.
34559         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34561 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34563         * manual/strings.texi (envz_remove): Fix typo in safety
34564         annotations.
34566 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34567             Steve Ellcey  <sellcey@imgtec.com>
34569         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34570         in order to avoid strict alias warnings.
34571         (iruserok_af): Ditto for ra.
34573 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34575         [BZ #17581]
34576         * malloc/hooks.c
34577         (magicbyte): Convert to a function and avoid returning 0x01.
34578         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34579         (mem2chunk_check): Fix unsigned comparisons to zero.
34580         Hoist defs of sz and magic.
34582 2015-05-19  Richard Henderson  <rth@redhat.com>
34584         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34586         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34588 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34590         [BZ #16159]
34591         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34592         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34593         (reused_arena): Find a non-corrupt arena.
34594         (heap_trim): Pass arena to unlink.
34595         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34596         malloc_printerr.
34597         (top_check): Likewise.
34598         (free_check): Likewise.
34599         (realloc_check): Likewise.
34600         * malloc/malloc.c (malloc_printerr): Add arena argument.
34601         (unlink): Likewise.
34602         (munmap_chunk): Adjust.
34603         (ARENA_CORRUPTION_BIT): New macro.
34604         (arena_is_corrupt): Likewise.
34605         (set_arena_corrupt): Likewise.
34606         (sysmalloc): Use mmap if there are no usable arenas.
34607         (_int_malloc): Likewise.
34608         (__libc_malloc): Don't fail if arena_get returns NULL.
34609         (_mid_memalign): Likewise.
34610         (__libc_calloc): Likewise.
34611         (__libc_realloc): Adjust for additional argument to
34612         malloc_printerr.
34613         (_int_free): Likewise.
34614         (malloc_consolidate): Likewise.
34615         (_int_realloc): Likewise.
34616         (_int_memalign): Don't touch corrupt arenas.
34617         * malloc/tst-malloc-backtrace.c: New test case.
34619         * Makefile (summarize-tests): Fix return value on success.
34621         * manual/string.texi (Envz Functions): Add envz_remove.
34623 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34625         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34626         (invalid_name): New function, broken out of ...
34627         (__opendirat): ... here.  Call it.
34628         (need_isdir_precheck): New function, broken out of ...
34629         (__opendirat): ... here.  Call it.
34630         Use __fxstatat64, not __xstatat64.
34631         (opendir_oflags): New function, broken out of ...
34632         (__opendirat): ... here.  Call it.
34633         (opendir_tail): New function, broken out of ...
34634         (__opendirat): ... here.  Call it.
34635         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34636         opendir_tail, rather than punting to __opendirat.
34637         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34639 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34641         * .gitignore: Ignore generated *.pyc.
34643 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34645         * include/stdio.h: Define __need_wint_t.
34646         * test-skeleton.c: Avoid `for' loop initial declaration.
34647         * nptl/tst-initializers1.c: Use test-skeleton.c.
34649 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34651         [BZ #18418]
34652         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34654 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34656         [BZ #16352]
34657         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34658         (__ieee754_atanh): Force underflow exception for results with
34659         small absolute value.
34660         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34661         (__ieee754_atanhf): Force underflow exception for results with
34662         small absolute value.
34663         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34664         (__ieee754_atanh): Force underflow exception for results with
34665         small absolute value.
34666         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34667         (__ieee754_atanhf): Force underflow exception for results with
34668         small absolute value.
34669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34670         (__ieee754_atanhl): Force underflow exception for results with
34671         small absolute value.
34672         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34673         (__ieee754_atanhl): Force underflow exception for results with
34674         small absolute value.
34675         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34676         (__ieee754_atanhl): Force underflow exception for results with
34677         small absolute value.
34678         * math/auto-libm-test-in: Do not allow missing underflow
34679         exceptions from atanh.
34680         * math/auto-libm-test-out: Regenerated.
34682         [BZ #18221]
34683         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34684         2**-28 as threshold for returning x or +/- 1/x.
34685         * math/auto-libm-test-in: Add more tests of tan.
34686         * math/auto-libm-test-out: Regenerated.
34688         [BZ #18220]
34689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34690         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34691         * math/auto-libm-test-in: Add another test of lgamma.
34692         * math/auto-libm-test-out: Regenerated.
34694 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34696         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34697         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34698         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34699         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34700         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34701         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34702         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34703         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34705         (log1): Use fabs.  (my_log2): Use fabs.
34706         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34707         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34708         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34709         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34711         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34712         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34713         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34714         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34715         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34716         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34718 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34720         [BZ #18217]
34721         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34722         as threshold for returning 1 - x.
34723         * math/auto-libm-test-in: Add more tests of erfc.
34724         * math/auto-libm-test-out: Regenerated.
34726 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34728         [BZ #18196]
34729         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34730         threshold for large arguments.
34731         * math/auto-libm-test-in: Add another test of atan.
34732         * math/auto-libm-test-out: Regenerated.
34734         [BZ #16339]
34735         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34736         (__log1p): Force underflow exception for results with small
34737         absolute value.
34738         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34739         (__log1pf): Force underflow exception for results with small
34740         absolute value.
34741         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34742         (__log1p): Force underflow exception for results with small
34743         absolute value.
34744         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34745         (__log1pf): Force underflow exception for results with small
34746         absolute value.
34747         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34748         (__log1pl): Force underflow exception for results with small
34749         absolute value.
34750         * math/auto-libm-test-in: Do not allow missing underflow
34751         exceptions from log1p.
34752         * math/auto-libm-test-out: Regenerated.
34754 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34755             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34757         [BZ #16704]
34758         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34760 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34762         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34763         (libmvec): New variable.
34764         * configure.ac: Added option for mathvec build.
34765         * configure: Regenerated.
34766         * mathvec/Depend: New file.
34767         * mathvec/Makefile: New file.
34768         * shlib-versions: Added libmvec.
34769         * math/Makefile: Added rule for libm.so installation.
34771         * bits/math-vector.h: New file.
34772         * bits/libm-simd-decl-stubs.h: New header.
34773         * math/Makefile (headers): Added new header
34774         libm-simd-decl-stubs.h.
34775         * math/math.h (__MATHCALL_VEC): New macro.
34777         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34778         for conditions in testing functions.
34779         * math/Makefile: Added call of libm-have-vector-test.sh.
34780         * math/libm-test.inc (HAVE_VECTOR): New macros.
34782         * math/libm-test.inc: START refactored.
34783         * math/test-double.c (TEST_MATHVEC): Add define.
34784         * math/test-float.c: Likewise.
34785         * math/test-idouble.c: Likewise.
34786         * math/test-ifloat.c: Likewise.
34787         * math/test-ildoubl.c: Likewise.
34788         * math/test-ldouble.c: Likewise.
34789         * sysdeps/generic/math-tests-arch.h
34790         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34791         architecture check.
34793         * math/test-double.c (FUNC_TEST): New macro.
34794         * math/test-float.c: Likewise.
34795         * math/test-idouble.c: Likewise.
34796         * math/test-ifloat.c: Likewise.
34797         * math/test-ildoubl.c: Likewise.
34798         * math/test-ldouble.c: Likewise.
34799         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34801 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34803         * sysdeps/nacl/fdopendir.c: New file.
34805         * dirent/scandir-tail.c: New file.
34806         * dirent/scandir64-tail.c: New file.
34807         * dirent/Makefile (routines): Add them.
34808         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34809         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34810         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34811         [!SCANDIR] (SCANDIR_TAIL): New macro.
34812         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34813         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34814         (SCANDIRAT): Macro removed.
34815         (SCANDIR_TAIL): New macro.
34816         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34817         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34818         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34819         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34820         (READDIR): Macro removed.
34821         (SCANDIR_TAIL): New macro.
34822         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34823         (SCANDIR_TAIL): New macro.
34825         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34826         * dirent/scandir-cancel.c: ... to this new file.
34827         * dirent/Makefile (routines): Add it.
34828         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34829         * sysdeps/unix/sysv/linux/i386/scandir64.c
34830         (SKIP_SCANDIR_CANCEL): Macro removed.
34831         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34833         * dirent/tst-scandir.c: New file.
34834         * dirent/tst-scandir64.c: New file.
34835         * dirent/Makefile (tests): Add them.
34837 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34839         [BZ #18409]
34840         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34842 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34844         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34845         list.
34847 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34849         * benchtests/bench-strcoll.c: New benchmark.
34850         * benchtests/Makefile: Generate locales and run benchmark.
34851         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34852         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34853         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34854         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34855         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34856         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34857         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34858         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34859         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34860         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34861         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34862         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34863         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34864         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34865         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34866         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34867         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34868         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34869         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34870         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34871         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34872         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34873         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34874         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34876 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34878         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34879         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34881 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34883         * posix/uname-values.h: New file.
34884         * posix/uname.c: Include that instead of <config-name.h>.
34885         * sysdeps/nacl/uname-values.h: New file.
34886         * sysdeps/arm/nacl/uname-values.h: New file.
34888 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34890         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34891         splitting into fields.
34893 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34895         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34896         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34897         * locale/localeinfo.h: Add enum collation_encoding_type.
34898         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34899         * programs/ld-collate.c (collate_output): Add encoding type info.
34900         * string/strcoll_l.c (STRDIFF): New function.
34901         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34902         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34904 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34906         [BZ #18397]
34907         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34908         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34909         <fpu_control.h> instead of <math/fpu_control.c>.
34910         * sysdeps/mips/mips32/fpu/Makefile: New file.
34912 2015-05-11  Andreas Schwab  <schwab@suse.de>
34914         [BZ #18007]
34915         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34916         nss_endgrent.
34917         (_nss_compat_endgrent): Call nss_endgrent.
34918         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34919         nss_endpwent.
34920         (_nss_compat_endpwent): Call nss_endpwent.
34921         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34922         needent, call nss_setspent only if non-zero.
34923         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34924         (internal_endspent): Don't call nss_endspent.
34925         (_nss_compat_endspent): Call nss_endspent.
34926         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34927         Remove.  All uses removed.
34928         (internal_setent): Remove parameter stayopen, add parameter
34929         stream.  Use it instead of global variable.
34930         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34931         (internal_endent, internal_getent): Add parameter stream.  Use it
34932         instead of global variable.
34933         (CONCAT(_nss_files_end,ENTNAME))
34934         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34935         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34936         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34937         uses removed.
34938         (internal_setent, internal_endent): Add parameter stream.  Use it
34939         instead of global variable.
34940         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34941         stream.
34942         (get_next_alias): Add parameter stream.
34943         (_nss_files_getaliasent_r): Pass global stream.
34944         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34945         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34946         (_nss_files_gethostbyname4_r): Pass local stream to
34947         internal_setent, internal_getent and internal_endent.  Remove
34948         locking.
34950 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34952         * tst-strfmon1.c (tests): Update expected currency symbol.
34954 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34956         * sysdeps/nacl/gethostname.c: New file.
34958 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34960         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34961         and sinh.
34962         * math/auto-libm-test-out: Regenerated.
34963         * sysdeps/i386/fpu/libm-test-ulps: Update.
34964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34968         [BZ #18125]
34969         * stdlib/tst-setcontext3.c: New file.
34970         * stdlib/tst-setcontext3.sh: New file.
34971         * stdlib/Makefile (tests): Add tst-setcontext3.
34972         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34973         to verify test program created output file.
34974         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34975         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34976         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34977         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34979 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34981         [BZ #18383]
34982         * elf/tst-tlsalign.c: New file.
34983         * elf/tst-tlsalign-static.c: New file.
34984         * elf/tst-tlsalign-lib.c: New file.
34985         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34986         (tests-static): Add tst-tlsalign-static.
34987         (modules-names): Add tst-tlsalign-lib.
34988         (test-xfail-tst-tlsalign): New variable.
34989         (test-xfail-tst-tlsalign-static): New variable.
34991         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34992         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34994 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34996         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34997         csqrt, erfc, sin and sincos.
34998         * math/auto-libm-test-out: Regenerated.
34999         * sysdeps/i386/fpu/libm-test-ulps: Update.
35000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35002 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35004         * sysdeps/aarch64/libm-test-ulps: Update.
35006 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35008         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35009         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35010         * math/auto-libm-test-out: Regenerated.
35011         * sysdeps/i386/fpu/libm-test-ulps: Update.
35012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35014 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35016         [BZ #18265]
35017         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35018         (wcsncpy): Likewise.
35020 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35022         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35023         Assume __ASSUME_FALLOCATE is always true.
35024         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35025         (__posix_fallocate64_l64): Likewise.
35026         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35027         (posix_fallocate): Likewise.
35028         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35029         (__posix_fallocate64_l64): Likewise.
35030         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35031         [!__ASSUME_FALLOCATE]: Add comment.
35033 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35035         * sysdeps/unix/sysv/linux/i386/Makefile
35036         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35037         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35038         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35039         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35040         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35041         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35042         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35044 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35046         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35047         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35048         tgamma.
35049         * math/auto-libm-test-out: Regenerated.
35050         * sysdeps/i386/fpu/libm-test-ulps: Update.
35051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35053 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35055         * math/auto-libm-test-in: Add more tests of tgamma.
35056         * math/auto-libm-test-out: Regenerated.
35057         * sysdeps/i386/fpu/libm-test-ulps: Update.
35058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35060         * math/auto-libm-test-in: Add more tests of tanh.
35061         * math/auto-libm-test-out: Regenerated.
35062         * sysdeps/i386/fpu/libm-test-ulps: Update.
35063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35065         * math/auto-libm-test-in: Add more tests of tan.
35066         * math/auto-libm-test-out: Regenerated.
35067         * sysdeps/i386/fpu/libm-test-ulps: Update.
35068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35070         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35071         * math/auto-libm-test-out: Regenerated.
35072         * sysdeps/i386/fpu/libm-test-ulps: Update.
35073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35075         * math/auto-libm-test-in: Add another test of pow.
35076         * math/auto-libm-test-out: Regenerated.
35077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35079         * math/auto-libm-test-in: Add more tests of lgamma.
35080         * math/auto-libm-test-out: Regenerated.
35081         * sysdeps/i386/fpu/libm-test-ulps: Update.
35082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35084         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35085         log1p.
35086         * math/auto-libm-test-out: Regenerated.
35087         * sysdeps/i386/fpu/libm-test-ulps: Update.
35088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35090 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35092         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35093         Elf64_Chdr structs and ELFCOMPRESS constants.
35095 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35097         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35098         expm1.
35099         * math/auto-libm-test-out: Regenerated.
35100         * sysdeps/i386/fpu/libm-test-ulps: Update.
35101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35103         * math/auto-libm-test-in: Add more tests of erf and erfc.
35104         * math/auto-libm-test-out: Regenerated.
35105         * sysdeps/i386/fpu/libm-test-ulps: Update.
35106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35108 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35110         * config.h.in (HAVE_AARCH64_BE): Add.
35112 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35114         * math/auto-libm-test-in: Add more tests of csqrt.
35115         * math/auto-libm-test-out: Regenerated.
35116         * sysdeps/i386/fpu/libm-test-ulps: Update.
35117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35119         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35120         * math/auto-libm-test-out: Regenerated.
35121         * sysdeps/i386/fpu/libm-test-ulps: Update.
35122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35124         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35126 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35128         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35129         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35131         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35132         (euidaccess, eaccess): Define as weak aliases.
35134         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35135         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35136         but __suseconds_t is often 'long int' so some sources assume that
35137         type is being used (e.g. they use %ld to print tv_usec).
35139 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35141         [BZ #18007]
35142         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35143         (CVE-2014-8121)
35144         * nss/tst-nss-getpwent.c: New file.
35145         * nss/Makefile (tests): Add new test.
35147 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35149         [BZ #18346]
35150         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35151         exponents less than 48 as cases where high part of mantissa needs
35152         examining to determine whether argument is integral.
35153         * math/libm-test.inc (round_test_data): Add more tests.
35155 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35157         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35159 2015-04-27  David S. Miller  <davem@davemloft.net>
35161         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35162         __tls_get_addr.
35163         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35165 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35167         [BZ #18333]
35168         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35170 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35172         [BZ #18333]
35173         * time/tzset.c (parse_tzname): Return error on memory allocation
35174         failure.
35175         * test-skeleton.c (struct temp_name_list): Change type of name
35176         member to non-const.
35177         (add_temp_file): Create a copy of the file name.
35178         (delete_temp_files): Deallocate memory.
35179         (create_temp_file): Add comment.
35181 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35183         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35184         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35186 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35188         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35189         * sysdeps/arm/configure: Regenerated.
35191 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35193         [BZ #17715]
35194         * time/tzfile.c (__tzfile_read): Check for large values of
35195         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35196         * time/tzset.c (__tzstring_len): New function, based on the old
35197         __tzstring function.
35198         (__tzstring): Call __tzstring_len.
35199         (parse_tzname): New helper function extracted from
35200         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35201         the input string.
35202         (parse_offset): New helper function extracted from
35203         __tzset_parse_tz.  Replace switch with fallthrough with
35204         initialization before sscanf.
35205         (parse_rule): Likewise.
35206         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35207         new-style function definition.
35208         * timezone/Makefile (tests): Add tst-tzset.
35209         (tst-tzset.out): Dependencies on time zone files.
35210         (tst-tzset-ENV): Set TZDIR.
35211         (testdata/XT%): Copy crafted time zone files.
35212         * timezone/README: Mention crafted time zone files.
35213         * timezone/testdata/XT1, timezone/testdata/XT2,
35214         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35215         files.
35216         * timezone/tst-tzset.c: New test.
35218 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35220         * Makeconfig (+gccwarn): Remove -Winline.
35222 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35224         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35226 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35228         * NEWS: Mention sysconf() cache information support for s390.
35229         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35231 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35233         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35234         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35235         (__nearbyint): Likewise.
35236         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35237         (copysignl): Likewise.
35239 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35241         [BZ #18287]
35242         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35243         based on padding.  (CVE-2015-1781)
35245 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35247         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35248         libc-vdso.h.
35249         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35250         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35251         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35252         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35253         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35254         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35256         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35257         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35258         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35259         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35260         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35261         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35262         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35263         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35264         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35265         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35266         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35267         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35268         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35269         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35270         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35271         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35273 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
35275         * stdlib/setenv.c (__add_to_environ):
35276         Dump core quickly if setenv (..., NULL, ...) is called.
35277         This time, do it the right way, and pacify GCC with a pragma.
35279 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35281         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35282         IMAP->l_prev cannot be null, and #if out the code for the contrary
35283         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35284         believe that NS (&_dl_ns[NSID]) could point outside the array.
35286         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35287         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35288         before using NSID as an index.
35290 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
35292         [BZ #17825]
35293         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35294         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35295         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35297 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35299         Add preliminary port to Google Native Client on ARM.
35300         * abi-tags (.*-.*-nacl.*): New entry.
35301         * sysdeps/arm/nacl: New directory.
35302         * sysdeps/nacl: New directory.
35304 2015-04-16  David S. Miller  <davem@davemloft.net>
35306         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35307         lowlevellock-futex.h
35309 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
35311         * sysdeps/tile/configure.ac: New file.
35312         * sysdeps/tile/configure: Regenerated.
35314 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35316         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
35317         conditionals for weak_alias and libc_hidden_weak.
35318         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35319         libc_hidden_weak and weak_alias.
35320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35321         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35322         and weak_alias for static one.
35324 2015-04-15  David S. Miller  <davem@davemloft.net>
35326         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35328 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35330         [BZ #18206]
35331         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35332           Use signed comparision instead of substraction to avoid
35333           overflow bug.
35334         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35335           Take the sign of ret.
35336         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35337           Do not expect precise return values. Only the sign matters.
35338         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35339         * wcsmbs/test-wcsncmp.c: New File.
35340         * string/test-strncmp.c: Add wcsncmp support.
35342 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35344         [BZ #6792]
35345         * math/w_log1p.c: New file.
35346         * math/w_log1pf.c: Likewise.
35347         * math/w_log1pl.c: Likewise.
35348         * math/Makefile (libm-calls): Add w_log1p.
35349         * math/s_log1pl.c (log1pl): Remove weak_alias.
35350         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35351         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35352         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35353         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35354         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35355         [NO_LONG_DOUBLE] (log1pl): Likewise.
35356         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35357         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35358         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35359         (log1p): Remove long_double_symbol.
35360         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35361         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35362         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35363         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35364         remove weak_alias for corresponding log1p function.
35365         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35366         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35367         * sysdeps/ia64/fpu/w_log1p.c: New file.
35368         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35369         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35370         * math/libm-test.inc (log1p_test_data): Add errno expectations.
35372 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
35374         [BZ #18247]
35375         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35376         decimal exponent by 1.
35377         * stdlib/tst-strtod-round-data: Add more tests.
35378         * stdlib/tst-strtod-round.c (tests): Regenerated.
35380 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35382         * math/auto-libm-test-in: Add more tests of clog and clog10.
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 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35389         * Makeconfig (module-cppflags): Exclude all .v.i files.
35390         (skip-module-cppflags): Variable removed.
35392         * configure.ac (libc_config_ok): Initialize before reading
35393         preconfigure scripts, not after.
35394         * configure: Regenerated.
35396         * test-skeleton.c (TIMEOUT): Move #define to top level.
35397         (main): Grok environment variable TEST_DIRECT.  If set, print
35398         test expectation details into that file and then behave as if
35399         given --direct.
35401 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35403         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35404         warning on 32-bit.
35406 2015-04-08  David S. Miller  <davem@davemloft.net>
35408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35410 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35412         * math/auto-libm-test-in: Add more tests of atanh.
35413         * math/auto-libm-test-out: Regenerated.
35414         * sysdeps/i386/fpu/libm-test-ulps: Update.
35415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35417         * math/auto-libm-test-in: Add more tests of atan.
35418         * math/auto-libm-test-out: Regenerated.
35419         * sysdeps/i386/fpu/libm-test-ulps: Update.
35420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35422 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35424         * elf/pldd.c (main): Rewrite to use struct
35425         scratch_buffer instead of extend_alloca.
35426         * elf/pldd-xx.c (find_maps): Likewise.
35427         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35428         <alloca.h>.
35429         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35430         scratch_buffer instead of extend_alloca.
35431         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35432         grp/compat-initgroups.c.
35433         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35434         Rewrite to use struct scratch_buffer instead of extend_alloca.
35435         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35436         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35438 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35440         * math/auto-libm-test-in: Add more tests of cbrt.
35441         * math/auto-libm-test-out: Regenerated.
35442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35444         * math/auto-libm-test-in: Add more tests of cabs.
35445         * math/auto-libm-test-out: Regenerated.
35446         * sysdeps/i386/fpu/libm-test-ulps: Update.
35447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35449         [BZ #18210]
35450         [BZ #18211]
35451         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35452         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35453         computations.
35454         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35455         clog10.
35456         * math/auto-libm-test-out: Regenerated.
35457         * sysdeps/i386/fpu/libm-test-ulps: Update.
35458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35460         [BZ #18197]
35461         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35462         (atan): Set FE_TONEAREST mode for internal computations.
35463         * math/auto-libm-test-in: Add more tests of atan.
35464         * math/auto-libm-test-out: Regenerated.
35466 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35468         [BZ #17930]
35469         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35471 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35473         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35475 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35477         * include/scratch_buffer.h: New file.
35478         * malloc/scratch_buffer_grow.c: Likewise.
35479         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35480         * malloc/scratch_buffer_set_array_size.c: Likewise.
35481         * malloc/tst-scratch_buffer.c: Likewise.
35482         * malloc/Makefile (routines): Add scratch_buffer_grow.
35483         (tests): Add test case.
35484         * malloc/Versions (GLIBC_PRIVATE): Export
35485         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35486         __libc_scratch_buffer_set_array_size.
35488 2015-04-06  Richard Henderson  <rth@redhat.com>
35490         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35491         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35493         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35494         unsigned int before printing.
35496 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35498         [BZ #17596]
35499         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35500         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35502 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35504         * include/libc-internal.h (libc_max_align_t): Define.
35506 2015-04-02  Andreas Schwab  <schwab@suse.de>
35508         [BZ #16850]
35509         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35511 2015-04-02  Mel Gorman  <mgorman@suse.de>
35513         [BZ #17195]
35514         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35515         as well as the main arena.
35517 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35519         [BZ #18185]
35520         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35521         sharing L2 cache to 2 for Silvermont/Knights Landing.
35523 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35525         [BZ #17711]
35526         * config.make.in (have-protected-data): New.
35527         * configure.ac: Check linker support for protected data symbol.
35528         * configure: Regenerated.
35529         * elf/Makefile (modules-names): Add tst-protected1moda and
35530         tst-protected1modb if $(have-protected-data) is yes.
35531         (tests): Add tst-protected1a and tst-protected1b if
35532         $(have-protected-data) is yes.
35533         ($(objpfx)tst-protected1a): New.
35534         ($(objpfx)tst-protected1b): Likewise.
35535         (tst-protected1modb.so-no-z-defs): Likewise.
35536         * elf/tst-protected1a.c: New file.
35537         * elf/tst-protected1b.c: Likewise.
35538         * elf/tst-protected1mod.h: Likewise.
35539         * elf/tst-protected1moda.c: Likewise.
35540         * elf/tst-protected1modb.c: Likewise.
35542 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35544         [BZ #17711]
35545         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35546         indicates it is called from do_lookup_x on relocation against
35547         protected data, skip the data definion in the executable from
35548         copy reloc.
35549         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35550         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35551         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35552         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35553         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35554         otherwise to 0.
35555         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35556         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35557         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35558         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35559         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35560         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35562 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35564         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35565         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35567 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35569         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35570         THREAD_SETMEM_NC.
35571         * sysdeps/x86_64/nptl/tls.h: Ditto.
35573 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35575         * dlfcn/tststatic.c (main): Converted to ...
35576         (do_test): ... this.
35577         (TEST_FUNCTION): New macro.
35578         Include test-skeleton.c.
35580 2015-03-26  Alan Modra  <amodra@gmail.com>
35582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35583         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35584         zero for undefined weak.
35585         (elf_machine_plt_conflict): Similarly.
35587 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35589         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35590         atanh.
35591         * math/auto-libm-test-out: Regenerated.
35592         * sysdeps/i386/fpu/libm-test-ulps: Update.
35593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35595         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35601         Remove macro.
35602         (LLL_EBX_REG): Likewise.
35603         (LLL_ENTER_KERNEL): Likewise.
35605         * math/auto-libm-test-in: Add more tests of asin.
35606         * math/auto-libm-test-out: Regenerated.
35607         * sysdeps/i386/fpu/libm-test-ulps: Update.
35608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35610         [BZ #18138]
35611         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35612         libc_do_syscall_args): New structure.
35613         (INTERNAL_SYSCALL_MAIN_0): New macro.
35614         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35615         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35616         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35617         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35618         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35619         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35620         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35621         Replace conditional definitions by conditional definitions of ....
35622         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35623         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35624         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35625         (libpthread-sysdep_routines): Add libc-do-syscall.
35626         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35628         to __NR_futex not 240.
35630 2015-03-25  Alan Modra  <amodra@gmail.com>
35632         * NEWS: Advertise TLS optimization.
35633         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35634         (DT_PPC_NUM): Increment.
35635         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35636         (CHECK_STATIC_TLS): Use here.
35637         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35638         TLS descriptors.
35639         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35640         * sysdeps/powerpc/dl-tls.c: New file.
35641         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35642         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35643         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35644         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35649 2015-03-25  Alan Modra  <amodra@gmail.com>
35651         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35652         for overlapping .opd entries" to "support...".
35653         * sysdeps/powerpc/powerpc64/configure: Regenerate
35655 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35657         * math/auto-libm-test-in: Add more tests of acos.
35658         * math/auto-libm-test-out: Regenerated.
35659         * sysdeps/i386/fpu/libm-test-ulps: Update.
35660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35662         * math/auto-libm-test-in: Add more tests of expm1.
35663         * math/auto-libm-test-out: Regenerated.
35664         * sysdeps/i386/fpu/libm-test-ulps: Update.
35665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35667 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35669         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35670         * math/auto-libm-test-out: Regenerated.
35671         * sysdeps/i386/fpu/libm-test-ulps: Update.
35672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35674         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35677         * math/auto-libm-test-in: Add more tests of log2.
35678         * math/auto-libm-test-out: Regenerated.
35679         * sysdeps/i386/fpu/libm-test-ulps: Update.
35680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35682 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35684         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35685         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35686         _IO_IS_APPENDING bit in READ_WRITE instead.
35688 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35690         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35691         (__determine_cpumask_size): Replace extend_alloca with a
35692         variable-length array.  Do not treat res == 0 as an error.
35694 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35696         [BZ #18100]
35697         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35698         and integer overflow.
35699         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35700         (main): Add integer overflow tests.
35701         * manual/pattern.texi (Calling Wordexp): Document additional use
35702         for WRDE_SYNTAX.
35704 2015-03-23  Alan Modra  <amodra@gmail.com>
35706         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35707         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35708         and false branch of conditional.
35709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35710         Likewise.
35712 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35714         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35715         libc-modules.h
35716         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35717         unused declaration of _hurd_intr_rpc_msg_in_trap.
35718         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35719         defined instead of whether it is non-zero.
35720         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35721         input constraint instead of both input and output constraint.  Use ecx
35722         clobber instead of %ecx.
35723         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35724         mutex_unlock): Use a statement expression instead of an expression list.
35725         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35726         type to vm_size_t instead of vm_address_t.
35727         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35728         defined instead of whether it is non-zero.
35729         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35730         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35731         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35732         comparisons with mapaddr.
35733         * nscd/nscd-client.h: Include <time.h>.
35734         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35735         9th parameter to __vm_region instead of int.
35736         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35737         * scripts/check-local-headers.sh (exclude): Add device/,
35738         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35739         cthreads.h.
35741 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35743         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35744         to account for alignment padding.
35745         * sysdeps/arm/memmove.S: Likewise.
35747 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35749         * sysdeps/unix/sysv/linux/generic/README: New file.
35751 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35753         [BZ #18138]
35754         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35755         (futex_abstimed_wait)
35756         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35757         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35758         of lll_futex_timed_wait.
35760 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35762         [BZ #17542]
35763         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35765 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35767         [BZ #17090]
35768         [BZ #17620]
35769         [BZ #17621]
35770         [BZ #17628]
35771         * NEWS: Update.
35772         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35773         entries with Static TLS too.  Skip entries past the end of the
35774         allocated DTV, from Alan Modra.
35775         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35776         Static TLS DTV entry set up from...
35777         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35778         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35779         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35780         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35781         for Static TLS.
35782         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35783         that the slot we find is associated with the given map before
35784         using its generation count.
35785         * nptl_db/db_info.c: Include ldsodefs.h.
35786         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35787         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35788         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35789         (link_map::l_tls_offset): New struct field.
35790         (dtv_t::counter): Likewise.
35791         (rtld_global): New struct.
35792         (_rtld_global): New rtld variable.
35793         (dl_tls_dtv_slotinfo_list): New rtld global field.
35794         (dtv_slotinfo_list): New struct.
35795         (dtv_slotinfo): Likewise.
35796         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35797         (td_lookup): Rename to...
35798         (td_mod_lookup): ... this.  Use new mod parameter instead of
35799         LIBPTHREAD_SO.
35800         * nptl_db/td_thr_tlsbase.c: Include link.h.
35801         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35802         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35803         addresses even if the DTV is out of date or missing them.
35804         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35805         index zero-length arrays.
35806         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35807         (td_lookup): Make it a macro implemented in terms of...
35808         (td_mod_lookup): ... this declaration.
35809         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35810         (DB_MAIN_VARIABLE): Likewise.
35812 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35814         [BZ #18134]
35815         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35817 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35819         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35821 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35823         [BZ #18128]
35824         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35825         (atomic_add, atomic_increment_and_test)
35826         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35828 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35830         * stdlib/setenv.c (__add_to_environ):
35831         Dump core quickly if setenv (..., NULL, ...) is called.
35833 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35835         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35836         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35837         all the necessary asm magic in one place.
35838         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35839         using those.
35841 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35843         [BZ #14906]
35844         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35845         traced file mtime. Use consistent log message.
35846         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35847         (register_traced_file): Call install_watches. Always set mtime.
35848         (invalidate_cache): Iterate over all trace files. Call install_watches.
35849         (inotify_check_files): Don't inline. Handle watching parent
35850         directories and configuration file movement in and out.
35851         (handle_inotify_events): New function.
35852         (main_loop_poll): Call handle_inotify_events.
35853         (main_loop_epoll): Likewise.
35854         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35855         (struct traced_file): Use array of inotify fds. Add parent directory,
35856         and basename.
35857         (struct database_dyn): Remove unused file_mtime.
35858         (init_traced_file): New inline function.
35859         (define_traced_file): New macro.
35860         * nss/nss_db/db-init.c: Use define_traced_file.
35861         (_nss_db_init): Use init_traced_file.
35862         * nss/nss_files/files-init.c: Use define_traced_file.
35863         (_nss_files_init): Use init_traced_file.
35865 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35867         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35868         [_LIBC]: Do not include <stdlib.h>.
35869         [!_LIBC] (abort): Remove declaration.
35870         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35871         _FP_STATIC_ASSERT instead of conditionally calling abort.
35872         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35873         (_FP_EXTEND_CNAN): Likewise.
35874         (FP_TRUNC): Likewise.
35875         (__FP_CLZ): Likewise.
35876         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35878 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35880         * manual/string.texi (XPG basename): Fix prototype.
35882 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35884         [BZ #18080]
35885         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35886         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35887         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35888         (__setcontext): Likewise.
35889         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35890         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35891         Call rt_sigprocmask syscall one time to set new signal mask
35892         and retrieve the current signal mask instead of two calls.
35893         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35894         (__swapcontext): Likewise.
35895         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35896         * stdlib/tst-setcontext2.c: New file.
35898 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35900         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35902 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35904         [BZ #18093]
35905         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35906         the wrong size.
35908 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35910         [BZ #18043]
35911         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35913 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35915         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35916         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35917         Remove define.
35918         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35919         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35920         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35921         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35922         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35923         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35924         define.
35925         * nptl_db/td_symbol_list.c (td_lookup): Remove
35926         HAVE_ASM_GLOBAL_DOT_NAME code.
35927         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35928         HAVE_ASM_GLOBAL_DOT_NAME check.
35929         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35930         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35931         (DOT_LABEL): Remove define.
35932         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35933         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35934         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35935         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35936         (__TLS_GET_ADDR): Likewise.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35938         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35940 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35942         [BZ #18111]
35943         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35944         (_FPU_SETCW): Initialize cw from fpsr before storing.
35945         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35946         (fesetexceptflag): Rewrite using fpu_control.h.
35947         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35949 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35951         [BZ #18110]
35952         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35953         asms.
35954         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35956 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35958         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35959         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35960         abort.
35961         (_FP_FMA): Likewise.
35962         (_FP_DIV): Likewise.
35964 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35966         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35967         with 0 in that case.
35968         * Makefile (summarize-tests): New canned sequence, factored out of
35969         commands for targets tests and xtests.  Display summary lines that
35970         don't start with PASS: or XFAIL: rather than ones that do start with
35971         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35972         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35973         do start with ERROR: or FAIL:.
35974         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35975         (except for [$(build-shared) = yes]).
35976         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35977         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35978         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35979         * nptl/Makefile: Revert 2015-03-04 changes.
35980         [$(CXX) empty] (tests-unsupported): New variable.
35981         * debug/Makefile: Likewise.
35983         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35984         gnulib file.  Replace __attribute with __attribute__ throughout.
35986 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35988         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35990 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35992         [BZ #18104]
35993         * math/auto-libm-test-in: Add another test of pow.
35994         * math/auto-libm-test-out: Regenerated.
35996 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35998         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35999         $(config-cflags-nofma).
36001 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36003         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36004         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36005         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36006         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36007         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36008         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36009         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36010         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36011         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36012         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36013         Add comment on closing #endif.
36015 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36017         * posix/wordexp.c (CHAR_IN_SET): New macro.
36018         (parse_param): Use it.
36020 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36022         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36024 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36026         [BZ #18043]
36027         * posix/wordexp.c (parse_param): Fix buffer overflow.
36028         * posix/wordexp-test.c (test_case): Add test case.
36030 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36032         [BZ #18042]
36033         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36034         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36036 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36038         [BZ #18043]
36039         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36040         (do_bz18043): Delete.
36041         (at_page_end): New.
36042         (testit): Refactor to have words at the edge of unreadable page.
36044 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36046         [BZ #16734]
36047         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36048         Cleanup read-only streams as well.
36049         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36051 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36053         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36054         <bits/libc-lockP.h>
36056 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36058         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36059         on [__KERNEL__].
36060         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36061         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36062         * soft-fp/op-common.h (_FP_DECL): Likewise.
36064 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36066         * elf/ifuncdep2.c (global): Replace
36067         __attribute__((visibility("protected"))) with
36068         asm (".protected global").
36069         * elf/ifuncmod1.c (global): Likewise.
36070         * elf/ifuncmod5.c (global): Likewise.
36072 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36074         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36075         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36077 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36079         * manual/install.texi (Configuring and compiling):
36080         Document test-wrapper-env-only.
36081         * INSTALL: Regenerated.
36083 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36085         [BZ #18043]
36086         * posix/wordexp.c (parse_param): Fix buffer overflow.
36087         * posix/wordexp-test.c (do_bz18043): Add test case.
36089 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36091         * time/tst-strptime2.c (do_test): Ensure failing tests are
36092         reported correctly.
36093         * time/tst-strptime3.c (do_test): Likewise.
36095 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36097         Fix aio_error thread-safety.
36098         * sysdeps/pthread/aio_error.c: New file
36099         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36100         synchronization.
36102 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36104         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36105         (group_number, vfprintf): Use it.
36106         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36107         (JUMP, REF): Use it.
36108         (WORK_BUFFER_SIZE): New enum constant.
36109         (process_arg, vfprintf): Use it.
36111 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36113         * manual/errno.texi (Error Messages): Complete example function
36114         by adding missing #define.
36115         (program_invocation_name): Add statement indicating GNU
36116         extension and reference which header file declares the variable.
36117         (program_invocation_short_name): Likewise.
36119 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36121         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36122         compatibility note.
36124 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36126         * Makeconfig (test-wrapper-env-only): New variable.
36127         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36128         then use that with $(test-wrapper-env-only) rather than using
36129         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36131 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36133         [BZ #18082]
36134         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36135         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36136         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36137         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36138         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36139         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36140         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36141         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36142         Likewise.
36143         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36144         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36145         Likewise.
36146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36147         Likewise.
36148         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36149         Likewise.
36150         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36151         Likewise.
36152         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36153         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36154         Likewise.
36155         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36156         Likewise.
36157         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36158         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36160 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36162         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36163         (ETH_ALEN): New macro.
36164         (struct ether_addr): Use it for length of ether_addr_octet.
36166         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36167         (setdb): Don't call __nss_configure_lookup for "rpc".
36168         (do_test): Don't call test_rpc.
36169         (output_rpcent, test_rpc): Functions moved ...
36170         * sunrpc/test-rpcent.c: ... to this new file.
36171         * sunrpc/Makefile (tests): Add it.
36173         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36174         __xpg_sigpause.
36175         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36176         * nptl/tst-signal6.c: Likewise.
36177         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36178         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36180         * configure.ac (libc_cv_cxx_link_ok): New check.
36181         Reset CXX to empty if it fails to link.
36182         * configure: Regenerated.
36183         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36184         bug-atexit3-lib only if $(CXX) is nonempty.
36185         * nptl/Makefile (tests): Likewise for tst-cancel24.
36186         (tests, tests-static): Likewise for tst-cancel24-static.
36187         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36188         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36189         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36190         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36192 2015-03-04  Andreas Schwab  <schwab@suse.de>
36194         [BZ #17631]
36195         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36196         for non-GCC compilers.
36197         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36198         Likewise.
36200 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36202         [BZ #17776]
36203         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36204         integer before bitwise and assembly operations.
36205         (feclearexcept): Likewise.
36206         * math/test-fenvinline.c: New file.
36207         * math/Makefile: Add test-fenvinline test.
36209 2015-03-03  Alan Modra  <amodra@gmail.com>
36211         [BZ #16512]
36212         * scripts/localplt.awk: Strip off symbol version.
36213         * NEWS: Mention bug fix.
36215 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36217         * sysdeps/pthread/timer_routines.c
36218         (timer_free_list, thread_free_list, thread_active_list): Make static.
36220 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36222         [BZ #17779]
36223         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36224         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36225         Undefine.
36226         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36227         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36228         Likewise.
36229         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36230         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36231         Likewise.
36233 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36235         [BZ #18036]
36236         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36237         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36239 2015-03-02  Andreas Schwab  <schwab@suse.de>
36241         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36242         variable name.
36244 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36246         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36247         Return error status.
36249 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36251         [BZ #15969]
36252         * locale/findlocale.c (_nl_find_locale): Introduce const
36253         version of loc_name and drop unsafe type casts.
36255 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36257         * dlfcn/tststatic2.c (main): Converted to ...
36258         (do_test): ... this.
36259         (TEST_FUNCTION): New macro.
36260         Include test-skeleton.c.
36262 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36264         [BZ #17711]
36265         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36266         (tests-pie): Add vismain.
36267         (CFLAGS-vismain.c): New.
36268         * elf/vismain.c: Add comments for PIE requirement.
36270 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36272         [BZ #18046]
36273         [BZ #18047]
36274         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36275         0x1p-56L as threshold for just returning the argument.
36276         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36277         0x1p-32L as threshold for just returning the argument.
36278         * math/auto-libm-test-in: Add more tests of atanh.
36279         * math/auto-libm-test-out: Regenerated.
36280         * sysdeps/i386/fpu/libm-test-ulps: Update.
36281         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36283 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36285         * string/bcopy.c (bcopy): Call memmove for performance.
36287 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36289         * string/bzero.c (__bzero): Call memset for performance.
36291 2015-02-27  John David Anglin  <dave.anglin@bell.net>
36293         [BZ #18068]
36294         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36295         to 00100000.
36297 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36299         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36301 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36303         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36304         (__kernel_standard): Use CSTR macro when setting exc.name.
36305         * sysdeps/ieee754/Makefile [$(subdir) = math]
36306         (CFLAGS-k_standard.c): Remove variable.
36308         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36309         setting p and q from "else if" to "else".
36310         (qzero): Likewise.
36311         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36312         (qone): Likewise.
36313         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36314         (qzerof): Likewise.
36315         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36316         (qonef): Likewise.
36317         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36318         (qzero): Likewise.
36319         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36320         (qone): Likewise.
36322         [BZ #18038]
36323         [BZ #18039]
36324         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36325         return pi/2 for arguments below 0x1p-113L.
36326         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36327         return pi/2 for arguments below 0x1p-106L.
36328         * math/auto-libm-test-in: Add more tests of acos.
36329         * math/auto-libm-test-out: Regenerated.
36331         [BZ #16351]
36332         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36333         (MO): New macro.
36334         (__ieee754_asin): Force underflow exception for results with small
36335         absolute value.
36336         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36337         (MO): New macro.
36338         (__ieee754_asinf): Force underflow exception for results with
36339         small absolute value.
36340         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36341         (__ieee754_asin): Force underflow exception for results with small
36342         absolute value.
36343         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36344         (__ieee754_asinf): Force underflow exception for results with
36345         small absolute value.
36346         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36347         (__ieee754_asinl): Force underflow exception for results with
36348         small absolute value.
36349         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36350         (__ieee754_asinl): Force underflow exception for results with
36351         small absolute value.
36352         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36353         (__ieee754_asinl): Force underflow exception for results with
36354         small absolute value.
36355         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36356         Include <math.h>.
36357         * math/auto-libm-test-in: Do not mark underflow exceptions as
36358         possibly missing for bug 16351.
36359         * math/auto-libm-test-out: Regenerated.
36361         [BZ #18030]
36362         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36363         of power of 2 down when low part has opposite sign.
36364         * math/libm-test.inc (logb_test_data): Add more tests.
36366 2015-02-26  Andreas Schwab  <schwab@suse.de>
36368         [BZ #18032]
36369         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36370         over collating symbol inside a bracket expression.  Minor cleanup.
36371         * posix/tst-fnmatch3.c (do_test): Add test case.
36373 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36375         [BZ #18029]
36376         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36377         Adjust exponent of power of 2 down when low part has opposite
36378         sign.
36379         * math/libm-test.inc (ilogb_test_data): Add more tests.
36381 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36383         [BZ #15969]
36384         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36385         the previous change.
36387         [BZ #15969]
36388         * locale/findlocale.c (_nl_find_locale): Retry archive search
36389         after alias expansion.
36391 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36393         * iconv/tst-iconv3.c (main): Converted to ...
36394         (do_test): ... this.
36395         (TEST_FUNCTION): New macro.
36396         Include test-skeleton.c.
36398         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36399         (convert): Make function static.
36400         (test_unalign): Likewise.  Add const to argument pointee types.
36401         (main): Replace with static function do_test.
36402         Print "Succeeded." only if RET is zero.
36403         (TEST_FUNCTION): New macro.
36404         Include test-skeleton.c.
36406         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36407         returns a null pointer.
36409 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36411         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36412         to __memcpy_ppc only for static builds.
36414 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36416         [BZ #18020]
36417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36418         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36419         * math/auto-libm-test-in: Add more tests of asinh.
36420         * math/auto-libm-test-out: Regenerated.
36421         * sysdeps/i386/fpu/libm-test-ulps: Update.
36422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36424 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36426         [BZ #15850]
36427         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36428         and ip6_mtuinfo definitions here.
36429         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36430         in this define too.  Update comment.
36432 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36434         * elf/sprof.c (load_shobj): Tweak error message to match others.
36436 2015-02-24  Kevin Easton  <kevin@guarana.org>
36438         [BZ #16145] (partial fix)
36439         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36440         to reduce lock contention.
36442 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36444         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36445         (struct timex): Update time comment.
36446         (ADJ_SETOFFSET): Define.
36448 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36450         [BZ #18019]
36451         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36452         2**56 not 2**28 as threshold for log (2x) formula.
36453         * math/auto-libm-test-in: Add more tests of acosh.
36454         * math/auto-libm-test-out: Regenerated.
36455         * sysdeps/i386/fpu/libm-test-ulps: Update.
36456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36458 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36460         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36461         parenthesis around the buf assignment.
36462         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36464 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #16783]
36467         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36468         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36469         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36470         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36471         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36472         * math/libm-test.inc (scalb_test_data): Add more tests.
36474 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36476         [BZ #17916]
36477         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36478         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36480 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36482         [BZ #17523]
36483         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36484         * io/bits/fcntl2.h (open): Use it.
36485         (openat): Likewise.
36486         * io/open.c (__libc_open): Likewise.
36487         * io/open64.c (__libc_open64): Likewise.
36488         * io/open64_2.c (__open64_2): Likewise.
36489         * io/open_2.c (__open_2): Likewise.
36490         * io/openat.c (__openat): Likewise.
36491         * io/openat64.c (__openat64): Likewise.
36492         * io/openat64_2.c (__openat64_2): Likewise.
36493         * io/openat_2.c (__openat_2): Likewise.
36494         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36495         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36496         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36497         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36498         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36499         (__open_nocancel): Likewise.
36500         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36501         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36502         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36504 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36506         [BZ #14841]
36507         * resolv/gethnamaddr.c (getanswer): Skip logging if
36508         RES_USE_DNSSEC is set.
36509         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36511 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36513         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36515 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36517         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36518         201304L, for Unicode 7.
36520 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36522         [BZ #17836]
36523         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36524         shared library.  Add gmon-start.os otherwise.
36525         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36526         $(objpfx)gmon-start.os if builing shared library.
36527         ($(objpfx)g$(static-start-installed-name)): Likewise.
36529 2015-02-23  Andreas Schwab  <schwab@suse.de>
36531         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36533 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36535         [BZ #17269]
36536         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36537         (enlarge_userbuf): Likewise.
36539 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36541         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36542         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36543         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36544         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36546 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36548         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36549         expression inside statement expression.
36551 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36553         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36554         <sysdeps/nptl/lowlevellock.h> and remove macros and
36555         functions that are now defined there.
36556         (SYS_futex): Remove.
36557         (lll_compare_and_swap): Remove.
36558         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36560 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #17999]
36563         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36564         instead of scandirat.
36565         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36566         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36567         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36568         __scandirat.
36569         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36570         (__scandirat): Declare.  Use libc_hidden_proto.
36571         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36572         Remove variable.
36573         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36575 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36577         [BZ #15319]
36578         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36579         (MO): New macro.
36580         (__ieee754_atan2): For results with small absolute value, force
36581         underflow exception and remove excess range and precision from
36582         return value.
36583         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36584         (MO): New macro.
36585         (__ieee754_atan2f): For results with small absolute value, force
36586         underflow exception and remove excess range and precision from
36587         return value.
36588         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36589         (MO): New macro.
36590         (__atan): For results with small absolute value, force underflow
36591         exception and remove excess range and precision from return value.
36592         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36593         (MO): New macro.
36594         (__atanf): For results with small absolute value, force underflow
36595         exception and remove excess range and precision from return value.
36596         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36597         <math.h>.
36598         (__ieee754_atan2): Force underflow exception for results with
36599         small absolute value.
36600         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36601         <math_private.h>.
36602         (atan): Force underflow exception for results with small absolute
36603         value.
36604         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36605         (__atanf): Force underflow exception for results with small
36606         absolute value.
36607         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36608         <math.h>.
36609         (__atanl): Force underflow exception for results with small
36610         absolute value.
36611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36612         (__atanl): Force underflow exception for results with small
36613         absolute value.
36614         * sysdeps/x86/fpu/bits/mathinline.h
36615         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36616         (__ieee754_atan2): Only define inline for long double.
36617         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36618         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36619         * math/auto-libm-test-in: Do not mark underflow exceptions as
36620         possibly missing for bug 15319.  Add more tests of atan2.
36621         * math/auto-libm-test-out: Regenerated.
36622         * math/libm-test.inc (casin_test_data): Do not mark underflow
36623         exceptions as possibly missing for bug 15319.
36624         (casinh_test_data): Likewise.
36625         * sysdeps/i386/fpu/libm-test-ulps: Update.
36627 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36629         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36630         * sysdeps/mips/bits/endian.h: Fix comments.
36632 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36634         [BZ #17996]
36635         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36636         (hdestroy_r): Likewise.
36637         (hsearch_r): Likewise.
36638         (__hcreate_r): Declare and use libc_hidden_proto.
36639         (__hdestroy_r): Likewise.
36640         (__hsearch_r): Likewise.
36641         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36642         (hcreate): Call __hcreate_r instead of hcreate_r.
36643         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36644         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36645         as weak alias of __hcreate_r.
36646         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36647         __hdestroy_r.
36648         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36649         __hsearch_r.
36650         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36651         Remove variable.
36652         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36653         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36654         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36655         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36657 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36659         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36660         arena_lock into a single arena_get.
36662 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36664         * dl-reloc.c: Inlucde libc-internal.h.
36665         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36666         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36667         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36668         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36669         (grow_heap): Likewise.
36670         * malloc/malloc.c: Include libc-internal.h.
36671         (do_check_malloc): Call powerof2.
36672         (sysmalloc): Use pagesize. Call ALIGN_UP.
36673         (systrim): Use pagesize.
36674         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36675         (__libc_valloc): Use pagesize.
36676         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36678 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36680         [BZ #17991]
36681         * include/sys/resource.h (__getrlimit64): Declare.  Use
36682         libc_hidden_proto.
36683         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36684         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36685         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36686         getrlimit64.
36687         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36688         __getrlimit64.
36689         [!getrlimit64] (getrlimit64): Define as weak alias of
36690         __getrlimit64.  Use libc_hidden_weak.
36691         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36692         using __getrlimit64 not __new_getrlimit64.
36693         (__GI_getrlimit64): Likewise.
36694         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36695         Likewise.
36696         (__GI_getrlimit64): Likewise.
36697         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36699         (getrlimit): Add __getrlimit64 alias.
36700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36701         Likewise.
36702         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36703         Remove variable.
36704         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36705         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36707 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36709         * libio/fileops.c: Add missing sys/mman.h
36710         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36712 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36714         * manual/math.texi (Errors in Math Functions): Clarify goals
36715         regarding inexact and underflow exceptions.
36717 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36719         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36720         * sysdeps/mips/memset.S: Ditto.
36722 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36724         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36726 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36728         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36729         (__v1longjmp): Remove versioned symbol.
36730         (__v1siglongjmp): Remove alias and versioned symbol.
36731         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36732         (__v2siglongjmp): Likewise.
36734 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36736         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36738 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36740         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36742 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36744         [BZ #17987]
36745         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36746         zero result does not depend on the sign resulting from
36747         subtraction.
36748         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36749         Likewise.
36750         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36751         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36752         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36753         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36754         * math/libm-test.inc (remquo_test_data): Add more tests.
36756 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36758         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36759         Problem reported by J William Piggott.
36761 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36763         [BZ #17978]
36764         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36765         products 4 * y and 2 * y where those would overflow.
36766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36767         Likewise.
36768         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36769         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36770         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36771         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36772         * math/libm-test.inc (remquo_test_data): Add more tests.
36774         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36776         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36777         [defined _COMPILING_NEWLIB].
36778         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36779         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36781         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36782         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36784 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36786         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36787         acquired.
36789 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36791         [BZ #17792]
36792         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36793         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36794         HOST_STACK_END_ADDR): Likewise.
36796 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36798         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36799         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36800         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36802 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36804         * sysdeps/generic/c++-types.data: New file.
36805         * sysdeps/generic/ld.abilist: New file.
36806         * sysdeps/generic/libBrokenLocale.abilist: New file.
36807         * sysdeps/generic/libanl.abilist: New file.
36808         * sysdeps/generic/libc.abilist: New file.
36809         * sysdeps/generic/libcrypt.abilist: New file.
36810         * sysdeps/generic/libdl.abilist: New file.
36811         * sysdeps/generic/libm.abilist: New file.
36812         * sysdeps/generic/libpthread.abilist: New file.
36813         * sysdeps/generic/libresolv.abilist: New file.
36814         * sysdeps/generic/librt.abilist: New file.
36816 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36818         [BZ #17569]
36819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36820         Compute absolute value of x as modified by fmod, not original
36821         value of x.
36822         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36823         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36824         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36825         RUN_TEST_ffI_f1_mod8.
36826         (remquo_test_data): Add more tests.
36828 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36830         * sysdeps/init_array/pt-crti.S: New file.
36832 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36834         [BZ #17967]
36835         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36836         __builtin_fmaf instead of relying on contraction of a * b + c.
36838 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36840         [BZ #17969]
36841         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36842         node.
36844 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36846         [BZ #17964]
36847         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36848         __builtin_fma instead of relying on contraction of a * b + c.
36850 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36852         * Makeconfig (ASFLAGS): Add -Werror=undef.
36853         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36854         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36855         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36857         * Makeconfig (after-link): New variable.
36858         (+link-pie, +link-pie-tests): Use it.
36859         (+link-static, +link-static-tests): Likewise.
36860         (+link, +link-tests): Likewise.
36861         * Makerules (build-module, build-module-asneeded): Likewise.
36862         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36863         Likewise.
36864         * elf/Makefile ($(objpfx)ld.so): Likewise.
36866 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36868         [BZ #17965]
36869         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36870         both struct timeval and struct timespec.
36872 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36874         [BZ #16560]
36875         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36876         and redefine.
36877         (__ieee754_exp2l): Do not multiply small fractional parts by
36878         M_LN2l.
36879         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36880         small argument.
36881         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36882         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36883         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36884         * math/auto-libm-test-in: Add more tests of exp2.
36885         * math/auto-libm-test-out: Regenerated.
36887 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36889         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36890         unaligned path.
36892 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36894         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36895         little endian.
36897 2015-02-12  Andreas Schwab  <schwab@suse.de>
36899         [BZ #15790]
36900         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36901         Filter out elision flags from value returned in kind.
36902         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36903         * nptl/tst-pthread-mutexattr.c: New file.
36905 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36907         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36908         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36909         into gnu-gnu, and update comment to refer to abi-tags.
36911 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36913         [BZ #15467]
36914         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36915         (__sincos): Set errno to EDOM for infinite argument.
36916         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36917         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36918         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36919         (__sincosl): Set errno to EDOM for infinite argument.
36920         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36921         (__sincosl): Set errno to EDOM for infinite argument.
36922         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36923         (__sincosl): Set errno to EDOM for infinite argument.
36924         * math/libm-test.inc (sincos_test_data): Test errno setting.
36926 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36928         * string/strxfrm_l.c: Remove #define STRCMP.
36929         * string/strcoll_l.c: Remove #define STRLEN.
36930         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36931         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36933 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36935         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36936         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36937         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36938         * sysdeps/mips/mips64/Makefile: ... here.
36939         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36940         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36941         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36942         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36943         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36944         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36945         * sysdeps/mips/mips64/n64/Implies: Likewise.
36947 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36949         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36950         <sys/time.h>, <string.h>, and <errno.h>.
36951         (dest_offset, dest_address, value, zero): Remove unused variables.
36952         (ldouble): Remove typedef.
36953         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36954         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36955         1).  Fix code style.
36956         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36957         (check): Function removed.
36958         (CHECK): New macro.
36959         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36960         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36961         Don't call set_sigaction_FP and remove_sigaction_FP here.
36962         (ldouble_test): Just use 'long double' as macro argument, no need for
36963         the 'ldouble' typedef.
36964         (do_test): Set up SIGFPE handler at start, using plain signal rather
36965         than sigaction.  Fix code style.
36967 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36969         [BZ #17949]
36970         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36971         jump label.
36973 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36975         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36976         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36978         * sysdeps/powerpc/configure.ac: Remove file.
36979         * sysdeps/powerpc/configure: Likewise.
36981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36982         [sysdep_routines]: Remove wordcopy-power6 object.
36983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36984         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36986         (__memmove_ppc32): Likewise.
36987         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36988         file.
36989         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36991         Remove preprocessor.
36993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36994         [sysdep_routines]: Remove wide chars objects.
36995         [wcsmbs]: New rule for wide char objects.
36997         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36998         Remove wordcopy-power6 obejct.
36999         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37000         Use local call for wordcopy and memcpy symbols.
37001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37003         implementation for loader.
37004         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37006         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37007         Remove wordcopy-power7 object.
37008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37010         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37011         (_wordcopy_fwd_dest_aligned): Likewise.
37012         (_wordcopy_bwd_aligned): Likewise.
37013         (_wordcopy_bwd_dest_aligned): Likewise.
37015         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37016         Rewrite to call __memmove_ppc instead of include default
37017         implementation.
37019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37020         Remove wide chars objects.
37021         [wcsmbs]: New rule for wide char objects.
37023 2015-02-09  Andreas Schwab  <schwab@suse.de>
37025         [BZ #17912]
37026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37027         in terms of __O_DIRECTORY.
37029 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37031         * time/getdate.c: Include <stdbool.h>.
37032         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37033         call PTR_MANGLE.
37034         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37035         PTR_DEMANGLE.
37037 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37039         Add ersatz _Static_assert on older C hosts
37040         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37041         pre-C11 C platform that is not known to support _Static_assert.
37043 2015-02-07  Richard Braun  <rbraun@sceen.net>
37045         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37046         sigstate.
37047         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37049 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37051         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37052         priority against unexistent AIO_PRIO_DELTA_MAX.
37053         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37054         instead of int.
37055         * misc/fchflags.c (fchflags): Likewise.
37056         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37057         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37058         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37059         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37060         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37061         Declare macros.
37062         [__USE_MISC] (chflags, fchflags): Declare functions.
37063         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37064         EINVAL when nfds is greater than FD_SETSIZE.
37065         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37066         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37067         45.
37068         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37069         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37070         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37071         MACH_RCV_TIMED_OUT.
37072         * hurd/hurd/signal.h (_hurd_self_sigstate,
37073         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37074         Explicit casts from void *.
37075         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37076         * abi-tags: Rename gnu-gnu os into gnu.
37078         [BZ #4719]
37079         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37080         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37081         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37082         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37083         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37084         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37086         [BZ #17944]
37087         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37088         duplicates ADDR->sun_path with sockaddr LEN limitation.
37089         * sysdeps/mach/hurd/connect.c: Include <string.h>
37090         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37091         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37092         * sysdeps/mach/hurd/sendto.c: Likewise.
37093         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37094         implementing it by hand.
37096 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37098         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37099         Use sfi_breg on ldr.
37100         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37101         Likewise.
37103         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37104         it's defined.
37105         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37106         Test SIGSETXID only if it's defined.
37108         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37110         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37111         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37113         * nptl/tst-align2.c: Moved ...
37114         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37115         * nptl/Makefile (tests): Remove tst-align2.
37116         * sysdeps/unix/sysv/linux/Makefile
37117         [$(subdir) = nptl] (tests): Add tst-align-clone.
37118         * nptl/tst-getpid1.c: Moved ...
37119         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37120         * nptl/tst-getpid2.c: Moved ...
37121         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37122         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37123         * sysdeps/unix/sysv/linux/Makefile
37124         [$(subdir) = nptl] (tests): ... here.
37125         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37126         * sysdeps/unix/sysv/linux/Makefile
37127         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37129         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37130         Drop trailing \n from perror argument.  Use return rather than exit.
37132         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37133         on [SA_SIGINFO].
37134         * nptl/tst-cancel21.c (do_test): Likewise.
37135         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37136         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37137         [!SA_SIGINFO]: Make it a stub test.
37139         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37140         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37142         * posix/tst-getlogin.c: Move to ...
37143         * login/tst-getlogin.c: ... here.
37144         * posix/Makefile (tests): Move tst-getlogin to ...
37145         * login/Makefile (tests): ... here.
37147         * libio/tst-atime.c (do_test): Move local variables SV and E
37148         inside [ST_NOATIME] conditional.
37150         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37152         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37154         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37155         (wait_code): New function replaces macro.
37156         Call nanosleep rather than syscall.
37158         * nptl/pt-system.c: Rewritten.  Put everything under
37159         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37160         Use IFUNC to redirect when possible.
37162         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37163         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37164         Use IFUNC to redirect when possible.
37166         * nptl/pt-fork.c: Rewritten.  Put everything under
37167         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37168         Use IFUNC to redirect when possible.
37169         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37172         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37173         unconditionally nowadays.  This included the only reference to
37174         __vdso_clock_gettime that appears outside libc proper.
37175         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37176         Remove version set (containing only __vdso_clock_gettime).
37177         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37178         Add attribute_hidden.
37179         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37180         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37181         libc_hidden_data_def.
37182         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37183         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37185         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37186         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37187         setrpcent, and getrpcport to ...
37188         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37189         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37190         getrpcbynumber_r, and getrpcent_r to ...
37191         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37192         * inet/getrpcbyname.c: Moved ...
37193         * sunrpc/getrpcbyname.c: ... here.
37194         * inet/getrpcbyname_r.c: Moved ...
37195         * sunrpc/getrpcbyname_r.c: ... here.
37196         * inet/getrpcbynumber.c: Moved ...
37197         * sunrpc/getrpcbynumber.c: ... here.
37198         * inet/getrpcbynumber_r.c: Moved ...
37199         * sunrpc/getrpcbynumber_r.c: ... here.
37200         * inet/getrpcent.c: Moved ...
37201         * sunrpc/getrpcent.c: ... here.
37202         * inet/getrpcent_r.c: Moved ...
37203         * sunrpc/getrpcent_r.c: ... here.
37204         * inet/Makefile (routines): Move those to ...
37205         * sunrpc/Makefile (routines): ... here.
37206         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37207         the $(subdirs) list.
37208         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37209         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37210         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37211         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37213         * elf/Makefile (routines): Include $(all-dl-routines), not just
37214         $(dl-routines).
37215         (rtld-routines): Likewise.  Use = rather than :=.
37216         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37217         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37218         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37219         * sysdeps/arm/Makefile: Likewise.
37220         * sysdeps/i386/Makefile: Likewise.
37221         * sysdeps/x86_64/Makefile: Likewise.
37222         * sysdeps/hppa/Makefile [$(subdir) = elf]
37223         (sysdep_routines, sysdep-rtld-routines): Don't add
37224         $(sysdep-dl-routines) to these.
37225         * sysdeps/ia64/Makefile: Likewise.
37226         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37227         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37228         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37229         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37230         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37231         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37232         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37233         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37234         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37235         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37236         these; sysdep-dl-routines alone is enough.
37238 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37240         [BZ #17932]
37241         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37242         where multiplication results in zero and third argument is finite
37243         and nonzero.
37244         * math/auto-libm-test-in: Add more tests of fma.
37245         * math/auto-libm-test-out: Regenerated.
37247         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37248         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37249         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37250         (_FP_CMP_EQ): Likewise.
37251         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37253         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37254         extra argument CHECK_NAN.  Redefine as wrapper around
37255         _FP_EXTEND_CNAN.
37257 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37259         * version.h (RELEASE): Set to "stable".
37260         (VERSION): Set to "2.21"
37261         * include/features.h (__GLIBC_MINOR__): Set to 21.
37263         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37265 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37266             Paul Eggert  <eggert@cs.ucla.edu>
37268         [BZ #16618]
37269         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37270         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37271         size in bytes. Store needed elements in wpmax. Use needed size
37272         in bytes for extend_alloca.
37274 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
37276         * manual/install.texi: Latest tested versions are GCC 4.9.2,
37277         binutls 2.25, and texinfo 5.2.
37278         * INSTALL: Regenerate.
37279         * sysdeps/nios2/configure: Regenerate.
37280         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37281         * manual/contrib.texi: Update.
37282         * po/be.po: Update.
37283         * po/bg.po: Update.
37284         * po/ca.po: Update.
37285         * po/cs.po: Update.
37286         * po/da.po: Update.
37287         * po/de.po: Update.
37288         * po/el.po: Update.
37289         * po/eo.po: Update.
37290         * po/es.po: Update.
37291         * po/fi.po: Update.
37292         * po/fr.po: Update.
37293         * po/gl.po: Update.
37294         * po/hr.po: Update.
37295         * po/hu.po: Update.
37296         * po/ia.po: Update.
37297         * po/id.po: Update.
37298         * po/it.po: Update.
37299         * po/ja.po: Update.
37300         * po/ko.po: Update.
37301         * po/lt.po: Update.
37302         * po/nb.po: Update.
37303         * po/nl.po: Update.
37304         * po/pl.po: Update.
37305         * po/pt_BR.po: Update.
37306         * po/ru.po: Update.
37307         * po/rw.po: Update.
37308         * po/sk.po: Update.
37309         * po/sl.po: Update.
37310         * po/sv.po: Update.
37311         * po/tr.po: Update.
37312         * po/uk.po: Update.
37313         * po/vi.po: Update.
37314         * po/zh_CN.po: Update.
37315         * po/zh_TW.po: Update.
37317         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37318         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37319         * sysdeps/hppa/dl-irel.h: Remove #warning.
37320         * sysdeps/hppa/entry.h: Provide prototype for
37321         __canonicalize_funcptr_for_compare and cast argument.
37322         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37323         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37324         * sysdeps/hppa/sotruss-lib.c: New file.
37325         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37326         (atomic_compare_and_exchange_val_acq): Use __typeof__.
37327         (atomic_compare_and_exchange_bool_acq): Likewise.
37328         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37329         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37331         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37332         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37333         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37335 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
37337         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37338         called function in non-PIC case.
37340 2015-01-31  David S. Miller  <davem@davemloft.net>
37342         * sysdeps/sparc/sparc32/bits/atomic.h
37343         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37344         unlock not after it.
37345         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37346         volatile register usage warnings from the compiler.
37348         * sysdeps/sparc/nptl/sem_init.c: Delete.
37349         * sysdeps/sparc/nptl/sem_post.c: Delete.
37350         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37351         * sysdeps/sparc/nptl/sem_wait.c: Delete.
37352         * sysdeps/sparc/sparc32/sem_init.c: New file.
37353         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37354         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37355         padding explicitly initialized.
37356         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37357         padding for in-semaphore spinlock.
37358         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37359         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37360         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37361         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37362         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37363         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37364         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37365         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37366         version.
37367         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37368         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37370 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
37372         [BZ #17801]
37373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37374         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37375         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37376         New.
37377         (index_AVX_Fast_Unaligned_Load): Likewise.
37378         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37379         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37380         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37381         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37382         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37383         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37384         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37385         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37386         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37388 2015-01-29  Andreas Schwab  <schwab@suse.de>
37390         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37392 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37394         [BZ #17892]
37395         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37397 2015-01-28  Martin Sebor  <msebor@redhat.com>
37399         * math/README.libm-test: Clarify. Add "How to read the test output."
37401 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37403         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37404         Define to 0.
37406 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37408         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37409         (__HAVE_64B_ATOMICS): Define to 0.
37411 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37413         [BZ #17885]
37414         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37415         value to set as new flag.
37417         [BZ #16576]
37418         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37419         and use _ARCH_PPCSQ instead.
37420         (__ieee754_sqrt): Likewise.
37421         (__ieee754_sqrtf): Likewise.
37422         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37423         _ARCH_PPCSQ is defined.
37424         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37425         fsqrt instruction.
37426         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37427         _ARCH_PPCSQ is defined.
37428         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37429         fsqrts instruction.
37430         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37432 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37434         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37435         bug (GCC BZ #64739).
37437 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37439         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37440         Mark _retval as used.
37441         (lll_futex_wake_unlock): Likewise.
37442         (lll_futex_timed_wait_requeue_pi): Likewise.
37444         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37445         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37446         register variables.
37448         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37449         libm_hidden_def.
37451         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37452         (__bswap_64): Mark as __always_inline.
37454 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37456         [BZ #15378]
37457         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37458         when none of the search directories exist.
37460 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37462         [BZ #17869]
37463         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37464         power8 in .machine directive.
37466         [BZ #17868]
37467         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37468         set dependency from opd value.
37470 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37473         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37474         architecture.
37476 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37478         [BZ #17870]
37479         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37480         with uint64_t.
37481         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37482         (uint64_t) 1.
37483         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37484         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37485         Replace 1UL with (uint64_t) 1.
37486         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37487         int with uint64_t.
37489 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37491         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37492         (if_freenameindex): Likewise.
37494         * resource/getrlimit64.c: Add missing libc_hidden_def.
37496 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37498         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37499         __label__.
37500         (_FP_FMA): Likewise.
37501         (_FP_TO_INT_ROUND): Likewise.
37502         (_FP_FROM_INT): Likewise.
37504 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37506         [BZ #16418]
37507         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37508         Make code racy and cancel safe.
37510 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37512         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37513         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37514         attribution.
37516         * pwd/tst-getpw.c: Rewrite.
37518         [BZ #17702]
37519         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37520         (modules-names): Add moddummy1 and moddummy2.
37521         ($(objpfx)tst-rec-dlopen): Define.
37522         * dlfcn/moddummy1.c: New file.
37523         * dlfcn/moddummy2.c: New file.
37524         * dlfcn/tst-rec-dlopen.c: New file.
37525         * elf/dl-cache.c (_dl_load_cache_lookup):
37526         Return char*. Copy result with alloca/strcpy/strdup.
37527         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37528         returns char*. Free cached. If not saving realname
37529         free cached.
37530         * elf/dl-open.c (dl_open_worker): Do not assert that
37531         _r_debug->r_state is RT_CONSISTENT.
37532         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37533         returns char*.
37535 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37536             Carlos O'Donell  <carlos@redhat.com>
37538         [BZ #12674]
37539         * nptl/sem_waitcommon.c: New file.
37540         * nptl/sem_wait.c: Include sem_waitcommon.c.
37541         (__sem_wait_cleanup, do_futex_wait): Remove.
37542         (__new_sem_wait): Adapt.
37543         (__new_sem_trywait): New function.
37544         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37545         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37546         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37547         (sem_timedwait): Adapt.
37548         * nptl/sem_post.c (__new_sem_post): Adapt.
37549         (futex_wake): New function.
37550         (__old_sem_post): Add release MO fence.
37551         * nptl/sem_open.c (sem_open): Adapt.
37552         * nptl/sem_init.c (__new_sem_init): Adapt.
37553         (futex_private_if_supported): New function.
37554         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37555         (__old_sem_getvalue): Add using previous code.
37556         * sysdeps/nptl/internaltypes.h: Adapt.
37557         * nptl/tst-sem13.c (do_test): Adapt.
37558         * nptl/tst-sem11.c (main): Adapt.
37559         * nptl/sem_trywait.c: Remove.
37560         * nptl/DESIGN-sem.txt: Remove.
37561         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37562         (gen-as-const-headers): Remove structsem.sym.
37563         * nptl/structsem.sym: Remove.
37564         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37565         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37566         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37567         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37568         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37569         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37570         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37571         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37572         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37573         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37574         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37575         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37576         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37577         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37578         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37579         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37580         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37581         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37582         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37583         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37584         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37585         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37587 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37589         * INSTALL: Regenerated.
37591         * po/libc.pot: Regenerated.
37593 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37594             Sandra Loosemore  <sandra@codesourcery.com>
37595             Andrew Jenner  <andrew@codesourcery.com>
37596             Joseph Myers  <joseph@codesourcery.com>
37597             Nathan Sidwell  <nathan@codesourcery.com>
37599         * NEWS: Mention new Nios II port.
37600         * sysdeps/nios2/Implies: New file.
37601         * sysdeps/nios2/Makefile: New file.
37602         * sysdeps/nios2/Subdirs: New file.
37603         * sysdeps/nios2/Versions: New file.
37604         * sysdeps/nios2/__longjmp.S: New file.
37605         * sysdeps/nios2/abort-instr.h: New file.
37606         * sysdeps/nios2/backtrace.c: New file.
37607         * sysdeps/nios2/bits/endian.h: New file.
37608         * sysdeps/nios2/bits/fenv.h: New file.
37609         * sysdeps/nios2/bits/link.h: New file.
37610         * sysdeps/nios2/bits/setjmp.h: New file.
37611         * sysdeps/nios2/bsd-_setjmp.S: New file.
37612         * sysdeps/nios2/bsd-setjmp.S: New file.
37613         * sysdeps/nios2/configure: New generated file.
37614         * sysdeps/nios2/configure.ac: New file.
37615         * sysdeps/nios2/crti.S: New file.
37616         * sysdeps/nios2/crtn.S: New file.
37617         * sysdeps/nios2/dl-init.c: New file.
37618         * sysdeps/nios2/dl-machine.h: New file.
37619         * sysdeps/nios2/dl-sysdep.h: New file.
37620         * sysdeps/nios2/dl-tls.h: New file.
37621         * sysdeps/nios2/dl-trampoline.S: New file.
37622         * sysdeps/nios2/gccframe.h: New file.
37623         * sysdeps/nios2/gmp-mparam.h: New file.
37624         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37625         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37626         * sysdeps/nios2/ldsodefs.h: New file.
37627         * sysdeps/nios2/libc-tls.c: New file.
37628         * sysdeps/nios2/libm-test-ulps: New file.
37629         * sysdeps/nios2/machine-gmon.h: New file.
37630         * sysdeps/nios2/math-tests.h: New file.
37631         * sysdeps/nios2/math_private.h: New file.
37632         * sysdeps/nios2/memusage.h: New file.
37633         * sysdeps/nios2/nptl/Makefile: New file.
37634         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37635         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37636         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37637         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37638         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37639         * sysdeps/nios2/nptl/tls.h: New file.
37640         * sysdeps/nios2/preconfigure: New file.
37641         * sysdeps/nios2/s_fma.c: New file.
37642         * sysdeps/nios2/s_fmaf.c: New file.
37643         * sysdeps/nios2/setjmp.S: New file.
37644         * sysdeps/nios2/sfp-machine.h: New file.
37645         * sysdeps/nios2/sotruss-lib.c: New file.
37646         * sysdeps/nios2/stackguard-macros.h: New file.
37647         * sysdeps/nios2/stackinfo.h: New file.
37648         * sysdeps/nios2/start.S: New file.
37649         * sysdeps/nios2/sysdep.h: New file.
37650         * sysdeps/nios2/tls-macros.h: New file.
37651         * sysdeps/nios2/tst-audit.h: New file.
37652         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37653         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37654         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37655         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37656         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37657         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37658         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37659         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37660         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37661         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37662         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37663         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37664         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37665         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37666         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37667         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37668         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37669         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37670         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37671         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37672         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37673         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37674         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37675         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37676         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37677         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37678         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37679         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37680         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37681         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37682         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37683         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37684         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37685         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37686         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37687         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37688         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37689         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37690         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37691         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37692         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37693         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37694         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37695         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37697 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37699         [BZ #17844]
37700         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37701         (getutent): Use weak_alias in non SHARED case
37702         and default_symbol_version in SHARED case.
37703         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37704         (getutent_r, pututline): Likewise.
37705         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37706         (getutid): Likewise.
37707         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37708         (getutid_r): Likewise.
37709         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37710         (getutline): Likewise.
37711         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37712         (getutline_r): Likewise.
37713         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37714         (updwtmp): Likewise.
37716 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37718         [BZ #17848]
37719         * sysdeps/s390/s390-32/memcmp.S
37720         (memcmp_g5): Rename to __memcmp_g5.
37721         * sysdeps/s390/s390-32/memcpy.S
37722         (memcpy_g5): Rename to __memcpy_g5.
37723         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37724         (memcpy_mvcle) Rename to __memcpy_mvcle.
37725         * sysdeps/s390/s390-32/memset.S
37726         (memset_g5): Rename to __memset_g5.
37727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37728         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37729         and use prefixed functions.
37730         * sysdeps/s390/s390-32/multiarch/memcmp.S
37731         (memcmp_z196): Rename to __memcmp_z196.
37732         (memcmp_z10): Rename to __memcmp_z10.
37733         (memcmp): Set alias to __memcmp_g5.
37734         (bcmp): Set alias to __memcmp_g5.
37735         * sysdeps/s390/s390-32/multiarch/memcpy.S
37736         (memcpy_z196): Rename to __memcpy_z196.
37737         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37738         (memcpy_z10): Rename to __memcpy_z10.
37739         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37740         (memcpy): Set alias to __memcpy_g5.
37741         * sysdeps/s390/s390-32/multiarch/memset.S
37742         (memset_z196): Rename to __memset_z196.
37743         Jump to __memset_mvcle instead of memset_mvcle.
37744         (memset_z10): Rename to __memset_z10.
37745         Jump to __memset_mvcle instead of memset_mvcle.
37746         (memset_mvcle) Rename to __memset_mvcle.
37747         (memset): Set alias to __memset_g5.
37748         * sysdeps/s390/s390-64/memcmp.S
37749         (memcmp_z900): Rename to __memcmp_z900.
37750         * sysdeps/s390/s390-64/memcpy.S
37751         (memcpy_z900): Rename to __memcpy_z900.
37752         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37753         (memcpy_mvcle) Rename to __memcpy_mvcle.
37754         * sysdeps/s390/s390-64/memset.S
37755         (memset_z900): Rename to __memset_z900.
37756         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37757         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37758         and use prefixed functions.
37759         * sysdeps/s390/s390-64/multiarch/memcmp.S
37760         (memcmp_z196): Rename to __memcmp_z196.
37761         (memcmp_z10): Rename to __memcmp_z10.
37762         (memcmp): Set alias to __memcmp_z900.
37763         (bcmp): Set alias to __memcmp_z900.
37764         * sysdeps/s390/s390-64/multiarch/memcpy.S
37765         (memcpy_z196): Rename to __memcpy_z196.
37766         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37767         (memcpy_z10): Rename to __memcpy_z10.
37768         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37769         (memcpy): Set alias to __memcpy_z900.
37770         * sysdeps/s390/s390-64/multiarch/memset.S
37771         (memset_z196): Rename to __memset_z196.
37772         Jump to __memset_mvcle instead of memset_mvcle.
37773         (memset_z10): Rename to __memset_z10.
37774         Jump to __memset_mvcle instead of memset_mvcle.
37775         (memset_mvcle) Rename to __memset_mvcle.
37776         (memset): Set alias to __memset_z900.
37778 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37780         [BZ #17748]
37781         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37782         __fesetenv instead of fesetenv.
37784 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37786         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37787         macro.
37789 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37791         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37792         regression on LE.
37794         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37795         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37796         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37797         strncmp-power8 object.
37798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37799         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37800         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37801         * NEWS: Update.
37803 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37804             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37806         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37807         trailing byte check.
37809 2015-01-13  David S. Miller  <davem@davemloft.net>
37811         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37813 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37815         * login/logout.c (logout): Use memset rather than bzero.
37816         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37817         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37818         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37819         (_gethtbyaddr): Likewise.
37820         * locale/programs/simple-hash.c (bcopy): Macro removed.
37822 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37824         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37825         Add strcmp-power8 object.
37826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37827         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37828         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37829         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37830         __strcmp_power8 implementation.
37831         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37832         * NEWS: Update.
37834         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37835         Add strncpy-power8 and stpncpy-power8 objects.
37836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37837         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37838         implementations.
37839         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37840         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37841         __stpncpy_power8 implementation.
37842         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37843         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37844         __strncpy_power8 implementation.
37845         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37846         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37847         * NEWS: Update.
37849         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37850         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37851         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37854         strncat-power8 object.
37855         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37856         __strcat_power8 implementation.
37857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37858         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37859         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37860         optimized strcat for power8.
37862         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37863         strcpy-power8 and stpcpy-power8 objects.
37864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37865         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37866         implementations.
37867         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37868         multiarch stpcpy implementation for POWER8.
37869         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37870         multiarch strcpy implementation for POWER8.
37871         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37872         __strcpy_power8 function.
37873         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37874         stpcpy for POWER8.
37875         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37876         strcpy for POWER8.
37877         * NEWS: Update.
37879 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37881         [BZ #16009]
37882         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37883         weights and rules. Use do_xfrm_cached if data fits in cache,
37884         do_xfrm otherwise.  Moved former main loop to...
37885         * (do_xfrm_cached): New function.
37886         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37887         find_idx, find_position and stack_push.
37888         * (find_idx): New function.
37889         * (find_position): Likewise.
37890         * localedata/sort-test.sh: Added test run for do_xfrm.
37891         * localedata/xfrm-test.c (main): Added command line option
37892         -nocache to run the test with strings that are too large for
37893         the STRXFRM cache.
37895 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37897         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37898         variable to lll_futex_wake call, not the value itself.
37900 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37902         [BZ #17803]
37903         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37904         twom64.  Adjust value to 0x1p-64L.
37905         (__scalblnl): Only return standard underflowing result for K <=
37906         -64 not K <= -63; adjust exponent for underflowing result by 64
37907         not 63.
37908         * math/libm-test.inc (scalbn_test_data): Add more tests.
37909         (scalbln_test_data): Likewise.
37911         [BZ #17834]
37912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37913         0x1p63L.
37914         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37915         not HX.
37916         * math/libm-test.inc (scalbn_test_data): Add more tests.
37917         (scalbln_test_data): Likewise.
37919 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37920             Stefani Seibold  <stefani@seibold.net>
37922         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37923         (sysdep_routines): Add dl-vdso here, ...
37924         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37925         (sysdep_routines): ... not here.
37926         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37927         fallback when vDSO is not presented.
37928         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37929         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37930         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37931         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37932         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37933         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37935         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37936         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37937         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37938         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37939         fallback configurable symbol when vDSO is not available.
37940         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37941         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37942         be able to redefine fallback symbol when vDSO is not available.
37943         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37944         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37946 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37948         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37949         (TLS_INIT_TP): Add tm_capable initialization.
37950         (TLS_DEFINE_INIT_TP): Likewise.
37951         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37952         TCB.
37953         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37954         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37955         calculation.
37956         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37957         transactoion is lock elision is built and TCB tm_capable is set.
37958         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37960         (INTERNAL_SYSCALL_NCS): Likewise.
37961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37962         (INTERNAL_SYSCALL_NCS): Likewise.
37963         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37965         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37966         for powerpc.
37967         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37968         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37969         and remove it for 32 bits case.
37970         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37972         initialization.
37973         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37974         Disable lock elision with rdlocks if elision is not available.
37976         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37977         (sysdep_routines): Add lock elision objects.
37978         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37979         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37980         [pthread_mutex_t] (__elision): Add field.
37981         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37982         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37983         elision definitions for powerpc.
37984         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37985         implementation of lock elision for powerpc.
37986         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37987         implementation of timed lock elision for powerpc.
37988         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37989         implementation of trylock with lock elision for powerpc.
37990         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37991         implementaion of unlock for lock elision for powerpc.
37992         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37993         automatic enable lock elision for mutexes.
37994         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37995         transaction execution definitions for powerpc.
37996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37997         definitions.
37998         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37999         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38000         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38001         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38002         * NEWS: Update.
38004 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38006         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38007         for #include of <shm-directory.h>.
38009 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38011         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38012         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38014 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38016         [BZ #17791]
38017         * NEWS: Mention bug fix.
38018         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38019         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38020         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38022 2015-01-09  Torvald Riegel <triegel@redhat.com>
38024         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38026 2015-01-09  Torvald Riegel <triegel@redhat.com>
38028         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38030 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38032         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38033         pointer and cast to uintptr_t.
38035 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38037         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38038         removed.
38039         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38041 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38043         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38044         of 0.
38046 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38048         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38049         <nptl/pthreadP.h> instead.
38050         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38052         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38053         already defined.
38054         [__SIGRTMIN] (init): Function removed.
38055         [__SIGRTMIN] (initialized): Variable removed.
38056         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38057         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38058         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38059         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38060         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38061         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38062         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38063         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38064         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38065         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38066         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38067         * sysdeps/nptl/allocrtsig.c: New file.
38068         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38069         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38070         * sysdeps/generic/testrtsig.h: File removed.
38072         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38073         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38075         * nptl/nptl-init.c (pthread_functions): Conditionalize
38076         .ptr__nptl_setxid initialization on [SIGSETXID].
38078         * sysdeps/nptl/sys/procfs.h: New file.
38079         * nptl_db/Makefile (headers): Add it.
38080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38082         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38083         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38084         * nptl/pthread_attr_setaffinity.c: Include it.
38085         * nptl/pthread_setattr_default_np.c: Likewise.
38086         * nptl/check-cpuset.h: New file.
38088 2015-01-08  Richard Henderson  <rth@redhat.com>
38090         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38091         (CFLAGS-tst-execstack-prog.c): Likewise.
38092         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38094 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38095             Sandra Loosemore  <sandra@codesourcery.com>
38096             Andrew Jenner  <andrew@codesourcery.com>
38097             Joseph Myers  <joseph@codesourcery.com>
38098             Nathan Sidwell  <nathan@codesourcery.com>
38100         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38101         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38102         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38103         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38104         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38105         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38106         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38107         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38108         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38109         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38110         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38111         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38112         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38113         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38114         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38115         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38116         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38118 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38120         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38121         timespec struct member in syscall macro.
38122         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38123         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38124         first timeval struct member in syscall macro.
38125         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38127 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38129         [BZ #17748]
38130         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38131         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38132         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38133         __feupdateenv and define as weak alias of __feupdateenv.  Use
38134         libm_hidden_weak.
38135         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38136         libm_hidden_def.
38137         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38138         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38139         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38140         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38141         libm_hidden_def.
38142         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38143         __feupdateenv and define as weak alias of __feupdateenv.  Use
38144         libm_hidden_weak.
38145         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38146         libm_hidden_def.
38147         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38148         __feupdateenv and define as weak alias of __feupdateenv.  Use
38149         libm_hidden_weak.
38150         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38151         libm_hidden_def.
38152         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38153         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38154         (__feupdateenv): Likewise.
38155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38156         __feupdateenv and define as weak alias of __feupdateenv.  Use
38157         libm_hidden_weak.
38158         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38159         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38160         libm_hidden_def.
38161         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38162         function.
38163         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38164         libm_hidden_def.
38165         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38166         __feupdateenv instead of feupdateenv.
38167         (default_libc_feupdateenv_test): Likewise.
38168         (libc_feresetround_ctx): Likewise.
38170 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38172         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38173         prototype.
38175 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38177         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38178         COLL_SYM in a couple of places to avoid uninitialized variable
38179         wanings on tilegx gcc 4.8.2.
38181 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38183         * sysdeps/aarch64/strcpy.S: New file.
38184         * sysdeps/aarch64/stpcpy.S: New file.
38185         * NEWS: Updated.
38187 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38189         * sysdeps/aarch64/strrchr.S: New file.
38190         * NEWS: Updated.
38192 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38194         [BZ #17658]
38195         * stdlib/setenv.c: Fix memory leak when setting large,
38196         duplicate string.
38198 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38200         [BZ #17273]
38201         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38202         and tabs from buffer before parsing fstab entry.
38203         * misc/tst-mntent.c (main): Add test for mount entry with
38204         trailing spaces and tabs.
38206 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38208         [BZ #17748]
38209         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38210         * math/fesetround.c (fesetround): Rename to __fesetround and
38211         define as weak alias of __fesetround.  Use libm_hidden_weak.
38212         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38213         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38214         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38215         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38216         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38217         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38218         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38219         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38220         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38221         __fesetround_inline.
38222         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38223         __fesetround_inline instead of __fesetround.
38224         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38225         __fesetround and define as weak alias of __fesetround.  Use
38226         libm_hidden_weak.  Call __fesetround_inline instead of
38227         __fesetround.
38228         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38229         __fesetround and define as weak alias of __fesetround.  Use
38230         libm_hidden_weak.
38231         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38232         Likewise.
38233         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38234         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38235         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38236         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38237         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38238         __fesetround and define as weak alias of __fesetround.  Use
38239         libm_hidden_weak.
38240         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38241         __fesetround instead of fesetround.
38242         (default_libc_feholdexcept_setround): Likewise.
38243         (libc_feholdsetround_ctx): Likewise.
38244         (libc_feholdsetround_noex_ctx): Likewise.
38246         [BZ #17748]
38247         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38248         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38249         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38250         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38251         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38252         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38253         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38254         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38255         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38256         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38257         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38258         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38259         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38260         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38261         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38262         libm_hidden_def.
38263         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38264         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38265         Likewise.
38266         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38267         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38268         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38269         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38270         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38271         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38272         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38273         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38274         __fesetenv instead of fesetenv.
38275         (libc_feresetround_noex_ctx): Likewise.
38276         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38277         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38278         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38279         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38280         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38281         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38282         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38283         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38284         (__feupdateenv): Likewise.
38285         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38286         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38287         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38288         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38290 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38292         [BZ #17806]
38293         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38294         addresses have been freed.
38296 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38298         * resolv/res_init.c (__res_vinit): Improve comments about nserv
38299         and nservall.
38301 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
38303         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38304         Clean up check_pf allocation pattern. addresses
38306 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38308         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38309         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38310         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38311         * nptl/pthread_exit.c (__pthread_exit): Likewise.
38312         * nptl/pthread_join.c (pthread_join): Likewise.
38313         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38314         * sysdeps/posix/waitid.c (__waitid): Likewise.
38315         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38316         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38317         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38318         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38320         Likewise.
38321         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38322         (__libc_pread64): Likewise.
38323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38324         (__libc_pwrite): Likewise.
38325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38326         (__libc_pwrite64): Likewsie.
38327         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38328         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38329         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38330         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38331         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38332         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38333         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38335         Likewise.
38336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38337         (__libc_pread64): Likewise.
38338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38339         Likewise.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38341         (__libc_pwrite64): Likewise.
38342         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38343         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38344         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38345         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38346         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38347         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38348         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38349         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38350         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38351         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38352         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38353         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38354         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38355         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38356         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38357         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38358         Likewise.
38360 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38362         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38363         (CFLAGS-test-double.c): Likewise.
38364         (CFLAGS-test-ldouble.c): Likewise.
38365         (CPPFLAGS-test-ifloat.c): Likewise.
38366         (CPPFLAGS-test-idouble.c): Likewise.
38367         (CPPFLAGS-test-ildoubl.c): Likewise.
38368         (CFLAGS-test-test-fenv.c): Remove variable.
38369         (CFLAGS-test-misc.c): Likewise.
38371 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
38373         [BZ #17797]
38374         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38375         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38376         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38377         CLOCKS_PER_SEC == 1000000.
38378         * time/clocktest.c (main): Replace %ld with %jd and cast to
38379         intmax_t.
38381 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38383         * sysdeps/generic/unwind-resume.h: New file.
38384         * sysdeps/gnu/unwind-resume.c: Include it.
38385         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38386         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38387         argument list.
38388         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38389         global rather than static.
38390         (_Unwind_Resume): Update user.
38391         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38392         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38393         rather than static.  Add __attribute__ ((cold)).
38394         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38395         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38396         * sysdeps/arm/arm-unwind-resume.S: New file.
38397         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38398         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38399         * sysdeps/arm/Makefile [$(subdir) = csu]
38400         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38401         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38402         Add rt-arm-unwind-resume.
38403         [$(subdir) = nptl]
38404         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38405         Add pt-arm-unwind-resume.
38406         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38407         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38409 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38411         [BZ #17748]
38412         * include/fenv.h (__feholdexcept): Declare.  Use
38413         libm_hidden_proto.
38414         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38415         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38416         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38417         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38418         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38419         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38420         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38421         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38422         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38423         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38424         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38425         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38426         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38427         (feholdexcept): Likewise.
38428         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38429         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38430         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38431         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38432         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38433         __feholdexcept instead of feholdexcept.
38434         (default_libc_feholdexcept_setround): Likewise.
38436 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38438         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38439         to avoid using stl/str to align destination.
38441 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38443         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38445 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #17796]
38448         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38449         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38450         Define as weak alias not strong alias.
38452 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38454         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38455         bltzal with addiupc.
38456         (RTLD_START): Ditto.
38458 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38460         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38461         for __vdso_* functions in declarations.
38462         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38463         definitions.
38464         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38465         INTERNAL_VSYSCALL): Use struct return types to check for error.
38467         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38468         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38469         function with cast from llround().
38470         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38471         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38472         Define.
38474 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38476         [BZ #17793]
38477         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38478         Define as weak alias not strong alias.
38480         [BZ #17635]
38481         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38482         ...
38483         * ctype/ctype-extn.c: ... here.
38484         (__isblank_l): Move to ...
38485         * ctype/ctype-c99_l.c: ... here.  New file.
38486         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38487         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38488         Remove variable.
38489         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38490         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38491         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38492         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38493         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38495         [BZ #17777]
38496         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38497         (posix_fadvise64): Define as weak alias not strong alias.
38498         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38499         (posix_fallocate64): Likewise.
38500         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38501         Remove variable.
38502         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38503         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38504         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38505         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38506         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38508 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38510         [BZ #16191]
38511         * NEWS: Mention bug fix.
38512         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38513         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38514         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38515         (HOST_STACK_END_ADDR): Likewise.
38517 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38519         [BZ #17748]
38520         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38521         * math/fegetround.c (fegetround): Rename to __fegetround and
38522         define as weak alias of __fegetround.  Use libm_hidden_weak.
38523         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38524         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38525         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38526         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38527         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38528         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38529         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38530         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38531         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38532         Undefine after rather than before function definition; use
38533         parentheses around function name in definition.
38534         (__fegetround): Also undefine macro after function definition.
38535         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38536         __fegetround and define as weak alias of __fegetround.  Use
38537         libm_hidden_weak.  Do not undefine as macro.
38538         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38539         Likewise.
38540         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38541         __fegetround and define as weak alias of __fegetround.  Use
38542         libm_hidden_weak.
38543         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38544         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38545         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38546         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38547         __fegetround and define as weak alias of __fegetround.  Use
38548         libm_hidden_weak.
38549         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38550         __fegetround instead of fegetround.
38552         [BZ #17782]
38553         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38554         Condition macro definition on [__USE_MISC].
38556         [BZ #17781]
38557         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38558         (struct sigaction): Change type of sa_flags field to int.
38560         [BZ #17780]
38561         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38562         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38563         __glibc_reserved0.
38565         * nptl/version.c (banner): Use single year in copyright notice.
38567         * NEWS: Update copyright dates.
38568         * catgets/gencat.c (print_version): Likewise.
38569         * csu/version.c (banner): Likewise.
38570         * debug/catchsegv.sh: Likewise.
38571         * debug/pcprofiledump.c (print_version): Likewise.
38572         * debug/xtrace.sh (do_version): Likewise.
38573         * elf/ldconfig.c (print_version): Likewise.
38574         * elf/ldd.bash.in: Likewise.
38575         * elf/pldd.c (print_version): Likewise.
38576         * elf/sotruss.sh: Likewise.
38577         * elf/sprof.c (print_version): Likewise.
38578         * iconv/iconv_prog.c (print_version): Likewise.
38579         * iconv/iconvconfig.c (print_version): Likewise.
38580         * locale/programs/locale.c (print_version): Likewise.
38581         * locale/programs/localedef.c (print_version): Likewise.
38582         * login/programs/pt_chown.c (print_version): Likewise.
38583         * malloc/memusage.sh (do_version): Likewise.
38584         * malloc/memusagestat.c (print_version): Likewise.
38585         * malloc/mtrace.pl: Likewise.
38586         * manual/libc.texinfo: Likewise.
38587         * nptl/version.c (banner): Likewise.
38588         * nscd/nscd.c (print_version): Likewise.
38589         * nss/getent.c (print_version): Likewise.
38590         * nss/makedb.c (print_version): Likewise.
38591         * posix/getconf.c (main): Likewise.
38592         * scripts/test-installation.pl: Likewise.
38593         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38595 2015-01-02  Will Newton  <will.newton@linaro.org>
38597         * sysdeps/arm/armv7/configure: Removed.
38598         * sysdeps/arm/armv7/configure.ac: Likewise.
38600 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38602         * All files with FSF copyright notices: Update copyright dates
38603         using scripts/update-copyrights.
38604         * intl/plural.c: Regenerated.
38605         * locale/programs/charmap-kw.h: Likewise.
38606         * locale/programs/locfile-kw.h: Likewise.
38608 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38610         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38612 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #17748]
38615         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38616         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38617         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38618         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38619         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38620         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38621         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38622         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38623         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38624         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38625         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38626         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38627         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38628         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38629         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38630         libm_hidden_def.
38631         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38633         Likewise.
38634         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38635         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38636         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38637         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38638         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38639         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38640         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38641         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38642         __fegetenv instead of fegetenv.
38643         (libc_feholdsetround_noex_ctx): Likewise.
38645 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38647         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38648         (Elf_MIPS_ABIFlags_v0): New structure.
38649         (EF_MIPS_FP64): Define.
38650         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38651         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38652         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38653         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38654         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38655         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38656         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38657         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38658         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38659         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38660         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38661         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38662         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38663         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38664         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38665         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38666         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38667         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38668         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38669         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38670         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38671         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38672         field.
38673         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38674         EF_MIPS_FP64.
38675         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38676         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38677         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38678         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38679         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38680         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38681         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38682         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38683         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38684         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38685         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38686         record the current FP ABI extension.
38687         (mips-mode-switch): Define to show if kernel headers support mode
38688         switching.
38689         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38690         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38691         supported SYSV ABI version to 3.
38692         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38693         feature.
38695 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38698         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38699         path.
38700         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38702 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38704         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38705         __fegetround and redefine to call __fegetround.  Remove condition
38706         on [!__NO_MATH_INLINES].
38707         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38708         function.
38709         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38710         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38711         Remove macro.
38712         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38713         instead of <fenv_libc.h>.
38714         (__llrintl): Call fegetround instead of __fegetround.
38715         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38716         instead of <fenv_libc.h>.
38717         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38718         (__lrintl): Call fegetround instead of __fegetround.
38719         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38720         instead of <fenv_libc.h>.
38721         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38722         (__rintl): Call fegetround instead of __fegetround.
38724 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38726         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38727         arrays.
38729 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38731         [BZ #17775]
38732         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38733         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38734         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38736 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38738         * sysdeps/i386/tls-macros.h: Include <features.h>.
38739         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38740         (TLS_IE): Likewise.
38741         (TLS_LD): Likewise.
38742         (TLS_GD): Likewise.
38743         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38744         define for GCC >= 5.0.
38746 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38748         * math/test-fenv.c (test_single_exception, set_single_exc,
38749         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38750         feexcp_mask_test, feenable_test, fe_single_test): Add
38751         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38752         case where they are not used.
38753         * math/libm-test.inc: Likewise.
38754         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38755         unused in the absence of FP rounding/exception support.
38756         * stdio-common/tst-printf-round.c: Likewise.
38757         * stdlib/tst-strtod-round.c: Likewise.
38758         * stdlib/tst-strtod-underflow.c: Likewise.
38760 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38762         [BZ #17723]
38763         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38764         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38765         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38766         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38767         libm_hidden_weak.
38768         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38769         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38770         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38771         libm_hidden_def.
38772         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38773         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38774         libm_hidden_weak.
38775         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38776         Likewise.
38777         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38778         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38779         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38780         libm_hidden_weak.
38781         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38782         libm_hidden_def.
38783         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38784         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38785         (__feraiseexcept): Likewise.
38786         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38787         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38788         libm_hidden_weak.
38789         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38790         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38791         libm_hidden_def.
38792         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38793         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38794         Use libm_hidden_def.
38795         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38796         libm_hidden_def.
38797         (feraiseexcept): Define as weak not strong alias.  Use
38798         libm_hidden_weak.
38799         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38800         New inline function.  Factored out of ...
38801         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38802         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38803         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38804         feraiseexcept.
38805         * math/w_acos.c (__acos): Likewise.
38806         * math/w_asin.c (__asin): Likewise.
38807         * math/w_ilogb.c (__ilogb): Likewise.
38808         * math/w_j0.c (y0): Likewise.
38809         * math/w_j1.c (y1): Likewise.
38810         * math/w_jn.c (yn): Likewise.
38811         * math/w_log.c (__log): Likewise.
38812         * math/w_log10.c (__log10): Likewise.
38813         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38814         * sysdeps/aarch64/fpu/math_private.h
38815         (libc_feupdateenv_test_aarch64): Likewise.
38816         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38817         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38818         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38819         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38820         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38821         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38822         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38823         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38824         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38825         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38827 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38829         [BZ #17732]
38830         * io/test-utime.c (main): Replace %ld with %jd and cast to
38831         intmax_t.
38832         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38833         * nptl/tst-mutex5.c: Include <stdint.h>.
38834         (do_test): Replace %ld with %jd and cast to intmax_t.
38835         * posix/tst-regex.c (run_test): Likewise.
38836         (run_test_backwards): Likewise.
38837         * rt/tst-clock.c: Include <stdint.h>.
38838         (clock_test): Replace %ld with %jd and cast to intmax_t.
38839         * rt/tst-cpuclock1.c: Include <stdint.h>.
38840         (do_test): Replace %lu with %ju and cast to uintmax_t.
38841         * rt/tst-cpuclock2.c: Include <stdint.h>.
38842         (do_test): Replace %lu with %ju and cast to uintmax_t.
38843         * rt/tst-mqueue1.c: Include <stdint.h>.
38844         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38845         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38846         intmax_t.
38847         * rt/tst-mqueue4.c (do_test): Likewise.
38848         * rt/tst-timer4.c: Include <stdint.h>.
38849         (check_ts): Replace %ld with %jd and cast to intmax_t.
38850         (do_test): Likewise.
38851         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38852         and cast to intmax_t.
38853         * sysdeps/pthread/tst-timer.c (main): Likewise.
38854         * time/clocktest.c (main): Likewise.
38855         * time/tst-posixtz.c (do_test): Likewise.
38856         * timezone/tst-timezone.c (main): Likewise.
38858 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38859             H.J. Lu  <hongjiu.lu@intel.com>
38861         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38862         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38863         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38864         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38865         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38866         version if bit_Fast_Unaligned_Load is set.
38867         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38868         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38869         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38870         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38871         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38872         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38874         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38875         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38876         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38877         to 4.
38878         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38879         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38880         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38881         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38883 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38885         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38886         instead of #if to avoid a Wundef warning.
38887         * stdlib/tst-limits.c (do_test): Likewise.
38889         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38890         parallel other exception macros.
38891         (fegetenv): Convert from macro to extern inline so that it applies
38892         retroactively to inline functions already seen by the compiler.
38893         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38895         * posix/Makefile (before-compile): Use $(objpfx) for
38896         posix-conf-vars-def.h.
38898 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38900         * posix/getconf.c (main): Use size_t for type of I.
38901         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38902         NSPEC.
38904         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38905         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38906         * posix/posix-envs.def: Likewise.
38907         * sysdeps/posix/sysconf.c: Likewise.
38908         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38909         (specs): Remove array.
38910         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38911         array.
38913         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38914         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38915         (__sysconf): Use CONF_IS_* macros.
38917         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38918         ($(objpfx)posix-conf-vars-def.h): New target.
38919         * posix/posix-conf-vars.list: New file.
38920         * posix/posix-conf-vars.h: New file.
38921         * posix/confstr.c: Include posix-conf-vars.h.
38922         (confstr): Use CONF_IS_* macros.
38923         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38924         CONF_IS_* macros.
38925         * scripts/gen-posix-conf-vars.awk: New file.
38927 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38929         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38930         fegetround): Add no-op macros to avoid linknamespace issues.
38932         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38933         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38935         * sysdeps/unix/sysv/linux/tile/sysdep.h
38936         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38937         assembly-specific section to avoid a redefinition warning.
38939         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38940         long before casting to pointer to avoid a cast warning.
38942 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38944         * sysdeps/tile/tilegx/Implies: New file.
38946 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38948         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38950 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38952         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38954 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38957         not define.
38958         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38959         <kernel-features.h>.
38960         (__utimes) [__NR_utimes]: Make code unconditional.
38961         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38962         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38963         (__ASSUME_UTIMES): Do not undefine.
38964         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38965         (__ASSUME_UTIMES): Likewise.
38966         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38967         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38968         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38969         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38971 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38973         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38975 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38977         [BZ #17747]
38978         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38979         alias to weak alias for j0l, y0l.
38980         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38981         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38983         [BZ #17746]
38984         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38985         conversion.
38987 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38989         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38990         to zero if not already defined.
38992 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38994         [BZ #17724]
38995         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38996         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38997         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38998         (char *) casts added.
38999         * sysdeps/ieee754/k_standardf.c: New file.
39000         * sysdeps/ieee754/k_standardl.c: Likewise.
39001         * math/Makefile (libm-support): Remove k_standard.
39002         (libm-calls): Add k_standard.
39004 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39006         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39007         Optimize to avoid an unnecessary FPCR read.
39009 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39012         Optimize to reduce FPCR/FPSR accesses.
39014 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39016         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39017         Call libc_fetestexcept_aarch64.
39019 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39021         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39022         Call libc_fesetround_aarch64.
39024 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39026         [BZ #17733]
39027         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39028         (__bind): Do not define as weak alias.
39029         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39030         define.
39031         (__getsockname): Do not define as weak alias.
39033 2014-12-22  Will Newton  <will.newton@linaro.org>
39035         * manual/install.texi: Document that we require bison 2.7
39036         or above.
39037         * INSTALL: Regenerate.
39038         * configure.ac: Use AC_CHECK_PROG_VER instead of
39039         AC_PATH_PROG when checking for bison and check for
39040         version 2.7 or above.
39041         * configure: Regenerate.
39043 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39045         [BZ #17745]
39046         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39047         * sysdeps/tile/ffsll.c (ffsll): To here.
39049         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39051 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39053         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39054         if not defined.
39055         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39056         definition.
39057         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39058         hidden ___tls_get_addr.
39059         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39060         hidden __tls_get_addr.
39061         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39062         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39063         Likewise.
39065 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39067         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39068         _dl_init call.
39070 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39072         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39073         from "call _dl_init@PLT".
39074         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39076 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39078         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39079         guarantees.
39081 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39083         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39085 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39087         [BZ #17744]
39088         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39089         strnlen.
39091 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39093         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39094         of multu on MIPSr6.
39095         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39096         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39097         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39098         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39099         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39101 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39103         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39104         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39105         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39106         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39107         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39108         mips32r6/mips64r6.
39109         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39111 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39113         * string/strncat.c (STRNCAT): Simplify implementation.
39115 2014-12-19  David S. Miller  <davem@davemloft.net>
39117         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39118         access the quad as both a long double and as a series of 4 words.
39120         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39121         link_map->l_info array access.
39123 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39125         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39127         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39128         * math/atest-exp2.c (TIMEOUT): Likewise.
39129         * math/atest-sincos.c (TIMEOUT): Likewise.
39131 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39133         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39134         -Wno-error with -fno-builtin-lround.
39136 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39138         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39139         Contains futex constants and functions moved over from ...
39140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39141         <lowlevellock-futex.h>.
39142         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39143         (lll_timedwait_tid): Add comments and parentheses around macro
39144         arguments.
39146 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39148         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39149         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39150         (__lll_private_flag): Remove.
39151         (lll_futex_wait): Likewise.
39152         (lll_futex_timed_wait): Likewise.
39153         (lll_futex_wake): Likewise.
39154         (lll_futex_requeue): Likewise.
39155         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39156         (__lll_timedwait_tid): Spell out argument names.
39157         (lll_timedwait_tid): Add comments and parentheses around macro
39158         arguments.
39159         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39160         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39162 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39164         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39165         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39166         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39167         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39168         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39169         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39170         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39171         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39172         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39173         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39174         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39177         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39178         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39179         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39180         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39181         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39182         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39184 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39186         * sysdeps/x86_64/x32/Makefile: New file.
39188 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39190         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39191         1L with (mp_limb_t) 1.
39193 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39195         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39196         * nptl/libc_pthread_init.c: ... here.
39197         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39198         * nptl/register-atfork.c: ... here.
39200         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39201         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39202         Use assert_perror to check its return value.
39203         (__gai_create_helper_thread): Likewise.
39205         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39207         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39209 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39211         [BZ #17725]
39212         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39213         __profil_counter.
39214         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39215         Likewise.
39216         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39217         Likewise.
39218         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39219         Likewise.
39220         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39221         (profil_counter): Likewise.
39222         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39223         (profil_counter): Likewise.
39224         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39225         Likewise.
39226         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39227         Likewise.
39228         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39229         (profil_counter): Likewise.
39230         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39231         Likewise.
39232         [!__profil_counter] (profil_counter): Define as weak alias of
39233         __profil_counter.
39234         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39235         (profil_counter): Rename to __profil_counter.
39236         [!__profil_counter] (profil_counter): Define as weak alias of
39237         __profil_counter.
39238         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39239         (profil_counter): Rename to __profil_counter.
39240         [!__profil_counter] (profil_counter): Define as weak alias of
39241         __profil_counter.
39242         * sysdeps/posix/profil.c: Update comment referring to
39243         profil_counter.
39244         (__profil): Use __profil_counter instead of profil_counter.
39245         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39246         __profil_counter.  Use __profil_counter_ushort and
39247         __profil_counter_uint in definitions.
39248         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39249         instead of profil_counter_uint and profil_counter_ushort.
39251         [BZ #17722]
39252         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39253         define as weak alias of __inet_makeaddr.
39254         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39255         as weak alias of __inet_addr.
39256         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39257         as weak alias of __inet_pton.  Use libc_hidden_weak.
39258         * include/arpa/inet.h (__inet_pton): Declare.  Use
39259         libc_hidden_proto.
39260         (inet_makeaddr): Don't use libc_hidden_proto.
39261         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39262         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39263         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39264         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39265         Remove variable.
39266         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39267         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39269 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
39271         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39273 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39275         * stdio-common/bug-vfprintf-nargs.c (do_test):
39276         Cast value to intptr_t to avoid format warning
39277         for usage with PRIdPTR printing macro.
39279 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39281         * libio/tst-widetext.c (do_test):
39282         Use format type %td instead of %Zd for ptrdiff_t
39283         in order to avoid format warning.
39285 2014-12-17  Andreas Schwab  <schwab@suse.de>
39287         * nscd/mem.c (gc): Add size_t cast to match printf format.
39289 2014-12-16  Roland McGrath  <roland@hack.frob.com>
39291         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39292         (init): Apply PTR_MANGLE to pointers before storing them.
39293         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39294         before using them.
39296 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
39298         [BZ #17719]
39299         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39300         define as weak alias of __memrchr.
39301         (__memrchr): Do not define as strong alias of memrchr.
39302         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39303         Remove variable.
39304         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39305         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39306         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39308         [BZ #17717]
39309         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39310         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
39311         (if_indextoname): Rename to __if_indextoname and define as weak
39312         alias of __if_indextoname.  Use libc_hidden_weak.
39313         (if_freenameindex): Rename to __if_freenameindex and define as
39314         weak alias of __if_freenameindex.
39315         (if_nameindex): Rename to __if_nameindex and define as weak alias
39316         of __if_nameindex.
39317         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39318         __if_nametoindex and define as weak alias of __if_nametoindex.
39319         Use libc_hidden_weak.
39320         (if_freenameindex): Rename to __if_freenameindex and define as
39321         weak alias of __if_freenameindex.
39322         (if_nameindex): Rename to __if_nameindex and define as weak alias
39323         of __if_nameindex.
39324         (if_indextoname): Rename to __if_indextoname and define as weak
39325         alias of __if_indextoname.  Use libc_hidden_weak.
39326         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39327         __if_nametoindex and define as weak alias of __if_nametoindex.
39328         Use libc_hidden_weak.
39329         (if_freenameindex): Rename to __if_freenameindex and define as
39330         weak alias of __if_freenameindex.  Use libc_hidden_weak.
39331         (if_nameindex_netlink): Use __if_freenameindex instead of
39332         if_freenameindex.
39333         (if_nameindex): Rename to __if_nameindex and define as weak alias
39334         of __if_nameindex.  Use libc_hidden_weak.
39335         (if_indextoname): Rename to __if_indextoname and define as weak
39336         alias of __if_indextoname.  Use libc_hidden_weak.
39337         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39338         libc_hidden_proto.
39339         [!_ISOMAC] (__if_freenameindex): Likewise.
39340         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39341         if_nametoindex.
39342         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39343         variable.
39344         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39345         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39346         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39347         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39348         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39349         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39350         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39352         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39353         Remove variable.
39354         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39355         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39357 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39359         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39360         subscript above bounds'
39362         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39363         bounds.
39365 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
39367         * libio/tst-fopenloc.c: Use test-skeleton.c.
39369         * stdlib/tst-bsearch.c: Use test-skeleton.c.
39370         (entry): Rename to ITEM.
39371         (do_test, comp): Adjust.
39373         * stdio-common/tst-fseek.c: Use test-skeleton.c.
39375 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39377         * string/tester.c: Include <libc-internal.h>.
39378         (test_memset): Ignore -Wmemset-transposed-args.
39380 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39382         * misc/tst-mntent2.c (do_test): Fix warning.
39384 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39386         * elf/tst-unique4lib.cc(a): Mark as used.
39388 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39390         [BZ #17630]
39391         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39392         names.
39394 2014-12-16  Allan McRae  <allan@archlinux.org>
39396         * stdio-common/Makefile (tests): Re-add bug26.
39398 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39400         [BZ #17657]
39401         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39402         static array.
39404 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39406         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39407         (__lll_lock_wait): Likewise.
39408         (__lll_timedlock_wait): Likewise.
39409         (__lll_timedwait_tid): Likewise.
39410         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39411         (__lll_robust_timedlock_wait): Likewise.
39412         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39413         (lll_cond_trylock): Likewise.
39414         (__lll_lock): Likewise.
39415         (__lll_robust_lock): Likewise.
39416         (__lll_cond_lock): Likewise.
39417         (lll_robust_cond_lock): Likewise.
39418         (__lll_timedlock): Likewise.
39419         (__lll_robust_timedlock): Likewise.
39420         (__lll_unlock): Likewise.
39421         (__lll_robust_unlock): Likewise.
39422         (lll_wait_tid): Likewise.
39423         (lll_timedwait_tid): Likewise.
39425 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39427         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39429 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39431         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39433 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39435         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39436         * stdio-common/tst-sprintf.c: Likewise.
39438 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39440         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39442 2014-12-15  Jeff Law  <law@redhat.com>
39444         [BZ #16617]
39445         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39446         on the heap.  (CVE-2012-3406)
39447         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39448         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39449         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39451 2014-12-15  Will Newton  <will.newton@linaro.org>
39453         * manual/install.texi: Bump required version of texinfo
39454         to 4.7 from 4.5.
39455         * INSTALL: Regenerated.
39456         * configure.ac: Check for makeinfo version 4.7 and above.
39457         * configure: Regenerated.
39459 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39461         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39462         PREFIX, string constant to insert between directory and name.
39463         * sysdeps/posix/shm_open.c: Update caller.
39464         * sysdeps/posix/shm_unlink.c: Likewise.
39465         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39466         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39467         (SEM_SHM_PREFIX): New macro.
39468         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39469         [$(have-thread-library) = no].
39470         * nptl/Makefile (libpthread-routines): Add shm-directory.
39471         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39472         * sysdeps/nptl/shm-directory.h: New file.
39473         * sysdeps/posix/shm-directory.c
39474         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39475         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39476         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39477         INTERNAL_SYSCALL.
39478         (__where_is_shmfs): Function removed.
39479         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39480         Variables removed.
39481         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39482         Use SHM_GET_NAME.
39483         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39485         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39486         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39487         unconditional for use inside libpthread.
39488         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39490 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39492         * nptl/pthread_getaffinity.c: New file.
39493         * nptl/pthread_setaffinity.c: New file.
39494         * nptl/pthread_getname.c: New file.
39495         * nptl/pthread_setname.c: New file.
39497         * nptl/pthread_create.c (START_THREAD_DEFN)
39498         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39500 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39501             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39503         * resolv/res_send.c (send_vc): Disable warning resplen may
39504         be used uninitialized.
39506 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39508         * nptl/tst-mutex6.c
39509         (ATTR_NULL): New define checks ATTR against NULL.
39510         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39511         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39513 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39515         [BZ #17581]
39516         * malloc/hooks.c
39517         (mem2mem_check): Revert my previous change.
39518         (malloc_check_get_size): Revert my previous change.
39519         (mem2chunk_check): Revert my previous change.
39521 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39523         * sysdeps/posix/shm-directory.c: New file.
39524         * sysdeps/posix/shm-directory.h: New file.
39525         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39526         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39527         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39528         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39529         Transmute EPERM to EACCES.
39530         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39531         from ...
39532         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39533         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39535 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39537         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39538         pointer and cast to uintptr_t.
39539         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39540         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39541         Add cast to avoid warning.
39542         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39544 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39546         * nptl/semaphore.h: Move to ...
39547         * sysdeps/pthread/semaphore.h: ... here.
39548         * Makefile (installed-headers): Change nptl/semaphore.h to
39549         sysdeps/pthread/semaphore.h.
39551 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39553         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39554         generated error format strings.
39556         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39557         -Wformat-extra-args warnings for scanf formats.
39558         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39559         test of zero-length format (duh).
39560         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39561         corner-case scanf format test.
39562         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39563         generated fprintf format string.
39564         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39565         corner-case sprintf format tests.
39566         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39567         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39568         -Wformat-extra-args warnings throughout.
39569         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39570         (CFLAGS-scanf4.c): Likewise.
39571         (CFLAGS-scanf7.c): Likewise.
39572         (CFLAGS-tst-sprintf.c): Likewise.
39573         (CFLAGS-tst-printf.c): Likewise.
39574         (CFLAGS-tst-printfsz.c): Likewise.
39576 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39578         * include/cpio.h: New file.
39579         * include/fmtmsg.h: Likewise.
39581         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39582         corresponding format argument to size_t.
39583         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39584         arguments.
39585         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39586         corresponding format argument to size_t.
39587         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39588         arguments.
39589         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39590         corresponding format argument to size_t.
39591         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39592         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39593         (CFLAGS-tst-mbswcs2.c): Likewise.
39594         (CFLAGS-tst-mbswcs3.c): Likewise.
39595         (CFLAGS-tst-mbswcs4.c): Likewise.
39596         (CFLAGS-tst-mbswcs5.c): Likewise.
39597         (CFLAGS-tst-trans.c): Likewise.
39599 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39601         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39602         rather than assuming they won't contain any '%'s.
39604 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39606         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39607         inhibit_loop_to_libcall to avoid recursive calls.
39608         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39609         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39611 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39613         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39614         prototype.
39616 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39618         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39619         integer value instead of boolean.
39621 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39623         * malloc/malloc.c: Fix powerof2 check.
39625 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39627         * locale/programs/locfile.h (maybe_swap_uint32):
39628         Remove inline and add unused attribute.
39630 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39632         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39633         Truncating assembler expression to a .long expression.
39635 2014-12-11  Andreas Schwab  <schwab@suse.de>
39637         * elf/rtld.c (struct map_args): Constify str member.
39638         (do_preload): Constify fname argument.
39640 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39642         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39643         constants definition.
39645 2014-12-11  Andreas Schwab  <schwab@suse.de>
39647         [BZ #16657]
39648         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39649         FORCE_ELISION instead of DO_ELISION.
39650         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39651         Remove.
39652         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39653         Likewise.
39655         * iconvdata/gconv-modules: Remove duplicate entry.
39657 2014-12-11  Will Newton  <will.newton@linaro.org>
39659         Merge gettext 0.19.3 into intl/.
39661         This involves a number of cosmetic changes to comments
39662         and ANSI function definitions and prototypes throughout
39663         all the files. The gettext copyright header is used but
39664         with the date ranges taken from the glibc copy.
39666         * NEWS: Add gettext merge to 2.21.
39667         * intl/bindtextdom.c: Switch to gettext copyright.
39668         Use ANSI definitions and prototypes.
39669         Use gl_* locking primitives rather than __libc_* ones.
39670         Use __builtin_expect rather than __glibc_likely/unlikely.
39671         * intl/dcgettext.c: Switch to gettext copyright.
39672         Use ANSI definitions and prototypes.
39673         * intl/dcigettext.c: Switch to gettext copyright.
39674         Use ANSI definitions and prototypes.
39675         (INTDIV0_RAISES_SIGFPE): New define.
39676         Use gl_* locking primitives rather than __libc_* ones.
39677         Include eval-plural.h instead of plural-eval.c.
39678         Use __builtin_expect rather than __glibc_likely/unlikely.
39679         * intl/dcngettext.c: Switch to gettext copyright.
39680         Use ANSI definitions and prototypes.
39681         * intl/dgettext.c: Likewise.
39682         * intl/dngettext.c: Likewise.
39683         * intl/plural-eval.c: Renamed to...
39684         * intl/eval-plural.h: ...this.
39685         * intl/explodename.c: Switch to gettext copyright.
39686         Use ANSI definitions and prototypes.
39687         (_nl_explode_name): Use strchr instead of __rawmemchr.
39688         * intl/finddomain.c: Switch to gettext copyright.
39689         Use ANSI definitions and prototypes.
39690         Use gl_* locking primitives rather than __libc_* ones.
39691         (_nl_find_domain): Use malloc rather than alloca for
39692         allocation of temporary locale name.
39693         * intl/gettext.c: Switch to gettext copyright.
39694         Use ANSI definitions and prototypes.
39695         * intl/gettextP.h: Switch to gettext copyright.
39696         Use ANSI definitions and prototypes.
39697         Use gl_* locking primitives rather than __libc_* ones.
39698         * intl/gmo.h: Switch to gettext copyright.
39699         (struct sysdep_string): Move struct segment_pair outside of
39700         struct definition.
39701         * intl/hash-string.c: Use ANSI definitions and prototypes.
39702         * intl/hash-string.h: Switch to gettext copyright.
39703         Use ANSI definitions and prototypes.
39704         * intl/l10nflist.c: Switch to gettext copyright.
39705         Use ANSI definitions and prototypes.
39706         (_nl_normalize_codeset): Avoid integer overflow.
39707         * intl/loadinfo.h: Switch to gettext copyright.
39708         Use ANSI definitions and prototypes.
39709         (LIBINTL_DLL_EXPORTED): New define.
39710         (PATH_SEPARATOR): New define.
39711         * intl/loadmsgcat.c: Switch to gettext copyright.
39712         * intl/localealias.c: Switch to gettext copyright.
39713         Use ANSI definitions and prototypes.
39714         (_nl_expand_alias): Use PATH_SEPARATOR.
39715         * intl/ngettext.c: Switch to gettext copyright.
39716         Use ANSI definitions and prototypes.
39717         * intl/plural-exp.c: Likewise.
39718         * intl/plural-exp.h: Switch to gettext copyright.
39719         Use ANSI definitions and prototypes.
39720         (struct expression): Move definition of enum operator outside
39721         of struct definition.
39722         * intl/plural.c: Regenerate.
39723         * intl/plural.y: Switch to gettext copyright.
39724         Use ANSI definitions and prototypes.
39725         Port to bison 3.0.
39726         * intl/textdomain.c: Switch to gettext copyright.
39727         Use ANSI definitions and prototypes.
39728         Use gl_* locking primitives rather than __libc_* ones.
39730 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39732         * debug/warning-nop.c: Add used atrribute.
39734 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39736         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39738         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39739         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39740         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39742 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39743             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39745         [BZ #17634]
39746         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39747         Undefine after defining function.  Define as weak alias of
39748         __wcschr.  Use libc_hidden_weak.
39749         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39750         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39751         (libc_hidden_def): Also define __GI___wcschr alias.
39752         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39753         __wcschr and define as weak alias of __wcschr.
39754         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39755         __wcschr.
39756         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39757         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39758         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39759         libc_hidden_weak.  Do not use libc_hidden_def.
39760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39761         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39762         __GI___wcschr alias.
39763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39764         [IS_IN (libc)] (wcschr): Define as macro expanding to
39765         __redirect_wcschr.
39766         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39767         [IS_IN (libc)] (__wcschr_power6): Likewise.
39768         [IS_IN (libc)] (__wcschr_power7): Likewise.
39769         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39770         instead of wcschr.
39771         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39772         __libc_wcschr.
39773         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39774         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39775         __wcschr and define as weak alias of __wcschr.  Use
39776         libc_hidden_builtin_def.
39777         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39778         as weak alias of __wcschr.  Use libc_hidden_weak.
39779         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39780         wcschr.
39781         * time/era.c (_nl_init_era_entries): Likewise.
39782         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39783         variable.
39784         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39785         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39787 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39789         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39790         format for long int variable.
39792 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39794         [BZ #10672]
39795         * manual/search.texi: (Array Sort Function): Remove claim how to make
39796         qsort stable.
39798 2014-12-10  Andreas Schwab  <schwab@suse.de>
39800         [BZ #12847]
39801         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39802         user-controlled locks.
39804 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39806         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39807         register.
39809 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39811         * configure.ac (--disable-werror): New configure option.
39812         (enable_werror): New AC_SUBST.
39813         * configure: Regenerated.
39814         * config.make.in (enable-werror): New variable.
39815         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39816         -Wno-error=undef.
39817         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39818         * manual/install.texi (Configuring and compiling): Document
39819         --disable-werror.
39820         * INSTALL: Regenerated.
39821         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39822         (CFLAGS-tst-chk2.c): Likewise.
39823         (CFLAGS-tst-chk3.c): Likewise.
39824         (CFLAGS-tst-chk4.cc): Likewise.
39825         (CFLAGS-tst-chk5.cc): Likewise.
39826         (CFLAGS-tst-chk6.cc): Likewise.
39827         (CFLAGS-tst-lfschk1.c): Likewise.
39828         (CFLAGS-tst-lfschk2.c): Likewise.
39829         (CFLAGS-tst-lfschk3.c): Likewise.
39830         (CFLAGS-tst-lfschk4.cc): Likewise.
39831         (CFLAGS-tst-lfschk5.cc): Likewise.
39832         (CFLAGS-tst-lfschk6.cc): Likewise.
39834         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39835         (main): Disable -Wdeprecated-declarations around calls to
39836         register_printf_function.
39838         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39839         (do_test): Disable -Wdiv-by-zero around some calls to
39840         fwrite_unlocked and fread_unlocked.
39842         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39843         (DIAG_POP_NEEDS_COMMENT): Likewise.
39844         (_DIAG_STR1): Likewise.
39845         (_DIAG_STR): Likewise.
39846         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39847         * stdio-common/bug21.c: Include <libc-internal.h>.
39848         (do_test): Disable -Wformat around call to sscanf.
39849         * stdio-common/scanf14.c: Include <libc-internal.h>.
39850         (main): Disable -Wformat around some calls to scanf functions.
39852 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39854         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39856 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39858         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39859         stack variable alignment.
39861 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39863         [BZ #17682]
39864         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39865         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39866         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39867         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39868         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39869         __getrlimit instead of getrlimit.
39870         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39871         __gettimeofday instead of gettimeofday.
39872         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39873         Likewise.
39874         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39875         Likewise.
39876         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39877         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39878         Remove variable.
39879         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39880         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39882 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39884         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39885         for wide-character tests.
39887 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39889         * io/openat64.c: #include <libc-internal.h>
39890         (__openat64): Prototypify.  Use ignore_value on MODE.
39891         * io/openat.c: Likewise.
39892         * misc/reboot.c: #include <libc-internal.h>
39893         (reboot): Prototypify.  Use ignore_value on HOWTO.
39894         * misc/ptrace.c: #include <libc-internal.h>
39895         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39897 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39899         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39900         XPG4, UNIX98 and XOPEN2K.
39901         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39902         Remove variable.
39903         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39905 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39907         * libio/fileops.c: Use ISO C style for function definitions.
39908         * libio/iofopen.c: Likewise.
39909         * libio/wfileops.c: Likewise.
39911         [BZ #17653]
39912         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39913         offset on EOF.
39914         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39915         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39916         (fgets_func): Function pointer to fgets and fgetws.
39917         (do_ftell_test): Add test to verify ftell value after read
39918         EOF.
39919         (do_test): Set fgets_func.
39921         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39922         O_TRUNC flag for w and w+ modes.
39923         (do_rewind_test): Likewise.
39924         (do_ftell_test): Likewise.
39925         (do_write_test): Likewise.
39927         [BZ #17647]
39928         * libio/fileops.c (do_ftell): Seek only when there are
39929         unflushed writes.
39930         * libio/wfileops.c (do_ftell_wide): Likewise.
39931         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39932         test case.
39933         (do_one_test): Call it.
39935 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39937         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39938         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39939         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39940         Remove variable.
39941         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39942         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39943         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39945 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39947         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39948         Remove variable.
39949         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39951         [BZ #17668]
39952         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39953         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39954         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39955         __freeifaddrs.  Use libc_hidden_weak.
39956         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39957         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39958         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39959         __freeifaddrs.  Use libc_hidden_weak.
39960         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39961         __getifaddrs and define as weak alias of __getifaddrs.  Use
39962         libc_hidden_weak.
39963         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39964         __freeifaddrs.  Use libc_hidden_weak.
39965         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39966         Remove variable.
39967         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39968         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39970 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39972         [BZ #17601]
39973         * sysdeps/mips/start.S (__start): Use indirect jump to call
39974         __libc_start_main.
39976 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39978         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39980         * nptl/tst-mutex1.c: Include <stdbool.h>.
39981         [!ATTR] (ATTR_NULL): New macro.
39982         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39983         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39984         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39986         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39987         to char *.
39989         [BZ #17665]
39990         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39991         Change conditional to [__USE_MISC].
39993         [BZ #17664]
39994         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39995         fgets_unlocked.
39996         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39997         __fgets_unlocked.
39998         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39999         fgets_unlocked.
40000         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40001         Remove variable.
40002         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40003         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40004         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40005         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40006         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40007         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40008         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40009         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40010         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40012         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40014 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40017         Remove strpbrk objects.
40018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40019         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40020         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40021         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40022         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40023         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40026         Remove strcspn objects.
40027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40028         (__libc_ifunc_impl_list): Remove strcspn implementation.
40029         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40030         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40031         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40032         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40035         Remove strspn objetcs.
40036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40037         (__libc_ifunc_impl_list): Remove strspn implementation.
40038         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40039         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40040         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40041         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40043 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40045         [BZ #17581]
40046         * malloc/hooks.c
40047         (mem2mem_check): Add a terminator to the chain of checking blocks.
40048         (malloc_check_get_size): Use it here.
40049         (mem2chunk_check): Ditto.
40051 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40053         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40054         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40056 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40058         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40060         * nptl/nptl-init.c: Include libc-internal.h.
40061         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40063         * elf/ldconfig.c (search_dir): Expand comment.
40065 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40067         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40068         variable.
40069         (linknamespace-symlist-stdlibs-tests): Likewise.
40070         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40071         instead of $(objpfx)symlist-stdlibs.
40072         (linknamespace-libs-isoc): New variable.
40073         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40074         (linknamespace-libs-ISO): New variable.
40075         (linknamespace-libs-ISO99): Likewise.
40076         (linknamespace-libs-ISO11): Likewise.
40077         (linknamespace-libs-XPG3): Likewise.
40078         (linknamespace-libs-XPG4): Likewise.
40079         (linknamespace-libs-POSIX): Likewise.
40080         (linknamespace-libs-UNIX98): Likewise.
40081         (linknamespace-libs-XOPEN2K): Likewise.
40082         (linknamespace-libs-POSIX2008): Likewise.
40083         (linknamespace-libs-XOPEN2K8): Likewise.
40084         ($(objpfx)symlist-stdlibs): Replace by
40085         $(linknamespace-symlist-stdlibs-tests).  Use
40086         $(linknamespace-libs-$*) as set of libraries.
40087         ($(linknamespace-header-tests)): Update dependencies.  Use
40088         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40089         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40090         * conform/linknamespace.pl: Remove comment about considering
40091         definitions of symbols from irrelevant libraries.
40093 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40095         [BZ #13862]
40096         * elf/dl-tls.c: Include <atomic.h>.
40097         (oom): Remove #ifdef SHARED/#endif.
40098         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40099         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40100         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40101         big enough.
40102         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40103         * nptl/Makefile (tests): Add tst-stack4.
40104         (modules-names): Add tst-stack4mod.
40105         ($(objpfx)tst-stack4): New.
40106         (tst-stack4mod.sos): Likewise.
40107         ($(objpfx)tst-stack4.out): Likewise.
40108         ($(tst-stack4mod.sos)): Likewise.
40109         (clean): Likewise.
40110         * nptl/tst-stack4.c: New file.
40111         * nptl/tst-stack4mod.c: Likewise.
40113 2014-11-27  J. Brown  <jb999@gmx.de>
40115         * sysdeps/x86/bits/string.h: Add recent CPUs.
40117 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40119         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40120         sigblock.
40122         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40123         feof.
40125         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40126         variable.
40128 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40130         * nscd/connections.c: Include libc-internal.h because of macro
40131         usage ignore_value.
40133 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40135         * string/bits/string3.h (__warn_memset_zero_len): Don't
40136         declare for gcc newer than 5.0.
40137         (memset): Don't test for zero-length __LEN for gcc newer than
40138         5.0.
40140 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40142         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40143         size_t for %zu format.
40145         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40146         difference, not %ju.
40148 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40150         * include/libc-internal.h (ignore_value): New macro.
40151         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40152         with ignore_value.
40154         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40155         definition.
40157         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40158         pthread_cleanup_push to void *.
40160         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40161         Undefine.
40163         [BZ #16619]
40164         [BZ #16740]
40165         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40166         instead of 1L << 52.
40168         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40169         * libio/bug-rewind2.c (do_test): Likewise.
40171         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40172         * debug/test-strcpy_chk-ifunc.c: Likewise.
40173         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40174         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40175         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40176         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40177         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40178         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40179         * Rules [$(multi-arch) = no] (tests): Do not filter out
40180         $(tests-ifunc).
40181         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40182         * debug/Makefile (tests-ifunc): Remove variable.
40183         (tests): Do not add $(tests-ifunc).
40184         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40185         (tests): Do not add $(tests-ifunc).
40186         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40187         [TEST_IFUNC]: Remove conditionals.
40188         * string/test-string.h (TEST_IFUNC): Remove macro.
40189         [TEST_IFUNC]: Remove conditionals.
40191         * string/test-strchr.c [!WIDE] (L): New macro.
40192         [WIDE] (L): Likewise.
40193         (check1): Use CHAR instead of char.  Use L on string and character
40194         constants.
40196 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40198         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40199         tests.
40200         * sysdeps/powerpc/bits/atomic.h
40201         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40202         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40203         (atomic_exchange_and_add_acq): Likewise.
40204         (atomic_exchange_and_add_rel): Likewise.
40205         * sysdeps/powerpc/powerpc32/bits/atomic.h
40206         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40207         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40208         * sysdeps/powerpc/powerpc64/bits/atomic.h
40209         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40210         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40212 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40214         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40215         Change synchronization of __sched_fifo_min_prio and
40216         __sched_fifo_max_prio.
40217         * nptl/pthread_mutexattr_getprioceiling.c
40218         (pthread_mutexattr_getprioceiling): Likewise.
40219         * nptl/pthread_mutexattr_setprioceiling.c
40220         (pthread_mutexattr_setprioceiling): Likewise.
40221         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40222         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40223         Likewise.
40225 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40227         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40228         void.
40230 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40232         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40233         third argument const.
40235 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40237         fnmatch: work around GCC compiler warning bug with uninit var
40238         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40239         This works around a bug with x86-64 GCC 4.9.2 and earlier
40240         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40241         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40242         used uninitialized in this function [-Wmaybe-uninitialized]".
40244 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40246         * posix/bug-regex31.c (main): Return RES not 0.
40248 2014-11-25  Anton Blanchard <anton@samba.org>
40250         * sysdeps/powerpc/bits/atomic.h
40251         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40253 2014-11-24  Sterling Augustine  <saugustine@google.com>
40255         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40257 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40259         [BZ #17608]
40260         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40262 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40264         [BZ #17633]
40265         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40266         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40267         variable.
40268         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40269         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40271 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40273         * string/strncpy.c (strncpy): Improve performance by using memset.
40275 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40277         * string/strcpy.c (strcpy):
40278         Improve performance by using strlen and memcpy.
40280 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
40282         * string/strcoll_l.c (get_next_seq): __always_inline.
40283         * string/strcoll_l.c (do_compare): __always_inline.
40285 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40287         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40288         defined.
40289         * include/mqueue.h: Likewise.
40290         * include/stdlib.h: Likewise.
40292         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40293         (get_null_defines): Adjust.
40294         * sunrpc/Makefile: Adjust comment.
40295         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40296         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40297         (CFLAGS-interp.c): Likewise.
40298         (CFLAGS-ldconfig.c): Likewise.
40299         (CPPFLAGS-.os): Likewise.
40300         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40301         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40302         * extra-modules.mk (extra-modules.mk): Likewise.
40303         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40304         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40305         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40306         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40307         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40308         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40309         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40310         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40311         * iconvdata/Makefile (CPPFLAGS): Likewise.
40312         (cpp-srcs-left): Add libof for all iconvdata routines.
40313         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40314         * include/assert.h: Likewise.
40315         * include/ctype.h: Likewise.
40316         * include/errno.h: Likewise.
40317         * include/libc-symbols.h: Likewise.
40318         * include/math.h: Likewise.
40319         * include/netdb.h: Likewise.
40320         * include/resolv.h: Likewise.
40321         * include/stdio.h: Likewise.
40322         * include/stdlib.h: Likewise.
40323         * include/string.h: Likewise.
40324         * include/sys/stat.h: Likewise.
40325         * include/wctype.h: Likewise.
40326         * intl/l10nflist.c: Likewise.
40327         * libidn/idn-stub.c: Likewise.
40328         * libio/libioP.h: Likewise.
40329         * nptl/libc_multiple_threads.c: Likewise.
40330         * nptl/pthreadP.h: Likewise.
40331         * posix/regex_internal.h: Likewise.
40332         * resolv/res_hconf.c: Likewise.
40333         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40334         * sysdeps/arm/memmove.S: Likewise.
40335         * sysdeps/arm/sysdep.h: Likewise.
40336         * sysdeps/generic/_itoa.h: Likewise.
40337         * sysdeps/generic/symbol-hacks.h: Likewise.
40338         * sysdeps/gnu/errlist.awk: Likewise.
40339         * sysdeps/gnu/errlist.c: Likewise.
40340         * sysdeps/i386/i586/memcpy.S: Likewise.
40341         * sysdeps/i386/i586/memset.S: Likewise.
40342         * sysdeps/i386/i686/memcpy.S: Likewise.
40343         * sysdeps/i386/i686/memmove.S: Likewise.
40344         * sysdeps/i386/i686/mempcpy.S: Likewise.
40345         * sysdeps/i386/i686/memset.S: Likewise.
40346         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40348         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40349         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40350         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40351         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40352         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40353         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40354         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40355         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40356         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40357         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40358         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40359         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40360         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40361         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40362         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40363         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40364         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40365         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40366         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40367         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40368         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40369         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40370         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40371         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40372         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40373         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40374         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40375         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40376         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40379         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40380         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40381         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40382         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40383         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40384         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40385         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40386         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40387         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40388         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40389         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40390         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40391         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40392         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40393         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40394         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40395         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40396         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40397         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40398         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40399         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40400         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40401         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40402         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40403         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40404         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40405         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40406         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40407         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40408         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40409         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40410         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40411         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40412         * sysdeps/posix/closedir.c: Likewise.
40413         * sysdeps/posix/opendir.c: Likewise.
40414         * sysdeps/posix/readdir.c: Likewise.
40415         * sysdeps/posix/rewinddir.c: Likewise.
40416         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40417         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40418         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40419         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40420         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40421         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40422         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40424         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40427         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40428         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40429         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40430         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40431         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40433         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40434         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40435         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40436         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40438         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40439         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40444         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40452         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40453         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40454         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40455         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40456         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40457         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40458         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40460         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40461         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40462         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40463         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40464         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40465         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40466         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40467         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40470         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40471         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40472         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40473         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40474         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40475         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40476         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40477         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40478         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40479         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40480         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40481         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40482         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40483         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40484         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40485         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40486         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40487         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40488         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40489         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40490         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40491         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40492         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40493         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40494         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40495         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40496         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40497         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40498         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40500         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40501         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40502         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40503         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40504         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40506         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40507         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40508         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40510         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40511         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40512         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40514         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40515         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40516         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40517         * sysdeps/unix/alpha/sysdep.S: Likewise.
40518         * sysdeps/unix/alpha/sysdep.h: Likewise.
40519         * sysdeps/unix/make-syscalls.sh: Likewise.
40520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40522         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40523         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40524         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40525         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40526         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40527         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40528         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40529         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40531         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40534         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40535         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40536         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40537         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40538         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40539         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40540         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40541         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40542         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40543         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40544         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40545         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40549         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40550         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40554         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40558         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40559         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40560         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40561         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40562         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40563         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40564         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40567         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40570         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40571         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40572         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40573         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40575         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40576         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40578         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40579         * sysdeps/x86_64/memcpy.S: Likewise.
40580         * sysdeps/x86_64/memmove.c: Likewise.
40581         * sysdeps/x86_64/memset.S: Likewise.
40582         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40584         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40585         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40586         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40587         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40588         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40589         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40590         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40591         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40592         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40593         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40594         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40595         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40596         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40597         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40598         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40599         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40600         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40601         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40602         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40603         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40604         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40605         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40606         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40607         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40608         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40609         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40610         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40611         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40612         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40613         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40614         * sysdeps/x86_64/strcmp.S: Likewise.
40616         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40618         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40619         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40620         * elf/rtld-Rules: Likewise.
40621         * elf/setup-vdso.h: Likewise.
40622         * include/assert.h: Likewise.
40623         * include/bits/stdlib-float.h: Likewise.
40624         * include/errno.h: Likewise.
40625         * include/sys/stat.h: Likewise.
40626         * include/unistd.h: Likewise.
40627         * sysdeps/aarch64/setjmp.S: Likewise.
40628         * sysdeps/alpha/setjmp.S: Likewise.
40629         * sysdeps/arm/__longjmp.S: Likewise.
40630         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40631         * sysdeps/arm/setjmp.S: Likewise.
40632         * sysdeps/arm/sysdep.h: Likewise.
40633         * sysdeps/generic/_itoa.h: Likewise.
40634         * sysdeps/generic/dl-sysdep.h: Likewise.
40635         * sysdeps/generic/ldsodefs.h: Likewise.
40636         * sysdeps/i386/dl-tls.h: Likewise.
40637         * sysdeps/i386/setjmp.S: Likewise.
40638         * sysdeps/m68k/setjmp.c: Likewise.
40639         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40640         * sysdeps/mach/hurd/opendir.c: Likewise.
40641         * sysdeps/posix/getcwd.c: Likewise.
40642         * sysdeps/posix/opendir.c: Likewise.
40643         * sysdeps/posix/profil.c: Likewise.
40644         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40645         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40646         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40647         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40648         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40649         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40650         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40651         * sysdeps/s390/dl-tls.h: Likewise.
40652         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40653         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40654         * sysdeps/sh/sh3/setjmp.S: Likewise.
40655         * sysdeps/sh/sh4/setjmp.S: Likewise.
40656         * sysdeps/unix/alpha/sysdep.h: Likewise.
40657         * sysdeps/unix/arm/sysdep.S: Likewise.
40658         * sysdeps/unix/i386/sysdep.S: Likewise.
40659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40660         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40661         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40662         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40663         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40664         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40665         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40666         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40667         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40668         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40669         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40670         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40671         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40674         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40677         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40678         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40679         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40682         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40683         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40686         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40687         * sysdeps/x86_64/setjmp.S: Likewise.
40689         * include/math.h: Use IS_IN instead of IS_IN_libm.
40690         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40702         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40706         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40710         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40711         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40712         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40713         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40714         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40715         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40717         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40718         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40719         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40720         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40721         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40722         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40724         Likewise.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40726         Likewise.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40728         Likewise.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40730         Likewise.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40732         Likewise.
40733         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40734         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40735         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40736         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40737         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40738         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40744         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40745         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40746         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40747         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40748         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40749         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40750         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40751         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40752         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40753         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40754         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40755         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40756         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40757         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40759         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40761         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40762         * nptl/pthreadP.h: Likewise.
40763         * nptl_db/structs.def: Likewise.
40764         * sysdeps/arm/sysdep.h: Likewise.
40765         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40766         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40767         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40768         * sysdeps/unix/alpha/sysdep.h: Likewise.
40769         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40771         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40772         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40773         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40774         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40775         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40776         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40777         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40778         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40779         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40780         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40781         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40782         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40787         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40788         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40790         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40791         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40792         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40793         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40796         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40797         * nptl/pthreadP.h: Likewise.
40798         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40799         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40800         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40801         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40802         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40803         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40804         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40805         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40806         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40807         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40808         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40809         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40811         Likewise.
40812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40813         Likewise.
40814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40816         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40819         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40820         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40821         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40823         * dlfcn/dladdr.c: Use IS_IN.
40824         * dlfcn/dladdr1.c: Likewise.
40825         * dlfcn/dlclose.c: Likewise.
40826         * dlfcn/dlerror.c: Likewise.
40827         * dlfcn/dlinfo.c: Likewise.
40828         * dlfcn/dlmopen.c: Likewise.
40829         * dlfcn/dlopen.c: Likewise.
40830         * dlfcn/dlsym.c: Likewise.
40831         * dlfcn/dlvsym.c: Likewise.
40833         * include/ifaddrs.h: Use IS_IN.
40834         * inet/check_pf.c: Likewise.
40835         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40836         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40838         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40839         IS_IN_ldconfig.
40840         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40841         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40843         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40844         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40845         IS_IN (libc).
40847         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40849         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40850         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40851         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40852         * include/libc-symbols.h (IS_IN_LIB): New macro.
40853         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40854         * include/netdb.h: Likewise.
40855         * include/stap-probe.h: Remove all uses of IN_LIB.
40857         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40858         instead of IN_MODULE.
40859         * include/libc-symbols.h (IN_MODULE): Define using
40860         MODULE_NAME.
40861         (PASTE_NAME, PASTE_NAME1): New macros.
40862         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40863         of IN_LIB.
40864         (STAP_PROBE_ASM): Likewise.
40866 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40868         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40869         __mach_init in dlopened libc.
40871 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40873         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40874         * sysdeps/arm/preconfigure: Regenerate.
40876 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40878         * nptl/pthread_create.c (__pthread_create_2_1): Set
40879         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40880         when copying values from IATTR into PD.
40882 2014-11-21  Will Newton  <will.newton@linaro.org>
40883             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40885         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40886         Refactor inline-asm.  Also add comment.
40888         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40889         ElfW macro instead of hardcoded Elf64 types.
40890         (la_aarch64_gnu_pltenter): Likewise.
40891         * sysdeps/aarch64/dl-machine.h
40892         (elf_machine_runtime_setup): Use ElfW(Addr).
40894         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40895         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40896         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40897         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40898         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40899         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40900         (R_AARCH64_TLS_DTPMOD): This.
40901         (R_AARCH64_TLS_DTPREL64): Rename to ...
40902         (R_AARCH64_TLS_DTPREL): This.
40903         (R_AARCH64_TLS_TPREL64): Rename to ...
40904         (R_AARCH64_TLS_TPREL): This.
40905         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40906         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40907         R_AARCH64_TLS_TPREL64.
40908         (elf_machine_rela): Likewise.
40910 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40912         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40913         by setting it to 0.  64b atomics are not supported currently.
40915 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40917         [BZ #16469]
40918         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40919         search domain names.
40921 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40923         [BZ #16469]
40924         * NEWS: Update.
40925         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40926         trailing dot.
40927         * posix/tst-getaddrinfo5.c: New.
40928         * posix/Makefile (tests): Add it.
40930 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40932         [BZ #14498]
40933         * NEWS: Fixed.
40934         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40935         after parsing line but before break_if_match.
40936         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40937         if there is a protocol mismatch.
40939 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40941         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40942         because the potential race is on the user-supplied stream.
40944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40946         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40947         string literal if not passed a buffer.
40948         * manual/job.texi (ctermid): Update reasoning, note deviation
40949         from posix, suggest mtasurace when not passed a buffer, for
40950         future non-preliminary safety notes.
40952 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40954         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40955         of not passing it a buffer.
40956         Reported by Peng Haitao.
40958 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40960         * manual/Makefile ($(objpfx)stamp-summary): Require
40961         check-safety.sh to pass.
40962         * manual/check-safety.sh: Wish for verification that every
40963         @deftypefn and @deftypefun is followed by a @safety remark.
40965 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40967         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40969         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40970         PTHREAD_CANCEL_ASYNCHRONOUS.
40971         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40972         send SIGCANCEL.
40974         * nptl/default-sched.h: New file.
40975         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40976         * nptl/pthread_create.c: Include it.
40977         (__pthread_create_2_1): Use collect_default_sched instead of making
40978         Linux syscalls here directly.
40980 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40982         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40983         __pthread_once): Use C11 atomics.
40985 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40987         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40989 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40991         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40992         atomic_thread_fence_acquire, atomic_thread_fence_release,
40993         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40994         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40995         atomic_compare_exchange_weak_relaxed,
40996         atomic_compare_exchange_weak_acquire,
40997         atomic_compare_exchange_weak_release,
40998         atomic_exchange_acquire, atomic_exchange_release,
40999         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41000         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41001         atomic_fetch_and_acquire,
41002         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41004 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41006         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41007         USE_ATOMIC_COMPILER_BUILTINS): Define.
41008         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41010         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41012         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41014         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41016         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41018         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41020         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41022         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41024         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41026         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41028         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41030         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41032         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41034         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41035         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41036         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41038         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41040         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41042         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41043         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41044         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41046         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41049 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41051         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41052         the sched_priority value here.  It was already checked when the user
41053         called pthread_attr_setschedparam.
41055         * nptl/tst-bad-schedattr.c: New file.
41056         * nptl/Makefile (tests): Add it.
41058 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41059             Florian Weimer  <fweimer@redhat.com>
41060             Joseph Myers  <joseph@codesourcery.com>
41061             Adam Conrad  <adconrad@0c3.net>
41062             Andreas Schwab  <schwab@suse.de>
41063             Brooks  <bmoses@google.com>
41065         [BZ #17625]
41066         * wordexp-test.c (__dso_handle): Add prototype.
41067         (__register_atfork): Likewise.
41068         (__app_register_atfork): New function.
41069         (registered_forks): New global.
41070         (register_fork): New function.
41071         (test_case): Add 3 new tests for WRDE_CMDSUB.
41072         (main): Call __app_register_atfork.
41073         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41074         fork count is non-zero fail the test.
41075         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41076         is set.
41077         (parse_dollars): Remove check for WRDE_NOCMD.
41078         (parse_dquote): Likewise.
41080 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41082         * Makeconfig (built-modules): List non-library modules to be
41083         built.
41084         (module-cppflags): Include libc-modules.h for
41085         everything except shlib-versions.v.i.
41086         (CPPFLAGS): Use it.
41087         (before-compile): Add libc-modules.h.
41088         ($(common-objpfx)libc-modules.h,
41089         $(common-objpfx)libc-modules.stmp): New targets.
41090         (common-generated): Add libc-modules.h and libc-modules.stmp.
41091         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41092         * include/libc-symbols.h: Don't include libc-modules.h.
41093         * include/libc-modules.h: Remove file.
41094         * scripts/gen-libc-modules.awk: New script to generate
41095         libc-modules.h.
41096         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41097         Depend on libc-modules.stmp.
41099         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41101         * Makeconfig (in-module): Get value of libof set for the
41102         translation unit.
41103         (CPPFLAGS): Use $(in-module).
41104         * Makerules: Don't suffix routine names for nonlib.
41105         * include/libc-modules.h: New file.
41106         * include/libc-symbols.h: Include libc-modules.h
41107         (IS_IN): New macro to replace IS_IN_* macros.
41108         * elf/Makefile: Set libof-* for each routine.
41109         * elf/rtld-Rules: Likewise.
41110         * extra-modules.mk: Likewise.
41111         * iconv/Makefile: Likewise.
41112         * iconvdata/Makefile: Likewise.
41113         * locale/Makefile: Likewise.
41114         * malloc/Makefile: Likewise.
41115         * nss/Makefile: Likewise.
41116         * sysdeps/gnu/Makefile: Likewise.
41117         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41118         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41119         * sysdeps/s390/s390-64/Makefile: Likewise.
41120         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41121         CPPFLAGS for nscd instead of nonlib.
41123 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41125         * nptl/createthread.c: New file.
41127         * nptl/createthread.c: Moved ...
41128         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41130         * nptl/createthread.c: Add proper top-line comment.
41131         (do_clone): Folded into ...
41132         (create_thread): ... here.  Take new arguments STOPPED_START and
41133         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41134         increment __nptl_threads, do event-reporting logic, do
41135         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41136         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41137         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41138         just send SIGCANCEL.
41139         * nptl/pthread_create.c: Forward-declare create_thread before
41140         including createthread.c.
41141         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41142         declaration, and new macro START_THREAD_SELF to replace argument.
41143         Remove return statement.
41144         (report_thread_creation): New function.
41145         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41146         synchronization logic, and __nptl_nthreads increment here, around
41147         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41148         PD->parent_cancelhandling here, before create_thread.  When
41149         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41150         __deallocate_stack, and ENOMEM translation here.
41152 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41154         [BZ #17616]
41155         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41156         (mptwo): Rename to __mptwo.
41157         (__inv): Use __mptwo instead of mptwo.
41158         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41159         (mptwo): Rename to __mptwo.
41160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41161         of mpone and __mptwo instead of mptwo.
41162         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41163         instead of mpone.
41164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41165         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41166         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41167         of mpone and __mptwo instead of mptwo.
41168         (__mpranred): Use __mpone instead of mpone.
41169         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41170         variable.
41171         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41172         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41173         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41174         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41175         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41176         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41177         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41178         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41179         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41180         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41181         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41182         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41183         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41184         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41185         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41186         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41187         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41188         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41189         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41191 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41193         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41194         replace BSD Handler xref with BSD Signal Handling.
41196 2014-11-17  Richard Henderson  <rth@redhat.com>
41198         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41199         (_FP_PACK_RAW_2): Remove.
41200         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41201         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41202         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41203         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41204         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41205         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41206         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41207         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41208         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41209         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41210         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41211         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41212         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41213         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41214         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41215         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41217 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41219         * signal/signal.h [__USE_MISC]
41220         (struct sigvec): Remove type.
41221         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41222         (sigvec): Remove declaration.
41223         * sysdeps/posix/sigvec.c: Moved ...
41224         * signal/sigvec.c: ... here, replacing old file.
41225         (struct sigvec): New type, copied from old signal.h definition.
41226         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41227         (__sigvec): Convert definition to prototype.
41228         (sigvec): Replace weak_alias with compat_symbol.
41229         * signal/Versions (libc: GLIBC_2.21): New version set.
41230         * include/signal.h: Remove __sigvec declaration.
41231         * sysdeps/unix/bsd/sigvec.c: Remove file.
41232         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41233         * manual/signal.texi (BSD Handler): Remove subsection.
41234         Move siginterrupt up to ...
41235         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41236         (Blocking in BSD): Fold subsection into its parent.
41237         * NEWS: Mention sigvec removal.
41239 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41241         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41242         (DLA_FMS): Make definition conditional only on [__FMA4__].
41243         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41244         definition.
41246         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41247         Make definition conditional only on [PROF].
41248         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41249         definition.
41250         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41251         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41253         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41254         !__GNUC__].
41255         * include/signal.h (__sigpause): Move declaration above call to
41256         libc_hidden_proto.
41257         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41258         variable.
41259         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41260         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41262 2014-11-14  David S. Miller  <davem@davemloft.net>
41264         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41265         Define before including <string/memcpy.c> and <string/mempcpy.c>.
41267 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41269         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41270         * configure: Regenerated.
41271         * manual/install.texi (Tools for Compilation): Document a
41272         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41273         compiler verified to work.
41274         * INSTALL: Regenerated.
41276         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41277         redeclare with asm name.
41278         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41279         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41280         including <string.h>.
41281         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41282         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41283         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41284         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41285         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41287         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41289 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
41291         * stdlib/strtol.c (__strtol): Use prototype definition.
41293         [BZ #17594]
41294         * stdlib/strtol.c (SYM__): New macro.
41295         (SYM__1): Likewise.
41296         (__strtol): Likewise.
41297         (strtol): Rename to __strtol and define as weak alias of
41298         __strtol.  Use libc_hidden_weak.
41300 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41302         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41303         Use numbered labels in inline assembly.
41305 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41307         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41308         Add setjmp LIBC_PROBE.
41309         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41310         Likewise.
41311         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41312         Add longjmp, longjmp_target LIBC_PROBE.
41313         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41314         Likewise.
41316 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41318         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41319         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41320         to get rid of unused variable warning.
41322 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41324         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41325         Check for unwind_backtrace ==  NULL only in SHARED case.
41326         (__backchain_backtrace): Compile only in SHARED case.
41327         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41328         Likewise.
41329         (__backchain_backtrace): Declare as static.
41331 2014-11-12  Roland McGrath  <roland@hack.frob.com>
41333         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41334         (__libc_multiple_threads_ptr): Variable moved ...
41335         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41337 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
41339         * conform/GlibcConform.pm: New file.
41340         * conform/conformtest.pl: Use GlibcConform module.
41341         * conform/linknamespace.pl: New file.
41342         * conform/list-header-symbols.pl: Likewise.
41343         * conform/Makefile (linknamespace-symlists-base): New variable.
41344         (linknamespace-symlists-tests): Likewise.
41345         (linknamespace-header-base): Likewise.
41346         (linknamespace-header-tests): Likewise.
41347         (tests-special): Add new tests.
41348         ($(linknamespace-symlists-tests)): New rule.
41349         (linknamespace-libs): New variable.
41350         ($(objpfx)symlist-stdlibs): New rule.
41351         ($(linknamespace-header-tests)): Likewise.
41352         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41353         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41354         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41355         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41356         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41357         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41358         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41359         (test-xfail-ISO/math.h/linknamespace): Likewise.
41360         (test-xfail-ISO/signal.h/linknamespace): Likewise.
41361         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41362         (test-xfail-ISO/time.h/linknamespace): Likewise.
41363         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41364         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41365         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41366         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41367         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41368         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41369         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41370         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41371         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41372         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41373         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41374         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41375         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41376         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41377         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41378         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41379         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41380         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41381         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41382         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41383         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41384         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41385         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41386         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41387         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41388         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41389         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41390         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41391         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41392         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41393         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41394         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41395         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41396         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41397         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41398         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41399         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41400         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41401         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41402         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41403         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41404         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41405         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41406         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41407         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41408         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41409         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41410         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41411         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41412         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41413         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41414         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41415         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41416         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41417         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41418         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41419         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41420         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41421         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41422         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41423         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41424         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41425         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41426         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41427         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41428         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41429         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41430         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41431         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41432         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41433         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41434         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41435         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41436         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41437         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41438         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41439         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41440         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41441         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41442         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41443         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41444         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41445         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41446         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41447         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41448         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41449         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41450         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41451         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41452         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41453         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41454         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41455         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41456         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41457         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41458         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41459         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41460         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41461         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41462         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41463         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41464         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41465         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41466         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41467         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41468         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41469         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41470         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41471         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41472         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41473         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41474         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41475         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41476         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41477         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41478         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41479         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41480         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41481         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41482         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41483         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41484         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41485         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41486         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41487         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41488         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41489         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41490         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41491         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41492         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41493         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41494         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41495         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41496         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41497         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41498         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41499         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41500         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41501         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41502         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41503         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41504         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41505         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41506         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41507         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41508         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41509         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41510         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41511         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41512         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41514         [BZ #17589]
41515         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41516         of fgets_unlocked.
41518         [BZ #17585]
41519         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41520         (memmem): Rename to __memmem and define as weak alias of
41521         __memmem.  Use libc_hidden_weak.
41522         (__memmem): Use libc_hidden_def.
41523         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41524         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41525         memmem.
41527         [BZ #17582]
41528         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41529         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41530         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41531         and define as weak alias of __fgets_unlocked.  Use
41532         libc_hidden_weak.
41533         (__fgets_unlocked): Use libc_hidden_def.
41534         * include/stdio.h (__fgets_unlocked): Declare.  Use
41535         libc_hidden_proto.
41536         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41537         __fgets_unlocked instead of fgets_unlocked.
41538         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41539         (GET_NPROCS_CONF_PARSER): Likewise.
41540         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41541         (GET_NPROCS_CONF_PARSER): Likewise.
41543         [BZ #17574]
41544         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41545         weak alias of __wmemset.  Use libc_hidden_weak.
41546         (__wmemset): Use libc_hidden_def.
41547         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41548         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41549         of wmemset.
41551         [BZ #17573]
41552         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41553         with asm name __mempcpy.
41554         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41556         [BZ #17572]
41557         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41558         and define as weak alias of __rawmemchr.
41559         (__rawmemchr): Do not define as strong alias of rawmemchr.
41561         [BZ #17571]
41562         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41563         alias of __qsort_r.
41564         (qsort): Call __qsort_r instead of qsort_r.
41565         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41566         (__qsort_r): Declare.  Call libc_hidden_proto.
41567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41568         instead of qsort_r.
41569         * nscd/gai.c (__qsort_r): Define to qsort_r.
41570         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41571         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41572         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41574         [BZ #17570]
41575         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41576         define as weak alias of __malloc_info.
41578         [BZ #17584]
41579         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41580         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41581         (__rewinddir): Use libc_hidden_def.
41582         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41583         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41584         (__rewinddir): Use libc_hidden_def.
41585         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41586         weak alias of __rewinddir.  Don't use libc_hidden_def.
41587         (__rewinddir): Use libc_hidden_def.
41588         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41589         (__rewinddir): Use libc_hidden_proto.
41590         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41591         rewinddir.
41592         (__getcwd): Use __rewinddir instead of rewinddir.
41594         [BZ #17583]
41595         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41596         alias of __fileno.  Use libc_hidden_weak.
41597         (__fileno): Use libc_hidden_def.
41598         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41599         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41600         alias of __ftello.
41601         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41602         __ftello.
41603         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41604         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41605         libc_hidden_def.
41606         (fread_unlocked): Don't use libc_hidden_ver.
41607         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41608         and define as weak alias of __fread_unlocked.  Don't use
41609         libc_hidden_def.
41610         (__fread_unlocked): Use libc_hidden_def.
41611         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41612         (ftello): Don't use libc_hidden_proto.
41613         (__ftello): Declare.  Use libc_hidden_proto.
41614         (fread_unlocked): Don't use libc_hidden_proto.
41615         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41616         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41617         and __ftello instead of fileno, fread_unlocked and ftello.
41619 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41622         GOT12.
41623         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41624         Likewise.
41625         (_dl_start_user): Likewise.
41626         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41628 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41629             Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41632         Move argv and envp down instead of moving argc up.
41633         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41635 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41637         [BZ #17506]
41638         * test-skeleton.c (main): Return successful if one of
41639         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41640         * string/tst-strcoll-overflow.c: Define expected status.
41642 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41644         [BZ #17475]
41645         * locale/iso-639.def: Define Bhili and Tulu language codes.
41647 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41649         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41651 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41653         [BZ #17555]
41654         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41656 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41658         * configure.ac: Updated check of minimal required version to
41659         2.22.
41660         * manual/install.texi (Tools for Compilation): Updated version
41661         number.
41662         * configure: Regenerated.
41663         * INSTALL: Likewise.
41665 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41667         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41668         __tls_get_addr.
41670 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41672         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41673         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41674         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41675         libc_hidden_weak.
41676         (waitpid): Define as alias of __waitpid.
41677         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41678         __waitpid.
41679         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41680         libc_hidden_weak.
41681         (waitpid): Define as alias of __waitpid.
41682         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41683         __libc_waitpid alias.
41684         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41685         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41686         Likewise.
41687         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41688         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41689         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41690         alias.
41691         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41692         __waitpid.
41693         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41694         libc_hidden_weak.
41695         (waitpid): Define as alias of __waitpid.
41697 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41699         * manual/llio.texi: Add comment that write safety has been
41700         fixed in Linux.
41702         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41703         (localplt-build-dso): Add elf/ld.so.
41704         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41705         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41706         and free for ld.so.
41707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41708         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41710         Likewise.
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41712         Likewise.
41713         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41714         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41715         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41716         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41717         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41718         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41719         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41720         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41721         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41722         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41723         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41725 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41727         [BZ #14132]
41728         * include/libc-symbols.h (INTUSE): Remove macro.
41729         (INTDEF): Likewise.
41730         (INTVARDEF): Likewise.
41731         (_INTVARDEF): Likewise.
41732         (INTDEF2): Likewise.
41733         (INTVARDEF2): Likewise.
41734         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41735         rtld_hidden_def instead of INTVARDEF.
41736         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41737         (_dl_starting_up_internal): Remove declaration.
41738         (_dl_starting_up): Use rtld_hidden_proto.
41739         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41740         declaration.
41741         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41742         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41743         _dl_starting_up.
41744         * elf/dl-writev.h (_dl_writev): Likewise.
41745         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41746         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41747         _dl_starting_up_internal.
41749 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41751         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41752         test-skeleton.c.
41754 2014-11-05  Will Newton  <will.newton@linaro.org>
41756         * benchtests/Makefile: (bench-malloc): Add malloc thread
41757         scalability benchmark.
41758         * benchtests/bench-malloc-threads.c: New file.
41760 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41762         * sysdeps/aarch64/strchrnul.S: New file.
41764 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41766         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41767         definition.
41768         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41769         Likewise.
41770         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41771         Likewise.
41772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41773         Likewise.
41774         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41775         Likewise.
41776         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41777         Likewise.
41779 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41781         * catgets/test-gencat.c: Use test-skeleton.c.
41782         * catgets/tst-catgets.c: Likewise.
41783         * csu/tst-empty.c: Likewise.
41784         * elf/tst-audit2.c: Likewise.
41785         * elf/tst-global1.c: Likewise.
41786         * elf/tst-pathopt.c: Likewise.
41787         * elf/tst-piemod1.c: Likewise.
41788         * elf/tst-tls10.c: Likewise.
41789         * elf/tst-tls11.c: Likewise.
41790         * elf/tst-tls12.c: Likewise.
41791         * gnulib/tst-gcc.c: Likewise.
41792         * iconvdata/tst-e2big.c: Likewise.
41793         * iconvdata/tst-loading.c: Likewise.
41794         * iconv/tst-iconv1.c: Likewise.
41795         * iconv/tst-iconv2.c: Likewise.
41796         * inet/test-inet6_opt.c: Likewise.
41797         * inet/tst-gethnm.c: Likewise.
41798         * inet/tst-network.c: Likewise.
41799         * inet/tst-ntoa.c: Likewise.
41800         * intl/tst-codeset.c: Likewise.
41801         * intl/tst-gettext2.c: Likewise.
41802         * intl/tst-gettext3.c: Likewise.
41803         * intl/tst-ngettext.c: Likewise.
41804         * intl/tst-translit.c: Likewise.
41805         * io/test-stat.c: Likewise.
41806         * libio/test-fmemopen.c: Likewise.
41807         * libio/tst-freopen.c: Likewise.
41808         * libio/tst-sscanf.c: Likewise.
41809         * libio/tst-ungetwc1.c: Likewise.
41810         * libio/tst-ungetwc2.c: Likewise.
41811         * libio/tst-widetext.c: Likewise.
41812         * localedata/tst-ctype.c: Likewise.
41813         * localedata/tst-digits.c: Likewise.
41814         * localedata/tst-leaks.c: Likewise.
41815         * localedata/tst-mbswcs1.c: Likewise.
41816         * localedata/tst-mbswcs2.c: Likewise.
41817         * localedata/tst-mbswcs3.c: Likewise.
41818         * localedata/tst-mbswcs4.c: Likewise.
41819         * localedata/tst-mbswcs5.c: Likewise.
41820         * localedata/tst-setlocale.c: Likewise.
41821         * localedata/tst-trans.c: Likewise.
41822         * localedata/tst-wctype.c: Likewise.
41823         * localedata/tst-xlocale1.c: Likewise.
41824         * login/tst-grantpt.c: Likewise.
41825         * malloc/tst-calloc.c: Likewise.
41826         * malloc/tst-malloc.c: Likewise.
41827         * malloc/tst-mallocstate.c: Likewise.
41828         * malloc/tst-mcheck.c: Likewise.
41829         * malloc/tst-mtrace.c: Likewise.
41830         * malloc/tst-obstack.c: Likewise.
41831         * math/atest-exp2.c: Likewise.
41832         * math/atest-exp.c: Likewise.
41833         * math/atest-sincos.c: Likewise.
41834         * math/test-matherr.c: Likewise.
41835         * math/test-misc.c: Likewise.
41836         * math/test-powl.c: Likewise.
41837         * math/tst-definitions.c: Likewise.
41838         * misc/tst-dirname.c: Likewise.
41839         * misc/tst-efgcvt.c: Likewise.
41840         * misc/tst-fdset.c: Likewise.
41841         * misc/tst-hsearch.c: Likewise.
41842         * misc/tst-mntent2.c: Likewise.
41843         * nptl/tst-sem7.c: Likewise.
41844         * nptl/tst-sem8.c: Likewise.
41845         * nptl/tst-sem9.c: Likewise.
41846         * nss/test-netdb.c: Likewise.
41847         * posix/tst-fnmatch.c: Likewise.
41848         * posix/tst-getlogin.c: Likewise.
41849         * posix/tst-gnuglob.c: Likewise.
41850         * posix/tst-mmap.c: Likewise.
41851         * pwd/tst-getpw.c: Likewise.
41852         * resolv/tst-inet_ntop.c: Likewise.
41853         * rt/tst-timer.c: Likewise.
41854         * stdio-common/test-fseek.c: Likewise.
41855         * stdio-common/test-popen.c: Likewise.
41856         * stdio-common/test-vfprintf.c: Likewise.
41857         * stdio-common/tst-cookie.c: Likewise.
41858         * stdio-common/tst-fileno.c: Likewise.
41859         * stdio-common/tst-gets.c: Likewise.
41860         * stdio-common/tst-obprintf.c: Likewise.
41861         * stdio-common/tst-perror.c: Likewise.
41862         * stdio-common/tst-sprintf2.c: Likewise.
41863         * stdio-common/tst-sprintf3.c: Likewise.
41864         * stdio-common/tst-sprintf.c: Likewise.
41865         * stdio-common/tst-swprintf.c: Likewise.
41866         * stdio-common/tst-tmpnam.c: Likewise.
41867         * stdio-common/tst-unbputc.c: Likewise.
41868         * stdio-common/tst-wc-printf.c: Likewise.
41869         * stdlib/tst-environ.c: Likewise.
41870         * stdlib/tst-fmtmsg.c: Likewise.
41871         * stdlib/tst-limits.c: Likewise.
41872         * stdlib/tst-rand48-2.c: Likewise.
41873         * stdlib/tst-rand48.c: Likewise.
41874         * stdlib/tst-random2.c: Likewise.
41875         * stdlib/tst-random.c: Likewise.
41876         * stdlib/tst-strtol.c: Likewise.
41877         * stdlib/tst-strtoll.c: Likewise.
41878         * stdlib/tst-tls-atexit.c: Likewise.
41879         * stdlib/tst-xpg-basename.c: Likewise.
41880         * string/test-ffs.c: Likewise.
41881         * string/tst-bswap.c: Likewise.
41882         * string/tst-inlcall.c: Likewise.
41883         * string/tst-strtok.c: Likewise.
41884         * string/tst-strxfrm.c: Likewise.
41885         * sysdeps/x86_64/tst-audit10.c: Likewise.
41886         * sysdeps/x86_64/tst-audit3.c: Likewise.
41887         * sysdeps/x86_64/tst-audit4.c: Likewise.
41888         * sysdeps/x86_64/tst-audit5.c: Likewise.
41889         * time/tst-ftime_l.c: Likewise.
41890         * time/tst-getdate.c: Likewise.
41891         * time/tst-mktime3.c: Likewise.
41892         * time/tst-mktime.c: Likewise.
41893         * time/tst-posixtz.c: Likewise.
41894         * time/tst-strptime2.c: Likewise.
41895         * time/tst-strptime3.c: Likewise.
41896         * wcsmbs/tst-btowc.c: Likewise.
41897         * wcsmbs/tst-mbrtowc.c: Likewise.
41898         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41899         * wcsmbs/tst-wchar-h.c: Likewise.
41900         * wcsmbs/tst-wcpncpy.c: Likewise.
41901         * wcsmbs/tst-wcrtomb.c: Likewise.
41902         * wcsmbs/tst-wcsnlen.c: Likewise.
41903         * wcsmbs/tst-wcstof.c: Likewise.
41905 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41907         [BZ #14132]
41908         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41909         INTDEF.
41910         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41911         declaration.
41912         (_dl_mcount): Use rtld_hidden_proto.
41913         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41914         _dl_mcount.
41915         * elf/rtld.c (_rtld_global_ro): Likewise.
41917         [BZ #14132]
41918         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41919         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41920         of _dl_init_internal.
41921         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41922         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41923         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41924         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41925         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41926         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41927         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41928         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41929         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41930         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41931         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41932         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41933         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41934         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41935         * sysdeps/tile/dl-start.S (_start): Likewise.
41936         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41937         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41939         [BZ #14132]
41940         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41941         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41942         (rtld_progname): Make macro definition unconditional.
41943         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41944         INTDEF.
41945         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41946         (dl_main): Likewise.
41947         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41948         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41949         instead of _dl_argv_internal.
41950         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41951         __GI__dl_argv instead of INTUSE(_dl_argv).
41952         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41953         __GI__dl_argv instead of _dl_argv_internal.
41955         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41956         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41957         macro.
41958         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41959         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41960         New macro.
41961         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41962         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41963         macro.
41964         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41965         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41967 2014-11-04  Andreas Schwab  <schwab@suse.de>
41969         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41971 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41973         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41974         mtvsrd instruction in binary form.
41976 2014-11-03  Andreas Schwab  <schwab@suse.de>
41978         [BZ #17522]
41979         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41980         for less than MB_LEN_MAX use a local buffer of that size.
41981         * libio/tst-fputws.c: New file.
41982         * libio/Makefile (tests): Add tst-fputws.
41984 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41986         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41987         the size of the fpu_fr.fpu_dregs[] array.
41989 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41991         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41992         (__nanosleep): Do not define as alias.
41993         (nanosleep): Define as alias of __nanosleep.
41994         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41995         __libc_nanosleep name.
41997 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41999         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42000         install.texi in comment.
42002 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42004         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42005         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42006         ... add here and use lwsync or sync ...
42007         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42008         ... and add here using lwsync.
42010 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42012         * elf/dl-machine-reject-phdr.h: New file.
42013         * elf/dl-load.c: #include that.
42014         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42015         if that returned true.
42017 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42019         [BZ #17496]
42020         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42021         gen-as-const-headers chunk.  Add a big scare comment after the last
42022         safe place to touch before-compile.
42024 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42026         * manual/install.texi (Tools for Compilation): Update autoconf
42027         version requirements.
42028         * INSTALL: Regenerated.
42030         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42031         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42032         (__libc_pselect): Likewise.
42034         [BZ #14138]
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42040 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42042         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42043         correct barrier instruction.
42044         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42045         Likewise.
42046         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42047         Likewise.
42049 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42051         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42052         after defining inlines.  Instead, just use parens to defeat macro
42053         expansion of __isctype in its declaration.
42055 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42057         * include/sys/uio.h (__libc_readv): Remove declaration.
42058         (__libc_writev): Likewise.
42059         * misc/readv.c (__libc_readv): Rename to __readv.
42060         (__readv): Do not define as alias.
42061         (readv): Define as alias of __readv.
42062         * misc/writev.c (__libc_writev): Rename to __writev.
42063         (__writev): Do not define as alias.
42064         (writev): Define as alias of __writev.
42065         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42066         (__readv): Do not define as alias.
42067         (readv): Define unconditionally as alias of __readv.
42068         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42069         (__writev): Do not define as alias.
42070         (writev): Define unconditionally as alias of __writev.
42071         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42072         name.
42073         (writev): Do not define __libc_writev name.
42075 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42077         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42078         (convert_charseq): New function, broken out of ...
42079         (use_from_charmap): ... here.  Call it.
42080         (use_to_charmap): Use convert_charseq and free instead of duplicating
42081         its code with a variable-length stack struct.
42083 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42085         * include/fcntl.h (__libc_creat): Remove declaration.
42086         * io/creat.c (__libc_creat): Rename to creat.
42087         (creat): Do not define as alias.
42088         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42089         of creat instead of __libc_creat.
42090         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42091         to creat.
42092         (creat): Do not define as alias.
42093         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42094         __libc_creat.
42095         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42096         __libc_creat name.
42097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42098         Likewise.
42100 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42102         * manual/llio.texi: Add comments discussing why write() may be
42103         considered MT-unsafe on Linux.
42105 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42107         * dl-load.c (local_strdup): Remove.
42108         (expand_dynamic_string_token): Use __strdup.
42109         (decompose_rpath): Likewise.
42110         (_dl_map_object): Likewise.
42112 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42114         [BZ #14132]
42115         * sysdeps/generic/unwind-dw2-fde.c
42116         (__register_frame_info_bases_internal): Do not declare.
42117         (__register_frame_info_table_bases_internal): Likewise.
42118         (__deregister_frame_info_bases_internal): Likewise.
42119         (__register_frame_info_bases): Declare and use hidden_proto before
42120         definition.  Use hidden_def instead of INTDEF.
42121         (__register_frame_info_table_bases): Likewise.
42122         (__deregister_frame_info_bases): Likewise.
42123         (__register_frame_info): Do not use INTUSE.
42124         (__register_frame): Likewise.
42125         (__register_frame_info_table): Likewise.
42126         (__register_frame_table): Likewise.
42127         (__deregister_frame_info): Likewise.
42128         (__deregister_frame): Likewise.
42130 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42133         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42134         not undefine.
42135         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42136         Likewise.
42137         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42138         Likewise.
42140 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42142         [BZ #14138]
42143         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42144         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42145         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42146         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42147         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42148         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42149         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42150         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42151         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42152         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42153         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42154         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42155         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42156         syscall.
42157         (setfsuid): Likewise.
42158         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42159         (setfsuid): Likewise.
42160         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42161         (setfsuid): Likewise.
42162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42163         Likewise.
42164         (setfsuid): Likewise.
42165         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42166         (setfsuid): Likewise.
42167         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42168         Likewise.
42169         (setfsuid): Likewise.
42171 2014-10-27  Andreas Schwab  <schwab@suse.de>
42173         [BZ #17501]
42174         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42175         check for Slow_SSE4_2 feature bit.
42176         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42177         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42178         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42179         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42181 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42183         * configure.ac: Validate compiler version with a empirical test of
42184         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42185         $CC -v output.
42186         * configure: Regenerated.
42188         * inet/htons.c (htons): Prototypify.
42189         * inet/htonl.c (htonl): Likewise.
42191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42193         * string/strncat.c (strncat): Improve performance by using strlen.
42195 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42197         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42199 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42201         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42202         Call libc_fetestexcept_aarch64.
42204 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42206         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42207         Call libc_feholdexcept_aarch64.
42209 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42211         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42212         Call get_rounding_mode.
42214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42216         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42217         Simplify logic.
42219 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42221         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42222         Simplify logic.
42224 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42226         [BZ #14138]
42227         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42228         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42229         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42230         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42231         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42232         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42233         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42234         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42235         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42236         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42237         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42238         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42239         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42240         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42241         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42242         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42243         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42244         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42245         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42246         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42247         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42248         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42249         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42250         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42251         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42252         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42253         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42254         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42255         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42256         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42257         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42258         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42259         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42260         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42261         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42262         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42263         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42264         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42265         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42266         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42267         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42268         syscall.
42269         (geteuid): Likewise.
42270         (getgid): Likewise.
42271         (getuid): Likewise.
42272         (getresgid): Likewise.
42273         (getresuid): Likewise.
42274         (getgroups): Likewise.
42275         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42276         (geteuid): Likewise.
42277         (getgid): Likewise.
42278         (getuid): Likewise.
42279         (getresgid): Likewise.
42280         (getresuid): Likewise.
42281         (getgroups): Likewise.
42282         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42283         (geteuid): Likewise.
42284         (getgid): Likewise.
42285         (getuid): Likewise.
42286         (getresgid): Likewise.
42287         (getresuid): Likewise.
42288         (getgroups): Likewise.
42289         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42290         Likewise.
42291         (geteuid): Likewise.
42292         (getgid): Likewise.
42293         (getuid): Likewise.
42294         (getresgid): Likewise.
42295         (getresuid): Likewise.
42296         (getgroups): Likewise.
42297         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42298         (geteuid): Likewise.
42299         (getgid): Likewise.
42300         (getuid): Likewise.
42301         (getresgid): Likewise.
42302         (getresuid): Likewise.
42303         (getgroups): Likewise.
42304         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42305         Likewise.
42306         (geteuid): Likewise.
42307         (getgid): Likewise.
42308         (getuid): Likewise.
42309         (getgroups): Likewise.
42311         [BZ #14138]
42312         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42313         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42314         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42315         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42316         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42317         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42318         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42319         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42320         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42321         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42322         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42323         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42324         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42325         __chown.
42326         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42327         (lchown): Likewise.
42328         (fchown): Likewise.
42329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42330         Likewise.
42331         (lchown): Likewise.
42332         (fchown): Likewise.
42333         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42334         (lchown): Likewise.
42335         (fchown): Likewise.
42336         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42337         Likewise.
42338         (lchown): Likewise.
42339         (fchown): Likewise.
42341 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42343         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42344         Simplify logic.
42346 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42348         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42349         Cleanup logic.
42351 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42353         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42354         Remove unused include.
42356 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42358         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42359         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42360         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42361         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42363 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
42364             Helge Deller <deller@gmx.de>
42366         [BZ #17508]
42367         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42368         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42369         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42371 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
42373         [BZ #14132]
42374         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42375         Remove macro definition.
42376         (__ashrdi3_v_glibc20): Likewise.
42377         (__lshrdi3_v_glibc20): Likewise.
42378         (__cmpdi2_v_glibc20): Likewise.
42379         (__ucmpdi2_v_glibc20): Likewise.
42380         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42381         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42382         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42383         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42384         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42385         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42387 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42389         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42390         old GNU extension [0] syntax.
42391         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42392         alloca rather than an array member with variable length.
42393         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42394         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42395         (parse_opt): ... here.  Likewise use alloca there.
42396         Validate the -i argument before checking for rootness.
42397         (send_shutdown): New function, broken out of ...
42398         (parse_opt): ... here.
42400 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42402         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42403         macro to get at the _rt_local_ro field.
42404         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42405         ([PIC] case) or _dl_hwcap ([!PIC] case).
42406         * sysdeps/arm/setjmp.S: Likewise.
42408         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42409         * sysdeps/arm/configure.ac: New check to define it.
42410         * sysdeps/arm/configure: Regenerated.
42411         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42412         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42413         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42414         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42415         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42416         Use move/movt pair instead of a load.
42417         (LDST_GLOBAL): Macro removed.
42418         (LDR_GLOBAL): New macro replaces it.
42419         (LDR_HIDDEN): New macro.
42420         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42421         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42423         * setjmp/tst-setjmp-static.c: New file.
42424         * setjmp/Makefile (tests): Add it.
42425         (tests-static): New variable.
42427 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42429         [BZ #17485]
42430         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42432 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42434         [BZ #14132]
42435         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42437 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42439         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42441 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42443         * io/fts.c (dirent_not_directory): New function.
42444         (fts_build): Call it.
42446 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42448         * nptl/version.c (__nptl_main): Use normal __write rather than
42449         INTERNAL_SYSCALL.
42450         (banner): Update copyright years.
42452         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42453         gettimeofday.
42454         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42455         * nptl/pthread_cond_timedwait.c: Likewise.
42456         * nptl/pthread_mutex_timedlock.c: Likewise.
42457         * nptl/sem_timedwait.c: Likewise.
42459         * sysdeps/nptl/bits/libc-lock.h
42460         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42461         (__libc_lock_init_recursive): Return void, not 0.
42462         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42463         (__libc_rwlock_init): Likewise.
42464         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42466 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42468         [BZ #15215]
42469         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42470         (__pthread_once_slow): ... here.
42471         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42472         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42474 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42476         [BZ #15215]
42477         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42478         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42479         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42480         * nptl/pthread_once.c (__pthread_once): Likewise.
42481         Update comments.
42483 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42485         [BZ #14138]
42486         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42487         name.
42488         (writev): Use __libc_writev as strong name.
42489         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42490         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42492 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42494         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42496         * sysdeps/i386/nptl/tls.h
42497         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42498         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42499         New macros.
42500         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42501         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42502         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42503         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42504         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42505         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42507         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42508         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42509         on [__NR_futex].
42510         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42511         broken out of ...
42512         (__pthread_mutex_init): ... here.  Call it.
42513         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42514         Conditionalize PI cases on [__NR_futex].
42515         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42516         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42517         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42519         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42520         conditional on [SIGSETXID].
42521         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42522         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42523         is defined.  Likewise for SIGSETXID.
42524         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42525         Conditionalize definitions on [SIGSETXID].
42526         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42527         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42528         unblocking on [SIGCANCEL].
42530         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42531         [__NR_set_robust_list].
42533 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42535         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42536         (do_compare): Likewise.
42538 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42540         [BZ #15884]
42541         * string/strcoll_l.c: Don't include stdio.h.
42542         (coll_seq): Remove members idxarr and rulearr.
42543         (get_next_seq_cached): Remove function.
42544         (get_next_seq): Likewise.
42545         (get_next_seq_nocache): Rename to get_next_seq.
42546         (do_compare): Remove function.
42547         (do_compare_nocache): Rename to do_compare.
42548         (STRCOLL): Remove weight and rules cache.
42550 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42552         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42553         * sysdeps/arm/sfp-machine.h: ... to here.
42554         * sysdeps/arm/Implies: Remove arm/soft-fp.
42556 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42558         * conform/data/sys/utsname.h-data (*_t): Allow.
42559         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42560         [POSIX] (WEXITED): Do not expect constant.
42561         [POSIX] (WSTOPPED): Likewise.
42562         [POSIX] (WNOHANG): Likewise.
42563         [POSIX] (WNOWAIT): Likewise.
42564         [POSIX] (siginfo_t): Do not expect type or elements.
42565         [POSIX] (pid_t): Do not expect type.
42566         [POSIX] (signal.h): Do not allow header.
42567         [POSIX] (sys/resource.h): Likewise.
42568         [POSIX] (si_*): Do not allow pattern.
42569         [POSIX] (W*): Likewise.
42570         [POSIX] (P_*): Likewise.
42571         [POSIX] (BUS_*): Likewise.
42572         [POSIX] (CLD_*): Likewise.
42573         [POSIX] (FPE_*): Likewise.
42574         [POSIX] (ILL_*): Likewise.
42575         [POSIX] (POLL_*): Likewise.
42576         [POSIX] (SEGV_*): Likewise.
42577         [POSIX] (SI_*): Likewise.
42578         [POSIX] (TRAP_*): Likewise.
42579         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42580         variable.
42582 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42584         [BZ #12926]
42585         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42586         infinite loop when __recvmsg returns 0.
42588 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42590         * CANCEL-FCT-WAIVE: Remove file.
42591         * CANCEL-FILE-WAIVE: Likewise.
42593         [BZ #14132]
42594         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42595         instead of INTVARDEF.
42596         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42597         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42598         rtld_hidden_data_def instead of INTVARDEF.
42599         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42600         * elf/dl-deps.c (expand_dst): Likewise.
42601         * elf/dl-load.c (_dl_dst_count): Likewise.
42602         (_dl_dst_substitute): Likewise.
42603         (decompose_rpath): Likewise.
42604         (_dl_init_paths): Likewise.
42605         (open_path): Likewise.
42606         (_dl_map_object): Likewise.
42607         * elf/rtld.c (dl_main): Likewise.
42608         (process_dl_audit): Likewise.
42609         (process_envvars): Likewise.
42610         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42611         Remove declaration.
42612         (__libc_enable_secure): Use rtld_hidden_proto.
42614 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42616         * elf/dl-load.c
42617         (add_path): New function broken out of _dl_rtld_di_serinfo.
42618         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42620 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42622         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42623         parentheses around macro arguments.
42624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42628         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42630         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42635         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42636         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42637         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42638         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42639         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42640         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42645         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42648         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42649         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42650         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42653         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42654         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42655         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42656         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42657         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42658         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42659         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42660         Likewise.
42661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42668         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42669         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42672         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42673         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42682         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42685         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42687         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42688         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42689         (_FP_FRAC_SRS_1): Likewise.
42690         (_FP_FRAC_CLZ_1): Likewise.
42691         (_FP_MUL_MEAT_1_imm): Likewise.
42692         (_FP_MUL_MEAT_1_wide): Likewise.
42693         (_FP_MUL_MEAT_1_hard): Likewise.
42694         (_FP_SQRT_MEAT_1): Likewise.
42695         (_FP_FRAC_ASSEMBLE_1): Likewise.
42696         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42697         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42698         (__FP_CLZ_2): Likewise.
42699         (_FP_MUL_MEAT_2_wide): Likewise.
42700         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42701         (_FP_MUL_MEAT_2_gmp): Likewise.
42702         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42703         (_FP_SQRT_MEAT_2): Likewise.
42704         (_FP_FRAC_ASSEMBLE_2): Likewise.
42705         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42706         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42707         (_FP_FRAC_CLZ_4): Likewise.
42708         (_FP_MUL_MEAT_4_wide): Likewise.
42709         (_FP_MUL_MEAT_4_gmp): Likewise.
42710         (_FP_SQRT_MEAT_4): Likewise.
42711         (_FP_FRAC_ASSEMBLE_4): Likewise.
42712         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42713         * soft-fp/op-common.h (_FP_CMP): Likewise.
42714         (_FP_CMP_EQ): Likewise.
42715         (_FP_CMP_UNORD): Likewise.
42716         (_FP_TO_INT): Likewise.
42717         (_FP_FROM_INT): Likewise.
42718         [!__FP_CLZ] (__FP_CLZ): Likewise.
42719         (_FP_DIV_HELP_imm): Likewise.
42720         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42721         Likewise.
42722         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42725         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42726         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42728         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42729         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42730         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42733         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42734         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42735         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42736         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42737         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42738         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42743         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42746         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42747         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42748         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42749         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42750         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42751         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42752         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42753         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42754         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42755         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42756         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42757         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42758         (FP_UNPACK_RAW_SP): Likewise.
42759         (FP_PACK_RAW_S): Likewise.
42760         (FP_PACK_RAW_SP): Likewise.
42761         (FP_UNPACK_S): Likewise.
42762         (FP_UNPACK_SP): Likewise.
42763         (FP_UNPACK_SEMIRAW_S): Likewise.
42764         (FP_UNPACK_SEMIRAW_SP): Likewise.
42765         (FP_PACK_S): Likewise.
42766         (FP_PACK_SP): Likewise.
42767         (FP_PACK_SEMIRAW_S): Likewise.
42768         (FP_PACK_SEMIRAW_SP): Likewise.
42769         (_FP_SQRT_MEAT_S): Likewise.
42770         (FP_CMP_S): Likewise.
42771         (FP_CMP_EQ_S): Likewise.
42772         (FP_CMP_UNORD_S): Likewise.
42773         (FP_TO_INT_S): Likewise.
42774         (FP_FROM_INT_S): Likewise.
42776         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42778         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42779         (FP_EX_INVALID_IMZ): Likewise.
42780         (FP_EX_INVALID_IMZ_FMA): Likewise.
42781         (FP_EX_INVALID_ISI): Likewise.
42782         (FP_EX_INVALID_ZDZ): Likewise.
42783         (FP_EX_INVALID_IDI): Likewise.
42784         (FP_EX_INVALID_SQRT): Likewise.
42785         (FP_EX_INVALID_CVI): Likewise.
42786         (FP_EX_INVALID_VC): Likewise.
42787         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42788         "invalid" exceptions.
42789         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42790         (_FP_ADD_INTERNAL): Likewise.
42791         (_FP_MUL): Likewise.
42792         (_FP_FMA): Likewise.
42793         (_FP_DIV): Likewise.
42794         (_FP_CMP_CHECK_NAN): Likewise.
42795         (_FP_SQRT): Likewise.
42796         (_FP_TO_INT): Likewise.
42797         (FP_EXTEND): Likewise.
42799 2014-10-09  Allan McRae  <allan@archlinux.org>
42801         * po/fr.po: Update French translation from translation project.
42803 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42805         [BZ #14132]
42806         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42807         of INTDEF.
42808         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42809         (__cxa_atexit): Use libc_hidden_proto.
42810         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42812         [BZ #14132]
42813         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42814         declaration.
42815         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42816         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42817         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42818         [!_ISOMAC] (__iswctype_internal): Likewise.
42819         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42820         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42821         alias.
42822         (fcntl): Remove __fcntl_internal alias.
42823         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42824         __connect_internal alias.
42825         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42826         Likewise.
42828         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42829         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42830         FP_DENORM_ZERO.
42831         (_FP_CHECK_FLUSH_ZERO): New macro.
42832         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42833         (_FP_CMP): Likewise.
42834         (_FP_CMP_EQ): Likewise.
42835         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42836         FP_DENORM_ZERO.
42837         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42838         (FP_TRUNC): Likewise.
42840         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42841         treated as invalid conversion, not as normal exponent.
42843         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42844         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42845         (_FP_CMP_EQ): Likewise.
42846         (_FP_CMP_UNORD): Likewise.
42847         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42848         (FP_CMP_EQ_D): Likewise.
42849         (FP_CMP_UNORD_D): Likewise.
42850         * soft-fp/extended.h (FP_CMP_E): Likewise.
42851         (FP_CMP_EQ_E): Likewise.
42852         (FP_CMP_UNORD_E): Likewise.
42853         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42854         (FP_CMP_EQ_Q): Likewise.
42855         (FP_CMP_UNORD_Q): Likewise.
42856         * soft-fp/single.h (FP_CMP_S): Likewise.
42857         (FP_CMP_EQ_S): Likewise.
42858         (FP_CMP_UNORD_S): Likewise.
42859         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42860         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42861         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42862         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42863         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42864         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42865         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42866         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42867         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42868         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42869         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42870         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42871         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42872         to FP_CMP_Q.
42873         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42874         FP_CMP_Q.
42875         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42876         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42877         FP_CMP_EQ_Q.
42878         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42879         FP_CMP_Q.
42880         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42881         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42882         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42883         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42884         FP_CMP_EQ_Q.
42885         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42886         FP_CMP_Q.
42887         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42888         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42889         FP_CMP_EQ_Q.
42890         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42891         FP_CMP_Q.
42892         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42893         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42894         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42895         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42896         FP_CMP_EQ_Q.
42898         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42899         a subnormal result, set the underflow exception if trapping on
42900         underflow is enabled.
42901         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42902         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42903         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42904         redefine to 0.
42905         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42906         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42907         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42908         * soft-fp/extendxftf2.c (__extendxftf2): Use
42909         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42911         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42912         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42913         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42914         FP_HANDLE_EXCEPTIONS.
42915         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42916         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42917         FP_HANDLE_EXCEPTIONS.
42918         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42919         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42920         FP_HANDLE_EXCEPTIONS.
42921         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42922         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42923         FP_HANDLE_EXCEPTIONS.
42925 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42927         [BZ #14132]
42928         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42929         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42930         use INTUSE.
42931         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42932         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42933         Remove alias.
42934         (__adjtimex): Define using libc_hidden_ver.
42935         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42936         Remove declaration.
42937         (ntp_gettime): Call __adjtimex directly.
42938         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42939         Remove declaration.
42940         (ntp_gettimex): Call __adjtimex directly.
42941         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42942         __adjtimex_internal alias.
42944 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42946         [BZ #17460]
42947         * nscd/nscd.c (more_help): Rewrite list of tables collection
42948         using xstrdup and asprintf.
42950         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42952 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42953             Roland McGrath  <roland@hack.frob.com>
42955         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42956         (do_lookup_unique): ... local function 'enter' here; update callers.
42958 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42960         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42961         compat_symbol calls on [SHARED].
42962         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42963         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42964         Remove.
42965         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42966         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42967         (oldsetrlimit): Remove.
42968         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42970         (lchown): New syscall entry.
42971         (oldsetrlimit): Remove.
42972         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42974         (oldsetrlimit): Remove.
42975         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42977         [BZ #14138]
42978         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42979         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42980         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42981         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42982         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42983         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42984         (fchown): Likewise.
42985         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42986         (fchown): Likewise.
42987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42988         Likewise.
42990 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42992         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42993         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42994         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42995         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42996         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42997         Likewise.
42998         (__old_sem_post): Likewise.
43000 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43002         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43003         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43004         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43005         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43006         Use INLINE_VSYSCALL macro.
43007         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43008         __vdso_clock_gettime.
43009         * sysdeps/unix/sysv/linux/tile/init-first.c
43010         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43011         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43012         __vdso_clock_gettime.
43014         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43015         to set up frame more cleanly.
43017         * sysdeps/tile/memcmp.c: New file.
43019         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43021         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43022         * sysdeps/tile/tilegx/strcasestr.c: New file.
43023         * sysdeps/tile/tilegx/strnlen.c: New file.
43024         * sysdeps/tile/tilegx/strstr.c: New file.
43026         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43028 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43030         * nptl/tst-setuid3.c: Write errors to stdout.
43032 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43034         * elf/dl-deps.c
43035         (preload): New functions broken out of _dl_map_object_deps.
43036         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43038 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43040         [BZ #14138]
43041         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43042         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43044 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43046         * sysdeps/mips/strcmp.S: New.
43048 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43050         [BZ #14138]
43051         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43052         (linkat): Likewise.
43053         (mkdirat): Likewise.
43054         (readlinkat): Likewise.
43055         (renameat): Likewise.
43056         (symlinkat): Likewise.
43057         (unlinkat): Likewise.
43058         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43059         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43060         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43061         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43062         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43063         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43064         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43066 2014-09-30  Will Newton  <will.newton@linaro.org>
43068         * math/math.h: Define long double math functions if
43069         _LIBC_TEST is defined.
43070         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43072         * localedata/Makefile: Move assignment to tests-special
43073         into an ifdef testing run-built-tests.
43074         * timezone/Makefile: Likewise.
43076 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43078         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43079         with $(BASH) not $(SHELL).
43081 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43082             Matthew LeGendre  <legendre1@llnl.gov>
43084         [BZ #17411]
43085         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43086         l_reloc_result.
43088 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43090         * stdio-common/printf_fp.c
43091         (hack_digit): New function, broken out of ...
43092         (__printf_fp): ... local function here.  Update call sites.
43093         hack_digit now takes an additional parameter that is a pointer
43094         to a struct of the referenced locals.  Those locals moved inside
43095         the struct and references updated.
43097 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43099         * aclocal.m4: Require autoconf 2.69.
43100         * configure: Regenerated.
43101         * sysdeps/aarch64/configure: Likewise.
43102         * sysdeps/alpha/configure: Likewise.
43103         * sysdeps/arm/armv7/configure: Likewise.
43104         * sysdeps/arm/configure: Likewise.
43105         * sysdeps/ia64/configure: Likewise.
43106         * sysdeps/mach/configure: Likewise.
43107         * sysdeps/mips/configure: Likewise.
43108         * sysdeps/s390/configure: Likewise.
43109         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43112         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43113         file.
43114         * sysdeps/ia64/configure.ac: Likewise.
43116 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43119         specify symbol version for ld.so.  Do not include entry for
43120         libpthread.
43121         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43122         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43123         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43125         [BZ #14171]
43126         * Makeconfig [$(build-shared) = yes]
43127         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43128         makefiles.
43129         [$(build-shared) = yes && $(soversions.mk-done) = t]
43130         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43131         [$(build-shared) = yes && $(soversions.mk-done) = t]
43132         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43133         to Makerules.
43134         [$(build-shared) = yes && $(soversions.mk-done) = t]
43135         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43136         here.
43137         [$(build-shared) = yes && $(soversions.mk-done) = t]
43138         (common-generated): Don't append gnu/lib-names.h and
43139         gnu/lib-names.stmp here.
43140         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43141         (lib-names-h-abi): New variable.
43142         [$(build-shared) = yes && $(soversions.mk-done) = t]
43143         (lib-names-stmp-abi): Likewise.
43144         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43145         abi-variants] (before-compile): Append
43146         $(common-objpfx)$(lib-names-h-abi).
43147         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43148         abi-variants] (common-generated): Append gnu/lib-names.h.
43149         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43150         abi-variants] (install-others-nosubdir): Depend on
43151         $(inst_includedir)/$(lib-names-h-abi).
43152         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43153         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43154         [$(build-shared) = yes && $(soversions.mk-done) = t]
43155         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43156         [$(build-shared) = yes && $(soversions.mk-done) = t]
43157         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43158         [$(build-shared) = yes && $(soversions.mk-done) = t]
43159         (common-generated): Append $(lib-names-h-abi) and
43160         $(lib-names-stmp-abi).
43161         * scripts/lib-names.awk: Do not handle multi being set.
43162         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43163         Remove variable.
43164         (abi-lp64_be-ld-soname): Likewise.
43165         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43166         Likewise.
43167         (abi-hard-ld-soname): Likewise.
43168         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43169         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43170         Remove variable.
43171         (abi-o32_hard-ld-soname): Likewise.
43172         (abi-o32_soft_2008-ld-soname): Likewise.
43173         (abi-o32_hard_2008-ld-soname): Likewise.
43174         (abi-n32_soft-ld-soname): Likewise.
43175         (abi-n32_hard-ld-soname): Likewise.
43176         (abi-n32_soft_2008-ld-soname): Likewise.
43177         (abi-n32_hard_2008-ld-soname): Likewise.
43178         (abi-n64_soft-ld-soname): Likewise.
43179         (abi-n64_hard-ld-soname): Likewise.
43180         (abi-n64_soft_2008-ld-soname): Likewise.
43181         (abi-n64_hard_2008-ld-soname): Likewise.
43182         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43183         Likewise.
43184         (abi-64-v2-ld-soname): Likewise.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43186         ld.so entries.
43187         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43188         variable.
43189         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43190         entry.
43191         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43192         variable.
43193         (abi-64-ld-soname): Likewise.
43194         (abi-x32-ld-soname): Likewise.
43195         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43196         entry.
43197         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43199 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43201         [BZ #14138]
43202         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43203         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43204         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43205         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43206         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43207         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43208         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43209         syscall entry for GLIBC_2.2 symbol version.
43210         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43211         Likewise.
43212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43213         (setrlimit): Likewise.
43214         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43215         Likewise.
43217 2014-09-23  Will Newton  <will.newton@linaro.org>
43219         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43220         _LINUX_ARM_SYSDEP_H include guard too.
43221         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43222         define.
43224 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43226         * sysdeps/unix/sysv/linux/eventfd.c:
43227         Make first argument unsigned.
43228         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43229         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43231 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43233         [BZ #16852]
43234         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43235         * socket/sys/socket.h: Likewise.
43236         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43238 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43240         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43242 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43244         * time/tst-ftime.c: New test.
43245         * time/Makefile (tests): Add tst-ftime.
43247 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43249         * soft-fp/extended.h: Fix comment formatting.
43250         * soft-fp/op-1.h: Likewise.
43251         * soft-fp/op-2.h: Likewise.
43252         * soft-fp/op-4.h: Likewise.
43253         * soft-fp/op-8.h: Likewise.
43254         * soft-fp/op-common.h: Likewise.
43255         * soft-fp/soft-fp.h: Likewise.
43257         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43259 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43261         [BZ #6652]
43262         * Makeconfig (soversions-default-setname): Remove variable.
43263         ($(common-objpfx)soversions.i): Don't pass default_setname to
43264         soversions.awk.
43265         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43266         oldest_abi to abi-versions.awk.
43267         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43268         * config.make.in (oldest-abi): Remove variable.
43269         * configure.ac (--enable-oldest-abi): Remove configure option.
43270         * configure: Regenerated.
43271         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43272         text.
43273         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43274         * scripts/soversions.awk: Do not handle default_setname variable.
43275         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43276         variable.
43277         * sysdeps/mach/hurd/configure: Regenerated.
43278         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43279         variable.
43280         * sysdeps/unix/sysv/linux/configure: Regenerated.
43282 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43284         * elf/Makefile (CFLAGS-interp.c): Remove.
43285         ($(elf-objpfx)runtime-linker.h): Generate header with linker
43286         path string.
43287         * elf/interp.c: Include generated runtime-linker.h
43289         * Makerules (lib%.so): Don't include $(+interp) in
43290         prerequisites.
43291         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43292         * dlfcn/eval.c: Remove file.
43294         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43295         macros.
43297         [BZ #17266]
43298         * misc/sys/cdefs.h: Define __extern_always_inline for clang
43299         4.2 and newer.
43301         [BZ #17370]
43302         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43304 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43305             Jakub Jelinek  <jakub@redhat.com>
43307         [BZ #17266]
43308         * libio/stdio.h: Check definition of __fortify_function
43309         instead of __extern_always_inline to include bits/stdio2.h.
43310         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43311         check if __extern_always_inline is defined.
43312         [__USE_MISC || __USE_XOPEN]: Likewise.
43313         [__USE_ISOC99] Likewise.
43314         * misc/sys/cdefs.h (__fortify_function): Define only if
43315         __extern_always_inline is defined.
43316         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43317         __extern_always_inline and __extern_inline only for g++-4.3
43318         and newer or a compatible gcc.
43320 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
43322         [BZ #17371]
43323         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43324         last change to handle zero prefix length.
43326 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43328         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43329         _SC_REGEX_VERSION.
43331         * posix/getconf.c (vars): Add _POSIX_IPV6 and
43332         _POSIX_RAW_SOCKETS.
43334 2014-09-13  Allan McRae  <allan@archlinux.org>
43336         * po/ru.po: Update Russian translation from translation project.
43338 2014-09-12  Roland McGrath  <roland@hack.frob.com>
43340         * locale/programs/locale.c (show_locale_vars): Inline local function
43341         into its sole call site.  Clean up some style nits.
43342         (print_item): New function, broken out of ...
43343         (show_info): ... local function here.  Clean up style nits.
43345         * locale/programs/ld-ctype.c (set_one_default): New function, broken
43346         out of ...
43347         (set_class_defaults): ... local function set_default here.
43348         Define set_default as a macro locally to pass constant parameters.
43349         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43350         rather than a shared local.
43352         * stdlib/rpmatch.c (try): New function, broken out of ...
43353         (rpmatch): ... local function here.  Also, prototypify definition.
43355 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
43357         * scripts/soversions.awk: Do not handle configuration names.
43358         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43359         vendor and os variables to soversions.awk.
43360         * configure.ac: Do not modify gnu-* host_os.
43361         * configure: Regenerated
43362         * shlib-versions: Remove first column with configuration names.
43363         * nptl/shlib-versions: Likewise.
43364         * nptl_db/shlib-versions: Likewise.
43365         * sysdeps/hppa/shlib-versions: Likewise.
43366         * sysdeps/m68k/shlib-versions: Likewise.
43367         * sysdeps/mach/hurd/shlib-versions: Likewise.
43368         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43369         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43370         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43371         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43372         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43373         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43374         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43375         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43377         Likewise.
43378         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43379         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43380         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43381         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43382         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43383         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43384         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43385         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43388         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43390         Regenerated.
43391         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43393         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43395         * shlib-versions: Remove OS-specific entries.  Moved to files in
43396         sysdeps.
43397         * sysdeps/mach/hurd/shlib-versions: New file.
43398         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43400         * nptl/shlib-versions: Remove architecture-specific entries.
43401         Moved to files in sysdeps.
43402         * shlib-versions: Likewise.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43404         file.
43405         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43406         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43407         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43408         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43410         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43411         (UDP_NO_CHECK6_RX): Likewise.
43413 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43415         * sysdeps/posix/sysconf.c (__sysconf): Spell
43416         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43418 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43420         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43421         loading.
43422         * iconv/Versions (__gconv_transliterate): Export for use from
43423         gconv modules.
43424         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43425         (struct __gconv_trans_data, __gconv_trans_fct,
43426         __gconv_trans_context_fct, __gconv_trans_query_fct,
43427         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43428         definitions.
43429         (struct __gconv_step_data): Remove __trans member.
43430         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43431         longer hidden.  Remove unused trans_data argument.
43432         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43433         (__gconv_translit_find): Remove declaration.
43434         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43435         prototype.
43436         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43437         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43438         trans_data argument.  Add hidden definition.
43439         (__gconv_translit_find): Remove.
43440         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43441         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43442         * iconv/skeleton.c: Remove transliteration initialization.
43443         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43444         __gconv_step_data initialization.
43445         * libio/iofwide.c (__libio_translit_): Remove.
43446         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43447         * wcsmbs/btowc.c (__btowc): Likewise.
43448         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43449         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43450         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43451         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43452         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43453         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43454         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43455         * wcsmbs/wctob.c (wctob): Likewise.
43457 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43459         [BZ #16194]
43460         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43461         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43462         register usage.
43463         * sysdeps/x86/Makefile: Adjust.
43465 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43466             Roland McGrath  <roland@hack.frob.com>
43468         * locale/weight.h: Add include guard.
43469         (findidx): Make static rather than auto; take new parameters
43470         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43471         * locale/weightwc.h: Likewise.
43472         * posix/fnmatch_loop.c
43473         (FCT): Change type of EXTRA from int32_t to wint_t.
43474         Don't include either header inside the function.
43475         Call FINDIDX rather than findidx, and pass new arguments.
43476         #undef FINDIDX at the end of the file.
43477         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43478         FINDIDX before including fnmatch_loop.c for the non-wide version.
43479         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43480         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43481         for the wide version.
43482         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43483         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43484         Pass new arguments to findidx.
43485         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43486         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43487         Don't #include it inside the function.  Pass new arguments to findidx.
43488         * posix/regex_internal.h
43489         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43490         (re_string_elem_size_at): Don't #include it inside the function.
43491         Pass new arguments to findidx.
43492         * string/strcoll_l.c: #include WEIGHT_H at top level.
43493         (get_next_seq): Don't #include it inside the function.
43494         Pass new arguments to findidx.
43495         (get_next_seq_nocache): Likewise.
43496         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43497         (STRXFRM): Don't #include it inside the function.
43498         Pass new arguments to findidx.
43500 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43502         [BZ #17344]
43503         * malloc/malloc.c (unlink): Turn asserts into a call to
43504         malloc_printerr.
43506 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43508         [BZ #17370]
43509         * libio/wfileops (do_ftell_wide): Free OUT.
43511 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43513         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43515 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43517         [BZ #17363]
43518         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43519         group if the current group is empty.
43521 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43523         * benchtests/bench-memset.c (test_main): Add more test from size
43524         from 32 to 512 bytes.
43525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43526         Add POWER8 memset object.
43527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43528         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43529         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43530         implementation.
43531         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43532         Likewise.
43533         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43534         multiarch POWER8 memset optimization.
43535         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43536         POWER8 memset optimization.
43538         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43539         Remove bzero multiarch objects.
43540         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43541         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43542         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43543         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43544         Remove define.
43545         [__bzero]: Redefine to specific name.
43546         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43547         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43548         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43549         define.
43550         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43551         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43553 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43555         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43556         warnings into errors.
43558         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43559         __cxa_thread_atexit_impl prototype.
43561 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43563         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43564         Fix capitalization of error message.
43566 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43568         * sysdeps/mips/preconfigure: Modify ABI tests.
43570 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43572         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43574 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43575             Carlos O'Donell  <carlos@systemhalted.org>
43577         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43578         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43579         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43580         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43581         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43582         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43583         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43584         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43585         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43586         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43588         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43590         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43591         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43592         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43593         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43594         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43595         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43596         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43597         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43598         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43599         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43600         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43601         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43602         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43603         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43604         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43605         Deconditionalize the code that was previously under [RESET_PID].
43606         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43607         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43608         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43609         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43610         include sysdep.h.
43612 2014-09-08  Allan McRae  <allan@archlinux.org>
43614         * version.h (RELEASE): Set to "development".
43615         (VERSION): Set to "2.20.90"
43617 2014-09-07  Allan McRae  <allan@archlinux.org
43619         * version.h (RELEASE): Set to "stable".
43620         (VERSION): Set to "2.20"
43621         * include/features.h (__GLIBC_MINOR__): Set to 20.
43623         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43624         Liebler.
43626         * po/ko.po: Update Korean translation from translation project.
43628 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43630         [BZ #17354]
43631         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43632         macro for handling signed relocations.
43634 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43636         [BZ #17325]
43637         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43638         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43639         assert.
43640         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43641         * iconvdata/ibm935.c (BODY): Likewise.
43642         * iconvdata/ibm937.c (BODY): Likewise.
43643         * iconvdata/ibm939.c (BODY): Likewise.
43644         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43645         assert.
43646         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43647         script.
43648         * iconvdata/run-iconv-test.sh: New test loop for checking for
43649         decoder crashers.
43651 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43654         libm_hidden_ver.
43656 2014-09-01  Allan McRae  <allan@archlinux.org>
43658         * po/eo.po: Update Esperanto translation from translation project.
43660         * po/ca.po: Update Catalan translation from translation project.
43662 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43664         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43665         __proc_dostop call.
43667 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43669         [BZ #17319]
43670         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43671         to call set_thread_area instead of hand written asm.
43672         (__NR_set_thread_area): Removed define.
43673         (TLS_FLAG_WRITABLE): Likewise.
43674         (__ASSUME_SET_THREAD_AREA): Remove check.
43675         (TLS_EBX_ARG): Remove define.
43676         (TLS_LOAD_EBX): Likewise.
43678 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43680         Simplify atomicity of socket creation in bind.
43682         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43683         looking up the name after linking the file.
43685 2014-08-27  Allan McRae  <allan@archlinux.org>
43687         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43689 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43691         [BZ #17187]
43692         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43693         trans_compare, open_translit, __gconv_translit_find):
43694         Remove module loading code.
43696 2014-08-26  Allan McRae  <allan@archlinux.org>
43698         * po/vi.po: Update Vietnamese translation from translation project.
43700         * po/uk.po: Update Ukrainian translation from translation project.
43702         * po/fr.po: Update French translation from translation project.
43704         * po/ru.po: Update Russian translation from translation project.
43706         * po/pl.po: Update Polish translation from translation project.
43708         * po/cs.po: Update Czech translation from translation project.
43710         * po/de.po: Update German translation from translation project.
43712         * po/bg.po: Update Bulgarian translation from translation project.
43714         * po/sv.po: Update Sweedish translation from translation project.
43716         * po/nl.po: Update Dutch translation from translation project.
43718         * po/es.po: Update Spanish translation from translation project.
43720 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43724         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43725         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43726         (CPPFLAGS-iconvconfig): Likewise.
43727         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43729         * include/libc-symbols.h: Remove unnecessary check for
43730         NOT_IN_libc.
43731         * nptl/pthreadP.h: Likewise.
43732         * sysdeps/aarch64/setjmp.S: Likewise.
43733         * sysdeps/alpha/setjmp.S: Likewise.
43734         * sysdeps/arm/sysdep.h: Likewise.
43735         * sysdeps/i386/setjmp.S: Likewise.
43736         * sysdeps/m68k/setjmp.c: Likewise.
43737         * sysdeps/posix/getcwd.c: Likewise.
43738         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43739         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43740         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43741         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43742         * sysdeps/sh/sh3/setjmp.S: Likewise.
43743         * sysdeps/sh/sh4/setjmp.S: Likewise.
43744         * sysdeps/unix/alpha/sysdep.h: Likewise.
43745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43746         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43747         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43748         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43753         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43756         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43758         * sysdeps/x86_64/setjmp.S: Likewise.
43760 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43762         [BZ #17263]
43763         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43764         <stdint.h>.
43765         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43766         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43768 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43770         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43772         [BZ #17262]
43773         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43774         and __x86_64__ when disabling x87 inline functions.
43776 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43778         [BZ #17259]
43779         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43780         asm statement with __cpuid_count.
43782 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43784         * configure.ac: Change __ehdr_start code to dereference the struct.
43785         Run readelf on the output to look for relocations.
43786         * configure: Regenerated.
43788 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43790         [BZ #17261]
43791         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43792         value to 0.
43793         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43795 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43797         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43799 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43801         [BZ #16892]
43802         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43803         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43805 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43807         * malloc/malloc.c: Fix typo in comment.
43809 2014-08-09  Allan McRae  <allan@archlinux.org>
43811         * Regenerate libc.po.
43813 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43815         * intl/tst-gettext2.sh: Check every lang file for creation.
43817 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43819         * sysdeps/aarch64/fpu/math_private.h
43820         (libc_feholdsetround_noex_aarch64_ctx): New function.
43822 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43824         * sysdeps/arm/armv6/strcpy.S (strcpy):
43825         Fix performance issue in misaligned cases.
43827 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43829         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43830         Move definition from termios.h.
43831         (struct termio): Likewise.
43832         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43833         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43834         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43835         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43836         Likewise.
43837         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43838         Move definition to ioctl-types.h
43839         (struct termio): Likewise.
43840         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43841         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43842         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43843         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43844         Likewise.
43846 2014-08-05  Richard Henderson  <rth@redhat.com>
43848         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43849         exceptions.
43850         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43851         Add fraiseexcpt.
43852         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43853         Use __feraiseexcept.
43854         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43855         Protect libm symbols with IS_IN_libm.
43857         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43859 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43861         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43863 2014-08-04  Will Newton  <will.newton@linaro.org>
43865         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43866         file.
43868 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43870         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43871         variants for each function.
43873 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43875         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43876         appended ...
43877         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43878         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43879         appended ...
43880         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43881         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43882         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43883         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43884         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43885         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43886         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43887         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43888         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43889         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43890         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43891         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43892         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43893         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43894         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43895         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43896         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43897         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43898         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43899         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43900         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43901         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43902         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43903         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43904         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43905         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43906         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43907         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43908         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43909         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43910         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43911         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43912         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43913         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43914         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43915         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43916         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43917         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43918         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43919         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43920         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43922         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43924         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43925         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43926         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43928         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43929         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43930         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43931         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43932         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43933         Update #include.
43934         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43935         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43937 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43939         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43940         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43941         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43942         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43943         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43944         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43946 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43948         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43949         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43950         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43951         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43953 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43955         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43956         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43957         (__libc_vfork): Define function under this name.
43958         (__vfork): Define as an alias.
43959         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43960         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43962 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43964         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43965         that was previously under [RESET_PID].
43966         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43968 2014-08-04  Andreas Schwab  <schwab@suse.de>
43970         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43972 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43974         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43975         (main): Likewise.
43977 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43979         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43981 2014-08-01  Richard Henderon  <rth@redhat.com>
43983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43984         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43985         typo in exact zero test.
43986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43990 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43992         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43993         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43994         * sysdeps/arm/sysdep.h: ... here.
43995         [!__ASSEMBLER__]: Include <stdint.h>.
43997 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43999         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44000         (HAVE_WCTYPE_H): Likewise.
44001         (HAVE_ISWCTYPE): Likewise.
44002         (ENABLE_NLS): Likewise.
44003         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44004         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44006         * posix/regex_internal.c: Check if DEBUG is defined and is
44007         set.
44009         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44010         (HAVE_MBSRTOWCS): Likewise.
44011         * posix/fnmatch.c: Include string.h unconditionally.
44013 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44015         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44016         reversal.
44018 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44020         * sysdeps/generic/safe-fatal.h: New file.
44021         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44022         * nptl/forward.c: Include it.
44023         (__pthread_unwind): Use __safe_fatal as default action, rather
44024         than a bogus use of INTERNAL_SYSCALL that could never work.
44026         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44027         * configure.ac (libc_cv_builtin_trap): New test.
44028         * configure: Regenerated.
44029         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44030         (ABORT_INSTRUCTION): Define using __builtin_trap.
44032         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44033         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44034         * sysdeps/nptl/nptl-signals.h: New file.
44035         * nptl/pthreadP.h: Include <nptl-signals.h>.
44037 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44039         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44040         (ONE_DIRECTION): Define.
44041         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44042         (ONE_DIRECTION): Define.
44043         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44044         (ONE_DIRECTION): Define.
44046 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44048         * sysdeps/s390/Makefile: Delete file.
44049         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44050         * sysdeps/s390/__longjmp.c: Delete file.
44051         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44052         Remove fields __flags and __reserved.
44053         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44054         and add versioning.
44055         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44056         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44057         * sysdeps/s390/rtld-setjmp.S: Likewise.
44058         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44059         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44060         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44061         * sysdeps/s390/s390-32/setjmp.S: ... here.
44062         Add versioning.
44063         (__sigsetjmp): Remove setting __flags field.
44064         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44065         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44066         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44067         * sysdeps/s390/s390-64/setjmp.S: ... here.
44068         Add versioning.
44069         (__sigsetjmp): Remove setting __flags field.
44070         * sysdeps/s390/setjmp.S: Delete file.
44071         * sysdeps/s390/sigjmp.c: Likewise.
44072         * sysdeps/s390/v1-longjmp.c: Likewise.
44073         * sysdeps/s390/v1-setjmp.h: Likewise.
44074         * sysdeps/s390/v1-sigjmp.c: Likewise.
44075         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44076         Remove v1-longjmp_chk.
44077         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44078         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44079         Include debug/longjmp_chk.c and add versioning.
44080         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44081         Include nptl/pt-longjmp.c and add versioning.
44082         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44083         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44084         Include __longjmp.c.
44085         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44086         Move to ...
44087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44088         (__getcontext): Remove setting __flags field.
44089         Add versioning.
44090         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44091         Don't restore upper high grps.
44092         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44093         Likewise.
44094         (__swapcontext): Remove setting uc_flags field.
44095         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44096         Delete file.
44097         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44098         Include __longjmp.c.
44099         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44100         Move to ...
44101         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44102         (__getcontext): Remove setting __flags field.
44103         Add versioning.
44104         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44105         (__swapcontext): Remove setting uc_flags field.
44106         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44107         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44108         Remove fields uc_high_gprs and __reserved.
44109         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44110         New file with reverted content.
44111         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44112         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44113         Regenerated.
44114         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44115         Regenerated.
44117 2014-07-31  Andreas Schwab  <schwab@suse.de>
44119         * config.h.in (HAVE_IFUNC): Define to 0.
44120         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44121         definedness.
44123 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44126         memmove-avx-unaligned, memcpy-avx-unaligned and
44127         mempcpy-avx-unaligned.
44128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44129         Add tests for AVX memcpy functions.
44130         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44131         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44132         memcpy_chk.
44133         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44134         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44135         memmove_chk.
44136         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44137         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44138         mempcpy_chk.
44139         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44140         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44141         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44143 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44145         [BZ #17213]
44146         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44147         powerpc64le.
44149 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44151         [BZ #16839]
44152         * manual/llio.texi: Add section about open file description locks.
44153         * manual/examples/ofdlocks.c: Example of open file description
44154         lock usage.
44155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44156         F_OFD_SETLK, and F_OFD_SETLKW.
44158 2014-07-23  Allan McRae  <allan@archlinux.org>
44160         * po/es.po: Update Spanish translation from translation project.
44162 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44164         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44166 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44168         [BZ #17078]
44169         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44170         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44171         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44173 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44175         [BZ #17088]
44176         * math/fesetenv.c (__fesetenv)
44177         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44178         * math/feupdateenv.c (__feupdateenv)
44179         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44181         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44182         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44183         (__ASSUME_SOCKETCALL): Do not define.
44185         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44186         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44187         (__ASSUME_SOCKETCALL): Do not define.
44188         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44189         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44190         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44191         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44192         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44193         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44194         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44195         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44197         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44198         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44199         (__ASSUME_SOCKETCALL): Do not define.
44200         (__ASSUME_IPC64): Define unconditionally.
44201         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44202         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44203         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44204         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44205         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44206         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44207         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44208         Likewise.
44210         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44211         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44212         (__ASSUME_SOCKETCALL): Do not define.
44213         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44214         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44215         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44216         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44217         (__ASSUME_REQUEUE_PI): Define unconditionally.
44218         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44219         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44220         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44221         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44222         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44223         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44225         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44226         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44227         (__ASSUME_SOCKETCALL): Do not define.
44228         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44230         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44231         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44233         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44235         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44236         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44237         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44238         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44239         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44240         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44241         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44242         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44243         (__ASSUME_GETCPU_SYSCALL): Likewise.
44245         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44246         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44247         cases for individual architectures.
44248         * sysdeps/gnu/configure: Regenerated.
44249         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44250         LIBC_SLIBDIR_RTLDDIR.
44251         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44252         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44253         LIBC_SLIBDIR_RTLDDIR.
44254         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44256         LIBC_SLIBDIR_RTLDDIR.
44257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44258         Regenerated.
44259         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44260         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44261         file.
44262         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44263         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44264         file.
44265         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44266         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44267         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44268         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44270         * sysdeps/aarch64/shlib-versions: Move to ...
44271         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44272         * sysdeps/alpha/shlib-versions: Move to ...
44273         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44274         * sysdeps/arm/shlib-versions: Move to ...
44275         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44276         * sysdeps/hppa/shlib-versions: Move all contents except for
44277         libgcc_s entry to ...
44278         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
44279         entry from ...
44280         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
44281         * sysdeps/ia64/shlib-versions: Move to ...
44282         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
44283         entry from ...
44284         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
44285         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44286         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44287         * sysdeps/microblaze/shlib-versions: Move to ...
44288         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44289         * sysdeps/mips/shlib-versions: Move to ...
44290         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
44291         entry from ...
44292         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
44293         * sysdeps/tile/shlib-versions: Move to ...
44294         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44295         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44296         from ...
44297         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
44298         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44299         entry from ...
44300         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
44302 2014-07-17  Will Newton  <will.newton@linaro.org>
44304         * sysdeps/arm/bits/atomic.h
44305         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44306         (__arch_compare_and_exchange_bool_16_int): Likewise.
44307         (__arch_compare_and_exchange_bool_64_int): Likewise.
44309         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44310         into an #else block.
44312 2014-07-16  Roland McGrath  <roland@hack.frob.com>
44314         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44315         just Linux configurations.  Test empirically that the compiler sets
44316         __ARM_EABI__, rather than using the tuple to decide.
44317         * sysdeps/arm/preconfigure: Regenerated.
44318         * sysdeps/unix/sysv/linux/arm/configure: File removed.
44319         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44320         contents appended ...
44321         * sysdeps/arm/configure.ac: ... here.
44322         * sysdeps/arm/configure: Regenerated.
44324 2014-07-15  Roland McGrath  <roland@hack.frob.com>
44326         * nptl/pthread_kill.c: New file.
44327         * nptl/pthread_sigmask.c: New file.
44328         * nptl/pthread_sigqueue.c: New file.
44330         * sysdeps/nptl/lowlevellock.h: New file.
44331         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44332         * sysdeps/nptl/lowlevellock-futex.h: New file.
44334         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44335         Remove dead declarations.
44337 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
44339         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44340         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44341         config-cflags-avx2.
44342         * sysdeps/x86_64/configure.ac: Likewise.
44343         * sysdeps/i386/configure: Regenerated.
44344         * sysdeps/x86_64/configure: Likewise.
44345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44346         memset-avx2 only if config-cflags-avx2 is yes.
44347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44348         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44349         defined.
44350         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44351         only if HAVE_AVX2_SUPPORT is defined.
44352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44354 2014-07-14  Alan Modra  <amodra@gmail.com>
44356         [BZ #17153]
44357         * elf/elf.h (DT_PPC64_NUM): Correct value.
44358         * NEWS: Add to fixed bug list.
44360 2014-07-13  Jim Meyering  <meyering@fb.com>
44362         [BZ 17150]
44363         regex: don't deref NULL upon heap allocation failure
44364         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44365         failure in one more place.
44366         To trigger the segfault, configure grep -with-included-regex,
44367         build it, and run these commands:
44368         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44370 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
44372         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44374 2014-07-11  Richard Henderson  <rth@redhat.com>
44376         * sysdeps/aarch64/libm-test-ulps: Update.
44378 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44380         [BZ #17135]
44381         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44382         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44383         (__nptl_setxid): Initialize error member.  Call
44384         __nptl_setxid_error.
44385         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44386         * nptl/descr.h (struct xid_command): Add error member.
44387         * nptl/tst-setuid3.c: New file.
44388         * nptl/Makefile (tests): Add it.
44390 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44392         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44393         New define.
44394         (__lll_trylock): Use __lll_base_trylock.
44395         (__lll_cond_trylock): Likewise.
44397 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44399         * nptl/pthread_create.c (start_thread): Use atomic_or and
44400         lll_futex_wake directly rather than lll_robust_dead.
44401         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44402         (lll_robust_dead): Macro removed.
44403         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44404         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44405         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44406         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44408         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44409         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44410         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44411         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44412         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44413         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44414         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44415         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44416         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44419         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44420         Use atomic_compare_and_exchange_val_acq directly rather than
44421         lll_robust_trylock.
44422         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44423         (__lll_robust_trylock, lll_robust_trylock): Removed.
44424         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44425         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44426         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44427         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44428         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44429         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44430         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44431         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44432         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44433         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44434         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44435         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44436         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44437         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44439 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44441         * manual/locale.texi (Locale Names): New section documenting
44442         locale name syntax.  Adjust menu and node chaining accordingly.
44443         (Choosing Locale): Reference Locale Names, Locale Categories.
44444         Mention setting LC_ALL=C.  Reflect that name syntax is now
44445         documented.
44446         (Locale Categories): New section title.  Reference Locale Names.
44447         LC_ALL is an environment variable, but not a category.
44448         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44449         description, now in Locale Name.  Reference that section.  Locale
44450         name syntax is now documented.
44452 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44454         [BZ #17137]
44455         * locale/findlocale.c (name_present, valid_locale_name): New
44456         functions.
44457         (_nl_find_locale): Use the loc_name variable to store name
44458         candidates.  Call name_present and valid_locale_name to check and
44459         validate locale names.  Return an error if the locale is invalid.
44461 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44463         * locale/setlocale.c (setlocale): Use strdup for allocating
44464         composite name copy.
44466 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44468         Sync up with gnulib.
44469         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44470         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44471         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44472         and _GL_ARG_NONNULL.
44473         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44474         [!_LIBC]: Include code for Windows and Cygwin.
44475         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44476         Include prototype for int strerror_r.
44477         [!_LIBC] (is_open): New function.
44478         (flush_stdout): New function.
44479         (print_errno_message): Use it.
44480         (error): Likewise.
44481         (error_at_line): Likewise.
44482         (error_tail) Add function attribute macros.  Use
44483         __builtin_expect.
44485         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44487         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44489         * io/ftw.c: Include sys/param.h unconditionally.
44491         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44493         [BZ #17125]
44494         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44495         libc_freeres_ptr.
44496         (freecache): New function to free CACHE on exit.
44498         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44499         initialization.
44501 2014-07-09  David S. Miller  <davem@davemloft.net>
44503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44505         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44506         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44507         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44508         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44509         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44510         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44511         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44512         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44513         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44514         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44515         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44516         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44517         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44519 2014-07-09  Andreas Schwab  <schwab@suse.de>
44521         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44522         output.
44523         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44524         (do_test): Likewise.
44526         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44528 2014-07-09  Will Newton  <will.newton@linaro.org>
44530         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44531         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44532         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44533         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44534         * sysdeps/hppa/start.S (_start): Likewise.
44536 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44538         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44540         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44541         defined.
44543 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44545         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44546         after checking that it is non-NULL.
44548         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44550 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44552         * sysdeps/powerpc/memmove.c: Remove file.
44553         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44554         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44556         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44557         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44558         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44559         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44560         string memmove instead of removed powerpc one.
44562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44563         [weak_alias]: Fix compiler warning due trailing data.
44564         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44565         [weak_alias]: Likewise.
44566         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44567         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44570         (__libc_ifunc_impl_list): Add memmove functions.
44572 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44574         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44575         Remove code.
44576         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44577         Likewise.
44578         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44579         Likewise.
44580         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44581         Likewise.
44582         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44583         Likewise.
44584         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44585         Likewise.
44586         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44587         Likewise.
44588         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44589         Likewise.
44590         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44591         Likewise.
44592         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44593         Likewise.
44594         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44595         Likewise.
44596         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44597         Likewise.
44598         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44599         Likewise.
44600         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44601         Likewise.
44602         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44603         Likewise.
44604         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44605         Likewise.
44606         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44607         Likewise.
44609 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44612         to avoid alignment traps in non-cacheable memory.
44613         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44616         multiarch objects.
44617         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44618         file: multiarch power7 memmove.
44619         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44620         multiarch default memmove.
44621         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44622         multiarch memove for powerpc32/power4.
44624         * string/bcopy.c: Use full path to include memmove.c.
44625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44626         multiarch objects.
44627         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44628         bcopy for powerpc64.
44629         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44630         bcopy for powerpc64.
44631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44632         and memmove implementations.
44633         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44634         optimized multiarch memmove for POWER7/powerpc64.
44635         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44636         default multiarch memmove for powerpc64.
44637         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44638         multiarch for powerpc64.
44639         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44640         for POWER7/powerpc64.
44641         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44642         memmove for POWER7/powerpc64.
44644         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44645         glibc default one.
44647         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44648         __ELF_NATIVE_CLASS equal to 64.
44650 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44652         * sysdeps/nptl/lowlevellock.h: File removed.
44654         * NEWS: NPTL is no longer an add-on!
44655         * nptl/internaltypes.h: Moved ...
44656         * sysdeps/nptl/internaltypes.h: ... here.
44657         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44658         * sysdeps/nptl/fork.c: Likewise.
44659         * sysdeps/nptl/gai_misc.h: Likewise.
44660         * sysdeps/nptl/librt-cancellation.c: Likewise.
44661         * sysdeps/nptl/jmp-unwind.c: Likewise.
44662         * sysdeps/nptl/setxid.h: Likewise.
44663         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44664         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44665         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44666         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44667         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44668         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44669         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44670         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44671         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44672         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44673         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44674         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44675         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44676         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44677         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44678         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44679         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44680         * nptl/Makeconfig: Moved ...
44681         * sysdeps/nptl/Makeconfig: ... here.
44682         * nptl/configure: File removed.
44683         * nptl/ANNOUNCE: File removed.
44684         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44685         * sysdeps/unix/sysv/linux/configure: Regenerated.
44687         * nptl/Makefile (routines): Add libc_pthread_init,
44688         libc_multiple_threads, register-atfork and unregister-atfork.
44689         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44690         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44691         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44692         pthread-pi-defines.sym, structsem.sym.
44693         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44694         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44695         [$(subdir) = nptl] (tests): Add tst-setgetname.
44696         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44697         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44698         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44699         [!LIBC_SIGACTION]: Remove aliases.
44700         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44701         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44702         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44703         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44704         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44705         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44706         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44707         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44708         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44709         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44710         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44711         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44712         __libc_allocate_rtsig_private.
44713         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44714         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44715         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44716         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44717         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44718         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44719         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44720         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44721         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44722         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44723         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44724         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44725         * nptl/internaltypes.h: ... here.
44726         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44727         * sysdeps/nptl/jmp-unwind.c: ... here.
44728         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44729         * nptl/libc-lowlevellock.c: ... here.
44730         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44731         * nptl/libc_multiple_threads.c: ... here.
44732         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44733         * nptl/libc_pthread_init.c: ... here.
44734         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44735         * nptl/lowlevelbarrier.sym: ... here.
44736         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44737         * nptl/lowlevelcond.sym: ... here.
44738         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44739         * nptl/lowlevellock.c: ... here.
44740         * nptl/lowlevellock.h: Moved ...
44741         * sysdeps/nptl/lowlevellock.h: ... here.
44742         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44743         * nptl/lowlevelrobustlock.c: ... here.
44744         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44745         * nptl/lowlevelrobustlock.sym: ... here.
44746         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44747         * nptl/lowlevelrwlock.sym: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44749         * nptl/pt-fork.c: ... here.
44750         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44751         * nptl/pthread-pi-defines.sym: ... here.
44752         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44753         * nptl/pthread_attr_getaffinity.c: ... here.
44754         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44755         * nptl/pthread_attr_setaffinity.c: ... here.
44756         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44757         * nptl/pthread_mutex_cond_lock.c: ... here.
44758         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44759         Update #include.
44760         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44761         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44762         * nptl/pthread_once.c: ... here, replacing old file.
44763         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44764         * nptl/pthread_yield.c: ... here.
44765         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44766         * nptl/register-atfork.c: ... here.
44767         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44768         * nptl/sem_post.c: ... here.
44769         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44770         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44771         * nptl/sem_timedwait.c: ... here.
44772         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44773         * nptl/sem_trywait.c: ... here.
44774         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44775         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44776         * nptl/sem_wait.c: ... here.
44777         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44778         * nptl/structsem.sym: ... here.
44779         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44780         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44781         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44782         * nptl/unregister-atfork.c: ... here.
44783         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44784         * nptl/unwindbuf.sym: ... here.
44785         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44786         * sysdeps/nptl/fork.c: ... here.
44787         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44788         * sysdeps/nptl/fork.h: ... here.
44789         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44790         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44791         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44792         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44793         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44794         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44795         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44796         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44797         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44798         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44799         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44800         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44801         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44802         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44803         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44804         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44805         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44806         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44807         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44808         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44809         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44810         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44811         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44812         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44813         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44814         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44815         * sysdeps/unix/sysv/linux/raise.c: ... here.
44816         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44817         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44818         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44819         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44820         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44821         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44823         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44824         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44825         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44826         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44827         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44828         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44829         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44830         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44832 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44834         * sysdeps/generic/memcopy.h: Add comment for
44835         MEMCPY_OK_FOR_FWD_MEMMOVE.
44837 2014-07-04  Will Newton  <will.newton@linaro.org>
44839         * string/memchr.c: Merge from gnulib.
44840         [_LIBC]: Remove conditionals.
44841         (__ptr_t): Remove define.
44842         (LONG_MAX_32_BITS): Likewise.
44843         (LONG_MAX): Likewise.
44844         (MEMCHR): Use ANSI prototype and optimize algorithm.
44846         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44848 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44850         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44851         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44853         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44854         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44855         in a bare environment with no <stdlib.h> installed.
44856         * sysdeps/nptl/configure: Regenerated.
44858         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44860         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44861         AC_EGREP_CPP for kernel header checks, so they only succeed if
44862         including <linux/version.h> actually works right.
44863         * sysdeps/unix/sysv/linux/configure: Regenerated.
44865         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44866         value so it's not diagnosed as unused.
44868         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44869         thing) with "ifeq ($(subdir),rt)".
44871 2014-07-03  Richard Henderson  <rth@redhat.com>
44873         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44874         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44875         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44877         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44878         (math_force_eval): New.
44880         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44881         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44883         * sysdeps/alpha/fpu/s_round.c: Remove file.
44884         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44886         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44887         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44888         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44889         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44890         (_dl_start, print_statistics): Likewise.
44891         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44892         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44894         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44895         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44896         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44897         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44898         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44899         (HP_SMALL_TIMING_AVAIL): Define.
44900         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44901         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44902         (HP_SMALL_TIMING_AVAIL): Define.
44903         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44904         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44906         * sysdeps/aarch64/hp-timing.h: New file.
44908         * sysdeps/generic/hp-timing.h: Remove dead comment.
44909         * sysdeps/generic/hp-timing-common.h: New file.
44910         * sysdeps/alpha/hp-timing.h: Include it.
44911         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44912         * sysdeps/i386/i686/hp-timing.h: Likewise.
44913         * sysdeps/ia64/hp-timing.h: Likewise.
44914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44915         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44917         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44918         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44919         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44920         (hp_timing_t): New.
44922         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44923         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44924         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44925         * elf/rtld.c (_dl_start_final): Likewise.
44926         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44927         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44928         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44929         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44930         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44931         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44932         (HP_TIMING_DIFF_INIT): Remove.
44933         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44935         (HP_TIMING_DIFF_INIT): Remove.
44936         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44937         * sysdeps/i386/i686/hp-timing.c: Remove file.
44938         * sysdeps/x86_64/hp-timing.c: Remove file.
44939         * sysdeps/ia64/hp-timing.c: Remove file.
44940         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44941         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44942         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44943         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44945         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44946         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44947         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44948         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44949         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44950         (HP_TIMING_ACCUM): Remove.
44951         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44953         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44955         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44956         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44957         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44958         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44959         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44960         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44961         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44962         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44964         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44966 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44968         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44970 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44972         Sync up with gettext.
44973         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44974         [_MSC_VER]: Include malloc.h
44975         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44976         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44977         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44978         TEMP_FAILURE_RETRY.  Cast return of alloca.
44979         [!_LIBC] Call gl_rwlock_init.
44980         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44982 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44984         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44985         before checking its value.
44987 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44989         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44991         * debug/memcpy_chk.c: Don't include pagecopy.h.
44992         * debug/mempcpy_chk.c: Likewise.
44993         * string/memcpy.c: Likewise.
44994         * string/memmove.c: Likewise.
44995         * sysdeps/powerpc/memmove.c: Likewise.
44996         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44997         definition of PAGE_COPY_FWD_MAYBE here...
44998         * sysdeps/generic/pagecopy.h: ... from here.
44999         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45001 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45002             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45004         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45006         optimizations.
45007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45008         (__libc_ifunc_impl_list): Likewise.
45009         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45010         multiarch strcat for PPC64.
45011         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45012         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45014 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45016         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45018 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45020         * intl/loadmsgcat.c: Remove declaration of
45021         get_sysdep_segment_value.
45022         (get_sysdep_segment_value): Use ISO C style.
45023         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45024         semicolon.  Fix typo and formatting in comment.
45025         (_nl_unload_domain): Use ISO C style.
45027         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45029 2014-07-02  Will Newton  <will.newton@linaro.org>
45031         * malloc/obstack.c: Merge from gnulib master.
45032         [HAVE_CONFIG_H]: Remove conditional code.
45033         [!_LIBC]: Include config.h.
45034         [!ELIDE_CODE]: Don't include inttypes.h, include
45035         stdint.h unconditionally.
45036         (print_and_abort): Mark as _Noreturn.
45037         (_obstack_allocated_p): Mark as __attribute_pure__.
45038         (obstack_free): Rename to __obstack_free.
45039         [!__attribute__]: Remove conditional code.
45040         * malloc/obstack.h: Merge from gnulib master.
45041         [__cplusplus]: Move conditional down.
45042         [!__attribute_pure__]: Define __attribute_pure__ here
45043         if it is not already defined.
45044         (_obstack_memory_used): Mark as __attribute_pure__.
45045         [!__obstack_free]: Define as obstack_free.
45046         [__GNUC__]: Remove check for ancient NeXT gcc.
45048 2014-07-02  Will Newton  <will.newton@linaro.org>
45049             Paul Eggert  <eggert@cs.ucla.edu>
45051         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45053 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45055         * resolv/gethnamaddr.c: Add comment warning that the file is
45056         not maintained.
45058 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45060         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45061         entries.
45063         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45064         entry for aio_cancel and aio_cancel64.
45065         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45066         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45067         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45068         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45069         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45070         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45071         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45072         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45073         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45074         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45075         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45076         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45077         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45079 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45081         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45082         * nptl/pthread_mutex_lock.c: Likewise.
45083         * nptl/pthread_mutex_timedlock.c: Likewise.
45084         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45086 2014-07-01  Richard henderson  <rth@redhat.com>
45088         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45089         (__isnan, __isnanl): Remove.
45090         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45092         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45094 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45096         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45098 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45100         * resolv/nss_dns/dns-host.c (getanswer_r)
45101         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45103 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45106         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45107         undefine.
45108         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45109         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45111 2014-07-01  Roland McGrath <roland@hack.frob.com>
45113         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45114         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45116         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45117         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45119         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45120         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45121         ... here.
45122         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45123         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45125         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45126         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45127         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45128         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45130         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45131         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45132         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45133         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45134         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45135         Moved ...
45136         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45137         ... here.
45138         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45139         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45140         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45141         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45142         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45143         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45144         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45145         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45146         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45147         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45148         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45149         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45150         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45151         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45152         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45153         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45154         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45155         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45156         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45157         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45158         ... here.
45159         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45160         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45161         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45162         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45163         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45164         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45165         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45166         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45168 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45170         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45171         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45172         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45173         Add sysdep.
45175 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45179 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45181         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45186         * sysdeps/arm/libm-test-ulps: Regenerated.
45188 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45189             Roland McGrath <roland@hack.frob.com>
45191         * test-skeleton.c (signal_handler): Kill the whole process group
45192         before killing the child individually.
45193         (main): Report any failure on `setpgid'.
45195 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45197         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45198         from _TLS_H to _ARM_NPTL_TLS_H.
45199         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45200         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45202 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45204         [BZ #16539]
45205         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45206         (__expm1l): Return argument unchanged when small but not
45207         subnormal.
45209         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45210         include macro name.
45211         (_FP_UNPACK_RAW_1_P): Likewise.
45212         (_FP_PACK_RAW_1): Likewise.
45213         (_FP_PACK_RAW_1_P): Likewise.
45214         (_FP_MUL_MEAT_1_wide): Likewise.
45215         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45216         (_FP_MUL_MEAT_1_hard): Likewise.
45217         (_FP_DIV_MEAT_1_imm): Likewise.
45218         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45219         (_FP_DIV_MEAT_1_udiv): Likewise.
45220         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45221         (_FP_UNPACK_RAW_2): Likewise.
45222         (_FP_UNPACK_RAW_2_P): Likewise.
45223         (_FP_PACK_RAW_2): Likewise.
45224         (_FP_PACK_RAW_2_P): Likewise.
45225         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45226         (_FP_MUL_MEAT_2_wide): Likewise.
45227         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45228         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45229         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45230         (_FP_MUL_MEAT_2_gmp): Likewise.
45231         (_FP_DIV_MEAT_2_udiv): Likewise.
45232         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45233         (_FP_FRAC_SRL_4): Likewise.
45234         (_FP_FRAC_SRST_4): Likewise.
45235         (_FP_FRAC_SRS_4): Likewise.
45236         (_FP_UNPACK_RAW_4): Likewise.
45237         (_FP_UNPACK_RAW_4_P): Likewise.
45238         (_FP_PACK_RAW_4): Likewise.
45239         (_FP_PACK_RAW_4_P): Likewise.
45240         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45241         (_FP_MUL_MEAT_4_wide): Likewise.
45242         (_FP_MUL_MEAT_4_gmp): Likewise.
45243         (umul_ppppmnnn): Likewise.
45244         (_FP_DIV_MEAT_4_udiv): Likewise.
45245         (__FP_FRAC_ADD_4): Likewise.
45246         (__FP_FRAC_SUB_3): Likewise.
45247         (__FP_FRAC_SUB_4): Likewise.
45248         (__FP_FRAC_DEC_3): Likewise.
45249         (__FP_FRAC_DEC_4): Likewise.
45250         (__FP_FRAC_ADDI_4): Likewise.
45251         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45252         (_FP_FRAC_SRL_8): Likewise.
45253         (_FP_FRAC_SRS_8): Likewise.
45255         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45256         include macro name.
45257         (FP_UNPACK_RAW_EP): Likewise.
45258         (FP_PACK_RAW_E): Likewise.
45259         (FP_PACK_RAW_EP): Likewise.
45260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45261         (_FP_ISSIGNAN): Likewise.
45262         (_FP_ADD_INTERNAL): Likewise.
45263         (_FP_FMA): Likewise.
45264         (_FP_CMP): Likewise.
45265         (_FP_SQRT): Likewise.
45266         (_FP_TO_INT): Likewise.
45267         (_FP_FROM_INT): Likewise.
45268         (FP_EXTEND): Likewise.
45269         (_FP_DIV_MEAT_N_loop): Likewise.
45271 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45273         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45274         throughout.
45276 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
45278         [BZ #17097]
45279         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45280         result with correct sign in case of exponents that produce
45281         overflow except for X very close to 1.
45283 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
45285         mktime: merge #if/#ifdef usage from glibc
45286         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45287         as that works with both Glibc's and Gnulib's style.
45288         See thread starting at Siddhesh Poyarekar's bug report at:
45289         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45291 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45293         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45294         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45295         * sysdeps/tile/tilegx/memmove.c: Remove file.
45297 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45299         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45300         abi-name definition.
45301         * scripts/soversions.awk: Do not handle or generate ABI lines.
45302         * shlib-versions: Remove ABI entries.
45303         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45304         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45306 2014-06-27  Roland McGrath  <roland@hack.frob.com>
45308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45309         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45310         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45311         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45313         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45315         Moved ...
45316         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45317         ... here.
45318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45319         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45321         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45323         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45325         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45327         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45329         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45331         Moved ...
45332         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45334         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45336         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45338         Moved ...
45339         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45344         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45346         Moved ...
45347         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45349         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45351         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45353         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45355         Moved ...
45356         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45358         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45359         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45360         Moved ...
45361         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45363         Moved ...
45364         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45366         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45368         Moved ...
45369         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45370         ... here.
45371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45372         Identical file removed.
45373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45377         Identical file removed.
45378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45381         Moved ...
45382         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45384         Identical file removed.
45385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45386         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45388         Identical file removed.
45389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45392         Identical file removed.
45393         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45394         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45396         Identical file removed.
45397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45398         Moved ...
45399         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45401         Identical file removed.
45402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45403         Moved ...
45404         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45406         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45408         Identical file removed.
45409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45410         Moved ...
45411         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45412         ... here.
45413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45414         Identical file removed.
45415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45416         Moved ...
45417         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45419         Identical file removed.
45420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45421         Moved ...
45422         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45424         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45426         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45428         Moved ...
45429         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45430         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45431         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45433         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45434         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45435         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45436         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45437         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45439 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45441         [BZ #17092]
45442         * nscd/nscd.c (monitor_child): Return exit status of child
45443         instead of return value from wait syscall.
45445 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45447         * configure.ac (libc_commonpagesize): Remove variable.
45448         (libc_relro_required): Likewise.
45449         (libc_cv_z_relro): Remove configure test.
45450         * configure: Regenerated.
45451         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45452         variable.
45453         (libc_relro_required): Likewise.
45454         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45455         (libc_relro_required): Likewise.
45456         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45457         (libc_relro_required): Likewise.
45458         * sysdeps/arm/preconfigure: Regenerated.
45459         * sysdeps/ia64/preconfigure: Remove file.
45460         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45461         variable.
45462         (libc_relro_required): Likewise.
45464         [BZ #16561]
45465         [BZ #16562]
45466         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45467         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45468         recompute overflowing results in original rounding mode.
45469         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45470         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45471         recompute overflowing results in original rounding mode.
45472         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45473         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45474         recompute overflowing results in original rounding mode.
45475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45476         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45477         recompute overflowing results in original rounding mode.
45478         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45479         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45480         recompute overflowing results in original rounding mode.
45481         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45482         (libc_feholdsetround_ctx): New macro.
45483         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45484         * sysdeps/i386/fpu/libm-test-ulps: Update.
45485         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45487 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45489         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45490         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45491         corresponding .cpsetup call.
45493 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45495         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45496         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45497         * sysdeps/arm/Makefile [$(subdir) = csu]
45498         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45499         (static-only-routines): Add aeabi_read_tp here.
45500         (shared-only-routines): Add libc-aeabi_read_tp here.
45501         (CFLAGS-libc-start.c): Add -fexceptions here.
45502         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45503         (sysdep_routines, static-only-routines, shared-only-routines):
45504         Don't add to these here.
45505         (CFLAGS-libc-start.c): Likewise.
45507         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45508         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45509         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45510         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45511         * sysdeps/arm/Makefile [$(subdir) = rt]
45512         (librt-sysdep_routines, librt-shared-only-routines):
45513         Append rt-aeabi_unwind_cpp_pr1 here.
45514         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45515         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45516         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45517         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45518         Append nptl-aeabi_unwind_cpp_pr1 here.
45519         (tests): Filter out tst-cleanupx4 here.
45520         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45521         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45522         Don't do those here.
45524 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45526         * scripts/list-sources.sh: Do not handle ports specially.
45528 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45530         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45531         * sysdeps/arm/feupdateenv.c: Likewise.
45533         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45537         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45538         trailing whitespace removed.
45539         * scripts/config.guess: Update to version 2014-03-23.
45540         * scripts/config.sub: Update to version 2014-05-01
45541         * scripts/install-sh: Update to version 2013-12-25.23.
45542         * scripts/move-if-change: Update from gnulib.
45544 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45546         * debug/memmove_chk.c: Remove pagecopy.h include.
45548 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45550         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45551         identical to gnulib mktime.
45553 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45555         * configure.ac: Do not test for machine being rs6000.  Do not test
45556         for powerpc*-*soft.
45557         * configure: Regenerated.
45559         [BZ #11505]
45560         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45561         test.
45562         * configure: Regenerated.
45563         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45564         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45565         Remove configure test.
45566         * sysdeps/arm/configure: Regenerated.
45567         * sysdeps/nptl/configure.ac: Do not check
45568         libc_cv_asm_cfi_directives.
45569         * sysdeps/nptl/configure: Regenerated.
45570         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45571         * sysdeps/x86_64/nptl/configure: Remove generated file.
45572         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45573         unconditional.
45574         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45576 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45578         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45579         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45580         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45581         it is defined.
45583         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45584         instead of whether it is defined.
45585         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45586         * sysdeps/hppa/dl-machine.h: Likewise.
45587         * sysdeps/ia64/dl-machine.h: Likewise.
45588         * sysdeps/m68k/dl-machine.h: Likewise.
45589         * sysdeps/microblaze/dl-machine.h: Likewise.
45590         * sysdeps/mips/dl-machine.: Likewise.
45591         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45592         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45593         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45594         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45595         * sysdeps/sh/dl-machine.h: Likewise.
45596         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45597         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45598         * sysdeps/tile/dl-machine.h: Likewise.
45599         * sysdeps/x86_64/dl-machine.h: Likewise.
45601         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45602         code.
45603         (verify_persistent_db): Likewise.
45605 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45608         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45610         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45612         Moved ...
45613         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45614         ... here.
45615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45616         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45618         Identical file removed.
45619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45620         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45622         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45624         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45626         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45628         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45630         Moved ...
45631         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45633         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45635         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45637         Moved ...
45638         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45640         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45642         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45644         Identical file removed.
45645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45646         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45648         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45650         Moved ...
45651         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45652         ... here.
45653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45656         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45658         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45662         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45664         Moved ...
45665         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45667         Moved ...
45668         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45670         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45672         Moved ...
45673         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45675         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45677         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45678         folded into ...
45679         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45680         * sysdeps/unix/sysv/linux/s390/Versions
45681         (libpthread: GLIBC_2.19): New version set.
45682         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45683         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45684         (librt: GLIBC_2.3.3): New version set.
45685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45686         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45687         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45688         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45689         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45690         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45691         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45692         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45693         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45694         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45695         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45696         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45697         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45698         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45699         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45700         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45701         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45702         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45704         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45705         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45707         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45708         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45709         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45710         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45711         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45712         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45713         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45714         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45715         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45716         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45721         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45723         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45725         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45726         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45727         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45729         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45731         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45732         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45733         (__libc_vfork): Define the function under this name.
45734         [!NOT_IN_libc] (__vfork): Make this an alias.
45735         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45736         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45737         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45738         (__libc_vfork): Define the function under this name.
45739         [!NOT_IN_libc] (__vfork): Make this an alias.
45740         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45741         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45744         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45747         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45748         code that was previously under [RESET_PID].
45749         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45750         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45753         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45754         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45755         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45756         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45757         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45758         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45759         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45760         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45761         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45762         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45763         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45764         Moved ...
45765         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45766         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45767         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45768         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45769         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45770         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45771         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45772         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45773         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45774         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45776         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45777         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45778         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45779         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45780         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45781         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45782         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45783         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45784         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45785         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45786         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45787         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45788         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45789         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45790         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45791         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45792         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45793         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45795 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45797         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45798         that was previously under [RESET_PID].
45799         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45801 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45803         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45804         not undefine and redefine.
45805         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45806         [O_CLOEXEC]: Make code unconditional.
45807         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45808         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45809         <kernel-features.h>.
45810         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45811         conditional variable definition.
45812         (shm_open) [O_CLOEXEC]: Make code unconditional.
45813         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45814         code.
45816         * configure.ac (USE_REGPARMS): Don't define here.
45817         * configure: Regenerated.
45818         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45819         * sysdeps/i386/configure: Regenerated.
45821         * nptl/createthread.c: Don't include kernel-features.h.
45822         * nptl/pthread_cancel.c: Likewise.
45823         * nptl/pthread_condattr_setclock.c: Likewise.
45824         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45825         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45826         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45827         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45828         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45829         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45830         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45833         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45834         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45835         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45836         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45837         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45838         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45839         * nscd/gai.c: Likewise.
45840         * nss/nss_db/db-open.c: Likewise.
45841         * sysdeps/generic/ldsodefs.h: Likewise.
45842         * sysdeps/sh/nptl/tls.h: Likewise.
45843         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45844         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45845         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45846         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45847         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45848         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45849         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45850         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45851         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45852         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45853         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45854         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45855         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45856         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45857         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45858         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45859         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45860         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45861         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45862         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45865         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45866         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45871         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45872         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45873         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45874         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45875         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45876         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45878         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45879         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45880         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45881         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45882         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45883         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45884         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45885         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45886         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45887         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45888         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45889         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45890         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45891         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45892         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45893         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45894         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45895         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45896         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45897         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45898         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45899         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45900         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45923         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45924         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45925         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45926         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45927         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45928         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45929         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45930         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45931         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45932         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45933         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45934         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45935         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45936         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45937         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45938         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45939         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45940         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45941         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45942         * sysdeps/unix/sysv/linux/system.c: Likewise.
45943         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45944         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45945         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45946         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45947         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45948         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45949         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45951         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45952         * configure: Regenerated.
45953         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45955         * configure.ac (base_machine): Do not set specially for particular
45956         machines here.
45957         * configure: Regenerated.
45958         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45959         settings from configure.ac.
45960         * sysdeps/i386/preconfigure: New file.
45961         * sysdeps/s390/preconfigure: Likewise.
45962         * sysdeps/sh/preconfigure: Likewise.
45963         * sysdeps/sparc/preconfigure: Likewise.
45965 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45967         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45968         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45969         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45970         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45971         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45972         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45973         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45974         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45975         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45976         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45977         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45978         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45979         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45980         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45981         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45982         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45984         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45985         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45987         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45988         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45989         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45990         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45991         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45992         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45993         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45994         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45995         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45996         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45997         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45998         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45999         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46000         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46001         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46002         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46003         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46004         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46005         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46006         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46008         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46011         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46012         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46013         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46014         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46015         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46016         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46018         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46019         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46020         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46021         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46022         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46023         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46024         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46027         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46029         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46031         Moved ...
46032         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46033         ... here.
46034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46035         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46037         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46039         Moved ...
46040         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46042         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46044         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46046         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46048         Moved ...
46049         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46051         Moved ...
46052         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46054         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46056         Moved ...
46057         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46059         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46061         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46063         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46065         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46067         Moved ...
46068         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46069         ... here.
46070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46071         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46073         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46078         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46080         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46082         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46084         Moved ...
46085         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46087         Moved ...
46088         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46090         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46092         Moved ...
46093         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46095         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46097         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46099 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46101         * timezone/checktab.awk: Update from tzcode 2014e.
46102         * timezone/private.h: Likewise.
46103         * timezone/tzfile.h: Likewise.
46104         * timezone/zdump.c: Likewise.
46105         * timezone/zic.c: Likewise.
46107         * sysdeps/unix/sysv/linux/kernel-features.h
46108         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46109         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46110         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46111         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46112         Remove conditional code.
46114 2014-06-25  Will Newton  <will.newton@linaro.org>
46116         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46117         (_dl_arm_cap_flags): Add HWCAP2 values.
46118         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46119         (_DL_HWCAP_COUNT): Increase to 37.
46120         (_DL_HWCAP_LAST): New define.
46121         (_DL_HWCAP2_LAST): New define.
46122         (_dl_procinfo): Add support for printing
46123         AT_HWCAP2 entries.
46124         (_dl_string_hwcap): Use _dl_hwcap_string.
46126 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46130 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46132         * README: Do not mention ports directory.
46134         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46135         Remove macro.
46136         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46137         <kernel-features.h>.
46138         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46139         conditional variable definition.
46140         (__futimes): Update comment.
46141         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46142         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46144         [BZ #16560]
46145         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46146         arguments close to 0.
46147         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46148         Likewise.
46149         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46150         Likewise.
46151         * math/auto-libm-test-in: Add more tests of exp10.
46152         * math/auto-libm-test-out: Regenerated.
46153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46155         * sysdeps/unix/sysv/linux/kernel-features.h
46156         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46157         * sysdeps/unix/sysv/linux/readv.c: Do not include
46158         <kernel-features.h>.
46159         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46160         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46161         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46162         unconditional.
46163         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46164         conditional code.
46165         * sysdeps/unix/sysv/linux/writev.c: Do not include
46166         <kernel-features.h>.
46167         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46168         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46169         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46170         unconditional.
46171         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46172         conditional code.
46174 2014-06-25  Will Newton  <will.newton@linaro.org>
46176         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46177         comment changes throughout the file.  Remove checks
46178         for HAVE_*_H definitions that are not required.
46179         (__gen_tempname): Call abort if an unknown kind value is
46180         passed.
46182 2014-06-25  Andreas Schwab  <schwab@suse.de>
46184         [BZ #17086]
46185         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46186         scalbln, scalblnf, scalblnl in libc.
46188 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46190         [BZ #17086]
46191         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46192         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46193         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46195 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46197         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46198         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46199         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46200         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46201         Update #include.
46202         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46203         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46204         Update #include.
46205         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46206         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46207         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46209         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46210         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46211         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46212         * sysdeps/x86/bits/semaphore.h: ... here.
46213         * sysdeps/x86/nptl/elide.h: Moved ...
46214         * sysdeps/x86/elide.h: ... here.
46215         * sysdeps/x86_64/nptl/Implies: File removed.
46216         * sysdeps/i386/nptl/Implies: File removed.
46218 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46220         [BZ #16539]
46221         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46222         return the argument for normal arguments with exponent below -64.
46223         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46224         Likewise.
46225         * math/auto-libm-test-in: Add another test of expm1.
46226         * math/auto-libm-test-out: Regenerated.
46228         [BZ #16287]
46229         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46230         calling __erfcl for arguments at least 16.
46231         * math/auto-libm-test-in: Add more tests of erf.
46232         * math/auto-libm-test-out: Regenerated.
46234         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46235         individual architectures.
46236         * sysdeps/unix/sysv/linux/configure: Regenerated.
46237         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46238         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46239         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46240         (ldd_rewrite_script): Define variable.
46241         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46243         file.
46244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46245         generated file.
46246         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46247         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46248         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46249         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46250         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46251         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46252         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46253         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46255 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46257         [BZ #17084]
46258         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46259         Rename member __data.d to __data.__elision_data.
46261 2014-06-24  Wilco  <wdijkstr@arm.com>
46263         * NEWS: Add 16918 to fixed bug list.
46265 2014-06-24  Wilco  <wdijkstr@arm.com>
46267         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46269 2014-06-24  Wilco  <wdijkstr@arm.com>
46271         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46272         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46273         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46274         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46275         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46276         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46277         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46278         Use _FPU_MASK_RM.
46280 2014-06-24  Wilco  <wdijkstr@arm.com>
46282         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46284 2014-06-24  Wilco  <wdijkstr@arm.com>
46286         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46287         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46288         * sysdeps/arm/fesetround.c (fesetround): Remove space.
46289         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46291 2014-06-24  Wilco  <wdijkstr@arm.com>
46293         [BZ #16918]
46294         * sysdeps/arm/feupdateenv.c (feupdateenv):
46295         Rewrite to reduce FPSCR accesses and fix return value.
46297 2014-06-24  Wilco  <wdijkstr@arm.com>
46299         * sysdeps/arm/fclrexcpt.c (feclearexcept):
46300         Optimize to avoid unnecessary FPSCR writes.
46301         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46302         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46303         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46304         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46306 2014-06-24  Wilco  <wdijkstr@arm.com>
46308         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46309         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46310         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46311         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46312         Call libc_fetestexcept_vfp.
46313         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46314         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46315         __SOFTFP__ ifdef so that they can be built for softfp.
46317 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46319         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46320         argument type signed char.
46322         * Makerules (check-abi): Dump diff of symlist if the test
46323         fails.
46325 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46327         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46328         using abort.
46330         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46331         Remove unused variable ST.
46333 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46335         [BZ #16354]
46336         [BZ #17061]
46337         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46338         small arguments before calling __expm1.
46339         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46340         small arguments before calling __expm1f.
46341         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46342         small arguments before calling __expm1l.
46343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46344         Likewise.
46345         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46346         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
46347         spurious underflow for some cosh tests.
46348         * math/auto-libm-test-out: Regenerated.
46349         * sysdeps/i386/fpu/libm-test-ulps: Update.
46351         [BZ #17050]
46352         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46353         (__ieee754_y1): Set errno if return value overflows.
46354         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46355         (__ieee754_y1f): Set errno if return value overflows.
46356         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46357         (__ieee754_y1l): Set errno if return value overflows.
46358         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46359         (__ieee754_y1l): Set errno if return value overflows.
46360         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46361         * math/auto-libm-test-out: Regenerated.
46363         * math/gen-auto-libm-tests.c: Document use of
46364         ignore-zero-inf-sign.
46365         (input_flag_type): Add value flag_ignore_zero_inf_sign.
46366         (input_flags): Add ignore-zero-inf-sign.
46367         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46368         * math/gen-libm-test.pl (generate_testfile): Handle
46369         ignore-zero-inf-sign.
46370         * math/auto-libm-test-in: Mark some cpow tests with
46371         ignore-zero-inf-sign and some with xfail-rounding.
46372         * math/auto-libm-test-out: Regenerated.
46373         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46374         * sysdeps/i386/fpu/libm-test-ulps: Update.
46375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46377         [BZ #16315]
46378         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46379         overflowing or underflowing operations take place with sign of
46380         result.
46381         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46382         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46383         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46384         (__ieee754_pow): Recompute overflowing and underflowing results in
46385         original rounding mode.
46386         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46387         (__powl_helper): Allow negative argument X and scale negated value
46388         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46389         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46390         overflowing or underflowing operations take place with sign of
46391         result.
46392         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46393         Include <math.h>.
46394         * math/auto-libm-test-in: Add more tests of pow.
46395         * math/auto-libm-test-out: Regenerated.
46396         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46397         (pow_tonearest_test_data): Remove.
46398         (pow_test_tonearest): Likewise.
46399         (pow_towardzero_test_data): Likewise.
46400         (pow_test_towardzero): Likewise.
46401         (pow_downward_test_data): Likewise.
46402         (pow_test_downward): Likewise.
46403         (pow_upward_test_data): Likewise.
46404         (pow_test_upward): Likewise.
46405         (main): Don't call removed functions.
46406         * sysdeps/i386/fpu/libm-test-ulps: Update.
46407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46409 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46412         Moved ...
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46415         Moved ...
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46418         Moved ...
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46421         Moved ...
46422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46424         File removed.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46426         File removed.
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46428         File removed.
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46430         File removed.
46431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46432         File removed.
46433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46434         File removed.
46435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46436         File removed.
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46438         File removed.
46439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46440         File removed.
46441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46442         File removed.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46444         File removed.
46445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46446         File removed.
46447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46448         Moved ...
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46451         Moved ...
46452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46453         ... here.
46454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46455         Moved ...
46456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46458         Moved ...
46459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46461         Moved ...
46462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46464         Moved ...
46465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46467         Moved ...
46468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46470         Moved ...
46471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46473         Moved ...
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46477         ... here.
46478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46479         Moved ...
46480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46482         Moved ...
46483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46484         ... here.
46485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46486         Moved ...
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46488         ... here.
46489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46490         Moved ...
46491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46492         ... here.
46493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46494         Moved ...
46495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46497         Moved ...
46498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46502         Moved ...
46503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46504         ... here.
46505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46506         Moved ...
46507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46508         ... here.
46509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46510         Moved ...
46511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46513         Moved ...
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46516         Moved ...
46517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46519         Moved ...
46520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46522         Moved ...
46523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46524         ... here.
46525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46526         Moved ...
46527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46529         Moved ...
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46532         Moved ...
46533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46535         Moved ...
46536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46540         Moved ...
46541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46543         Moved ...
46544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46546         Moved ...
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46548         ... here.
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46550         Moved ...
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46552         ... here.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46554         Moved ...
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46556         ... here.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46558         Moved ...
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46561         Moved ...
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46564         Moved ...
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46567         Moved ...
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46569         ... here.
46570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46571         Moved ...
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46573         ... here.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46575         Moved ...
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46577         ... here.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46579         Moved ...
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46582         Moved ...
46583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46585 2014-06-23  Will Newton  <will.newton@linaro.org>
46586             Wilco  <wdijkstr@arm.com>
46588         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46589         implementation.  Include get-rounding-mode.h.
46590         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46591         [!libc_feholdsetround_noex_ctx]: Define
46592         libc_feholdsetround_noex_ctx.
46593         [!libc_feholdsetround_noexf_ctx]: Define
46594         libc_feholdsetround_noexf_ctx.
46595         [!libc_feholdsetround_noexl_ctx]: Define
46596         libc_feholdsetround_noexl_ctx.
46597         (libc_feholdsetround_ctx): New function.
46598         (libc_feresetround_ctx): New function.
46599         (libc_feholdsetround_noex_ctx): New function.
46600         (libc_feresetround_noex_ctx): New function.
46602 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46604         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46605         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46606         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46607         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46608         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46609         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46611         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46612         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46613         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46614         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46615         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46616         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46618         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46620         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46622         Moved ...
46623         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46624         ... here.
46625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46626         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46627         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46628         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46629         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46630         Moved ...
46631         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46633         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46635         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46637         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46639         Moved ...
46640         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46642         Moved ...
46643         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46645         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46647         Moved ...
46648         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46650         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46651         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46652         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46653         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46654         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46656         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46658         Moved ...
46659         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46660         ... here.
46661         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46662         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46664         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46666         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46668         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46669         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46670         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46671         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46672         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46673         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46674         Moved ...
46675         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46677         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46679         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46681         Moved ...
46682         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46684         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46685         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46686         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46688         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46689         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46690         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46691         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46692         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46693         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46694         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46695         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46697         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46698         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46699         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46700         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46701         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46702         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46703         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46704         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46705         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46706         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46707         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46708         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46709         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46710         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46711         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46712         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46713         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46714         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46715         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46717 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46719         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46720         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46721         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46722         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46723         (IPV6_PMTUDISC_INTERFACE): Likewise.
46724         (IPV6_PMTUDISC_OMIT): Likewise.
46726 2014-06-23  Andreas Schwab  <schwab@suse.de>
46728         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46729         Remove unused errout label.
46731 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46733         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46734         macro: hardware supports Vector Crypto instructions.
46736 2014-06-23  Will Newton  <will.newton@linaro.org>
46738         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46739         rather than __builtin_expect.
46741         * elf/dl-lookup.c (undefined_msg): Remove variable.
46742         (_dl_lookup_symbol_x): Replace undefined_msg with string
46743         literal.
46745         * elf/dl-lookup.c (do_lookup_unique): New function.
46746         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46747         to a separate function.
46749 2014-06-23  Andreas Schwab  <schwab@suse.de>
46751         [BZ #17079]
46752         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46753         before reading the next line.
46755 2014-06-23  Will Newton  <will.newton@linaro.org>
46757         * test-skeleton.c (signal_handler): Use printf and %m
46758         rather than perror.  Use printf rather than fprintf to
46759         stderr.  Use puts rather than fputs to stderr.
46760         (main): Likewise.
46762 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46764         * nscd/nscd.c (thread_info_t): Remove typedef.
46765         (thread_info): Remove variable.
46767 2014-06-21  Allan McRae  <allan@archlinux.org>
46769         * NEWS: Mention CVE-2014-4043.
46771 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46773         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46774         * nptl/smp.h: ... here.
46776         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46778         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46779         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46780         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46781         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46783         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46784         * nptl/stack-aliasing.h: New file.
46785         * sysdeps/i386/i686/stack-aliasing.h: New file.
46786         * sysdeps/i386/i686/nptl/Makefile: File removed.
46787         * sysdeps/x86_64/stack-aliasing.h: New file.
46788         * sysdeps/x86_64/nptl/Makefile
46789         (CFLAGS-pthread_create.c): Variable removed.
46791         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46792         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46793         old file.
46794         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46795         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46796         old file.
46798 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46800         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46801         (__ASSUME_SIGFRAME_V2): Remove macro.
46802         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46803         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46804         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46805         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46806         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46807         Declare as function.  Remove conditional macro definitions.
46808         (__default_rt_sa_restorer): Likewise.
46809         (__default_sa_restorer_v1): Remove declaration.
46810         (__default_sa_restorer_v2): Likewise.
46811         (__default_rt_sa_restorer_v1): Likewise.
46812         (__default_rt_sa_restorer_v2): Likewise.
46813         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46814         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46815         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46817 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46819         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46820         (libpthread-routines): Add sysdep.
46821         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46822         * sysdeps/unix/sysv/linux/sparc/Versions
46823         (libpthread: GLIBC_2.3.3): New version set.
46824         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46825         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46826         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46827         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46828         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46829         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46830         Moved ...
46831         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46832         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46833         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46834         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46835         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46836         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46837         * sysdeps/sparc/nptl/sem_init.c: ... here.
46838         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46839         * sysdeps/sparc/nptl/sem_post.c: ... here.
46840         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46841         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46842         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46843         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46844         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46845         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46846         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46847         (libpthread-routines): Add cpu_relax.
46848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46849         File removed.
46850         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46851         (librt: GLIBC_2.3.3): New version set.
46852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46853         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46854         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46855         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46858         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46860         Moved ...
46861         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46863         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46865         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46867         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46869         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46871         Moved ...
46872         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46873         Update #include.
46874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46875         Moved ...
46876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46877         Update #include.
46878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46879         Moved ...
46880         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46881         Update #include.
46882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46883         Moved ...
46884         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46885         Update #include.
46886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46887         Moved ...
46888         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46889         Update #include.
46890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46891         Moved ...
46892         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46893         Update #include.
46894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46895         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46901         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46903         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46905         Moved ...
46906         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46908         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46910         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46912 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46914         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46915         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46916         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46917         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46918         * nscd/nscd.c: Likewise.
46919         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46920         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46921         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46922         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46924         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46925         <kernel-features.h>.
46926         (init_mq_netlink): Remove conditional have_sock_cloexec
46927         definitions.  Remove code conditional on have_sock_cloexec < 0.
46928         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46929         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46930         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46931         <kernel-features.h>.
46932         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46933         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46935 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46938         Add tests for memset_chk and memset.
46940         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46941         with AVX2_Usable.
46943 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46945         [BZ #16046]
46946         * elf/tst-dl-iter-static.c: New file.
46947         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46949         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46950         error.
46952 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46954         * sysdeps/unix/sysv/linux/kernel-features.h
46955         (__ASSUME_F_GETOWN_EX): Remove macro.
46956         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46957         <kernel-features.h>.
46958         (miss_F_GETOWN_EX): Remove variable or macro.
46959         (do_fcntl): Do not check miss_F_GETOWN_EX.
46960         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46962         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46963         Remove macro.
46964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46965         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46966         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46968         * sysdeps/unix/sysv/linux/kernel-features.h
46969         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46970         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46971         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46972         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46974 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46976         [BZ #17075]
46977         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46978         Fix calculation of the symbol's value.
46979         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46980         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46981         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46982         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46983         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46984         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46985         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46986         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46987         (modules-names): Add `tst-armtlsdescmod',
46988         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46989         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46990         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46991         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46992         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46993         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46994         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46995         ($(objpfx)tst-armtlsdescloc): New dependency.
46996         ($(objpfx)tst-armtlsdescextnow): Likewise.
46997         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46998         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46999         TLS scheme support.
47000         * sysdeps/arm/configure: Regenerate.
47002 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47004         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47005         (__atfct_seterrno_2): Likewise.
47006         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47007         <kernel-features.h>.
47008         (__ASSUME_ATFCTS): Do not undefine and redefine.
47009         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47010         (__have_atfcts): Remove conditional definition.
47011         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47012         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47013         unreachable if [__ASSUME_ATFCTS].
47014         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47015         not undefine and redefine.
47016         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47017         <kernel-features.h>.
47018         (faccessat) [__NR_faccessat]: Make code unconditional.
47019         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47020         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47021         <kernel-features.h>.
47022         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47023         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47024         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47025         <kernel-features.h>.
47026         (fchownat) [__NR_fchownat]: Make code unconditional.
47027         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47028         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47029         <kernel-features.h>.
47030         (futimesat) [__NR_futimesat]: Make code unconditional.
47031         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47032         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47033         <kernel-features.h>.
47034         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47035         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47036         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47037         <kernel-features.h>.
47038         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47039         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47040         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47041         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47042         <kernel-features.h>.
47043         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47044         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47045         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47046         <kernel-features.h>.
47047         (linkat) [__NR_linkat]: Make code unconditional.
47048         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47049         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47050         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47051         <kernel-features.h>.
47052         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47053         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47054         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47055         <kernel-features.h>.
47056         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47057         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47058         * sysdeps/unix/sysv/linux/openat.c: Do not include
47059         <kernel-features.h>.
47060         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47061         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47062         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47063         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47064         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47065         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47066         <kernel-features.h>.
47067         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47068         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47069         result of INLINE_SYSCALL directly, not via int variable.
47070         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47071         <kernel-features.h>.
47072         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47073         (renameat) [__NR_renameat]: Make code unconditional.
47074         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47075         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47076         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47077         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47078         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47079         (__ASSUME_ATFCTS): Do not undefine and redefine.
47080         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47081         <kernel-features.h>.
47082         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47083         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47084         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47085         <kernel-features.h>.
47086         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47087         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47088         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47089         (__ASSUME_ATFCTS): Do not undefine and redefine.
47090         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47091         <kernel-features.h>.
47092         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47093         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47094         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47095         <kernel-features.h>.
47096         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47097         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47099 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47101         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47103 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47105         [BZ #17069]
47106         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47107         constructed tree before returning error.
47108         * posix/bug-regexp36.c: Expand test case.
47110 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47112         [BZ #6803]
47113         * math/libm-test.inc (scalbln_test_date):
47114         Add errno expectations.
47115         * math/w_scalblnf.c: New File.
47116         Add wrapper which checks for setting errno to ERANGE.
47117         Add weak_alias for corresponding scalbln function.
47118         * math/w_scalbln.c: Likewise.
47119         * math/w_scalblnl.c: Likewise.
47120         * math/Makefile (libm-calls): Add w_scalbln.
47121         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47122         Remove weak_alias for corresponding scalbln function.
47123         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47124         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47125         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47126         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47127         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47128         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47129         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47130         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47131         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47132         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47133         Remove long_double_symbol for scalblnl function in libm, libc.
47134         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47135         Add wrapper which checks for setting errno to ERANGE.
47136         Add long_double_symbol for scalblnl function in libm, libc.
47137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47138         Remove long_double_symbol for scalblnl in libm.
47139         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47140         Add wrapper which checks for setting errno to ERANGE.
47141         Add long_double_symbol for scalblnl function in libm.
47142         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47143         Do not use wrapper because of own implementation.
47145 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47147         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47148         3 bytes for __pad1 for x32.
47149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47151 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47152             H.J. Lu  <hongjiu.lu@intel.com>
47154         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47155         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47156         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47157         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47158         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47160 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47162         [BZ #17069]
47163         * posix/regcomp.c (parse_expression): Deallocate partially
47164         constructed tree before returning error.
47165         * posix/Makefile.c (tests): Add bug-regex36.
47166         (generated): Add bug-regex36.mtrace.
47167         (tests-special): Add $(objpfx)bug-regex36-mem.out
47168         (bug-regex36-ENV): New variable.
47169         ($(objpfx)bug-regex36-mem.out): New rule.
47170         * posix/bug-regex36.c: New file.
47172 2014-06-19  Will Newton  <will.newton@linaro.org>
47174         * malloc/malloc.c (systrim): If extra is zero then return
47175         early.
47177 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47179         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47181 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47183         * sysdeps/aarch64/strchr.S: New file.
47185 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47187         [BZ #17022]
47188         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47189         from arguments -2 or below.
47190         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47191         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47193 2014-06-18  Andreas Schwab  <schwab@suse.de>
47195         [BZ #17062]
47196         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47197         of a bracket expr not to run off the end of the string.
47198         * posix/Makefile (tests): Add tst-fnmatch3.
47199         * posix/tst-fnmatch3.c: New file.
47201 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47203         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47204         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47205         [$(cross-compiling) = no]: Likewise.
47206         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47207         [$(cross-compiling) = no]: Likewise.
47209 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47211         [BZ #17031]
47212         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47213         double, adjusted for any remainder from the high double.
47214         * math/libm-test.inc (nearbyint): Add tests.
47215         (rint): Likewise.
47217 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47219         * nptl/sysdeps/powerpc/Makefile: Moved ...
47220         * sysdeps/powerpc/nptl/Makefile: ... here.
47221         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47222         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47223         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47224         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47225         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47226         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47227         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47228         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47229         * nptl/sysdeps/powerpc/tls.h: Moved ...
47230         * sysdeps/powerpc/nptl/tls.h: ... here.
47232 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47234         [BZ #16681]
47235         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47236         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47237         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47238         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47239         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47240         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47241         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47242         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47243         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47245 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47247         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47249 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47251         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47252         defined operator.
47254         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47255         $TIMEOUTFACTOR.
47257 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47259         [BZ #17058]
47260         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47261         non-executed part of the test.
47263 2014-06-16  Andreas Schwab  <schwab@suse.de>
47265         * string/bits/string2.h (strdup, strndup): Update feature guard.
47267 2014-06-14  David S. Miller  <davem@davemloft.net>
47269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47271 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
47273         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47274         that was previously under [RESET_PID].
47275         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47277         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47278         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47279         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47280         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47281         (__libc_vfork): New strong alias.
47282         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47284 2014-06-14 Andi Kleen  <ak@linux.intel.com>
47286         * sysdeps/generic/elide.h: New file.
47288 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
47290         * Makefile (installed-headers): Adjust path of pthread.h header.
47292 2014-06-13  Roland McGrath  <roland@hack.frob.com>
47294         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47295         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47296         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47297         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47299         * nptl/sysdeps/s390/Makefile: Moved ...
47300         * sysdeps/s390/nptl/Makefile: ... here.
47301         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47302         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47303         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47304         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47305         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47306         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47307         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47308         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47309         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47310         * sysdeps/s390/nptl/pthreaddef.h: ... here.
47311         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47312         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47313         * nptl/sysdeps/s390/tls.h: Moved ...
47314         * sysdeps/s390/nptl/tls.h: ... here.
47316         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47317         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47319 2014-06-13  David S. Miller  <davem@davemloft.net>
47321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47324         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47328         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47329         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47330         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47331         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47332         Remove RESET_PID cpp guards.
47333         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47334         Remove RESET_PID cpp guards.
47335         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47337 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
47339         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47340         __sp to uintptr_t.
47342 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47344         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47345         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47346         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47347         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47348         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47349         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47351         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47352         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47353         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47354         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47355         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47357         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47358         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47360         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47361         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47362         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47363         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47365         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47366         (pthread_rwlock_rdlock): Add elision.
47367         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47368         (pthread_rwlock_wrlock): Add elision.
47369         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47370         (pthread_rwlock_trywrlock): Add elision.
47371         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47372         (pthread_rwlock_tryrdlock): Add elision.
47373         * nptl/pthread_rwlock_unlock.c: Include elide.h.
47374         (pthread_rwlock_tryrdlock): Add elision unlock.
47375         * nptl/sysdeps/pthread/pthread.h:
47376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47377         (PTHREAD_RWLOCK_INITIALIZER,
47378         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47379         Handle new elision field.
47380         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47381         * sysdeps/arm/nptl/bits/pthreadtypes.h
47382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47383         * sysdeps/sh/nptl/bits/pthreadtypes.h
47384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47385         * sysdeps/tile/nptl/bits/pthreadtypes.h
47386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47387         * sysdeps/a/nptl/bits/pthreadtypes.h
47388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47389         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47391         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47393         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47395         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47397         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47399         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47401         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47402         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47403         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47405         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47406         (elision_init): Set try_xbegin to zero when no RTM.
47407         * sysdeps/x86/nptl/bits/pthreadtypes.h
47408         (pthread_rwlock_t): Change __pad1 to __rwelision.
47409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47411 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47413         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47414         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47415         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47416         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47418 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47420         [BZ #16996]
47421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47422         that the cached result has been set before returning it.
47424 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47426         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47427         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47428         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47429         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47430         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47431         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47433         * nptl/sysdeps/sparc/Makefile: Moved ...
47434         * sysdeps/sparc/nptl/Makefile: ... here.
47435         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47436         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47437         * nptl/sysdeps/sparc/tls.h: Moved ...
47438         * sysdeps/sparc/nptl/tls.h: ... here.
47439         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47440         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47441         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47442         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47443         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47444         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47445         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47446         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47447         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47448         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47449         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47450         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47451         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47452         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47453         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47454         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47455         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47457         Update #include.
47458         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47460         Update #include.
47461         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47462         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47463         Update #include.
47464         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47465         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47466         Update #include.
47468         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47470         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47471         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47473         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47474         (struct list_links): Type removed.
47475         (struct thread_node, struct timer_node): Replace struct list_links
47476         with struct list_head.
47477         (list_unlink_ip): Likewise.
47478         * sysdeps/pthread/timer_routines.c
47479         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47480         (list_append, list_insbefore): Likewise.
47481         (list_init): Function removed.
47482         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47483         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47484         * sysdeps/pthread/Makefile: ... here, new file.
47486         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47487         * sysdeps/nptl/Implies: ... here.
47488         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47489         * nptl/sysdeps/pthread/list.h: Moved ...
47490         * include/list.h: ... here.
47491         * nptl/sysdeps/pthread/createthread.c: Moved ...
47492         * nptl/createthread.c: ... here.
47493         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47494         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47495         * nptl/pt-longjmp.c: ... here.
47496         * nptl/sysdeps/pthread/Makefile: Moved ...
47497         * sysdeps/nptl/Makefile: ... here.
47498         * nptl/sysdeps/pthread/Subdirs: Moved ...
47499         * sysdeps/nptl/Subdirs: ... here.
47500         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47501         * sysdeps/nptl/aio_misc.h: ... here.
47502         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47503         * sysdeps/nptl/bits/libc-lock.h: ... here.
47504         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47505         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47506         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47507         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47508         * nptl/sysdeps/pthread/configure: Moved ...
47509         * sysdeps/nptl/configure: ... here.
47510         * nptl/sysdeps/pthread/configure.ac: Moved ...
47511         * sysdeps/nptl/configure.ac: ... here.
47512         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47513         * sysdeps/nptl/gai_misc.h: ... here.
47514         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47515         * sysdeps/nptl/librt-cancellation.c: ... here.
47516         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47517         * sysdeps/nptl/malloc-machine.h: ... here.
47518         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47519         * sysdeps/nptl/pthread-functions.h: ... here.
47520         * nptl/sysdeps/pthread/pthread.h: Moved ...
47521         * sysdeps/nptl/pthread.h: ... here.
47522         * nptl/sysdeps/pthread/setxid.h: Moved ...
47523         * sysdeps/nptl/setxid.h: ... here.
47524         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47525         * sysdeps/nptl/sigfillset.c: ... here.
47526         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47527         * sysdeps/nptl/tcb-offsets.h: ... here.
47528         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47529         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47530         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47531         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47532         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47533         * sysdeps/pthread/allocalim.h: ... here.
47534         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47535         * sysdeps/pthread/bits/sigthread.h: ... here.
47536         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47537         * sysdeps/pthread/flockfile.c: ... here.
47538         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47539         * sysdeps/pthread/ftrylockfile.c: ... here.
47540         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47541         * sysdeps/pthread/funlockfile.c: ... here.
47542         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47543         * sysdeps/pthread/posix-timer.h: ... here.
47544         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47545         * sysdeps/pthread/timer_create.c: ... here.
47546         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47547         * sysdeps/pthread/timer_delete.c: ... here.
47548         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47549         * sysdeps/pthread/timer_getoverr.c: ... here.
47550         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47551         * sysdeps/pthread/timer_gettime.c: ... here.
47552         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47553         * sysdeps/pthread/timer_routines.c: ... here.
47554         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47555         * sysdeps/pthread/timer_settime.c: ... here.
47556         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47557         * sysdeps/pthread/tst-timer.c: ... here.
47558         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47559         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47561         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47562         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47564         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47565         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47566         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47567         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47568         Update #include target.
47569         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47570         * sysdeps/i386/i686/nptl/Makefile: ... here.
47571         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47572         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47573         Update #include target.
47574         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47575         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47576         * nptl/sysdeps/i386/Makefile: Moved ...
47577         * sysdeps/i386/nptl/Makefile: ... here.
47578         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47579         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47580         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47581         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47582         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47583         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47584         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47585         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47586         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47587         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47588         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47589         * nptl/sysdeps/i386/tls.h: Moved ...
47590         * sysdeps/i386/nptl/tls.h: ... here.
47592         * sysdeps/sh/Makefile [$(subdir) = csu]
47593         (gen-as-const-headers): Add tcb-offsets.sym.
47594         * nptl/sysdeps/sh/Makefile: File removed.
47595         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47596         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47597         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47598         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47599         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47600         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47601         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47602         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47603         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47604         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47605         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47606         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47607         * nptl/sysdeps/sh/tls.h: Moved ...
47608         * sysdeps/sh/nptl/tls.h: ... here.
47609         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47610         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47611         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47612         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47613         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47614         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47615         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47616         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47617         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47618         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47620         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47622         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47624         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47625         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47626         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47627         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47628         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47629         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47630         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47631         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47634         Moved ...
47635         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47637         Moved ...
47638         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47639         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47640         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47642         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47643         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47644         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47645         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47646         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47647         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47648         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47649         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47650         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47651         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47652         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47653         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47654         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47655         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47656         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47658 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47660         * posix/spawn_faction_addopen.c: Include string.h.
47662 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47664         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47665         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47666         * nptl/sysdeps/x86_64/Makefile: Moved ...
47667         * sysdeps/x86_64/nptl/Makefile: ... here.
47668         * nptl/sysdeps/x86_64/configure: Moved ...
47669         * sysdeps/x86_64/nptl/configure: ... here.
47670         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47671         * sysdeps/x86_64/nptl/configure.ac: ... here.
47672         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47673         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47674         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47675         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47676         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47677         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47678         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47679         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47680         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47681         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47682         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47683         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47684         * nptl/sysdeps/x86_64/tls.h: Moved ...
47685         * sysdeps/x86_64/nptl/tls.h: ... here.
47686         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47687         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47688         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47689         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47691         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47693 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47697 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47699         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47700         type.
47701         [POSIX] (off_t): Likewise.
47702         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47703         [POSIX] (S_ISBLK): Require macro.
47704         [POSIX] (S_ISCHR): Likewise.
47705         [POSIX] (S_ISDIR): Likewise.
47706         [POSIX] (S_ISFIFO): Likewise.
47707         [POSIX] (S_ISREG): Likewise.
47708         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47709         optional-macro.
47710         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47711         type.
47712         [POSIX] (time_t): Likewise.
47713         [POSIX] (timer_t): Likewise.
47715 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47717         [BZ #17048]
47718         * posix/spawn_int.h (struct __spawn_action): Make the path string
47719         non-const to support deallocation.
47720         * posix/spawn_faction_addopen.c
47721         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47722         * posix/spawn_faction_destroy.c
47723         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47724         path in all spawn_do_open actions.
47725         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47726         posix_spawn_file_actions_addopen.
47728 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47730         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47731         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47732         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47733         conditional code always true.
47734         (__libc_vfork): New alias.
47736 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47738         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47739         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47741         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47743         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47744         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47746         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47747         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47749         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47750         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47752 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47754         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47755         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47756         multiarch strcmp for PPC64.
47757         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47758         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47760         multiarch optimizations.
47761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47762         (__libc_ifunc_impl_list): Likewise.
47764 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47766         * benchtests/scripts/validate_benchout.py: New script.
47767         * benchtests/Makefile (bench-func): Call it.
47768         * benchtests/scripts/benchout.schema.json: New file.
47770 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47772         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47773         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47774         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47775         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47776         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47777         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47778         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47779         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47780         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47781         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47782         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47783         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47784         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47785         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47786         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47787         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47789         Moved ...
47790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47791         ... here.
47792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47793         Moved ...
47794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47796         Moved ...
47797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47798         ... here.
47799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47800         Moved ...
47801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47802         ... here.
47803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47804         Moved ...
47805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47807         Moved ...
47808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47809         ... here.
47810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47811         Moved ...
47812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47813         ... here.
47814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47815         Moved ...
47816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47818         Moved ...
47819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47820         ... here.
47821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47822         Moved ...
47823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47824         ... here.
47825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47826         Moved ...
47827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47828         ... here.
47829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47830         Moved ...
47831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47833         Moved ...
47834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47835         ... here.
47836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47837         Moved ...
47838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47839         ... here.
47840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47841         Moved ...
47842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47843         ... here.
47844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47845         Moved ...
47846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47848         Moved ...
47849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47850         ... here.
47851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47852         Moved ...
47853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47854         ... here.
47855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47856         Moved ...
47857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47859         Moved ...
47860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47861         ... here.
47862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47863         Moved ...
47864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47866         Moved ...
47867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47869         Moved ...
47870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47871         ... here.
47872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47873         Moved ...
47874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47875         ... here.
47876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47877         Moved ...
47878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47879         ... here.
47880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47881         Moved ...
47882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47884         Moved ...
47885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47886         ... here.
47887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47888         Moved ...
47889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47890         ... here.
47891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47892         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47894         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47896         Moved ...
47897         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47898         ... here.
47899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47900         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47904         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47905         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47906         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47907         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47908         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47910         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47912         Moved ...
47913         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47915         Moved ...
47916         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47918         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47920         Moved ...
47921         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47923         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47924         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47925         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47926         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47927         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47929 2014-06-10  Wilco  <wdijkstr@arm.com>
47931         * math/test-fenv-return.c: New file.
47932         * math/Makefile: Add new test test-fenv-return.
47934 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47936         [BZ #17042]
47937         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47938         when x - 1 is zero.
47939         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47940         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47941         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47942         0.0L for an argument of 1.0L.
47943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47944         Likewise.
47945         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47946         value when x - 1 is zero.
47947         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47948         * sysdeps/i386/fpu/libm-test-ulps: Update.
47949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47951 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47953         [BZ #15119]
47954         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47956 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47958         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47959         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47961 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47963         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47964         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47966         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47967         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47969         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47970         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47972         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47973         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47975         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47976         if not already defined.
47977         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47978         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47979         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47980         (TLS_INIT_TP): Use it.
47981         (TLS_DEFINE_INIT_TP): New macro.
47982         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47984 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47986         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47987         constant.
47988         [POSIX] (IXANY): Likewise.
47989         [POSIX] (OLCUC): Likewise.
47990         [POSIX || POSIX2008] (CBAUD): Do not allow.
47991         [POSIX || POSIX2008] (DEFECHO): Likewise.
47992         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47993         [POSIX || POSIX2008] (ECHOKE): Likewise.
47994         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47995         [POSIX || POSIX2008] (EXTA): Likewise.
47996         [POSIX || POSIX2008] (EXTB): Likewise.
47997         [POSIX || POSIX2008] (FLUSHO): Likewise.
47998         [POSIX || POSIX2008] (LOBLK): Likewise.
47999         [POSIX || POSIX2008] (PENDIN): Likewise.
48000         [POSIX || POSIX2008] (SWTCH): Likewise.
48001         [POSIX || POSIX2008] (VDISCARD): Likewise.
48002         [POSIX || POSIX2008] (VDSUSP): Likewise.
48003         [POSIX || POSIX2008] (VLNEXT): Likewise.
48004         [POSIX || POSIX2008] (VREPRINT): Likewise.
48005         [POSIX || POSIX2008] (VSTATUS): Likewise.
48006         [POSIX || POSIX2008] (VWERASE): Likewise.
48007         (B*): Change to B[0123456789]*.
48008         * conform/data/time.h-data [POSIX || UNIX98]
48009         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48010         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48011         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48012         [POSIX] (tm_*): Do not allow.
48014 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48016         * Makefile (install): Don't set LANGUAGE.
48017         * Makefile.in (install): Likewise.
48018         * assert/Makefile (test-assert-ENV): Remove variable.
48019         (test-assert-perr-ENV): Likewise.
48020         * elf/Makefile (neededtest4-ENV): Likewise.
48021         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48022         [$(cross-compiling) = no]: Don't set LANGUAGE.
48023         * io/ftwtest-sh (LANG): Remove variable.
48024         * libio/Makefile (tst-widetext-ENV): Likewise.
48025         * manual/install.texi (Running make install): Don't refer to
48026         environment settings for make install.
48027         * INSTALL: Regenerated.
48028         * nptl/tst-tls6.sh: Don't set LANG.
48029         * posix/globtest.sh (LANG): Remove variable.
48030         * string/Makefile (tester-ENV): Likewise.
48031         (inl-tester-ENV): Likewise.
48032         (noinl-tester-ENV): Likewise.
48033         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48034         [$(cross-compiling) = no]: Don't set LANGUAGE.
48035         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48036         without explicit environment settings.
48038 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48040         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48041         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48042         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48043         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48045 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48047         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48048         other files in the crypt directory.
48049         * crypt/crypt.c: Remove duplicate includes.
48050         * crypt/crypt-entry.c: Likewise.
48051         * crypt/crypt_util.c: Likewise.
48053 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48055         * Makeconfig (run-program-env): New variable.
48056         (run-program-prefix-before-env): Likewise.
48057         (run-program-prefix-after-env): Likewise.
48058         (run-program-prefix): Define in terms of new variables.
48059         (built-program-cmd-before-env): New variable.
48060         (built-program-cmd-after-env): Likewise.
48061         (built-program-cmd): Define in terms of new variables.
48062         (test-program-prefix-before-env): New variable.
48063         (test-program-prefix-after-env): Likewise.
48064         (test-program-prefix): Define in terms of new variables.
48065         (test-program-cmd-before-env): New variable.
48066         (test-program-cmd-after-env): Likewise.
48067         (test-program-cmd): Define in terms of new variables.
48068         * Rules (make-test-out): Use $(run-program-env).
48069         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48070         (help): Do not mention environment variables.  Mention
48071         --timeoutfactor option.
48072         (timeoutfactor): New variable.
48073         (blacklist_exports): Remove function.
48074         (exports): Remove variable.
48075         (command): Do not include ${exports}.
48076         * manual/install.texi (Configuring and compiling): Do not mention
48077         test wrappers preserving environment variables.  Mention that last
48078         assignment to a variable must take precedence.
48079         * INSTALL: Regenerated.
48080         * benchtests/Makefile (run-bench): Use $(run-program-env).
48081         * catgets/Makefile ($(objpfx)test1.cat): Use
48082         $(built-program-cmd-before-env), $(run-program-env) and
48083         $(built-program-cmd-after-env).
48084         ($(objpfx)test2.cat): Do not specify environment variables
48085         explicitly.
48086         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48087         $(run-program-env) and $(built-program-cmd-after-env).
48088         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48089         $(run-program-env) and $(test-program-cmd-after-env).
48090         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48091         explicitly.
48092         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48093         run_program_env and test_program_cmd_after_env arguments.
48094         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48095         * elf/tst-pathopt.sh: Use run_program_env argument.
48096         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48097         $(test-wrapper-env) and $(run-program-env).
48098         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48099         run_program_env arguments.
48100         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48101         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48102         $(test-program-prefix-before-env), $(run-program-env) and
48103         $(test-program-prefix-after-env).
48104         ($(objpfx)tst-gettext2.out): Likewise.
48105         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48106         run_program_env and test_program_prefix_after_env arguments.
48107         * intl/tst-gettext2.sh: Likewise.
48108         * intl/tst-gettext4.sh: Do not set environment variables
48109         explicitly.
48110         * intl/tst-gettext6.sh: Likewise.
48111         * intl/tst-translit.sh: Likewise.
48112         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48113         $(test-program-prefix-before-env), $(run-program-env) and
48114         $(test-program-prefix-after-env).
48115         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48116         run_program_env and test_program_prefix_after_env arguments.
48117         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48118         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48119         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48120         explicitly with each use of ${test_wrapper_env}.
48121         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48122         $(test-program-prefix-before-env), $(run-program-env) and
48123         $(test-program-prefix-after-env).
48124         * posix/tst-getconf.sh: Do not set environment variables
48125         explicitly.
48126         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48127         run_program_env and test_program_prefix_after_env arguments.
48128         * stdio-common/tst-printf.sh: Do not set environment variables
48129         explicitly.
48130         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48131         $(test-program-prefix-before-env), $(run-program-env) and
48132         $(test-program-prefix-after-env).
48133         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48134         run_program_env and test_program_prefix_after_env arguments.
48135         Split $test calls into $test_pre and $test.
48136         * timezone/Makefile (build-testdata): Use
48137         $(built-program-cmd-before-env), $(run-program-env) and
48138         $(built-program-cmd-after-env).
48140 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48142         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48143         strlen for non SHARED builds.
48145 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48147         * nptl/allocatestack.c (check_list): Inlined function...
48148         (__reclaim_stacks): ... here.
48150 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48152         [BZ #15698]
48153         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48154         memory overrun.
48156 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48158         * Rules (make-test-out): Include
48159         LOCPATH=$(common-objpfx)localedata in default environment.
48160         * debug/Makefile (tst-chk1-ENV): Remove variable.
48161         (tst-chk2-ENV): Likewise.
48162         (tst-chk3-ENV): Likewise.
48163         (tst-chk4-ENV): Likewise.
48164         (tst-chk5-ENV): Likewise.
48165         (tst-chk6-ENV): Likewise.
48166         (tst-lfschk1-ENV): Likewise.
48167         (tst-lfschk2-ENV): Likewise.
48168         (tst-lfschk3-ENV): Likewise.
48169         (tst-lfschk4-ENV): Likewise.
48170         (tst-lfschk5-ENV): Likewise.
48171         (tst-lfschk6-ENV): Likewise.
48172         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48173         (tst-iconv7-ENV): Likewise.
48174         * intl/Makefile (LOCPATH-ENV): Likewise.
48175         (tst-codeset-ENV): Likewise.
48176         (tst-gettext3-ENV): Likewise.
48177         (tst-gettext5-ENV): Likewise.
48178         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48179         (tst-fopenloc-ENV): Likewise.
48180         (tst-fgetws-ENV): Remove variable.
48181         (tst-ungetwc1-ENV): Likewise.
48182         (tst-ungetwc2-ENV): Likewise.
48183         (bug-ungetwc2-ENV): Likewise.
48184         (tst-swscanf-ENV): Likewise.
48185         (bug-ftell-ENV): Likewise.
48186         (tst-fgetwc-ENV): Likewise.
48187         (tst-fseek-ENV): Likewise.
48188         (tst-ftell-partial-wide-ENV): Likewise.
48189         (tst-ftell-active-handler-ENV): Likewise.
48190         (tst-ftell-append-ENV): Likewise.
48191         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48192         (tst-regexloc-ENV): Likewise.
48193         (bug-regex1-ENV): Likewise.
48194         (tst-regex-ENV): Likewise.
48195         (tst-regex2-ENV): Likewise.
48196         (bug-regex5-ENV): Likewise.
48197         (bug-regex6-ENV): Likewise.
48198         (bug-regex17-ENV): Likewise.
48199         (bug-regex18-ENV): Likewise.
48200         (bug-regex19-ENV): Likewise.
48201         (bug-regex20-ENV): Likewise.
48202         (bug-regex22-ENV): Likewise.
48203         (bug-regex23-ENV): Likewise.
48204         (bug-regex25-ENV): Likewise.
48205         (bug-regex26-ENV): Likewise.
48206         (bug-regex30-ENV): Likewise.
48207         (bug-regex32-ENV): Likewise.
48208         (bug-regex33-ENV): Likewise.
48209         (bug-regex34-ENV): Likewise.
48210         (bug-regex35-ENV): Likewise.
48211         (tst-rxspencer-ENV): Likewise.
48212         (tst-rxspencer-no-utf8-ENV): Likewise.
48213         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48214         (tst-sscanf-ENV): Likewise.
48215         (tst-swprintf-ENV): Likewise.
48216         (tst-swscanf-ENV): Likewise.
48217         (test-vfprintf-ENV): Likewise.
48218         (scanf13-ENV): Likewise.
48219         (bug14-ENV): Likewise.
48220         (tst-grouping-ENV): Likewise.
48221         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48222         (tst-strtod3-ENV): Likewise.
48223         (tst-strtod4-ENV): Likewise.
48224         (tst-strtod5-ENV): Likewise.
48225         (testmb2-ENV): Likewise./
48226         * string/Makefile (tst-strxfrm-ENV): Likewise.
48227         (tst-strxfrm2-ENV): Likewise.
48228         (bug-strcoll1-ENV): Likewise.
48229         (test-strcasecmp-ENV): Likewise.
48230         (test-strncasecmp-ENV): Likewise.
48231         * time/Makefile (tst-strptime-ENV): Likewise.
48232         (tst-ftime_l-ENV): Likewise.
48233         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48234         (tst-mbrtowc-ENV): Likewise.
48235         (tst-wcrtomb-ENV): Likewise.
48236         (tst-mbrtowc2-ENV): Likewise.
48237         (tst-c16c32-1-ENV): Likewise.
48238         (tst-mbsnrtowcs-ENV): Likewise.
48240 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48242         * manual/resource.texi (How to get information about the memory
48243         subsystem?): Fix typo.
48244         Reported by Peon de la Parra Ivan <peon@keba.com>
48246 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48248         [BZ #16882]
48249         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48250         (pthread_spin_lock): Branch out of spin loop to proper location.
48251         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48252         (pthread_spin_lock): Likewise.
48254         * nptl/tst-spin4.c: New test.
48255         * nptl/Makefile (tests): Add tst-spin4.
48257 2014-06-03  Andreas Schwab  <schwab@suse.de>
48259         [BZ #15946]
48260         * resolv/res_send.c (send_dg): Reload file descriptor after
48261         calling reopen.
48263 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48265         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48267 2014-06-03  Richard Henderson  <rth@redhat.com>
48269         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48270         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48271         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48272         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
48273         in the SAVE_PID block.
48274         (__libc_vfork): New alias.
48275         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48277         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48278         child in registers, not on the stack.  Remove RESET_PID conditionals.
48279         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48281 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48283         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48285 2014-06-03  Wilco  <wdijkstr@arm.com>
48287         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48288         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48289         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48290         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48291         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48292         Likewise.
48294 2014-06-03  Wilco  <wdijkstr@arm.com>
48296         * sysdeps/aarch64/fpu/math_private.h
48297         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48298         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48299         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48300         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48301         Fix declarations.
48303 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48305         * crypt/crypt-private.h: Include ufc-crypt.h.
48306         (__b64_from_24bit): Declare extern.
48307         * crypt/crypt_util.c(__b64_from_24bit): New function.
48308         (b64t): New static const variable.
48309         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48310         (b64t): Remove variable.
48311         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48312         * crypt/sha256-crypt.c: Include crypt-private.h.
48313         (b64t): Remove variable.
48314         (__sha256_crypt_r): Remove b64_from_24bit and replace
48315         with __b64_from_24bit.
48316         * crypt/sha512-crypt.c: Likewise.
48318 2014-06-02  Roland McGrath  <roland@hack.frob.com>
48320         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48321         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48322         Label the code __libc_vfork rather than __vfork.
48323         [!NOT_IN_libc] (vfork): Define as weak alias.
48324         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48325         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48326         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48328 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48330         * malloc/malloc.c (malloc_info): Fix format specifier for
48331         n_mmaps.
48333 2014-06-02  Wilco  <wdijkstr@arm.com>
48335         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48336         FPCR write.
48338 2014-06-02  Wilco  <wdijkstr@arm.com>
48340         [BZ #17009]
48341         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48342         Rewrite to reduce FPCR/FPSR accesses.
48344 2014-06-01  David S. Miller  <davem@davemloft.net>
48346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48348 2014-05-31  David S. Miller  <davem@davemloft.net>
48350         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48351         to occur in round to nearest mode when |x| >= 2.0
48353 2014-05-30  Richard Henderson  <rth@twiddle.net>
48355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48356         (PSEUDO_RET_NOERRNO): Remove.
48357         (ret): Don't redefine.
48358         (ret_NOERRNO): Define in terms of ret.
48359         (ret_ERRVAL): Likewise.
48361         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48362         use of PSEUDO_RET; perform the error check directly.
48364 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
48366         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48367         with __int128_t.
48369 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48371         * malloc/malloc (malloc_info): Fix formatting.
48373 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48374             Roland McGrath  <roland@hack.frob.com>
48376         * malloc/malloc (malloc_info): Also print mmapped statistics.
48378 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48380         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48381         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48383 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48385         * malloc/malloc.c (malloc_info): Inline mi_arena.
48387 2014-05-29  Richard Henderson  <rth@twiddle.net>
48389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48390         Remove comma before expanding ASM_ARGS_##nr.
48391         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48392         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48393         of ASM_ARGS_##nr.
48394         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48395         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48396         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48397         (ASM_ARGS_1): Add leading comma.
48399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48400         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48401         to __errno_location.
48402         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48403         Remove the expected plt for __errno_location.
48405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48406         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48407         call to __read_tp.
48409         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48410         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48411         it and break it down.
48412         (DOCARGS_0, DOCARGS_1): Do nothing.
48413         (DOCARGS_2): Update to store into the new stack frame.
48414         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48415         (UNDOCARGS_1): Update to restore from the new stack frame.
48416         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48417         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48419         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48420         (SINGLE_THREAD_P): New parameter for result regno.
48421         (PSEUDO): Update to match; use cbz instead of beq.
48423         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48424         Use ENTRY to define the _nocancel entry point.  Share the syscall
48425         and syscall error check paths with the cancel path.
48426         (PSEUDO_END): New.
48428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48429         whitespace; tabs before and after asm mnemonics.
48431 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48433         [BZ #15132]
48434         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48435         Call fstat64 or stat64 internally, depending on arguments passed.
48436         Replace stat buffer argument with file descriptor argument.
48437         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48438         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48439         Pass fd to __internal_statvfs instead of calling fstat64.
48440         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48441         Pass fd to __internal_statvfs64 instead of calling fstat64.
48442         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48443         Pass -1 to __internal_statvfs instead of calling stat64.
48444         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48445         Pass -1 to __internal_statvfs64 instead of calling stat64.
48447 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48449         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48450         that was previously under [RESET_PID].
48451         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48453         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48454         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48456 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48458         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48460         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48461         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48463 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48465         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48467 2014-05-27  Andreas Schwab  <schwab@suse.de>
48469         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48470         TLS_INIT_TP macro.
48471         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48472         * elf/rtld.c (init_tls, dl_main): Likewise.
48473         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48474         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48475         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48476         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48477         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48478         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48479         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48480         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48481         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48482         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48483         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48484         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48485         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48486         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48487         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48488         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48489         * sysdeps/generic/tls.h: Update description.
48491 2014-05-27  Will Newton  <will.newton@linaro.org>
48493         [BZ #16990]
48494         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48495         and restore r2 rather than just restoring.
48497 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48499         [BZ #16724]
48500         * libio/tst-ftell-append.c: New test case.
48501         * libio/Makefile (tests): Add test case.
48502         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48503         append mode.
48504         * libio/wfileops.c (do_ftell_wide): Likewise.
48506 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48510         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48511         ...
48512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48514         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48515         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48516         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48517         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48518         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48521         Moved ...
48522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48524         Moved ...
48525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48526         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48527         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48528         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48529         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48530         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48531         ...
48532         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48533         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48534         Moved ...
48535         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48536         here.
48537         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48538         ...
48539         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48540         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48541         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48543         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48544         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48545         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48546         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48549         merge into ...
48550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48552         ...
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48555         ...
48556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48558         Moved ...
48559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48560         here.
48561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48562         Moved ...
48563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48565         Moved ...
48566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48569         conditional [RESET_PID].
48570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48572         removed.
48573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48574         removed.
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48577         <tcb-offsets.h>.
48578         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48579         (__libc_vfork): New strong alias.
48580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48581         removed.
48582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48583         Removed.
48585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48586         <tcb-offsets.h>.
48587         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48588         (__libc_vfork): New strong alias.
48589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48590         removed.
48591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48592         removed.
48594 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48596         * malloc/malloc.c (mi_arena): New function.
48597         (malloc_info): Remove nested function mi_arena. Call non-nosted
48598         function mi_arena.
48600 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48602         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48603         by insrwi.
48604         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48605         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48606         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48607         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48608         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48609         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48610         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48612 2014-05-26  Andreas Schwab  <schwab@suse.de>
48614         [BZ #16984]
48615         * locale/programs/repertoire.c (repertoire_read): Add slash
48616         between I18NPATH element and file name.
48617         * locale/programs/locfile.c (locfile_read): Likewise.
48619 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48621         * nptl/pthread_mutexattr_settype.c
48622         (__pthread_mutexattr_settype):
48623         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48625 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48627         * nptl/tst-mutex5 (do_test):
48628         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48630 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48632         * benchtests/README: Document 'init' directive.
48633         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48634         BENCH_INIT.
48635         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48636         (parse_file): Recognize 'init' directive.
48638 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48640         [BZ #16796]
48641         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48642         alignment of struct pthread.
48644 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48646         [BZ #16878]
48647         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48648         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48649         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48650         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48652 2014-05-25  Richard Henderson  <rth@twiddle.net>
48654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48655         (SINGLE_THREAD_P_PIC): Remove.
48656         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48657         (SINGLE_THREAD_P_PIC): Remove.
48659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48660         branch to syscall error ...
48661         (PSEUDO): ... here.
48662         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48663         from __local_syscall_error to .Lsyscall_error.
48664         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48665         (SYSCALL_ERROR): Update label name.
48667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48668         Do not use DOARGS/UNDOARGS.
48669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48670         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48671         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48672         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48673         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48676         block comment.
48678         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48679         define if !NOT_IN_libc.
48680         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48681         define with non-default symbol versions.
48683 2014-05-23  Richard Henderson  <rth@twiddle.net>
48685         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48686         (vfork, __vfork): Define via compat_symbol.
48688         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48689         [!HAVE_IFUNC] (vfork_compat): Remove.
48690         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48692 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48694         [BZ #16978]
48695         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48696         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48697         variable.
48699 2014-05-23  Richard Henderson  <rth@twiddle.net>
48701         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48702         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48703         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48704         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48706         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48707         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48708         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48709         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48710         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48711         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48712         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48713         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48714         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48715         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48716         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48717         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48718         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48719         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48720         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48721         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48722         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48723         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48724         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48725         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48726         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48727         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48728         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48729         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48730         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48731         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48732         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48733         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48734         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48735         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48737         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48738         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48739         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48740         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48741         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48743         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48744         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48745         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48746         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48747         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48748         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48749         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48750         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48751         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48753         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48754         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48755         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48756         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48757         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48758         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48759         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48760         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48761         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48763         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48764         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48765         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48766         before exiting on error.
48767         (__libc_vfork): New strong alias.
48768         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48769         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48771         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48772         that was previously under [RESET_PID].
48773         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48775         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48777 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48779         [BZ #16977]
48780         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48781         value when x - 1 is zero.
48782         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48783         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48784         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48785         0.0L for an argument of 1.0L.
48786         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48787         Likewise.
48788         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48789         value when x - 1 is zero.
48790         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48791         * sysdeps/i386/fpu/libm-test-ulps: Update.
48792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48794 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48796         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48797         alphasort and versionsort.
48799 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48801         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48802         macro.
48803         [copysignf]: Likewise.
48805 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48807         * crypt/md5-crypt.c: Fix formatting.
48809 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48811         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48812         (b64_from_24bit): New function.
48814 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48816         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48817         libc_hidden_builtin_def to ifunc.
48818         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48819         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48821 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48823         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48824         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48826 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48828         * nscd/Depend (linuxthreads): Remove.
48829         (nptl): Add.
48830         * resolv/Depend (linuxthreads): Remove.
48831         * rt/Depend (linuxthreads): Remove.
48833         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48834         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48835         $(common-objpfx)elf/.
48836         (link-libc-before-gnulib): Likewise.
48837         (elfobjdir): Remove variable.
48838         * Makefile (install): Use $(elf-objpfx) instead of
48839         $(common-objpfx)elf/.
48840         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48841         $(elfobjdir)/.
48842         (link-libc-deps): Likewise.
48843         ($(common-objpfx)libc.so): Likewise.
48844         ($(common-objpfx)linkobj/libc.so): Likewise.
48845         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48846         instead of $(common-objpfx)elf/.
48847         (symbolic-link-list): Likewise.
48848         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48849         [$(cross-compiling) = no]: Likewise.
48850         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48851         $(elfobjdir)/.
48852         (static-gnulib-arch): Likewise.
48853         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48854         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48855         $(common-objpfx)elf/.
48857 2014-05-21  Richard Henderson  <rth@redhat.com>
48859         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48860         (SINGLE_THREAD_P): Use the correct width load.  Fold
48861         into the ldr offset.
48863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48864         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48866 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48868         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48869         (libgcc_s_resume): Use __attribute_used__.
48870         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48871         Likewise.
48873 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48875         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48876         optimization when used with float constants.
48878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48880 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48882         [BZ #16915]
48883         * locale/nl_langinfo_l.c: Make direct reference to every
48884         _nl_current_CATEGORY symbol.
48885         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48886         (tests-static): Add tst-langinfo-static.
48887         (tests-special): Add tst-langinfo-static.out.
48888         ($(objpfx)tst-langinfo.out): Redirect output.
48889         ($(objpfx)tst-langinfo-static.out): New.
48890         * localedata/tst-langinfo.sh: Send output to stdout.
48891         * localedata/tst-langinfo-static.c: New file.
48893         [BZ #16965]
48894         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48895         when the shift amount is modulo the limb size.
48897 2014-05-20  Richard Henderson  <rth@redhat.com>
48899         [BZ #16967]
48900         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48901         Change type of sa_flags from unsigned int to int.
48903         [BZ #16966]
48904         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48906         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48908 2014-05-20  Will Newton  <will.newton@linaro.org>
48910         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48911         Test the return value of the system call in the nocancel case.
48913 2014-05-20  Will Newton  <will.newton@linaro.org>
48914             Yvan Roux  <yvan.roux@linaro.org>
48916         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48917         #include of asm/ptrace.h.
48918         (PTRACE_GET_THREAD_AREA): Remove #undef.
48919         (PTRACE_GETHBPREGS): Likewise.
48920         (PTRACE_SETHBPREGS): Likewise.
48921         (struct user_regs_struct): New structure.
48922         (struct user_fpsimd_struct): New structure.
48923         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48924         #include of asm/ptrace.h and second #include of sys/user.h.
48925         (PTRACE_GET_THREAD_AREA): Remove #undef.
48926         (PTRACE_GETHBPREGS): Likewise.
48927         (PTRACE_SETHBPREGS): Likewise.
48928         (ELF_NGREG): Use new struct user_regs_struct.
48929         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48931 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48933         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48936 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48938         [BZ #16958]
48939         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48940         membar to avoid block loads/stores to overlap previous stores.
48942 2014-05-17  Richard Henderson  <rth@redhat.com>
48944         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48945         Create the __##syscall_name##_nocancel entry point.
48946         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48947         Remove; let the sysdep-cancel.h code create it.
48949 2014-05-17  David S. Miller  <davem@davemloft.net>
48951         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48952         Protect with __USE_GNU.
48953         (TIOCSET_TEMPT): Likewise.
48954         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48955         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48956         these are already provided in bits/ioctl-types.h
48958 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48960         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48961         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48963         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48964         Use wait4 regardless of [__NR_waitpid].
48966 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48968         PR libgcc/60166
48969         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48970         (_FP_NANSIGN_Q): Set the quiet bit.
48972 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48974         * benchtests/Makefile
48975         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48976         not $(common-objpfx)math/libm.so.
48977         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48978         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48979         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48980         $(common-objpfx)dlfcn/libdl.so.
48981         ($(objpfx)tst-audit8): Depend on $(libm), not
48982         $(common-objpfx)math/libm.so.
48983         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48984         not $(common-objpfx)dlfcn/libdl.so.
48985         * math/Makefile
48986         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48987         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48988         [$(build-shared) = yes].
48989         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48990         $(common-objpfx)nptl/libpthread.so.
48991         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48992         $(common-objpfx)math/libm.so$(libm.so-version) or
48993         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48994         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48995         $(common-objpfx)dlfcn/libdl.so.
48996         * setjmp/Makefile (link-libm): Remove variable.
48997         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48998         * stdio-common/Makefile (link-libm): Remove variable.
48999         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49000         * stdlib/Makefile (link-libm): Remove variable.
49001         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49002         ($(objpfx)tst-strtod-round): Likewise.
49003         ($(objpfx)tst-tininess): Likewise.
49004         ($(objpfx)tst-strtod-underflow): Likewise.
49005         ($(objpfx)tst-strtod6): Likewise.
49006         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49007         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49008         $(common-objpfx)dlfcn/libdl.so.
49010 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49012         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49013         BSD terminal modes definitions.
49015 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49017         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49018         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49020         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49021         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49022         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49023         Don't do #include_next.
49024         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49025         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49026         Don't do #include_next.
49027         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49028         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49029         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49030         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49032 2014-05-16  Allan McRae  <allan@archlinux.org>
49034         * po/sv.po: Update Swedish translation from translation project.
49036         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49037         in sed expression.
49039 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49041         [BZ #16917]
49042         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49043         errno if the TIOCGPTN ioctl fails with an error different than
49044         EINVAL.
49045         * login/tst-ptsname.c: New file.
49046         * login/Makefile (tests): Add tst-ptsname.
49048         [BZ #16943]
49049         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49050         and prlimit64.
49052 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49054         [BZ #16849]
49055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49056         herrno to return EAI_AGAIN.
49058 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49060         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49061         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49062         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49063         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49064         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49065         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49067         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49068         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49069         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49070         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49071         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49072         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49073         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49074         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49075         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49076         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49077         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49078         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49079         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49080         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49081         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49082         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49083         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49084         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49085         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49086         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49087         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49088         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49089         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49091         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49093         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49095         Moved ...
49096         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49098         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49100         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49102         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49104         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49106         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49108         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49110         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49112         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49114         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49116         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49118         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49120         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49122         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49124         Moved ...
49125         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49127         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49131         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49133         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49135         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49137         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49139         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49141         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49143         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49145         Moved ...
49146         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49148         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49150         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49151         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49152         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49153         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49154         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49155         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49156         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49157         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49158         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49159         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49160         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49161         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49162         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49163         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49164         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49165         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49166         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49167         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49168         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49169         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49170         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49171         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49172         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49173         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49174         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49175         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49176         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49177         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49178         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49179         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49180         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49182         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49183         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49185         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49186         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49187         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49188         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49189         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49191         Moved ...
49192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49194         Moved ...
49195         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49196         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49197         Moved ...
49198         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49199         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49202         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49203         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49205         Moved ...
49206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49207         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49208         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49209         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49210         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49211         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49212         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49213         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49214         Moved ...
49215         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49216         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49217         Moved ...
49218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49219         ... here.
49220         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49221         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49222         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49223         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49225         Moved ...
49226         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49227         ... here.
49228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49229         Moved ...
49230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49231         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49232         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49233         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49234         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49236         Moved ...
49237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49239         Moved ...
49240         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49241         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49242         Moved ...
49243         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49244         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49245         Moved ...
49246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49247         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49248         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49250         Moved ...
49251         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49252         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49253         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49254         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49256         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49257         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49258         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49259         Moved ...
49260         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49261         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49262         Moved ...
49263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49264         ... here.
49265         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49266         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49267         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49268         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49270         Moved ...
49271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49272         ... here.
49273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49274         Moved ...
49275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49276         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49277         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49278         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49279         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49280         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49282         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49283         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49285         Moved ...
49286         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49288         Moved ...
49289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49290         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49291         Moved ...
49292         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49293         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49294         Moved ...
49295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49296         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49297         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49298         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49299         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49301         Moved ...
49302         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49303         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49304         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49305         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49306         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49307         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49308         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49309         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49310         Moved ...
49311         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49312         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49313         Moved ...
49314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49315         ... here.
49316         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49317         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49318         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49319         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49321         Moved ...
49322         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49323         ... here.
49324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49325         Moved ...
49326         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49327         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49328         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49329         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49330         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49331         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49332         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49333         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49334         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49335         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49336         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49338         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49339         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49341         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49342         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49344         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49345         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49346         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49347         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49348         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49349         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49350         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49351         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49352         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49353         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49354         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49355         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49357         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49358         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49360         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49362         Moved ...
49363         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49364         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49365         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49366         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49367         Moved ...
49368         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49370         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49371         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49372         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49373         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49376         Moved ...
49377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49378         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49379         Moved ...
49380         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49382         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49384         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49386         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49387         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49388         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49389         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49390         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49391         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49392         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49393         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49394         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49395         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49396         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49398         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49399         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49400         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49401         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49402         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49404         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49405         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49406         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49407         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49408         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49409         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49410         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49411         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49412         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49413         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49418         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49419         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49420         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49421         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49422         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49423         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49424         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49425         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49426         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49427         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49428         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49429         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49430         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49431         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49433         Update #include.
49434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49435         Likewise.
49436         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49437         Likewise.
49438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49439         Likewise.
49440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49441         Likewise.
49442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49443         Likewise.
49444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49445         Likewise.
49446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49447         Likewise.
49448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49449         Likewise.
49450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49451         Likewise.
49452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49456         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49457         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49459         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49461         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49462         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49463         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49464         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49465         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49466         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49468         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49469         that was previously under [RESET_PID].
49470         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49471         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49472         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49474         * sysdeps/i386/nptl/Implies: New file.
49475         * sysdeps/x86_64/nptl/Implies: New file.
49476         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49477         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49478         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49479         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49481         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49482         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49483         (__libc_vfork): New strong alias.
49484         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49485         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49487         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49488         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49489         (__libc_vfork): New strong alias.
49490         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49491         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49493         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49494         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49495         (__libc_vfork): New strong alias.
49496         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49497         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49498         * nptl/pt-vfork.c: New file.
49499         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49500         (libpthread: GLIBC_2.20): New version set (empty).
49502 2014-05-14  Will Newton  <will.newton@linaro.org>
49504         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49505         rather than #if.
49507 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49509         [BZ #16564]
49510         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49511         arguments with exponent 65 or above.
49512         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49513         arguments 0x1p113L or above.
49514         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49515         to arguments 0x1p107L or above.
49516         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49517         positive arguments with exponent 65 or above.
49518         * math/auto-libm-test-in: Add more tests of log1p.
49519         * math/auto-libm-test-out: Regenerated.
49521         [BZ #16928]
49522         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49523         non-finite arguments is +0.
49524         * math/s_cacosf.c (__cacosf): Likewise.
49525         * math/s_cacosl.c (__cacosl): Likewise.
49526         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49527         * sysdeps/i386/fpu/libm-test-ulps: Update.
49528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49530         [BZ #16927]
49531         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49532         value.
49533         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49534         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49535         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49536         for explicit high bit of mantissa when testing for argument equal
49537         to 1.
49538         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49539         * sysdeps/i386/fpu/libm-test-ulps: Update.
49540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49542         [BZ #16516]
49543         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49544         (__erf): Scale by 16 instead of 8 in potentially underflowing
49545         case.  Ensure exception if result actually underflows.
49546         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49547         (__erff): Scale by 16 instead of 8 in potentially underflowing
49548         case.  Ensure exception if result actually underflows.
49549         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49550         (efx8): Remove variable.
49551         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49552         case.  Ensure exception if result actually underflows.
49553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49554         (efx8): Remove variable.
49555         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49556         case.  Ensure exception if result actually underflows.
49557         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49558         (efx8): Remove variable.
49559         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49560         case.  Ensure exception if result actually underflows.
49561         * math/auto-libm-test-in: Add more tests of erf.
49562         * math/auto-libm-test-out: Regenerated.
49564 2014-05-14  Andreas Schwab  <schwab@suse.de>
49566         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49567         Remove code conditionalized on USE___THREAD.
49569         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49570         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49571         not definedness.
49573 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49576         Define unconditionally.
49577         (__ASSUME_O_CLOEXEC): Likewise.
49578         (__ASSUME_SOCK_CLOEXEC): Likewise.
49579         (__ASSUME_IN_NONBLOCK): Likewise.
49580         (__ASSUME_PIPE2): Likewise.
49581         (__ASSUME_EVENTFD2): Likewise.
49582         (__ASSUME_SIGNALFD4): Likewise.
49583         (__ASSUME_DUP3): Likewise.
49584         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49585         (__ASSUME_DUP3): Do not define.
49586         (__ASSUME_EVENTFD2): Likewise.
49587         (__ASSUME_IN_NONBLOCK): Likewise.
49588         (__ASSUME_O_CLOEXEC): Likewise.
49589         (__ASSUME_PIPE2): Likewise.
49590         (__ASSUME_SIGNALFD4): Likewise.
49591         (__ASSUME_SOCK_CLOEXEC): Likewise.
49592         (__ASSUME_UTIMES): Undefine.
49593         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49594         (__ASSUME_UTIMES): Do not define.
49595         (__ASSUME_O_CLOEXEC): Likewise.
49596         (__ASSUME_SOCK_CLOEXEC): Likewise.
49597         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49598         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49599         0x020621].
49600         (__ASSUME_PIPE2): Likewise.
49601         (__ASSUME_EVENTFD2): Likewise.
49602         (__ASSUME_SIGNALFD4): Likewise.
49603         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49604         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49605         Do not define.
49606         (__ASSUME_EVENTFD2): Likewise.
49607         (__ASSUME_SIGNALFD4): Likewise.
49608         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49609         (__ASSUME_32BITUIDS): Likewise.
49610         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49611         (__ASSUME_IPC64): Likewise.
49612         (__ASSUME_ST_INO_64_BIT): Likewise.
49613         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49614         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49615         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49616         (__ASSUME_UTIMES): Do not define.
49617         (__ASSUME_PSELECT): Likewise.
49618         (__ASSUME_PPOLL): Likewise.
49619         (__ASSUME_O_CLOEXEC): Likewise.
49620         (__ASSUME_SOCK_CLOEXEC): Likewise.
49621         (__ASSUME_IN_NONBLOCK): Likewise.
49622         (__ASSUME_PIPE2): Likewise.
49623         (__ASSUME_EVENTFD2): Likewise.
49624         (__ASSUME_SIGNALFD4): Likewise.
49625         (__ASSUME_DUP3): Likewise.
49626         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49627         (__ASSUME_UTIMES): Likewise.
49628         (__ASSUME_O_CLOEXEC): Likewise.
49629         (__ASSUME_SOCK_CLOEXEC): Likewise.
49630         (__ASSUME_IN_NONBLOCK): Likewise.
49631         (__ASSUME_PIPE2): Likewise.
49632         (__ASSUME_EVENTFD2): Likewise.
49633         (__ASSUME_SIGNALFD4): Likewise.
49634         (__ASSUME_DUP3): Likewise.
49635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49636         (__ASSUME_UTIMES): Likewise.
49637         (__ASSUME_O_CLOEXEC): Likewise.
49638         (__ASSUME_SOCK_CLOEXEC): Likewise.
49639         (__ASSUME_IN_NONBLOCK): Likewise.
49640         (__ASSUME_PIPE2): Likewise.
49641         (__ASSUME_EVENTFD2): Likewise.
49642         (__ASSUME_SIGNALFD4): Likewise.
49643         (__ASSUME_DUP3): Likewise.
49644         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49645         Likewise.
49646         (__ASSUME_UTIMES): Likewise.
49647         (__ASSUME_EVENTFD2): Likewise.
49648         (__ASSUME_SIGNALFD4): Likewise.
49649         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49650         (__ASSUME_O_CLOEXEC): Likewise.
49651         (__ASSUME_SOCK_CLOEXEC): Likewise.
49652         (__ASSUME_IN_NONBLOCK): Likewise.
49653         (__ASSUME_PIPE2): Likewise.
49654         (__ASSUME_EVENTFD2): Likewise.
49655         (__ASSUME_SIGNALFD4): Likewise.
49656         (__ASSUME_DUP3): Likewise.
49657         (__ASSUME_UTIMES): Undefine.
49659         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49660         feclearexcept.  Remove symbol versioning code.
49661         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49662         symbol versioning code.
49663         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49664         symbol versioning code.
49665         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49666         feupdateenv.  Remove symbol versioning code.
49667         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49668         fegetexceptflag.  Remove symbol versioning code.
49669         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49670         fesetexceptflag.  Remove symbol versioning code.
49671         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49672         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49673         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49674         (__posix_fadvise64_l32): Remove prototype.
49675         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49676         code.
49678 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49680         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49681         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49682         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49683         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49685 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49687         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49688         current working directory
49690 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49692         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49693         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49694         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49695         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49696         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49697         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49698         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49699         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49700         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49701         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49702         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49703         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49704         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49705         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49706         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49707         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49708         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49709         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49710         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49711         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49712         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49713         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49714         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49715         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49716         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49717         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49718         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49719         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49720         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49721         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49722         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49723         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49724         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49725         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49726         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49727         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49728         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49729         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49730         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49731         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49732         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49733         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49735         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49736         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49738         * sysdeps/unix/sysv/linux/arm/Makefile
49739         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49740         Add rt-aeabi_unwind_cpp_pr1.
49741         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49742         Add nptl-aeabi_unwind_cpp_pr1.
49743         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49744         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49745         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49746         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49747         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49748         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49750         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49751         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49752         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49753         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49755         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49756         Deconditionalize the code that was previously under [RESET_PID].
49757         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49759         * sysdeps/generic/exit-thread.h: New file.
49760         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49761         * include/unistd.h (__exit_thread): Remove declaration.
49762         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49763         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49764         * csu/libc-start.c: Include <exit-thread.h>.
49765         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49766         * nptl/pthread_create.c: Include <exit-thread.h>.
49767         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49768         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49769         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49770         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49771         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49772         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49773         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49774         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49775         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49776         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49777         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49778         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49779         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49780         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49781         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49782         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49783         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49785 2014-05-13  Andreas Schwab  <schwab@suse.de>
49787         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49789 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49791         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49792         (__ASSUME_UTIMES): Do not condition on kernel version.
49793         (__ASSUME_PSELECT): Define unconditionally.
49794         (__ASSUME_PPOLL): Likewise.
49795         (__ASSUME_ATFCTS): Likewise.
49796         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49797         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49798         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49799         (__ASSUME_UTIMENSAT): Define unconditionally.
49800         (__ASSUME_PRIVATE_FUTEX): Likewise.
49801         (__ASSUME_FALLOCATE): Likewise.
49802         (__ASSUME_O_CLOEXEC): Likewise.
49803         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49804         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49805         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49806         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49807         (__ASSUME_IN_NONBLOCK): Likewise.
49808         (__ASSUME_PIPE2): Likewise.
49809         (__ASSUME_EVENTFD2): Likewise.
49810         (__ASSUME_SIGNALFD4): Likewise.
49811         (__ASSUME_DUP3): Likewise.
49812         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49813         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49814         (__ASSUME_AT_RANDOM): Likewise.
49815         (__ASSUME_PREADV): Likewise.
49816         (__ASSUME_PWRITEV): Likewise.
49817         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49818         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49819         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49820         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49821         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49822         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49823         (__ASSUME_O_CLOEXEC): Define unconditionally.
49824         (__ASSUME_PSELECT): Do not undefine conditionally.
49825         (__ASSUME_PPOLL): Likewise.
49826         (__ASSUME_ATFCTS): Likewise.
49827         (__ASSUME_SET_ROBUST_LIST): Likewise.
49828         (__ASSUME_UTIMENSAT): Likewise.
49829         (__ASSUME_FDATASYNC): Define unconditionally.
49830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49831         (__ASSUME_SIGFRAME_V2): Likewise.
49832         )__ASSUME_EVENTFD2): Likewise.
49833         (__ASSUME_SIGNALFD4): Likewise.
49834         (__ASSUME_PSELECT): Do not undefine conditionally.
49835         (__ASSUME_PPOLL): Likewise.
49836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49837         (__ASSUME_PSELECT): Define unconditionally.
49838         (__ASSUME_PPOLL): Likewise.
49839         (__ASSUME_O_CLOEXEC): Likewise.
49840         (__ASSUME_SOCK_CLOEXEC): Likewise.
49841         (__ASSUME_IN_NONBLOCK): Likewise.
49842         (__ASSUME_PIPE2): Likewise.
49843         (__ASSUME_EVENTFD2): Likewise.
49844         (__ASSUME_SIGNALFD4): Likewise.
49845         (__ASSUME_DUP3): Likewise.
49846         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49847         (__ASSUME_O_CLOEXEC): Likewise.
49848         (__ASSUME_SOCK_CLOEXEC): Likewise.
49849         (__ASSUME_IN_NONBLOCK): Likewise.
49850         (__ASSUME_PIPE2): Likewise.
49851         (__ASSUME_EVENTFD2): Likewise.
49852         (__ASSUME_SIGNALFD4): Likewise.
49853         (__ASSUME_DUP3): Likewise.
49854         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49855         (__ASSUME_EVENTFD2): Likewise.
49856         (__ASSUME_SIGNALFD4): Likewise.
49857         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49859 2014-05-12  Andreas Schwab  <schwab@suse.de>
49861         [BZ #16932]
49862         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49863         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49864         than maximum RPC packet size.
49865         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49866         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49867         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49868         (_nss_nis_getservbyport_r): Likewise.
49870 2014-05-12  Will Newton  <will.newton@linaro.org>
49872         * malloc/Makefile (tests): Add tst-mallopt.
49873         * malloc/tst-mallopt.c: New file.
49875 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49877         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49878         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49880 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49882         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49883         (tst-tlsmod6.so): Likewise.
49885 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49887         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49889 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49891         [BZ #16064]
49892         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49893         and <dl-procinfo.h>.
49894         (__fegetenv): Save SSE state in envp->__eip if supported.
49895         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49896         envp->__eip if supported.
49897         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49898         and <dl-procinfo.h>.
49899         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49900         __data_offset and __data_selector in environment to 0.  Set SSE
49901         state if supported.
49902         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49903         test-fenv-sse.
49904         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49905         -mfpmath=sse.
49906         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49908 2014-05-09  Will Newton  <will.newton@linaro.org>
49910         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49911         and libc_relro_required for ARM.
49912         * sysdeps/arm/preconfigure: Regenerate.
49914 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49915             Stefan Liebler  <stli@linux.vnet.ibm.com>
49917         * config.make.in (enable-lock-elision): New Makefile variable.
49918         * configure.ac: Likewise.
49919         * configure: Regenerate.
49920         * sysdeps/s390/configure.ac:
49921         Add check for gcc transactions support.
49922         * sysdeps/s390/configure: Regenerate.
49923         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49924         Build elision files if enabled.
49925         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49926         Add lock elision support for s390.
49927         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49928         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49929         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49930         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49931         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49932         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49933         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49934         Likewise.
49935         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49936         Likewise.
49937         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49938         Likewise.
49939         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49940         Likewise.
49941         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49942         (__lll_timedlock_elision, __lll_lock_elision)
49943         (__lll_unlock_elision, __lll_trylock_elision)
49944         (lll_timedlock_elision, lll_lock_elision)
49945         (lll_unlock_elision, lll_trylock_elision): Add.
49946         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49947         (pthread_mutex_t): Add lock elision support for s390.
49949 2014-05-14  Wilco  <wdijkstr@arm.com>
49951         * sysdeps/arm/fclrexcpt.c: Cleanup.
49952         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49953         * sysdeps/arm/feenablxcpt.c: Cleanup.
49954         * sysdeps/arm/fegetenv.c: Cleanup.
49955         * sysdeps/arm/fegetexcept.c: Cleanup.
49956         * sysdeps/arm/fegetround.c: Cleanup.
49957         * sysdeps/arm/feholdexcpt.c: Cleanup.
49958         * sysdeps/arm/fesetenv.c: Cleanup.
49959         * sysdeps/arm/fesetround.c: Cleanup.
49960         * sysdeps/arm/feupdateenv.c: Cleanup.
49961         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49962         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49963         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49964         * sysdeps/arm/ftestexcept.c: Cleanup.
49965         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49966         * sysdeps/arm/setfpucw.c: Cleanup.
49968 2014-05-09  Will Newton  <will.newton@linaro.org>
49970         * sysdeps/arm/armv7/strcmp.S: New file.
49971         * NEWS: Mention addition of ARMv7 optimized strcmp.
49973 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49975         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49976         look for %.ac rather than %.in.
49978         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49979         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49980         * sysdeps/mach/hurd/configure: Regenerated.
49981         * sysdeps/unix/sysv/linux/configure: Regenerated.
49983         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49985 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49987         [BZ #16922]
49988         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49989         (LONG_SUB): Ditto.
49990         (PTR_SUB): Ditto.
49992 2014-05-07  Andreas Schwab  <schwab@suse.de>
49994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49995         when skipping over non-matching result from nscd.
49997 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49999         [BZ #16876]
50000         * nptl/sockperf.c (client): Check socket return value.
50002         [BZ #16877]
50003         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50004         nscd security class.
50006 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50008         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50009         * sysdeps/arm/unwind.h: ... here.
50011 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50013         [BZ #16916]
50014         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50015         Define.
50017 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50019         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50020         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50021         multiarch strncpy for PPC64.
50022         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50023         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50025         multiarch optimizations.
50026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50027         (__libc_ifunc_impl_list): Likewise.
50028         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50029         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50030         multiarch stpncpy for PPC64.
50031         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50034 2014-05-06  Andreas Schwab  <schwab@suse.de>
50036         [BZ #16912]
50037         * gmon/mcount.c (_MCOUNT_DECL): Use
50038         atomic_compare_and_exchange_bool_acq instead of
50039         catomic_compare_and_exchange_bool_acq.
50041 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50043         * elf/Makefile (others, install-bin): Remove pldd.
50044         (pldd-modules): Variable removed.
50045         ($(objpfx)pldd): Target removed.
50046         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50047         (others, install-bin): Append pldd here.
50048         ($(objpfx)pldd): New target.
50050         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50051         to 0, so the first #if test emitted later doesn't see it undefined.
50052         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50053         * sysdeps/gnu/errlist.c: Regenerated.
50055 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50057         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50058         [libc_hidden_builtin_def]: Define to empty value.
50059         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50060         [libc_hidden_builtin_def]: Likewise.
50061         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50062         [libc_hidden_builtin_def]: Likewise.
50063         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50064         [libc_hidden_builtin_def]: Likewise.
50065         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50066         __redirect_memcpy and define ifunc as default hidden symbol.
50067         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50068         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50070 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50072         * locale/iso-4217.def: Reintroduce XDR currency.
50074 2014-05-04  Allan McRae  <allan@archlinux.org>
50076         * po/eo.po: Update Esperanto translation from translation project.
50078 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50080         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50081         and FEATURE_INDEX_MAX to 1.
50082         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50084 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50086         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50087         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50088         * iconvdata/big5.c (ONE_DIRECTION): Define.
50089         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50090         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50091         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50092         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50093         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50094         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50095         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50096         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50097         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50098         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50099         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50100         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50101         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50102         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50103         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50104         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50105         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50106         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50107         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50108         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50109         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50110         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50111         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50112         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50113         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50114         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50115         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50116         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50117         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50118         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50119         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50120         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50121         * iconvdata/johab.c (ONE_DIRECTION): Define.
50122         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50123         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50124         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50125         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50126         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50127         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50128         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50129         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50130         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50131         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50133 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50135         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50136         (_IO_JUMPS_OFFSET): Define to 0.
50138         * nptl/sysdeps/pthread/bits/libc-lock.h
50139         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50140         (__libc_lock_define_initialized_recursive): Always define using
50141         initializer.  Modern compilers treat uninitialized (implicit zero) and
50142         explicit zero initializers the same (i.e. put the datum in bss).
50144 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50146         * nscd/nscd-client.h: Include <string.h>.
50148 2014-05-01  David S. Miller  <davem@davemloft.net>
50150         [BZ #16885]
50151         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50152         multiple zero bytes exist at the end of a string.
50153         Reported by Aurelien Jarno <aurelien@aurel32.net>
50155         * string/test-strcmp.c (check): Add explicit test for situations where
50156         there are multiple zero bytes after the first.
50158 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50160         [BZ #16890]
50161         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50162         when compiling wprintf.
50163         * stdio-common/tstdiomisc.c (t3): New function.
50164         (main): Call it.
50166 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50168         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50169         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50170         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50171         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50173 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50175         * stdlib/longlong.h: Updated from GCC.
50177 2014-05-01  Will Newton  <will.newton@linaro.org>
50178             Bernard Ogden  <bernie.ogden@linaro.org>
50180         * NEWS: Update fixed bug list.
50182         [BZ #15119]
50183         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50185 2014-04-30  David S. Miller  <davem@davemloft.net>
50187         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50188         (libc_feholdexcept_setround_sparc_ctx): New function.
50189         (libc_fesetenv_sparc_ctx): Likewise.
50190         (libc_feupdateenv_sparc_ctx): Likewise.
50191         (libc_feholdsetround_sparc_ctx): Likewise.
50192         (libc_feholdexcept_setround_ctx): Define.
50193         (libc_feholdexcept_setroundf_ctx): Likewise.
50194         (libc_feholdexcept_setroundl_ctx): Likewise.
50195         (libc_fesetenv_ctx): Likewise.
50196         (libc_fesetenvf_ctx): Likewise.
50197         (libc_fesetenvl_ctx): Likewise.
50198         (libc_feupdateenv_ctx): Likewise.
50199         (libc_feupdateenvf_ctx): Likewise.
50200         (libc_feupdateenvl_ctx): Likewise.
50201         (libc_feresetround_ctx): Likewise.
50202         (libc_feresetroundf_ctx): Likewise.
50203         (libc_feresetroundl_ctx): Likewise.
50204         (libc_feholdsetround_ctx): Likewise.
50205         (libc_feholdsetroundf_ctx): Likewise.
50206         (libc_feholdsetroundl_ctx): Likewise.
50208         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50209         with __USE_GNU instead of XOPEN cpp guards.
50211         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50212         0.
50214         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50215         with XOPEN cpp guards.
50217 2014-04-30  Julian Brown  <julian@codesourcery.com>
50219         [BZ #16888]
50220         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50221         handling.
50223 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50225         [BZ #9894]
50226         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50227         Change to 2.6.32.
50228         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50229         * sysdeps/unix/sysv/linux/configure: Regenerated.
50230         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50231         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50232         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50233         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50234         * README: Update reference to required Linux kernel version.
50235         * manual/install.texi (Linux): Update reference to required Linux
50236         kernel headers version.
50237         * INSTALL: Regenerated.
50239         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50240         header inclusion.
50241         [POSIX] (limits.h): Likewise.
50242         [POSIX] (math.h): Likewise.
50243         [POSIX] (sys/wait.h): Likewise.
50244         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50245         function.
50246         [POSIX] (stddef.h): Do not allow header inclusion.
50248 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50250         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50252 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50254         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50255         Return immediately after lll_futex_wake.
50257 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50259         [BZ #16791]
50260         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50261         structure.
50262         (datahead_init_pos): Call datahead_init_common early.
50263         (datahead_init_neg): Likewise.
50265         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50266         datahead_init_neg): New functions.
50267         * nscd/aicache.c (addhstaiX): Use them.
50268         * nscd/grpcache.c (cache_addgr): Likewise.
50269         * nscd/hstcache.c (cache_addhst): Likewise.
50270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50271         * nscd/netgroupcache.c (do_notfound): Likewise.
50272         (addgetnetgrentX): Likewise.
50273         (addinnetgrX): Likewise.
50274         * nscd/pwdcache.c (cache_addpw): Likewise.
50275         * nscd/servicescache.c (cache_addserv): Likewise.
50277 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50278             Atsushi Onoe  <atsushi@onoe.org>
50280         [BZ #14308]
50281         [BZ #12994]
50282         [BZ #13651]
50283         * resolv/res_query.c (__libc_res_nsearch): Return if at least
50284         one response is valid.
50285         * resolv/res_send.c (send_dg): Check for validity of other
50286         response if the current response is a referral.
50288 2014-04-29  Steve Ellcey  <sellcey@mips.com>
50290         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50292 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
50294         [BZ #16823]
50295         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50296         Always divide by positive zero when computing -Inf result.
50297         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50298         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50300 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50302         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50303         FPSCR if value do not change.
50304         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50305         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50306         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50307         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50308         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50309         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50310         function.
50312 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
50314         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50315         * sysdeps/unix/sysv/linux/hppa: Move directory from
50316         ports/systeps/unix/sysv/linux/hppa.
50317         * README: Update listing for hppa-*-linux-gnu.
50319 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
50321         [BZ #16754]
50322         * manual/stdio.texi (Hook functions): Fix types of stream hook
50323         functions.
50324         [BZ #16854]
50325         * socket/sys/socket.h: Fix typo in comment.
50327 2014-04-28  Wilco  <wdijkstr@arm.com>
50329         * sysdeps/arm/fenv_private.h: New file.
50330         * sysdeps/arm/math_private.h: New file.
50331         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50333 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
50335         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50336         with __int128_t.
50337         (La_x86_64_retval): Likewise.
50339 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
50341         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50342         fpsr if value didn't change.
50343         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50344         to fpcr if value didn't change.
50345         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50346         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50347         fpsr or fpcr if value didn't change.
50348         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50349         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50350         fpcr if value didn't change.
50351         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50352         to fpsr if value didn't change.
50354 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50356         * nptl/tst-sem3.c: Use test-skeleton.c
50357         (main): Rename to do_test.  Use return instead of
50358         exit.
50359         * nptl/tst-sem4.c: Use test-skeleton.c
50360         (main): Rename to do_test.
50362 2014-04-22  David S. Miller  <davem@davemloft.net>
50364         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50365         (struct sigaction): New struct member __glibc_reserved0, change
50366         type of sa_flags to int.
50368 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
50370         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50371         (COUNT_LEADING_ZEROS_0): Define for AArch64.
50373 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50375         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50376         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50378 2014-04-22  Will Newton  <will.newton@linaro.org>
50379             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50381         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50382         (__longjmp): Add longjmp and longjmp_target SystemTap
50383         probes.
50384         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50385         (__sigsetjmp): Add setjmp SystemTap probe.
50387 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50389         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50390         match manual order.
50392 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50394         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50396         * sysdeps/powerpc/fpu/fenv_private.h
50397         (libc_feholdexcept_setroundl_ctx): Define to
50398         libc_feholdexcept_setround_ppc_ctx.
50399         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50400         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50401         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50402         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50404 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50406         * sysdeps/aarch64/math-tests.h: New file.
50408 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50410         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50411         New.
50412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50413         Check and set bit_AVX2_Usable.
50414         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50415         macro.
50416         (bit_AVX2): Likewise.
50417         (index_AVX2_Usable): Likewise.
50418         (CPUID_AVX2): Likewise.
50419         (HAS_AVX2): Likewise.
50421 2014-04-17  Will Newton  <will.newton@linaro.org>
50423         * manual/setjmp.texi (System V contexts): Add note that
50424         calling setcontext on a context created by a call to a
50425         signal handler is undefined.  Update text to note that
50426         setcontext from a signal handler is possible but not
50427         recommended.
50429         [BZ #16629]
50430         * stdlib/tst-setcontext.c: Include signal.h.
50431         (main): Check that the signal stack before and
50432         after swapcontext is the same.
50434         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50435         Re-implement to restore registers in user code and avoid
50436         rt_sigreturn system call.
50438 2014-04-17  Wilco  <wdijkstr@arm.com>
50440         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50441         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50442         * math/test-fenv.c: Skip exception trap tests on targets which only
50443         support non-stop mode.
50445 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50446             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50448         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50449         (libc_feholdsetround_aarch64_ctx)
50450         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50451         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50452         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50453         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50454         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50455         (libc_feresetround_noexl_ctx): Define.
50457 2014-04-16  Richard Henderson  <rth@redhat.com>
50459         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50461         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50462         unwind tables.
50464         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50465         const from the non-libc, non-ldso copy.
50467         * sysdeps/alpha/libm-test-ulps: Regenerate.
50469 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50470             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50472         * sysdeps/aarch64/fpu/math_private.h: New file.
50474 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50476         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50478 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50480         [BZ #16275]
50481         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50482         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50484         Intel MPX bound registers before _dl_profile_fixup.
50485         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50486         registers after _dl_profile_fixup.  Save and restore bound
50487         registers bnd0/bnd1 when calling _dl_call_pltexit.
50488         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50489         (LR_BND_OFFSET): Likewise.
50490         (LRV_BND0_OFFSET): Likewise.
50491         (LRV_BND1_OFFSET): Likewise.
50493 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50495         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50496         to...
50497         * sysdeps/mach/hurd/i386/tls.h: ... here.
50498         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50499         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50500         fields.
50502 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50504         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50506 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50508         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50510 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50512         [BZ #14770]
50513         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50514         * sysdeps/s390/configure: Regenerate.
50516         [BZ #16824]
50517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50518         Set round-to-nearest internally to reduce error accumulation.
50520 2014-04-16  Alan Modra  <amodra@gmail.com>
50522         [BZ #16740]
50523         [BZ #16619]
50524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50525         * math/libm-test.inc (frexp_test_data): Add tests.
50526         * NEWS: Update fixed bug list.
50528 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50530         * benchtests/Makefile: Depend on libraries in build directory.
50531         (bench-math): Separate out math tests.
50532         (bench-pthread): Separate out pthread tests.
50533         (bench): Include math and pthread tests.
50535 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50537         [BZ #16831]
50538         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50539         _dl_debug_initialize.
50541         * configure.ac: Remove SELinux header check.
50542         * configure: Regenerate.
50543         * nscd/selinux.c (perms): Array of const char* to permission names.
50544         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50545         default policy. Call string_to_security_class and string_to_av_perm to
50546         translate strings. Enforce default policy and call avs_has_perm with
50547         results of translated strings.
50549 2014-04-13  David S. Miller  <davem@davemloft.net>
50551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50553 2014-04-12  Allan McRae  <allan@archlinux.org>
50555         [BZ #16838]
50556         * manual/string.texi (Collation Functions): Fix qsort argument
50557         order in example.
50558         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50560 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50562         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50563         Make the test a no-op if there are no exceptions defined.
50565 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50567         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50568         enable-hardcoded-path-in-tests
50570 2014-04-11  Will Newton  <will.newton@linaro.org>
50572         * benchtests/Makefile (extra-objs): Add json-lib.o.
50573         (bench-func): Tidy up JSON output.
50574         * benchtests/bench-skeleton.c: Include json-lib.h.
50575         (main): Use JSON library functions to do output of
50576         benchmark results.
50577         * benchtests/bench-timing-type.c (main): Output the
50578         timing type simply, leaving formatting to the user.
50579         * benchtests/json-lib.c: New file.
50580         * benchtests/json-lib.h: Likewise.
50582 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50584         [BZ #15215]
50585         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50586         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50587         memory barriers.  Add comments.
50588         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50589         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50590         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50591         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50592         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50593         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50595 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50597         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50598         * sysdeps/s390/s390-64/configure.ac: ... this ...
50599         * sysdeps/s390/configure.ac: ... to here.
50600         * sysdeps/s390/s390-32/configure: Delete file.
50601         * sysdeps/s390/s390-64/configure: Delete file.
50602         * sysdeps/s390/configure: Regenerate.
50604 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50606         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50608 2014-04-11  Will Newton  <will.newton@linaro.org>
50610         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50611         to zero if it is not defined elsewhere.  (mtrim): Test
50612         the value of MALLOC_DEBUG with #if rather than #ifdef.
50614 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50616         * benchtests/pthread_once-inputs: New file.
50617         * benchtests/pthread_once-source.c: New file.
50618         * benchtests/README: Update documentation.
50620 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50621             H.J. Lu  <hongjiu.lu@intel.com>
50623         [BZ #16275]
50624         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50625         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50626         * sysdeps/x86_64/configure: Regenerated.
50627         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50628         macro.
50629         (REGISTER_SAVE_RAX): Likewise.
50630         (REGISTER_SAVE_RCX): Likewise.
50631         (REGISTER_SAVE_RDX): Likewise.
50632         (REGISTER_SAVE_RSI): Likewise.
50633         (REGISTER_SAVE_RDI): Likewise.
50634         (REGISTER_SAVE_R8): Likewise.
50635         (REGISTER_SAVE_R9): Likewise.
50636         (REGISTER_SAVE_BND0): Likewise.
50637         (REGISTER_SAVE_BND1): Likewise.
50638         (REGISTER_SAVE_BND2): Likewise.
50639         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50640         bound registers when calling _dl_fixup.
50642 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50644         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50645         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50646         of its definition.
50647         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50648         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50649         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50650         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50651         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50652         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50653         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50655 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50657         [BZ #15514]
50658         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50659         pathconf(_PC_NAME_MAX).
50661 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50663         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50664         Remove macro usage.
50665         (__PTHREAD_SPINS): Move definition to ...
50666         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50667         (__PTHREAD_SPINS): ... here.
50668         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50669         (__PTHREAD_SPIN): Likewise.
50670         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50671         (__PTHREAD_SPIN): Likewise.
50672         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50673         (__PTHREAD_SPIN): Likewise.
50674         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50675         (__PTHREAD_SPIN): Likewise.
50676         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50677         (__PTHREAD_SPIN): Likewise.
50678         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50679         (__PTHREAD_SPIN): Likewise.
50680         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50681         (__PTHREAD_SPIN): Likewise.
50682         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50683         (__PTHREAD_SPIN): Likewise.
50684         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50685         (__PTHREAD_SPIN): Likewise.
50686         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50687         (__PTHREAD_SPIN): Likewise.
50688         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50689         (__PTHREAD_SPIN): Likewise.
50690         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50691         (__PTHREAD_SPIN): Likewise.
50693         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50694         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50695         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50696         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50697         imply folder.
50698         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50699         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50700         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50701         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50702         correct imply path.
50703         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50704         strlen symbol for non multi-arch builds.
50705         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50706         missing hidden_def and weak_alias.
50708 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50710         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50712 2014-04-07  Will Newton  <will.newton@linaro.org>
50714         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50715         and contents.  [!_LIBC] Remove #ifndef and contents.
50716         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50717         * string/memccpy.c (__memccpy): Use ANSI prototype.
50718         * string/memfrob.c (memfrob): Likewise.
50719         * string/strcoll.c (STRCOLL): Likewise.
50720         * string/strlen.c (strlen): Likewise.
50721         * string/strtok.c (STRTOK): Likewise.
50722         * string/strcat.c: Remove unused #include of memcopy.h.
50723         (strcat): Use ANSI prototype.
50724         * string/strchr.c: Remove unused #include of memcopy.h.
50725         (strchr): Use ANSI prototype.
50726         * string/strcmp.c: Remove unused #include of memcopy.h.
50727         (strcmp): Use ANSI prototype.
50728         * string/strcpy.c: Remove unused #include of memcopy.h.
50729         (strcpy): Use ANSI prototype.
50731 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50733         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50734         * config.make.in (config-extra-cppflags): Set it from
50735         libc_extra_cppflags.
50736         * configure.ac (libc_extra_cflags): Make it accumulate over
50737         configure fragments.
50738         (libc_extra_cppflags): New flag.
50739         * configure. Regenerate.
50740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50741         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50742         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50745         [BZ #16815]
50746         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50747         result for FE_DOWNWARD rounding mode.
50748         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50749         Likewise.
50750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50752 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50754         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50755         in function argument name.
50757 2014-04-03  David Svoboda  <svoboda@cert.org>
50759         [BZ #5666]
50760         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50761         explicitly.
50763 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50765         * elf/dl-unmap-segments.h: New file.
50766         * sysdeps/generic/ldsodefs.h
50767         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50768         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50769         * elf/dl-fptr.c: Likewise.
50770         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50771         * sysdeps/aarch64/tlsdesc.c: Likewise.
50772         * sysdeps/arm/tlsdesc.c: Likewise.
50773         * sysdeps/i386/tlsdesc.c: Likewise.
50774         * sysdeps/tile/dl-runtime.c: Likewise.
50775         * sysdeps/x86_64/tlsdesc.c: Likewise.
50776         * elf/dl-load.h: New file.
50777         * elf/dl-load.c: Include it.
50778         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50779         Macros moved to dl-load.h.
50780         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50781         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50782         Use _dl_unmap_segments in place of __munmap.
50783         Break out segment-mapping loop into ...
50784         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50786 2014-04-03  Will Newton  <will.newton@linaro.org>
50788         * elf/dl-lookup.c (do_lookup_x): Remove comment
50789         referring to nested function and move variable
50790         declarations down to before first use.
50792 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50794         [BZ #16799]
50795         [BZ #16800]
50796         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50797         with 0 numerator.
50798         * math/s_catanf.c (__catanf): Likewise.
50799         * math/s_catanh.c (__catanh): Likewise.
50800         * math/s_catanhf.c (__catanhf): Likewise.
50801         * math/s_catanhl.c (__catanhl): Likewise.
50802         * math/s_catanl.c (__catanl): Likewise.
50803         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50804         by positive zero when computing -Inf result.
50805         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50806         (catanh_test): Likewise.
50807         * sysdeps/i386/fpu/libm-test-ulps: Update.
50808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50810         [BZ #16789]
50811         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50812         instead of using underflowing value in computing result.
50813         * math/s_clog10.c (__clog10): Likewise.
50814         * math/s_clog10f.c (__clog10f): Likewise.
50815         * math/s_clog10l.c (__clog10l): Likewise.
50816         * math/s_clogf.c (__clogf): Likewise.
50817         * math/s_clogl.c (__clogl): Likewise.
50818         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50819         (clog10_test): Likewise.
50820         * sysdeps/i386/fpu/libm-test-ulps: Update.
50821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50823 2014-04-02  Alan Modra  <amodra@gmail.com>
50825         [BZ #16739]
50826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50827         output when value is near a power of two.  Use int64_t for lx and
50828         remove casts.  Use decimal rather than hex exponent constants.
50829         Don't use long double multiplication when double will suffice.
50830         * math/libm-test.inc (nextafter_test_data): Add tests.
50831         * NEWS: Add 16739 and 16786 to bug list.
50833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50835         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50837 2014-04-01  Will Newton  <will.newton@linaro.org>
50839         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50840         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50842 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50844         [BZ #13347]
50845         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50846         * nptl/tst-setuid2.c: New file.
50847         * nptl/Makefile (xtests): Add tst-setuid2.
50849 2014-04-01  Alan Modra  <amodra@gmail.com>
50851         [BZ #16786]
50852         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50854 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50856         [BZ #6803]
50857         [BZ #6804]
50858         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50859         set errno as appropriate.
50860         * math/w_scalbf.c (__scalbf): Likewise.
50861         * math/w_scalbl.c (__scalbl): Likewise.
50862         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50863         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50864         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50865         Add more NaN tests.
50867         [BZ #16349]
50868         * math/w_atan2.c: Include <errno.h>.
50869         (__atan2): Set errno for result underflowing to zero.
50870         * math/w_atan2f.c: Include <errno.h>.
50871         (__atan2f): Set errno for result underflowing to zero.
50872         * math/w_atan2l.c: Include <errno.h>.
50873         (__atan2l): Set errno for result underflowing to zero.
50874         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50875         tests.
50876         * math/auto-libm-test-out: Regenerated.
50878 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50880         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50881         Encode instruction correctly in little endian.
50882         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50883         Likewise.
50884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50885         Likewise.
50886         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50887         Likewise.
50888         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50889         Likewise.
50891 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50893         [BZ #9894]
50894         * sysdeps/unix/sysv/linux/kernel-features.h
50895         [__sparc__ && !__arch64__ && !__sparc_v9__]
50896         (__ASSUME_SET_ROBUST_LIST): Do not define.
50897         [__sparc__ && !__arch64__ && !__sparc_v9__]
50898         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50899         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50900         Likewise.
50901         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50902         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50903         (__ASSUME_REQUEUE_PI): Likewise.
50904         (__ASSUME_SET_ROBUST_LIST): Likewise.
50905         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50906         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50907         Undefine.
50908         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50909         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50910         Likewise.
50911         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50912         Likewise.
50913         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50914         Likewise.
50915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50916         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50917         Undefine.
50918         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50919         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50920         Likewise.
50922         [BZ #16648]
50923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50924         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50925         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50927 2014-03-31  Will Newton  <will.newton@linaro.org>
50929         * benchtests/Makefile (bench): Add ffs and ffsll to list
50930         of tests.
50931         * benchtests/ffs-inputs: New file.
50932         * benchtests/ffsll-inputs: Likewise.
50934 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50936         [BZ #16770]
50937         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50938         too large before casting to int.
50939         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50940         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50941         * math/libm-test.inc (scalb_test_data): Add more tests.
50943 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50945         * benchtests/Makefile (DETAILED_OPT): New make option.
50946         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50947         set.
50948         * benchtests/bench-skeleton.c: Include stdbool.h.
50949         (main): Store and print timings per input.
50950         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50951         member to each argument value.
50952         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50953         (_print_arg_data): Initialize per-input timing to 0.
50955         * benchtests/Makefile (timing-type): New binary.
50956         (bench-clean): Also remove bench-timing-type.
50957         (bench): New target for timing-type.
50958         (bench-func): Print output in JSON format.
50959         * benchtests/bench-skeleton.c (main): Print output in JSON
50960         format.
50961         * benchtests/bench-timing-type.c: New file.
50962         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50963         (TIMING_PRINT_STATS): Remove.
50964         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50965         name separately.
50967         * benchtests/bench-modf.c: Remove.
50968         * benchtests/modf-inputs: New inputs file.
50970 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50972         [BZ #16362]
50973         * math/s_clog10.c (M_PI_LOG10E): New macro.
50974         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50975         imaginary parts are 0.
50976         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50977         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50978         imaginary parts are 0.
50979         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50980         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50981         imaginary parts are 0.
50982         * math/libm-test.inc (clog10_test_data): Update expected results
50983         for when real and imaginary parts are 0.
50985 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50987         * elf/dl-load.c: Finish conversion of __builtin_expect into
50988         __glibc_{un}likely.
50990 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50992         [BZ #16348]
50993         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50994         1+x for argument with exponent below -67.
50995         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50996         Likewise.
50997         * math/auto-libm-test-in: Add more tests of exp.
50998         * math/auto-libm-test-out: Regenerated.
51000 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51002         [BZ #16759]
51003         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51004         (nscd_getnetgrent): Use it.
51006         [BZ #16760]
51007         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51008         of stpcpy.
51010 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51012         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51013         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51014         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51015         (lll_robust_unlock): Remove out of line section. Use cfi
51016         intrinsics.
51017         (LLL_STUB_UNWIND_INFO*): Remove.
51018         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51019         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51020         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51021         (lll_robust_unlock): Remove out of line section. Use cfi
51022         intrinsics.
51023         (LLL_STUB_UNWIND_INFO*): Remove.
51025 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51027         [BZ #16758]
51028         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51029         blank values.
51031 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51033         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51035 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51037         [BZ #16198]
51038         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51039         fnstenv.
51040         * math/test-fenv-preserve.c: New file.
51041         * math/Makefile (tests): Add test-fenv-preserve.
51043 2014-03-26  Will Newton <will.newton@linaro.org>
51045         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51047 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51049         * scripts/versionlist.awk: Partition the version sets and emit all
51050         GLIBC_* (sorted) before all others (sorted).
51052 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51054         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51055         GLIBC_2.2.5 version.
51057 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51059         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51060         calls.
51062         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51063         previous change.
51065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51067 2014-03-25  Andreas Schwab  <schwab@suse.de>
51069         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51070         label to be used after in6ailist is initialized.
51072 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51074         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51075         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51077 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51079         [BZ #16357]
51080         [BZ #16599]
51081         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51082         min_plus_half.
51083         (fp_formats): Update initializers.
51084         (init_fp_formats): Initialize new field.
51085         (output_for_one_input_case): Allow underflow for results up to
51086         min_plus_half.
51087         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51088         * math/auto-libm-test-in: Don't mark some underflows from asin and
51089         atanh as spurious.
51090         * math/auto-libm-test-out: Regenerated.
51091         * sysdeps/i386/fpu/libm-test-ulps: Update.
51092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51094 2014-03-25  Andreas Schwab  <schwab@suse.de>
51096         * libio/Makefile (tst-ftell-partial-wide-ENV)
51097         (tst-ftell-active-handler-ENV): Define.
51099 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51101         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51103 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51105         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51107 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51109         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51110         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51111         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51113 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51115         [BZ #16634]
51116         * elf/dl-load.c (open_verify): Add mode parameter.
51117         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51118         (open_path): Change from boolean 'secure' to complete flag 'mode'
51119         (_dl_map_object): Adjust.
51120         * elf/Makefile (tests): Add tst-dlopen-aout.
51121         * elf/tst-dlopen-aout.c: New test.
51123 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51125         [BZ #16714]
51126         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51127         (struct stat): Rename member pad0 to __glibc_reserved0.
51129         [BZ #16712]
51130         * sysdeps/s390/s390-32/bits/wordsize.h
51131         (__WORDSIZE32_SIZE_ULONG): New define.
51132         * sysdeps/s390/s390-64/bits/wordsize.h
51133         (__WORDSIZE32_SIZE_ULONG): Likewise.
51134         * sysdeps/generic/stdint.h (SIZE_MAX):
51135         Define as UL if __WORDSIZE32_SIZE_ULONG.
51137         [BZ #16713]
51138         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51139         (__glibc_reserved0): New variable.
51140         (sa_flags): Change type to int.
51142         * posix/Makefile (before-compile): Use += before-compile instead
51143         of a :=.
51145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51146         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51148 2014-03-20  Andreas Schwab  <schwab@suse.de>
51150         [BZ #16743]
51151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51152         non-matching result from nscd.
51154 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51156         * scripts/bench.py: Moved to ...
51157         * benchtests/scripts/bench.py: ... here.
51158         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51160 2014-03-24  Andreas Schwab  <schwab@suse.de>
51162         [BZ #16002]
51163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51164         alloca_account and account alloca use for struct in6ailist.
51166 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51168         [BZ #16284]
51169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51170         rounding mode to recompute results that overflow to infinity or
51171         underflow to zero.
51172         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51173         bug 16284.
51174         * math/auto-libm-test-out: Regenerated.
51175         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51176         (ccosh_test): Likewise.
51177         (csin_test_data): Use plus_oflow.
51178         (csin_test): Use ALL_RM_TEST.
51179         (csinh_test_data): Use plus_oflow.
51180         (csinh_test): Use ALL_RM_TEST.
51181         * sysdeps/i386/fpu/libm-test-ulps: Update.
51182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51184 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51186         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51187         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51188         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51190         [BZ #16731]
51191         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51192         when x - 1 is zero.
51193         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51194         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51195         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51196         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51197         argument is 1.
51198         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51199         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51200         zero.
51201         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51202         * sysdeps/i386/fpu/libm-test-ulps: Update.
51203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51205 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51207         * scripts/bench.pl: Remove file.
51208         * scripts/bench.py: New benchmark script.
51209         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51210         * benchtests/README: Mention python dependency.
51211         * scripts/pylintrc: New file.
51212         * scripts/pylint: New file.
51214         * bits/mathdef.h: Use #ifdef instead of #if.
51215         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51216         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51217         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51218         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51219         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51220         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51222 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51223             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51225         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51227         and strpbrk-ppc64 objects.
51228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51229         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51230         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51231         multiarch strpbrk for POWER7.
51232         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51233         multiarch strpbrk for PPC64.
51234         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51235         ifunc selector.
51236         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51237         strpbrk for POWER7.
51239 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51241         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51242         (atan_test): Likewise.
51243         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51244         (atanh_test): Use ALL_RM_TEST.
51245         (atan2_test_data): Likewise.
51246         (cabs_test): Likewise.
51247         (cacosh_test): Likewise.
51248         (carg_test): Likewise.
51249         (casin_test): Likewise.
51250         (casinh_test): Likewise.
51251         (cbrt_test): Likewise.
51252         (csqrt_test): Likewise.
51253         (erf_test): Likewise.
51254         (erfc_test): Likewise.
51255         (pow10_test): Likewise.
51256         (exp2_test): Likewise.
51257         (hypot_test): Likewise.
51258         (j0_test): Likewise.
51259         (j1_test): Likewise.
51260         (lgamma_test): Likewise.
51261         (gamma_test): Likewise.
51262         (sincos_test): Likewise.
51263         (tanh_test): Likewise.
51264         (y0_test): Likewise.
51265         (y1_test): Likewise.
51266         * sysdeps/i386/fpu/libm-test-ulps: Update.
51267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51269 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51271         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51273         and strcspn-ppc64 objects.
51274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51275         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51276         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51277         multiarch strcspn for POWER7.
51278         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51279         multiarch strcspn for PPC64.
51280         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51281         ifunc selector.
51282         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51283         strcspn for POWER7.
51285 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51287         * math/gen-libm-test.pl (generate_testfile): Expect only function
51288         name as argument to AUTO_TESTS_* and pass results for all rounding
51289         modes to parse_args.
51290         (parse_auto_input): Separate inputs of automatic tests from
51291         outputs before storing in %auto_tests.
51292         * math/libm-test.inc (acos_test_data): Update call to
51293         AUTO_TESTS_f_f.
51294         (acos_test): Use ALL_RM_TEST.
51295         (acos_tonearest_test_data): Remove.
51296         (acos_test_tonearest): Likewise.
51297         (acos_towardzero_test_data): Likewise.
51298         (acos_test_towardzero): Likewise.
51299         (acos_downward_test_data): Likewise.
51300         (acos_test_downward): Likewise.
51301         (acos_upward_test_data): Likewise.
51302         (acos_test_upward): Likewise.
51303         (acosh_test_data): Update call to AUTO_TESTS_f_f.
51304         (asin_test_data): Likewise.
51305         (asin_test): Use ALL_RM_TEST.
51306         (asin_tonearest_test_data): Remove.
51307         (asin_test_tonearest): Likewise.
51308         (asin_towardzero_test_data): Likewise.
51309         (asin_test_towardzero): Likewise.
51310         (asin_downward_test_data): Likewise.
51311         (asin_test_downward): Likewise.
51312         (asin_upward_test_data): Likewise.
51313         (asin_test_upward): Likewise.
51314         (asinh_test_data): Update call to AUTO_TESTS_f_f.
51315         (atan_test_data): Likewise.
51316         (atanh_test_data): Likewise.
51317         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51318         (cabs_test_data): Update call to AUTO_TESTS_c_f.
51319         (carg_test_data): Likewise.
51320         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51321         (ccos_test_data): Update call to AUTO_TESTS_c_c.
51322         (ccosh_test_data): Likewise.
51323         (cexp_test_data): Likewise.
51324         (clog_test_data): Likewise.
51325         (clog10_test_data): Likewise.
51326         (cos_test_data): Update call to AUTO_TESTS_f_f.
51327         (cos_test): Use ALL_RM_TEST.
51328         (cos_tonearest_test_data): Remove.
51329         (cos_test_tonearest): Likewise.
51330         (cos_towardzero_test_data): Likewise.
51331         (cos_test_towardzero): Likewise.
51332         (cos_downward_test_data): Likewise.
51333         (cos_test_downward): Likewise.
51334         (cos_upward_test_data): Likewise.
51335         (cos_test_upward): Likewise.
51336         (cosh_test_data): Update call to AUTO_TESTS_f_f.
51337         (cosh_test): Use ALL_RM_TEST.
51338         (cosh_tonearest_test_data): Remove.
51339         (cosh_test_tonearest): Likewise.
51340         (cosh_towardzero_test_data): Likewise.
51341         (cosh_test_towardzero): Likewise.
51342         (cosh_downward_test_data): Likewise.
51343         (cosh_test_downward): Likewise.
51344         (cosh_upward_test_data): Likewise.
51345         (cosh_test_upward): Likewise.
51346         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51347         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51348         (ctan_test_data): Likewise.
51349         (ctan_test): Use ALL_RM_TEST.
51350         (ctan_tonearest_test_data): Remove.
51351         (ctan_test_tonearest): Likewise.
51352         (ctan_towardzero_test_data): Likewise.
51353         (ctan_test_towardzero): Likewise.
51354         (ctan_downward_test_data): Likewise.
51355         (ctan_test_downward): Likewise.
51356         (ctan_upward_test_data): Likewise.
51357         (ctan_test_upward): Likewise.
51358         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51359         (ctanh_test): Use ALL_RM_TEST.
51360         (ctanh_tonearest_test_data): Remove.
51361         (ctanh_test_tonearest): Likewise.
51362         (ctanh_towardzero_test_data): Likewise.
51363         (ctanh_test_towardzero): Likewise.
51364         (ctanh_downward_test_data): Likewise.
51365         (ctanh_test_downward): Likewise.
51366         (ctanh_upward_test_data): Likewise.
51367         (ctanh_test_upward): Likewise.
51368         (erf_test_data): Update call to AUTO_TESTS_f_f.
51369         (erfc_test_data): Likewise.
51370         (exp_test_data): Likewise.
51371         (exp_test): Use ALL_RM_TEST.
51372         (exp_tonearest_test_data): Remove.
51373         (exp_test_tonearest): Likewise.
51374         (exp_towardzero_test_data): Likewise.
51375         (exp_test_towardzero): Likewise.
51376         (exp_downward_test_data): Likewise.
51377         (exp_test_downward): Likewise.
51378         (exp_upward_test_data): Likewise.
51379         (exp_test_upward): Likewise.
51380         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51381         (exp10_test): Use ALL_RM_TEST.
51382         (exp10_tonearest_test_data): Remove.
51383         (exp10_test_tonearest): Likewise.
51384         (exp10_towardzero_test_data): Likewise.
51385         (exp10_test_towardzero): Likewise.
51386         (exp10_downward_test_data): Likewise.
51387         (exp10_test_downward): Likewise.
51388         (exp10_upward_test_data): Likewise.
51389         (exp10_test_upward): Likewise.
51390         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51391         (expm1_test_data): Likewise.
51392         (expm1_test): Use ALL_RM_TEST.
51393         (expm1_tonearest_test_data): Remove.
51394         (expm1_test_tonearest): Likewise.
51395         (expm1_towardzero_test_data): Likewise.
51396         (expm1_test_towardzero): Likewise.
51397         (expm1_downward_test_data): Likewise.
51398         (expm1_test_downward): Likewise.
51399         (expm1_upward_test_data): Likewise.
51400         (expm1_test_upward): Likewise.
51401         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51402         (fma_test): Use ALL_RM_TEST.
51403         (fma_towardzero_test_data): Remove.
51404         (fma_test_towardzero): Likewise.
51405         (fma_downward_test_data): Likewise.
51406         (fma_test_downward): Likewise.
51407         (fma_upward_test_data): Likewise.
51408         (fma_test_upward): Likewise.
51409         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51410         (j0_test_data): Update call to AUTO_TESTS_f_f.
51411         (j1_test_data): Likewise.
51412         (jn_test_data): Update call to AUTO_TESTS_if_f.
51413         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51414         (log_test_data): Update call to AUTO_TESTS_f_f.
51415         (log10_test_data): Likewise.
51416         (log1p_test_data): Likewise.
51417         (log2_test_data): Likewise.
51418         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51419         (pow_tonearest_test_data): Likewise.
51420         (sin_test_data): Update call to AUTO_TESTS_f_f.
51421         (sin_test): Use ALL_RM_TEST.
51422         (sin_tonearest_test_data): Remove.
51423         (sin_test_tonearest): Likewise.
51424         (sin_towardzero_test_data): Likewise.
51425         (sin_test_towardzero): Likewise.
51426         (sin_downward_test_data): Likewise.
51427         (sin_test_downward): Likewise.
51428         (sin_upward_test_data): Likewise.
51429         (sin_test_upward): Likewise.
51430         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51431         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51432         (sinh_test): Use ALL_RM_TEST.
51433         (sinh_tonearest_test_data): Remove.
51434         (sinh_test_tonearest): Likewise.
51435         (sinh_towardzero_test_data): Likewise.
51436         (sinh_test_towardzero): Likewise.
51437         (sinh_downward_test_data): Likewise.
51438         (sinh_test_downward): Likewise.
51439         (sinh_upward_test_data): Likewise.
51440         (sinh_test_upward): Likewise.
51441         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51442         (sqrt_test): Use ALL_RM_TEST.
51443         (sqrt_tonearest_test_data): Remove.
51444         (sqrt_test_tonearest): Likewise.
51445         (sqrt_towardzero_test_data): Likewise.
51446         (sqrt_test_towardzero): Likewise.
51447         (sqrt_downward_test_data): Likewise.
51448         (sqrt_test_downward): Likewise.
51449         (sqrt_upward_test_data): Likewise.
51450         (sqrt_test_upward): Likewise.
51451         (tan_test_data): Update call to AUTO_TESTS_f_f.
51452         (tan_test): Use ALL_RM_TEST.
51453         (tan_tonearest_test_data): Remove.
51454         (tan_test_tonearest): Likewise.
51455         (tan_towardzero_test_data): Likewise.
51456         (tan_test_towardzero): Likewise.
51457         (tan_downward_test_data): Likewise.
51458         (tan_test_downward): Likewise.
51459         (tan_upward_test_data): Likewise.
51460         (tan_test_upward): Likewise.
51461         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51462         (tgamma_test_data): Likewise.
51463         (y0_test_data): Likewise.
51464         (y1_test_data): Likewise.
51465         (yn_test_data): Update call to AUTO_TESTS_if_f.
51466         (main): Do not call removed functions.
51468 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51470         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51471         (ldexp_test_data): Remove.
51472         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51473         scalbn_test_data.
51474         (scalb_test): Use ALL_RM_TEST.
51476 2014-03-19  Andreas Schwab  <schwab@suse.de>
51478         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51480 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51482         [BZ #16649]
51483         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51484         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51485         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51486         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51487         (__ASSUME_PREADV): Undefine.
51488         (__ASSUME_PWRITEV): Likewise.
51490 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51492         * bits/mman-linux.h: Add comment about non-Linux use.
51493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51494         bits/mman-linux.h resting place.
51496         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51497         * bits/mman-linux.h: ... here.
51499 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51501         * conform/conformtest.pl: Add standard definition when calling C
51502         preprocessor on data files.
51503         (checknamespace): Remove unused variable.
51505 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51507         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51508         minus_oflow, plus_uflow and minus_uflow in expected results.
51509         * math/libm-test.inc (scalbn_test_data): Add more tests of
51510         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51511         minus_uflow.
51512         (scalbn_test): Use ALL_RM_TEST.
51513         (scalbln_test_data): Add more tests of negative arguments.  Use
51514         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51515         (scalbln_test): Use ALL_RM_TEST.
51517 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51519         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51521 2014-03-18  Will Newton  <will.newton@linaro.org>
51523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51524         inaccurate comment.
51526 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51528         * Makerules [!subdir] (check-abi): Exit with error status if a
51529         test failed.
51531 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51533         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51534         for rint.  Include results for all rounding modes.
51535         (nearbyint_test): Use ALL_RM_TEST.
51536         (rint_test_data): Include all tests used for nearbyint.
51538 2014-03-17  Will Newton  <will.newton@linaro.org>
51540         * nptl/sysdeps/pthread/pthread.h: Revert previous
51541         change.
51543         * sysdeps/generic/ldsodefs.h: Revert previous
51544         change.
51546         * libio/genops.c: Revert previous change.
51547         * libio/libioP.h: Likewise.
51548         * stdio-common/vfprintf.c: Likewise.
51550         * sysdeps/generic/math_private.h: Revert previous
51551         change.
51553         * sysdeps/generic/math_private.h: Check whether
51554         HAVE_RM_CTX is defined with #ifdef rather
51555         than #if.
51557         * argp/argp-fmtstream.h: Check whether
51558         __STRICT_ANSI__ is defined with #ifdef rather
51559         than #if.
51560         * argp/argp.h: Likewise.
51562         * libio/genops.c: Check whether
51563         _IO_JUMPS_OFFSET is defined with #ifdef rather
51564         than #if.
51565         * libio/libioP.h: Likewise.
51566         * stdio-common/vfprintf.c: Likewise.
51568         * sysdeps/generic/ldsodefs.h: Check whether
51569         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51570         than #if.
51572         * nptl/sysdeps/pthread/pthread.h: Check
51573         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51574         its value.
51576 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51578         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51579         setting O_APPEND.
51580         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51581         test case.
51583         [BZ #16680]
51584         * libio/fileops.c (_IO_file_open): Seek to end of file but
51585         don't cache the offset.
51586         (get_file_offset): Remove function.
51587         (do_ftell): Use cached offset when available.
51588         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51589         don't cache the offset.
51590         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51591         case.
51592         (do_one_test): Call it.
51593         (do_ftell_test): Fix up expected old offset for a+ mode.
51594         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51595         available.
51597         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51598         up test status with function return status.
51599         (do_write_test): Likewise.
51600         (do_append_test): Likewise.
51602         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51603         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51604         Remove.
51606 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51608         * math/gen-libm-test.pl (parse_args): Handle results specified for
51609         each rounding mode separately.
51610         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51611         tests and results from lrint_tonearest_test_data,
51612         lrint_towardzero_test_data, lrint_downward_test_data and
51613         lrint_upward_test_data.
51614         (lrint_test): Use ALL_RM_TEST.
51615         (lrint_tonearest_test_data): Remove.
51616         (lrint_test_tonearest): Likewise.
51617         (lrint_towardzero_test_data): Likewise.
51618         (lrint_test_towardzero): Likewise.
51619         (lrint_downward_test_data): Likewise.
51620         (lrint_test_downward): Likewise.
51621         (lrint_upward_test_data): Likewise.
51622         (lrint_test_upward): Likewise.
51623         (llrint_test_data): Merge in per-rounding-mode tests and results
51624         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51625         llrint_downward_test_data and llrint_upward_test_data.
51626         (llrint_test): Use ALL_RM_TEST.
51627         (llrint_tonearest_test_data): Remove.
51628         (llrint_test_tonearest): Likewise.
51629         (llrint_towardzero_test_data): Likewise.
51630         (llrint_test_towardzero): Likewise.
51631         (llrint_downward_test_data): Likewise.
51632         (llrint_test_downward): Likewise.
51633         (llrint_upward_test_data): Likewise.
51634         (llrint_test_upward): Likewise.
51635         (rint_test_data): Merge in per-rounding-mode tests and results
51636         from rint_tonearest_test_data, rint_towardzero_test_data,
51637         rint_downward_test_data and rint_upward_test_data.  Add
51638         per-rounding-mode results for tests not in those arrays.
51639         (rint_test): Use ALL_RM_TEST.
51640         (rint_tonearest_test_data): Remove.
51641         (rint_test_tonearest): Likewise.
51642         (rint_towardzero_test_data): Likewise.
51643         (rint_test_towardzero): Likewise.
51644         (rint_downward_test_data): Likewise.
51645         (rint_test_downward): Likewise.
51646         (rint_upward_test_data): Likewise.
51647         (rint_test_upward): Likewise.
51648         (main): Don't call removed functions.
51650 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51652         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51653         "Compiled on ..." crapola.  It is anti-useful.
51655 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51657         * scripts/evaluate-test.sh: Handle fourth argument to determine
51658         whether test run should stop on failure.
51659         * Makeconfig (stop-on-test-failure): New variable.
51660         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51661         $(stop-on-test-failure).
51662         * Makefile (tests): Give a summary of results from testing and
51663         exit with failure status if they include an ERROR or FAIL.
51664         (xtests): Likewise.
51665         * manual/install.texi (Configuring and compiling): Mention
51666         stop-on-test-failure=y.
51667         * INSTALL: Regenerated.
51669 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51671         * scripts/versionlist.awk: New file.
51672         * Makerules [$(build-shared) = yes]
51673         (postclean-generated): Add Versions.def, not Versions.def.v and
51674         Versions.def.v.i.
51675         ($(common-objpfx)Versions.def.v.i): Target removed.
51676         ($(common-objpfx)Versions.def): New target.
51677         ($(common-objpfx)Versions.all): Depend on that rather that
51678         $(common-objpfx)Versions.def.v.
51679         * Versions.def: File removed.
51681         * Makeconfig (+gccwarn): Add -Wundef.
51682         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51683         a dl-sysdep.h breaking its contract.
51684         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51685         * include/stackinfo.h: New file.
51686         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51687         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51688         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51689         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51690         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51691         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51692         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51693         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51694         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51695         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51696         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51697         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51698         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51699         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51700         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51702 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51704         [BZ #16707]
51705         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51706         implementation.
51707         * math/libm-test.inc (round_test_data): Add more tests.
51709         [BZ #16706]
51710         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51711         implementation.
51712         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51714         [BZ #16701]
51715         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51716         implementation.
51717         * math/libm-test.inc (ceil_test_data): Add more tests.
51719         * math/libm-test.inc (trunc_test_data): Add more tests related to
51720         BZ#16414.
51722 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51724         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51725         with #if rather than #ifdef.
51726         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51728 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51730         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51731         first.  Disable AVX-512 GCC support if assembler doesn't support
51732         it.
51733         * sysdeps/x86_64/configure: Regenerated.
51735 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51737         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51738         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51739         (__old_pthread_attr_setstack): Likewise.
51740         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51741         [!_STACK_GROWS_DOWN]: Likewise.
51743 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51745         * config.make.in (have-bash2): Delete.
51746         * configure.ac (libc_cv_have_bash2): Delete.
51747         * configure: Regenerate.
51748         * elf/Makefile (common-ldd-rewrite): Rename to ...
51749         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51750         (sh-ldd-rewrite): Delete.
51751         (bash-ldd-rewrite): Delete.
51752         (have-bash2): Delete checks.
51753         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51754         ldd-rewrite.
51756         * config.make.in (have-ksh): Delete.
51757         (KSH): Delete.
51758         * configure.ac (libc_cv_have_ksh): Delete.
51759         * configure: Regenerate.
51761         * elf/Makefile: Delete $(have-ksh) check.
51762         ($(objpfx)sotruss): Change KSH to BASH.
51763         * elf/sotruss.ksh: Rename to ...
51764         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51765         function style to match POSIX.  Drop ksh vim mode setting.
51767         * manual/time.texi (Specifying the Time Zone with TZ): Change
51768         Tuesday to Thursday.
51770         * debug/tst-longjmp_chk2.c: Update header comment.
51771         (stackoverflow_handler): Add comment.  Call assert on pass value.
51773 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51775         [BZ #16194]
51776         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51777         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51778         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51779         (La_x86_64_vector): Add zmm.
51780         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51781         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51782         ($(objpfx)tst-audit10): New target.
51783         ($(objpfx)tst-audit10.out): Likewise.
51784         (tst-audit10-ENV): New.
51785         (AVX512-CFLAGS): Likewise.
51786         (CFLAGS-tst-audit10.c): Likewise.
51787         (CFLAGS-tst-auditmod10a.c): Likewise.
51788         (CFLAGS-tst-auditmod10b.c): Likewise.
51789         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51790         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51791         * sysdeps/x86_64/configure: Regenerated.
51792         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51793         AVX-512 zmm register support.
51794         (_dl_x86_64_save_sse): Likewise.
51795         (_dl_x86_64_restore_sse): Likewise.
51796         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51797         size vector registers.
51798         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51799         (ZMM_SIZE): Likewise.
51800         * sysdeps/x86_64/tst-audit10.c: New file.
51801         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51802         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51804 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51806         * configure.ac (HAVE_EHDR_START): New check.
51807         * configure: Regenerated.
51808         * config.h.in (HAVE_EHDR_START): New #undef.
51809         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51810         assuming the lowest-addressed segment maps the start of the file.
51812 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51814         * INSTALL: Regenerated.
51816 2014-03-13  Will Newton  <will.newton@linaro.org>
51818         * manual/setjmp.texi (System V contexts): Improve
51819         clarity and grammar of documentation.
51821 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51823         [BZ #16381]
51824         * elf/Makefile (tests): Add tst-pie2.
51825         (tests-pie): Add tst-pie2.
51826         * elf/tst-pie2.c: New file.
51827         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51828         for ET_EXEC.
51829         * elf/rtld.c (map_doit): Load executable as lt_executable.
51830         (dl_main): Likewise.
51832 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51834         [BZ #16642]
51835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51836         (__ASSUME_PSELECT): Undefine.
51838 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51840         [BZ #16689]
51841         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51842         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51843         static build.
51844         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51845         selector for static builds.
51847 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51849         [BZ #16695]
51850         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51851         key in the buffer.
51853 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51855         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51856         IFUNC selector for static builds.
51858 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51860         * sysdeps/mips/math_private.h [__mips_hard_float]
51861         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51862         libc_feresetround_mips_ctx.
51863         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51864         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51865         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51867         [BZ #16677]
51868         * math/s_nextafter.c (__nextafter): Do not return value from
51869         overflowing computation.
51870         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51871         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51873         Likewise.
51874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51875         Likewise.
51876         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51877         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51879 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51881         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51882         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51883         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51884         the new mov targetting sp.
51886 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51888         [BZ #16683]
51889         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51890         Define it for static builds as well.
51891         (NO_BZERO_IMPL): Likewise.
51893 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51895         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51896         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51897         multiarch strspn for PPC64.
51898         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51899         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51901         (__libc_ifunc_impl_list): Likewise.
51902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51903         multiarch optimizations
51904         * string/strspn.c (strspn): Using macro to redefine symbol name.
51906 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51907             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51909         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51910         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51911         multiarch strncat for PPC64.
51912         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51913         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51915         (__libc_ifunc_impl_list): Likewise.
51916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51917         multiarch optimizations
51919 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51921         [BZ #16639]
51922         * nscd/nscd.service: Make service type forking.
51924 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51926         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51927         sign in non default rounding modes.
51928         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51930 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51932         * math/libm-test.inc (ALL_RM_TEST): New macro.
51933         (ceil_test): Use ALL_RM_TEST.
51934         (cimag_test): Likewise.
51935         (conj_test): Likewise.
51936         (copysign_test): Likewise.
51937         (cproj_test): Likewise.
51938         (creal_test): Likewise.
51939         (fabs_test): Likewise.
51940         (floor_test): Likewise.
51941         (fmax_test): Likewise.
51942         (fmin_test): Likewise.
51943         (fmod_test): Likewise.
51944         (fpclassify_test): Likewise.
51945         (frexp_test): Likewise.
51946         (ilogb_test): Likewise.
51947         (isfinite_test): Likewise.
51948         (finite_test): Likewise.
51949         (isgreater_test): Likewise.
51950         (isgreaterequal_test): Likewise.
51951         (isinf_test): Likewise.
51952         (isless_test): Likewise.
51953         (islessequal_test): Likewise.
51954         (islessgreater_test): Likewise.
51955         (isnan_test): Likewise.
51956         (isnormal_test): Likewise.
51957         (issignaling_test): Likewise.
51958         (isunordered_test): Likewise.
51959         (logb_test): Likewise.
51960         (logb_downward_test_data): Remove.
51961         (logb_test_downward): Likewise.
51962         (lround_test): Use ALL_RM_TEST.
51963         (llround_test): Likewise.
51964         (modf_test): Likewise.
51965         (nexttoward_test): Likewise.
51966         (remainder_test): Likewise.
51967         (drem_test): Likewise.
51968         (remainder_tonearest_test_data): Likewise.
51969         (remainder_test_tonearest): Likewise.
51970         (drem_test_tonearest): Likewise.
51971         (remainder_towardzero_test_data): Likewise.
51972         (remainder_test_towardzero): Likewise.
51973         (drem_test_towardzero): Likewise.
51974         (remainder_downward_test_data): Likewise.
51975         (remainder_test_downward): Likewise.
51976         (drem_test_downward): Likewise.
51977         (remainder_upward_test_data): Likewise.
51978         (remainder_test_upward): Likewise.
51979         (drem_test_upward): Likewise.
51980         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51981         (round_test): Use ALL_RM_TEST.
51982         (signbit_test): Likewise.
51983         (trunc_test): Likewise.
51984         (significand_test): Likewise.
51985         (main): Don't call removed functions.
51987 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51989         [BZ #16674]
51990         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51991         || __USE_XOPEN2K8].
51992         (ILL_ILLOPN): Likewise.
51993         (ILL_ILLADR): Likewise.
51994         (ILL_ILLTRP): Likewise.
51995         (ILL_PRVOPC): Likewise.
51996         (ILL_PRVREG): Likewise.
51997         (ILL_COPROC): Likewise.
51998         (ILL_BADSTK): Likewise.
51999         (FPE_INTDIV): Likewise.
52000         (FPE_INTOVF): Likewise.
52001         (FPE_FLTDIV): Likewise.
52002         (FPE_FLTOVF): Likewise.
52003         (FPE_FLTUND): Likewise.
52004         (FPE_FLTRES): Likewise.
52005         (FPE_FLTINV): Likewise.
52006         (FPE_FLTSUB): Likewise.
52007         (SEGV_MAPERR): Likewise.
52008         (SEGV_ACCERR): Likewise.
52009         (BUS_ADRALN): Likewise.
52010         (BUS_ADRERR): Likewise.
52011         (BUS_OBJERR): Likewise.
52012         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52013         (TRAP_TRACE): Likewise.
52014         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52015         __USE_XOPEN2K8].
52016         (CLD_KILLED): Likewise.
52017         (CLD_DUMPED): Likewise.
52018         (CLD_TRAPPED): Likewise.
52019         (CLD_STOPPED): Likewise.
52020         (CLD_CONTINUED): Likewise.
52021         (POLL_IN): Likewise.
52022         (POLL_OUT): Likewise.
52023         (POLL_MSG): Likewise.
52024         (POLL_ERR): Likewise.
52025         (POLL_PRI): Likewise.
52026         (POLL_HUP): Likewise.
52027         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52028         Likewise.
52029         (ILL_ILLOPN): Likewise.
52030         (ILL_ILLADR): Likewise.
52031         (ILL_ILLTRP): Likewise.
52032         (ILL_PRVOPC): Likewise.
52033         (ILL_PRVREG): Likewise.
52034         (ILL_COPROC): Likewise.
52035         (ILL_BADSTK): Likewise.
52036         (FPE_INTDIV): Likewise.
52037         (FPE_INTOVF): Likewise.
52038         (FPE_FLTDIV): Likewise.
52039         (FPE_FLTOVF): Likewise.
52040         (FPE_FLTUND): Likewise.
52041         (FPE_FLTRES): Likewise.
52042         (FPE_FLTINV): Likewise.
52043         (FPE_FLTSUB): Likewise.
52044         (SEGV_MAPERR): Likewise.
52045         (SEGV_ACCERR): Likewise.
52046         (BUS_ADRALN): Likewise.
52047         (BUS_ADRERR): Likewise.
52048         (BUS_OBJERR): Likewise.
52049         (BUS_MCEERR_AR): Likewise.
52050         (BUS_MCEERR_AO): Likewise.
52051         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52052         (TRAP_TRACE): Likewise.
52053         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52054         __USE_XOPEN2K8].
52055         (CLD_KILLED): Likewise.
52056         (CLD_DUMPED): Likewise.
52057         (CLD_TRAPPED): Likewise.
52058         (CLD_STOPPED): Likewise.
52059         (CLD_CONTINUED): Likewise.
52060         (POLL_IN): Likewise.
52061         (POLL_OUT): Likewise.
52062         (POLL_MSG): Likewise.
52063         (POLL_ERR): Likewise.
52064         (POLL_PRI): Likewise.
52065         (POLL_HUP): Likewise.
52066         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52067         (ILL_ILLOPN): Likewise.
52068         (ILL_ILLADR): Likewise.
52069         (ILL_ILLTRP): Likewise.
52070         (ILL_PRVOPC): Likewise.
52071         (ILL_PRVREG): Likewise.
52072         (ILL_COPROC): Likewise.
52073         (ILL_BADSTK): Likewise.
52074         (FPE_INTDIV): Likewise.
52075         (FPE_INTOVF): Likewise.
52076         (FPE_FLTDIV): Likewise.
52077         (FPE_FLTOVF): Likewise.
52078         (FPE_FLTUND): Likewise.
52079         (FPE_FLTRES): Likewise.
52080         (FPE_FLTINV): Likewise.
52081         (FPE_FLTSUB): Likewise.
52082         (SEGV_MAPERR): Likewise.
52083         (SEGV_ACCERR): Likewise.
52084         (BUS_ADRALN): Likewise.
52085         (BUS_ADRERR): Likewise.
52086         (BUS_OBJERR): Likewise.
52087         (BUS_MCEERR_AR): Likewise.
52088         (BUS_MCEERR_AO): Likewise.
52089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52090         (TRAP_TRACE): Likewise.
52091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52092         __USE_XOPEN2K8].
52093         (CLD_KILLED): Likewise.
52094         (CLD_DUMPED): Likewise.
52095         (CLD_TRAPPED): Likewise.
52096         (CLD_STOPPED): Likewise.
52097         (CLD_CONTINUED): Likewise.
52098         (POLL_IN): Likewise.
52099         (POLL_OUT): Likewise.
52100         (POLL_MSG): Likewise.
52101         (POLL_ERR): Likewise.
52102         (POLL_PRI): Likewise.
52103         (POLL_HUP): Likewise.
52104         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52105         Likewise.
52106         (ILL_ILLOPN): Likewise.
52107         (ILL_ILLADR): Likewise.
52108         (ILL_ILLTRP): Likewise.
52109         (ILL_PRVOPC): Likewise.
52110         (ILL_PRVREG): Likewise.
52111         (ILL_COPROC): Likewise.
52112         (ILL_BADSTK): Likewise.
52113         (ILL_BADIADDR): Likewise.
52114         (ILL_BREAK): Likewise.
52115         (FPE_INTDIV): Likewise.
52116         (FPE_INTOVF): Likewise.
52117         (FPE_FLTDIV): Likewise.
52118         (FPE_FLTOVF): Likewise.
52119         (FPE_FLTUND): Likewise.
52120         (FPE_FLTRES): Likewise.
52121         (FPE_FLTINV): Likewise.
52122         (FPE_FLTSUB): Likewise.
52123         (FPE_DECOVF): Likewise.
52124         (FPE_DECDIV): Likewise.
52125         (FPE_DECERR): Likewise.
52126         (FPE_INVASC): Likewise.
52127         (FPE_INVDEC): Likewise.
52128         (SEGV_MAPERR): Likewise.
52129         (SEGV_ACCERR): Likewise.
52130         (SEGV_PSTKOVF): Likewise.
52131         (BUS_ADRALN): Likewise.
52132         (BUS_ADRERR): Likewise.
52133         (BUS_OBJERR): Likewise.
52134         (BUS_MCEERR_AR): Likewise.
52135         (BUS_MCEERR_AO): Likewise.
52136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52137         (TRAP_TRACE): Likewise.
52138         (TRAP_BRANCH): Likewise.
52139         (TRAP_HWBKPT): Likewise.
52140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52141         __USE_XOPEN2K8].
52142         (CLD_KILLED): Likewise.
52143         (CLD_DUMPED): Likewise.
52144         (CLD_TRAPPED): Likewise.
52145         (CLD_STOPPED): Likewise.
52146         (CLD_CONTINUED): Likewise.
52147         (POLL_IN): Likewise.
52148         (POLL_OUT): Likewise.
52149         (POLL_MSG): Likewise.
52150         (POLL_ERR): Likewise.
52151         (POLL_PRI): Likewise.
52152         (POLL_HUP): Likewise.
52153         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52154         (ILL_ILLOPN): Likewise.
52155         (ILL_ILLADR): Likewise.
52156         (ILL_ILLTRP): Likewise.
52157         (ILL_PRVOPC): Likewise.
52158         (ILL_PRVREG): Likewise.
52159         (ILL_COPROC): Likewise.
52160         (ILL_BADSTK): Likewise.
52161         (FPE_INTDIV): Likewise.
52162         (FPE_INTOVF): Likewise.
52163         (FPE_FLTDIV): Likewise.
52164         (FPE_FLTOVF): Likewise.
52165         (FPE_FLTUND): Likewise.
52166         (FPE_FLTRES): Likewise.
52167         (FPE_FLTINV): Likewise.
52168         (FPE_FLTSUB): Likewise.
52169         (SEGV_MAPERR): Likewise.
52170         (SEGV_ACCERR): Likewise.
52171         (BUS_ADRALN): Likewise.
52172         (BUS_ADRERR): Likewise.
52173         (BUS_OBJERR): Likewise.
52174         (BUS_MCEERR_AR): Likewise.
52175         (BUS_MCEERR_AO): Likewise.
52176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52177         (TRAP_TRACE): Likewise.
52178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52179         __USE_XOPEN2K8].
52180         (CLD_KILLED): Likewise.
52181         (CLD_DUMPED): Likewise.
52182         (CLD_TRAPPED): Likewise.
52183         (CLD_STOPPED): Likewise.
52184         (CLD_CONTINUED): Likewise.
52185         (POLL_IN): Likewise.
52186         (POLL_OUT): Likewise.
52187         (POLL_MSG): Likewise.
52188         (POLL_ERR): Likewise.
52189         (POLL_PRI): Likewise.
52190         (POLL_HUP): Likewise.
52191         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52192         (ILL_ILLOPN): Likewise.
52193         (ILL_ILLADR): Likewise.
52194         (ILL_ILLTRP): Likewise.
52195         (ILL_PRVOPC): Likewise.
52196         (ILL_PRVREG): Likewise.
52197         (ILL_COPROC): Likewise.
52198         (ILL_BADSTK): Likewise.
52199         (FPE_INTDIV): Likewise.
52200         (FPE_INTOVF): Likewise.
52201         (FPE_FLTDIV): Likewise.
52202         (FPE_FLTOVF): Likewise.
52203         (FPE_FLTUND): Likewise.
52204         (FPE_FLTRES): Likewise.
52205         (FPE_FLTINV): Likewise.
52206         (FPE_FLTSUB): Likewise.
52207         (SEGV_MAPERR): Likewise.
52208         (SEGV_ACCERR): Likewise.
52209         (BUS_ADRALN): Likewise.
52210         (BUS_ADRERR): Likewise.
52211         (BUS_OBJERR): Likewise.
52212         (BUS_MCEERR_AR): Likewise.
52213         (BUS_MCEERR_AO): Likewise.
52214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52215         (TRAP_TRACE): Likewise.
52216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52217         __USE_XOPEN2K8].
52218         (CLD_KILLED): Likewise.
52219         (CLD_DUMPED): Likewise.
52220         (CLD_TRAPPED): Likewise.
52221         (CLD_STOPPED): Likewise.
52222         (CLD_CONTINUED): Likewise.
52223         (POLL_IN): Likewise.
52224         (POLL_OUT): Likewise.
52225         (POLL_MSG): Likewise.
52226         (POLL_ERR): Likewise.
52227         (POLL_PRI): Likewise.
52228         (POLL_HUP): Likewise.
52229         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52230         (ILL_ILLOPN): Likewise.
52231         (ILL_ILLADR): Likewise.
52232         (ILL_ILLTRP): Likewise.
52233         (ILL_PRVOPC): Likewise.
52234         (ILL_PRVREG): Likewise.
52235         (ILL_COPROC): Likewise.
52236         (ILL_BADSTK): Likewise.
52237         (FPE_INTDIV): Likewise.
52238         (FPE_INTOVF): Likewise.
52239         (FPE_FLTDIV): Likewise.
52240         (FPE_FLTOVF): Likewise.
52241         (FPE_FLTUND): Likewise.
52242         (FPE_FLTRES): Likewise.
52243         (FPE_FLTINV): Likewise.
52244         (FPE_FLTSUB): Likewise.
52245         (SEGV_MAPERR): Likewise.
52246         (SEGV_ACCERR): Likewise.
52247         (BUS_ADRALN): Likewise.
52248         (BUS_ADRERR): Likewise.
52249         (BUS_OBJERR): Likewise.
52250         (BUS_MCEERR_AR): Likewise.
52251         (BUS_MCEERR_AO): Likewise.
52252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52253         (TRAP_TRACE): Likewise.
52254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52255         __USE_XOPEN2K8].
52256         (CLD_KILLED): Likewise.
52257         (CLD_DUMPED): Likewise.
52258         (CLD_TRAPPED): Likewise.
52259         (CLD_STOPPED): Likewise.
52260         (CLD_CONTINUED): Likewise.
52261         (POLL_IN): Likewise.
52262         (POLL_OUT): Likewise.
52263         (POLL_MSG): Likewise.
52264         (POLL_ERR): Likewise.
52265         (POLL_PRI): Likewise.
52266         (POLL_HUP): Likewise.
52267         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52268         (ILL_ILLOPN): Likewise.
52269         (ILL_ILLADR): Likewise.
52270         (ILL_ILLTRP): Likewise.
52271         (ILL_PRVOPC): Likewise.
52272         (ILL_PRVREG): Likewise.
52273         (ILL_COPROC): Likewise.
52274         (ILL_BADSTK): Likewise.
52275         (ILL_DBLFLT): Likewise.
52276         (ILL_HARDWALL): Likewise.
52277         (FPE_INTDIV): Likewise.
52278         (FPE_INTOVF): Likewise.
52279         (FPE_FLTDIV): Likewise.
52280         (FPE_FLTOVF): Likewise.
52281         (FPE_FLTUND): Likewise.
52282         (FPE_FLTRES): Likewise.
52283         (FPE_FLTINV): Likewise.
52284         (FPE_FLTSUB): Likewise.
52285         (SEGV_MAPERR): Likewise.
52286         (SEGV_ACCERR): Likewise.
52287         (BUS_ADRALN): Likewise.
52288         (BUS_ADRERR): Likewise.
52289         (BUS_OBJERR): Likewise.
52290         (BUS_MCEERR_AR): Likewise.
52291         (BUS_MCEERR_AO): Likewise.
52292         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52293         (TRAP_TRACE): Likewise.
52294         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52295         __USE_XOPEN2K8].
52296         (CLD_KILLED): Likewise.
52297         (CLD_DUMPED): Likewise.
52298         (CLD_TRAPPED): Likewise.
52299         (CLD_STOPPED): Likewise.
52300         (CLD_CONTINUED): Likewise.
52301         (POLL_IN): Likewise.
52302         (POLL_OUT): Likewise.
52303         (POLL_MSG): Likewise.
52304         (POLL_ERR): Likewise.
52305         (POLL_PRI): Likewise.
52306         (POLL_HUP): Likewise.
52307         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52308         (ILL_ILLOPN): Likewise.
52309         (ILL_ILLADR): Likewise.
52310         (ILL_ILLTRP): Likewise.
52311         (ILL_PRVOPC): Likewise.
52312         (ILL_PRVREG): Likewise.
52313         (ILL_COPROC): Likewise.
52314         (ILL_BADSTK): Likewise.
52315         (FPE_INTDIV): Likewise.
52316         (FPE_INTOVF): Likewise.
52317         (FPE_FLTDIV): Likewise.
52318         (FPE_FLTOVF): Likewise.
52319         (FPE_FLTUND): Likewise.
52320         (FPE_FLTRES): Likewise.
52321         (FPE_FLTINV): Likewise.
52322         (FPE_FLTSUB): Likewise.
52323         (SEGV_MAPERR): Likewise.
52324         (SEGV_ACCERR): Likewise.
52325         (BUS_ADRALN): Likewise.
52326         (BUS_ADRERR): Likewise.
52327         (BUS_OBJERR): Likewise.
52328         (BUS_MCEERR_AR): Likewise.
52329         (BUS_MCEERR_AO): Likewise.
52330         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52331         (TRAP_TRACE): Likewise.
52332         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52333         __USE_XOPEN2K8].
52334         (CLD_KILLED): Likewise.
52335         (CLD_DUMPED): Likewise.
52336         (CLD_TRAPPED): Likewise.
52337         (CLD_STOPPED): Likewise.
52338         (CLD_CONTINUED): Likewise.
52339         (POLL_IN): Likewise.
52340         (POLL_OUT): Likewise.
52341         (POLL_MSG): Likewise.
52342         (POLL_ERR): Likewise.
52343         (POLL_PRI): Likewise.
52344         (POLL_HUP): Likewise.
52345         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52346         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52348         [BZ #16670]
52349         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52350         before #include of <time.h>.
52351         [!__USE_XOPEN2K] (__need_timespec): Likewise.
52352         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52353         (test-xfail-UNIX98/sched.h/conform): Likewise.
52355 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52357         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52358         error absence of trapping exception support.
52359         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52361 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52363         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52364         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52365         * timezone/Makefile (testdata): Move definition above include of
52366         Rules.
52367         (test-zones): New variable.
52368         (tests-special): Add zone files.
52369         (build-testdata): Use $(evaluate-test).
52371         * elf/Makefile (tests-special): Rename tests to end with .out.
52372         ($(objpfx)noload-mem): Likewise.
52373         ($(objpfx)tst-leaks1-mem): Likewise.
52374         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52375         * iconv/Makefile (xtests-special): Change test-iconvconfig to
52376         $(objpfx)test-iconvconfig.out.
52377         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
52378         set -e inside subshell and redirect output to file.
52379         * iconvdata/Makefile (generated): Rename tests to end with .out.
52380         Correct type.
52381         (tests-special): Rename tests to end with .out.
52382         ($(objpfx)mtrace-tst-loading): Likewise.
52383         * intl/Makefile (generated): Likewise.
52384         (tests-special): Likewise.
52385         ($(objpfx)mtrace-tst-gettext): Likewise.
52386         * misc/Makefile (generated): Likewise.
52387         (tests-special): Likewise.
52388         ($(objpfx)tst-error1-mem): Likewise.
52389         * nptl/Makefile (tests-special): Likewise.
52390         ($(objpfx)tst-stack3-mem): Likewise.
52391         (generated): Likewise.
52392         * posix/Makefile (generated): Likewise.
52393         (tests-special): Likewise.
52394         (xtests-special): Likewise.
52395         ($(objpfx)tst-fnmatch-mem): Likewise.
52396         ($(objpfx)bug-regex2-mem): Likewise.
52397         ($(objpfx)bug-regex14-mem): Likewise.
52398         ($(objpfx)bug-regex21-mem): Likewise.
52399         ($(objpfx)bug-regex31-mem): Likewise.
52400         ($(objpfx)tst-vfork3-mem): Likewise.
52401         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52402         ($(objpfx)tst-pcre-mem): Likewise.
52403         ($(objpfx)tst-boost-mem): Likewise.
52404         ($(objpfx)bug-ga2-mem): Likewise.
52405         ($(objpfx)bug-glob2-mem): Likewise.
52406         * resolv/Makefile (generate): Likewise.
52407         (tests-special): Likewise.
52408         (xtests-special): Likewise.
52409         (generated): Likewise.
52410         ($(objpfx)mtrace-tst-leaks): Likewise.
52411         ($(objpfx)mtrace-tst-leaks2): Likewise.
52413         * scripts/merge-test-results.sh: New file.
52414         * Makefile (tests-special-notdir): New variable.
52415         (tests): Run merge-test-results.sh.
52416         (xtests): Likewise.
52417         * Rules (tests-special-notdir): New variable.
52418         (xtests-special-notdir): Likewise.
52419         (tests): Run merge-test-results.sh
52420         (xtests): Likewise.
52422         * Makeconfig (test-xfail-name): New variable.
52423         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52424         compute variable name for expected failures.
52425         * conform/Makefile (conformtest-headers-data): New variable.
52426         (conformtest-standards): Likewise.
52427         (conformtest-headers-ISO): Likewise.
52428         (conformtest-headers-ISO99): Likewise.
52429         (conformtest-headers-ISO11): Likewise.
52430         (conformtest-headers-POSIX): Likewise.
52431         (conformtest-headers-XPG3): Likewise.
52432         (conformtest-headers-XPG4): Likewise.
52433         (conformtest-headers-UNIX98): Likewise.
52434         (conformtest-headers-XOPEN2K): Likewise.
52435         (conformtest-headers-POSIX2008): Likewise.
52436         (conformtest-headers-XOPEN2K8): Likewise.
52437         (conformtest-header-list-base): Likewise.
52438         (conformtest-header-list-tests): Likewise.
52439         (conformtest-header-base): Likewise.
52440         (conformtest-header-tests): Likewise.
52441         (tests-special): Add $(conformtest-header-list-tests).  If
52442         [$(fast-check) && !$(cross-compiling)], add
52443         $(conformtest-header-tests) instead of
52444         $(objpfx)run-conformtest.out.
52445         (generated): Add $(conformtest-header-list-base).  If
52446         [$(fast-check) && !$(cross-compiling)], add
52447         $(conformtest-header-base).  Remove previous setting.
52448         ($(conformtest-header-list-tests)): New target.
52449         (test-xfail-run-conformtest): Remove variable.
52450         ($(objpfx)run-conformtest.out): Remove target.
52451         (test-xfail-ISO11/complex.h/conform): New variable.
52452         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52453         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52454         (test-xfail-XPG3/varargs.h/conform): Likewise.
52455         (test-xfail-XPG4/varargs.h/conform): Likewise.
52456         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52457         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52458         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52459         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52460         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52461         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52462         (test-xfail-XPG3/ftw.h/conform): Likewise.
52463         (test-xfail-XPG3/grp.h/conform): Likewise.
52464         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52465         (test-xfail-XPG3/limits.h/conform): Likewise.
52466         (test-xfail-XPG3/pwd.h/conform): Likewise.
52467         (test-xfail-XPG3/search.h/conform): Likewise.
52468         (test-xfail-XPG3/signal.h/conform): Likewise.
52469         (test-xfail-XPG3/stdio.h/conform): Likewise.
52470         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52471         (test-xfail-XPG3/string.h/conform): Likewise.
52472         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52473         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52474         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52475         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52476         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52477         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52478         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52479         (test-xfail-XPG3/termios.h/conform): Likewise.
52480         (test-xfail-XPG3/time.h/conform): Likewise.
52481         (test-xfail-XPG3/unistd.h/conform): Likewise.
52482         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52483         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52484         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52485         (test-xfail-XPG4/netdb.h/conform): Likewise.
52486         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52487         (test-xfail-XPG4/signal.h/conform): Likewise.
52488         (test-xfail-XPG4/stdio.h/conform): Likewise.
52489         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52490         (test-xfail-XPG4/stropts.h/conform): Likewise.
52491         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52492         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52493         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52494         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52495         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52496         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52497         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52498         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52499         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52500         (test-xfail-XPG4/termios.h/conform): Likewise.
52501         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52502         (test-xfail-XPG4/unistd.h/conform): Likewise.
52503         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52504         (test-xfail-POSIX/sched.h/conform): Likewise.
52505         (test-xfail-POSIX/signal.h/conform): Likewise.
52506         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52507         (test-xfail-POSIX/tar.h/conform): Likewise.
52508         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52509         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52510         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52511         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52512         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52513         (test-xfail-UNIX98/sched.h/conform): Likewise.
52514         (test-xfail-UNIX98/signal.h/conform): Likewise.
52515         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52516         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52517         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52518         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52519         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52520         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52521         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52522         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52523         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52524         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52525         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52526         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52527         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52528         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52529         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52530         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52531         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52532         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52533         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52534         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52535         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52536         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52537         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52538         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52539         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52540         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52541         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52542         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52543         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52544         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52545         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52546         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52547         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52548         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52549         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52550         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52551         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52552         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52553         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52554         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52555         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52556         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52557         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52558         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52559         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52560         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52561         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52562         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52563         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52564         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52565         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52566         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52567         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52568         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52569         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52570         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52571         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52572         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52573         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52574         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52575         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52576         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52577         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52578         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52579         (conformtest-cc-flags): Likewise.
52580         ($(conformtest-header-tests): New target.
52581         * conform/check-header-lists.sh: New file.
52582         * conform/run-conformtest.sh: Remove.
52584         * conform/conformtest.pl: Allow ' and \ in values given for
52585         constants.
52586         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52587         inclusion.
52588         [POSIX] (sys/types.h): Likewise.
52589         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52590         inclusion.
52591         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52592         inclusion.
52593         * conform/data/signal.h-data (SIGIO): Remove expectation.
52594         [XPG3] (SIGBUS): Do not expect.
52595         [POSIX || XPG3] (SIGPOLL): Likewise.
52596         [POSIX || XPG3] (SIGPROF): Likewise.
52597         [POSIX || XPG3] (SIGSYS): Likewise.
52598         [XPG3] (SIGTRAP): Likewise.
52599         [POSIX || XPG3] (SIGURG): Likewise.
52600         [POSIX || XPG3] (SIGVTALRM): Likewise.
52601         [POSIX || XPG3] (SIGXCPU): Likewise.
52602         [POSIX || XPG3] (SIGXFSZ): Likewise.
52603         [POSIX] (SA_SIGINFO): Expect.
52604         [XPG3] (siginfo_t): Do not expect type or contents.
52605         [POSIX] (si_pid): Do not expect element.
52606         [POSIX] (si_uid): Likewise.
52607         [POSIX] (si_addr): Likewise.
52608         [POSIX] (si_status): Likewise.
52609         [POSIX] (si_band): Likewise.
52610         [XPG4] (si_value): Likewise.
52611         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52612         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52613         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52614         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52615         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52616         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52617         [POSIX || XPG3] (ILL_COPROC): Likewise.
52618         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52619         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52620         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52621         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52622         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52623         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52624         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52625         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52626         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52627         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52628         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52629         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52630         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52631         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52632         [POSIX || XPG3] (CLD_EXITED): Likewise.
52633         [POSIX || XPG3] (CLD_KILLED): Likewise.
52634         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52635         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52636         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52637         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52638         [POSIX || XPG3] (POLL_IN): Likewise.
52639         [POSIX || XPG3] (POLL_OUT): Likewise.
52640         [POSIX || XPG3] (POLL_MSG): Likewise.
52641         [POSIX || XPG3] (POLL_ERR): Likewise.
52642         [POSIX || XPG3] (POLL_PRI): Likewise.
52643         [POSIX || XPG3] (POLL_HUP): Likewise.
52644         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52645         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52646         (SIG*): Do not allow.
52647         [XPG3] (si_*): Likewise.
52648         [XPG3] (SI_*): Likewise.
52649         [XPG3 || XPG4] (sigev_*): Likewise.
52650         [XPG3 || XPG4] (SIGEV_*): Likewise.
52651         [XPG3 || XPG4] (sival_*): Likewise.
52652         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52653         [POSIX || XPG3] (BUS_*): Likewise.
52654         [POSIX || XPG3] (CLD_*): Likewise.
52655         [POSIX || XPG3] (FPE_*): Likewise.
52656         [POSIX || XPG3] (ILL_*): Likewise.
52657         [POSIX || XPG3] (POLL_*): Likewise.
52658         [POSIX || XPG3] (SEGV_*): Likewise.
52659         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52660         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52661         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52662         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52663         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52664         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52665         Specify type and value.
52666         (TVERSLEN): Likewise.
52667         (REGTYPE): Likewise.
52668         (AREGTYPE): Likewise.
52669         (LNKTYPE): Likewise.
52670         (SYMTYPE): Likewise.
52671         (CHRTYPE): Likewise.
52672         (BLKTYPE): Likewise.
52673         (DIRTYPE): Likewise.
52674         (FIFOTYPE): Likewise.
52675         (CONTTYPE): Likewise.
52676         (TSUID): Likewise.
52677         (TSGID): Likewise.
52678         (TSVTX): Likewise.
52679         (TUREAD): Likewise.
52680         (TUWRITE): Likewise.
52681         (TUEXEC): Likewise.
52682         (TGREAD): Likewise.
52683         (TGWRITE): Likewise.
52684         (TGEXEC): Likewise.
52685         (TOREAD): Likewise.
52686         (TOWRITE): Likewise.
52687         (TOEXEC): Likewise.
52688         [POSIX] (TSVTX): Expect constant.
52690 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52692         * Makefile (tests): Change dependencies to ....
52693         (tests-special): ... additions to this variable.
52694         (tests): Depend on $(tests-special).
52695         * Makerules (check-abi-list): New variable.
52696         (check-abi): Depend on $(check-abi-list).
52697         [$(subdir) = elf] (tests-special): Add
52698         $(objpfx)check-abi-libc.out.
52699         [$(build-shared) = yes && subdir] (tests-special): Add
52700         $(check-abi-list).
52701         [$(build-shared) = yes && subdir] (tests): Do not depend on
52702         check-abi.
52703         * Rules (tests): Depend on $(tests-special).
52704         (xtests): Depend on $(xtests-special).
52705         * catgets/Makefile (tests): Change dependencies to ....
52706         (tests-special): ... additions to this variable.
52707         * conform/Makefile (tests): Change dependencies to ....
52708         (tests-special): ... additions to this variable.
52709         * elf/Makefile (tests): Change dependencies to ....
52710         (tests-special): ... additions to this variable.
52711         * grp/Makefile (tests): Change dependencies to ....
52712         (tests-special): ... additions to this variable.
52713         * iconv/Makefile (xtests): Change dependencies to ....
52714         (xtests-special): ... additions to this variable.
52715         * iconvdata/Makefile (tests): Change dependencies to ....
52716         (tests-special): ... additions to this variable.
52717         * intl/Makefile (tests): Change dependencies to ....
52718         (tests-special): ... additions to this variable.  Also add
52719         $(objpfx)tst-gettext.out.
52720         * io/Makefile (tests): Change dependencies to ....
52721         (tests-special): ... additions to this variable.
52722         * libio/Makefile (tests): Change dependencies to ....
52723         (tests-special): ... additions to this variable.
52724         * malloc/Makefile (tests): Change dependencies to ....
52725         (tests-special): ... additions to this variable.
52726         * misc/Makefile (tests): Change dependencies to ....
52727         (tests-special): ... additions to this variable.
52728         * nptl/Makefile (tests): Change dependencies to ....
52729         (tests-special): ... additions to this variable.
52730         * nptl_db/Makefile (tests): Change dependencies to ....
52731         (tests-special): ... additions to this variable.
52732         * posix/Makefile (tests): Change dependencies to ....
52733         (tests-special): ... additions to this variable.
52734         (xtests): Change dependencies to ....
52735         (xtests-special): ... additions to this variable.
52736         * resolv/Makefile (tests): Change dependencies to ....
52737         (tests-special): ... additions to this variable.
52738         (xtests): Change dependencies to ....
52739         (xtests-special): ... additions to this variable.
52740         * stdio-common/Makefile (tests): Change dependencies to ....
52741         (tests-special): ... additions to this variable.
52742         (do-tst-unbputc): Remove target.
52743         (do-tst-printf): Likewise.
52744         * stdlib/Makefile (tests): Change dependencies to ....
52745         (tests-special): ... additions to this variable.
52746         * string/Makefile (tests): Change dependencies to ....
52747         (tests-special): ... additions to this variable.
52748         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52749         (tests-special): ... additions to this variable.
52751         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52752         whole file.
52753         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52754         whole file.
52755         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52756         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52758         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52759         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52760         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52761         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52762         * conform/data/libgen.h-data [XPG3]: Likewise.
52763         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52764         * conform/data/ndbm.h-data [XPG3]: Likewise.
52765         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52766         * conform/data/netdb.h-data [XPG3]: Likewise.
52767         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52768         * conform/data/poll.h-data [XPG3]: Likewise.
52769         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52770         * conform/data/strings.h-data [XPG3]: Likewise.
52771         * conform/data/stropts.h-data [XPG3]: Likewise.
52772         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52773         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52774         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52775         Likewise.
52776         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52777         * conform/data/sys/time.h-data [XPG3]: Likewise.
52778         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52779         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52780         * conform/data/sys/un.h-data [XPG3]: Likewise.
52781         * conform/data/syslog.h-data [XPG3]: Likewise.
52782         * conform/data/ucontext.h-data [XPG3]: Likewise.
52783         * conform/data/utmpx.h-data [XPG3]: Likewise.
52784         * conform/data/varargs.h-data [UNIX98]: Enable file.
52786         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52788         * math/libm-test.inc (struct test_f_f_data): Move expected results
52789         into structure for each rounding mode.
52790         (struct test_ff_f_data): Likewise.
52791         (struct test_ff_f_data_nexttoward): Likewise.
52792         (struct test_fi_f_data): Likewise.
52793         (struct test_fl_f_data): Likewise.
52794         (struct test_if_f_data): Likewise.
52795         (struct test_fff_f_data): Likewise.
52796         (struct test_c_f_data): Likewise.
52797         (struct test_f_f1_data): Likewise.
52798         (struct test_fF_f1_data): Likewise.
52799         (struct test_ffI_f1_data): Likewise.
52800         (struct test_c_c_data): Likewise.
52801         (struct test_cc_c_data): Likewise.
52802         (struct test_f_i_data): Likewise.
52803         (struct test_ff_i_data): Likewise.
52804         (struct test_f_l_data): Likewise.
52805         (struct test_f_L_data): Likewise.
52806         (struct test_fFF_11_data): Likewise.
52807         (RM_): New macro.
52808         (RM_FE_DOWNWARD): Likewise.
52809         (RM_FE_TONEAREST): Likewise.
52810         (RM_FE_TOWARDZERO): Likewise.
52811         (RM_FE_UPWARD): Likewise.
52812         (RUN_TEST_LOOP_f_f): Update references to expected results.
52813         (RUN_TEST_LOOP_2_f): Likewise.
52814         (RUN_TEST_LOOP_fff_f): Likewise.
52815         (RUN_TEST_LOOP_c_f): Likewise.
52816         (RUN_TEST_LOOP_f_f1): Likewise.
52817         (RUN_TEST_LOOP_fF_f1): Likewise.
52818         (RUN_TEST_LOOP_fI_f1): Likewise.
52819         (RUN_TEST_LOOP_ffI_f1): Likewise.
52820         (RUN_TEST_LOOP_c_c): Likewise.
52821         (RUN_TEST_LOOP_cc_c): Likewise.
52822         (RUN_TEST_LOOP_f_i): Likewise.
52823         (RUN_TEST_LOOP_f_i_tg): Likewise.
52824         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52825         (RUN_TEST_LOOP_f_b): Likewise.
52826         (RUN_TEST_LOOP_f_b_tg): Likewise.
52827         (RUN_TEST_LOOP_f_l): Likewise.
52828         (RUN_TEST_LOOP_f_L): Likewise.
52829         (RUN_TEST_LOOP_fFF_11): Likewise.
52830         * math/gen-libm-test.pl (parse_args): Output four copies of
52831         expected results for each test.
52833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52834         (__ASSUME_UTIMES): Remove.
52835         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52836         (__ASSUME_UTIMES): Likewise.
52838         * math/gen-auto-libm-tests.c: Update comment on output format.
52839         (output_for_one_input_case): Generate before-rounding and
52840         after-rounding information as conditions on output flags not
52841         floating-point format.
52842         * math/auto-libm-test-out: Regenerated.
52843         * math/gen-libm-test.pl (cond_value): New function.
52844         (or_cond_value): Use cond_value.
52845         (generate_testfile): Handle conditional exceptions.
52847 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52849         * math/libm-test.inc (max_valid_error): New variable.
52850         (init_max_error): Take new argument specifying whether function
52851         results are exactly determined.  Set max_valid_error and bound
52852         other variables for errors based on this argument.
52853         (set_max_error): Do not record results above max_valid_error.
52854         (check_float_internal): Only accept errors of up to 0.5ulps if
52855         also at most max_valid_error.
52856         (START): Take new argument EXACT and pass it to init_max_error.
52857         (acos_test): Update call to START.
52858         (acos_test_tonearest): Likewise.
52859         (acos_test_towardzero): Likewise.
52860         (acos_test_downward): Likewise.
52861         (acos_test_upward): Likewise.
52862         (acosh_test): Likewise.
52863         (asin_test): Likewise.
52864         (asin_test_tonearest): Likewise.
52865         (asin_test_towardzero): Likewise.
52866         (asin_test_downward): Likewise.
52867         (asin_test_upward): Likewise.
52868         (asinh_test): Likewise.
52869         (atan_test): Likewise.
52870         (atanh_test): Likewise.
52871         (atan2_test): Likewise.
52872         (cabs_test): Likewise.
52873         (cacos_test): Likewise.
52874         (cacosh_test): Likewise.
52875         (carg_test): Likewise.
52876         (casin_test): Likewise.
52877         (casinh_test): Likewise.
52878         (catan_test): Likewise.
52879         (catanh_test): Likewise.
52880         (cbrt_test): Likewise.
52881         (ccos_test): Likewise.
52882         (ccosh_test): Likewise.
52883         (ceil_test): Likewise.
52884         (cexp_test): Likewise.
52885         (cimag_test): Likewise.
52886         (clog_test): Likewise.
52887         (clog10_test): Likewise.
52888         (conj_test): Likewise.
52889         (copysign_test): Likewise.
52890         (cos_test): Likewise.
52891         (cos_test_tonearest): Likewise.
52892         (cos_test_towardzero): Likewise.
52893         (cos_test_downward): Likewise.
52894         (cos_test_upward): Likewise.
52895         (cosh_test): Likewise.
52896         (cosh_test_tonearest): Likewise.
52897         (cosh_test_towardzero): Likewise.
52898         (cosh_test_downward): Likewise.
52899         (cosh_test_upward): Likewise.
52900         (cpow_test): Likewise.
52901         (cproj_test): Likewise.
52902         (creal_test): Likewise.
52903         (csin_test): Likewise.
52904         (csinh_test): Likewise.
52905         (csqrt_test): Likewise.
52906         (ctan_test): Likewise.
52907         (ctan_test_tonearest): Likewise.
52908         (ctan_test_towardzero): Likewise.
52909         (ctan_test_downward): Likewise.
52910         (ctan_test_upward): Likewise.
52911         (ctanh_test): Likewise.
52912         (ctanh_test_tonearest): Likewise.
52913         (ctanh_test_towardzero): Likewise.
52914         (ctanh_test_downward): Likewise.
52915         (ctanh_test_upward): Likewise.
52916         (erf_test): Likewise.
52917         (erfc_test): Likewise.
52918         (exp_test): Likewise.
52919         (exp_test_tonearest): Likewise.
52920         (exp_test_towardzero): Likewise.
52921         (exp_test_downward): Likewise.
52922         (exp_test_upward): Likewise.
52923         (exp10_test): Likewise.
52924         (exp10_test_tonearest): Likewise.
52925         (exp10_test_towardzero): Likewise.
52926         (exp10_test_downward): Likewise.
52927         (exp10_test_upward): Likewise.
52928         (pow10_test): Likewise.
52929         (exp2_test): Likewise.
52930         (expm1_test): Likewise.
52931         (expm1_test_tonearest): Likewise.
52932         (expm1_test_towardzero): Likewise.
52933         (expm1_test_downward): Likewise.
52934         (expm1_test_upward): Likewise.
52935         (fabs_test): Likewise.
52936         (fdim_test): Likewise.
52937         (floor_test): Likewise.
52938         (fma_test): Likewise.
52939         (fma_test_towardzero): Likewise.
52940         (fma_test_downward): Likewise.
52941         (fma_test_upward): Likewise.
52942         (fmax_test): Likewise.
52943         (fmin_test): Likewise.
52944         (fmod_test): Likewise.
52945         (fpclassify_test): Likewise.
52946         (frexp_test): Likewise.
52947         (hypot_test): Likewise.
52948         (ilogb_test): Likewise.
52949         (isfinite_test): Likewise.
52950         (finite_test): Likewise.
52951         (isgreater_test): Likewise.
52952         (isgreaterequal_test): Likewise.
52953         (isinf_test): Likewise.
52954         (isless_test): Likewise.
52955         (islessequal_test): Likewise.
52956         (islessgreater_test): Likewise.
52957         (isnan_test): Likewise.
52958         (isnormal_test): Likewise.
52959         (issignaling_test): Likewise.
52960         (isunordered_test): Likewise.
52961         (j0_test): Likewise.
52962         (j1_test): Likewise.
52963         (jn_test): Likewise.
52964         (ldexp_test): Likewise.
52965         (lgamma_test): Likewise.
52966         (gamma_test): Likewise.
52967         (lrint_test): Likewise.
52968         (lrint_test_tonearest): Likewise.
52969         (lrint_test_towardzero): Likewise.
52970         (lrint_test_downward): Likewise.
52971         (lrint_test_upward): Likewise.
52972         (llrint_test): Likewise.
52973         (llrint_test_tonearest): Likewise.
52974         (llrint_test_towardzero): Likewise.
52975         (llrint_test_downward): Likewise.
52976         (llrint_test_upward): Likewise.
52977         (log_test): Likewise.
52978         (log10_test): Likewise.
52979         (log1p_test): Likewise.
52980         (log2_test): Likewise.
52981         (logb_test): Likewise.
52982         (logb_test_downward): Likewise.
52983         (lround_test): Likewise.
52984         (llround_test): Likewise.
52985         (modf_test): Likewise.
52986         (nearbyint_test): Likewise.
52987         (nextafter_test): Likewise.
52988         (nexttoward_test): Likewise.
52989         (pow_test): Likewise.
52990         (pow_test_tonearest): Likewise.
52991         (pow_test_towardzero): Likewise.
52992         (pow_test_downward): Likewise.
52993         (pow_test_upward): Likewise.
52994         (remainder_test): Likewise.
52995         (drem_test): Likewise.
52996         (remainder_test_tonearest): Likewise.
52997         (drem_test_tonearest): Likewise.
52998         (remainder_test_towardzero): Likewise.
52999         (drem_test_towardzero): Likewise.
53000         (remainder_test_downward): Likewise.
53001         (drem_test_downward): Likewise.
53002         (remainder_test_upward): Likewise.
53003         (drem_test_upward): Likewise.
53004         (remquo_test): Likewise.
53005         (rint_test): Likewise.
53006         (rint_test_tonearest): Likewise.
53007         (rint_test_towardzero): Likewise.
53008         (rint_test_downward): Likewise.
53009         (rint_test_upward): Likewise.
53010         (round_test): Likewise.
53011         (scalb_test): Likewise.
53012         (scalbn_test): Likewise.
53013         (scalbln_test): Likewise.
53014         (signbit_test): Likewise.
53015         (sin_test): Likewise.
53016         (sin_test_tonearest): Likewise.
53017         (sin_test_towardzero): Likewise.
53018         (sin_test_downward): Likewise.
53019         (sin_test_upward): Likewise.
53020         (sincos_test): Likewise.
53021         (sinh_test): Likewise.
53022         (sinh_test_tonearest): Likewise.
53023         (sinh_test_towardzero): Likewise.
53024         (sinh_test_downward): Likewise.
53025         (sinh_test_upward): Likewise.
53026         (sqrt_test): Likewise.
53027         (sqrt_test_tonearest): Likewise.
53028         (sqrt_test_towardzero): Likewise.
53029         (sqrt_test_downward): Likewise.
53030         (sqrt_test_upward): Likewise.
53031         (tan_test): Likewise.
53032         (tan_test_tonearest): Likewise.
53033         (tan_test_towardzero): Likewise.
53034         (tan_test_downward): Likewise.
53035         (tan_test_upward): Likewise.
53036         (tanh_test): Likewise.
53037         (tgamma_test): Likewise.
53038         (trunc_test): Likewise.
53039         (y0_test): Likewise.
53040         (y1_test): Likewise.
53041         (yn_test): Likewise.
53042         (significand_test): Likewise.
53044         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53045         individual tests in comment.
53046         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53047         (prev_max_error): New variable.
53048         (prev_real_max_error): Likewise.
53049         (prev_imag_max_error): Likewise.
53050         (compare_ulp_data): Don't refer to test names in comment.
53051         (find_test_ulps): Remove function.
53052         (find_function_ulps): Likewise.
53053         (find_complex_function_ulps): Likewise.
53054         (init_max_error): Take function name as argument.  Look up ulps
53055         for that function.
53056         (print_ulps): Remove function.
53057         (print_max_error): Use prev_max_error instead of calling
53058         find_function_ulps.
53059         (print_complex_max_error): Use prev_real_max_error and
53060         prev_imag_max_error instead of calling find_complex_function_ulps.
53061         (check_float_internal): Take max_ulp parameter instead of calling
53062         find_test_ulps.  Don't call print_ulps.
53063         (check_float): Update call to check_float_internal.
53064         (check_complex): Update calls to check_float_internal.
53065         (START): Pass argument to init_max_error.
53066         * math/gen-libm-test.pl (%results): Don't include "kind"
53067         information.
53068         (parse_ulps): Don't handle ulps of individual tests.
53069         (print_ulps_file): Likewise.
53070         (output_ulps): Likewise.
53071         * math/README.libm-test: Update.
53072         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53073         individual tests.
53074         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53075         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53076         * sysdeps/arm/libm-test-ulps: Likewise.
53077         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53078         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53079         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53080         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53081         * sysdeps/microblaze/libm-test-ulps: Likewise.
53082         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53083         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53084         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53085         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53086         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53087         * sysdeps/sh/libm-test-ulps: Likewise.
53088         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53089         * sysdeps/tile/libm-test-ulps: Likewise.
53090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53092 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53094         * math/libm-test.inc (print_complex_max_error): Check separately
53095         whether real and imaginary errors are within allowed range and
53096         pass 0 to print_complex_function_ulps instead of value within
53097         allowed range.
53099 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53101         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53102         formatting.
53103         (get_handles_fopen): Likewise.
53104         (do_write_test): Likewise.
53106         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53108         * libio/fileops.c (do_ftell): Use cached offset when
53109         available.
53110         * libio/iofwide.c (do_ftell_wide): Likewise.
53111         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53112         _IO_file_attach.
53113         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53115         [BZ #16532]
53116         * libio/libioP.h (get_file_offset): New function.
53117         * libio/fileops.c (get_file_offset): Likewise.
53118         (do_ftell): Likewise.
53119         (_IO_new_file_seekoff): Split out ftell logic.
53120         * libio/wfileops.c (do_ftell_wide): Likewise.
53121         (_IO_wfile_seekoff): Split out ftell logic.
53122         * libio/tst-ftell-active-handler.c: New test case.
53123         * libio/Makefile (tests): Add it.
53125 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53127         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53128         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53130 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53132         [BZ #16639]
53133         * nscd/connections.c (nscd_init): Call do_exit.
53134         (start_threads): Call do_exit and notify_parent.
53135         (begin_drop_privileges): Call do_exit.
53136         (finish_drop_privileges): Likewise.
53137         * nscd/selinux.c (preserve_capabilities): Likewise.
53138         (install_real_capabilities): Likewise.
53139         (nscd_selinux_enabled): Likewise.
53140         (avc_create_thread): Likewise.
53141         (avc_alloc_lock): Likewise.
53142         (nscd_avc_init): Likewise.
53143         * nscd/nscd.c (parent_fd): New static variable.
53144         (main): Create a pipe between parent and child processes.
53145         Skip closing parent_fd.
53146         (monitor_child): New function.
53147         (do_exit): Likewise.
53148         (notify_parent): Likewise.
53149         * nscd/nscd.h (notify_parent): Likewise.
53150         (do_exit): Likewise.
53152 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53154         * malloc/malloc.c (__libc_calloc): Revert last change.
53156 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53160 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53162         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53164         implementation.
53165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53166         (__libc_ifunc_impl_list): Likewise.
53167         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53168         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53169         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53170         * string/strrchr.c: Define STRRCHR.
53172 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53174         * benchtest/bench-strtok.c (simple_strtok): Delete.
53175         (strtok_string): Use as benchmark.
53176         * string/strtok (STRTOK): New macro.
53178 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53180         * manual/threads.texi: Add header and standard comments to all
53181         functions.
53183         * elf/dl-lookup.c (check_match): New function.
53184         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53185         (do_lookup_x): Remove nested function check_match. Use non-nested
53186         function check_match.
53188 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53190         * csu/Makefile (generated, before-compile): Use += rather than =.
53191         * catgets/Makefile (generated, generated-dirs): Likewise.
53192         * debug/Makefile (generated): Likewise.
53193         * dlfcn/Makefile (generated): Likewise.
53194         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53195         * iconvdata/Makefile (before-compile, generated): Likewise.
53196         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53197         * libio/Makefile (generated): Likewise.
53198         * malloc/Makefile (generated): Likewise.
53199         * manual/Makefile (generated, generated-dirs): Likewise.
53200         * misc/Makefile (generated): Likewise.
53201         * posix/Makefile (generated): Likewise.
53202         * resolv/Makefile (generated): Likewise.
53203         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53204         * timezone/Makefile (generated, generated-dirs): Likewise.
53206         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53208 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53211         power8 implementation.
53212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53213         file: POWER8 llround ifunc implementation.
53214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53215         (__lllround): Add POWER8 implementation.
53216         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53217         POWER8 llround implementation.
53219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53220         power8 implementation.
53221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53222         file: POWER8 llrint ifunc implementation.
53223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53224         Add POWER8 implementation.
53225         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53226         POWER8 llrint implementation.
53228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53229         power8 implementation.
53230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53231         file: POWER8 finite ifunc implementation.
53232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53233         Add POWER8 implementation.
53234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53235         Likewise.
53236         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53237         POWER8 finite implementation.
53238         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53241         power8 implementation.
53242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53243         file: POWER8 isinf ifunc implementation.
53244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53245         POWER8 implementation.
53246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53247         Likewise.
53248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53249         isinf implementation.
53250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53252         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53253         (INIT_ARCH): Add hwcap2 initialization.
53254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53255         power8 implementation.
53256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53257         file: POWER8 isnan ifunc implementation.
53258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53259         POWER8 implementation.
53260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53261         Likewise.
53262         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53263         isnan implementation.
53264         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53266 2014-02-27  Joey Ye  <joey.ye@arm.com>
53268         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53269         (_FP_NANFRAC_Q): Set to zero.
53271 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53273         [BZ #16623]
53274         * math/auto-libm-test-in: New test inputs.
53275         * math/auto-libm-test-out: Regenerate.
53276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53277         and DA.
53278         (__cos): Likewise.
53279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53281 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
53283         * scripts/evaluate-test.sh: Take new argument indicating whether
53284         failure is expected.
53285         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53286         indicating whether failure is expected.
53287         * conform/Makefile (test-xfail-run-conformtest): New variable.
53288         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53289         level.
53290         * posix/Makefile (test-xfail-annexc): New variable.
53291         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53293 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
53295         * argp/Makefile: Include Makeconfig immediately after defining
53296         subdir.
53297         * assert/Makefile: Likewise.
53298         * benchtests/Makefile: Likewise.
53299         * catgets/Makefile: Likewise.
53300         * conform/Makefile: Likewise.
53301         * crypt/Makefile: Likewise.
53302         * csu/Makefile: Likewise.
53303         (all): Remove target.
53304         * ctype/Makefile: Include Makeconfig immediately after defining
53305         subdir.
53306         * debug/Makefile: Likewise.
53307         * dirent/Makefile: Likewise.
53308         * dlfcn/Makefile: Likewise.
53309         * gmon/Makefile: Likewise.
53310         * gnulib/Makefile: Likewise.
53311         * grp/Makefile: Likewise.
53312         * gshadow/Makefile: Likewise.
53313         * hesiod/Makefile: Likewise.
53314         * hurd/Makefile: Likewise.
53315         (all): Remove target.
53316         * iconvdata/Makefile: Include Makeconfig immediately after
53317         defining subdir.
53318         * inet/Makefile: Likewise.
53319         * intl/Makefile: Likewise.
53320         * io/Makefile: Likewise.
53321         * libio/Makefile: Likewise.
53322         (all): Remove target.
53323         * locale/Makefile: Include Makeconfig immediately after defining
53324         subdir.
53325         * login/Makefile: Likewise.
53326         * mach/Makefile: Likewise.
53327         (all): Remove target.
53328         * malloc/Makefile: Include Makeconfig immediately after defining
53329         subdir.
53330         (all): Remove target.
53331         * manual/Makefile: Include Makeconfig immediately after defining
53332         subdir.
53333         * math/Makefile: Likewise.
53334         * misc/Makefile: Likewise.
53335         * nis/Makefile: Likewise.
53336         * nss/Makefile: Likewise.
53337         * po/Makefile: Likewise.
53338         (all): Remove target.
53339         * posix/Makefile: Include Makeconfig immediately after defining
53340         subdir.
53341         * pwd/Makefile: Likewise.
53342         * resolv/Makefile: Likewise.
53343         * resource/Makefile: Likewise.
53344         * rt/Makefile: Likewise.
53345         * setjmp/Makefile: Likewise.
53346         * shadow/Makefile: Likewise.
53347         * signal/Makefile: Likewise.
53348         * socket/Makefile: Likewise.
53349         * soft-fp/Makefile: Likewise.
53350         * stdio-common/Makefile: Likewise.
53351         * stdlib/Makefile: Likewise.
53352         * streams/Makefile: Likewise.
53353         * string/Makefile: Likewise.
53354         * sunrpc/Makefile: Likewise.
53355         (all): Remove target.
53356         * sysvipc/Makefile: Include Makeconfig immediately after defining
53357         subdir.
53358         * termios/Makefile: Likewise.
53359         * time/Makefile: Likewise.
53360         * timezone/Makefile: Likewise.
53361         (all): Remove target.
53362         * wcsmbs/Makefile: Include Makeconfig immediately after defining
53363         subdir.
53364         * wctype/Makefile: Likewise.
53366 2014-02-26  Steve Ellcey  <sellcey@mips.com>
53368         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53369         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53370         (libc_feholdexcept_setround_mips): Ditto.
53371         (libc_feholdsetround): New.
53372         (libc_feholdsetroundf): New.
53373         (libc_feholdsetroundl): New.
53374         (libc_feupdateenv_test_mips): New.
53375         (libc_feupdateenv_test): New.
53376         (libc_feupdateenv_testf): New.
53377         (libc_feupdateenv_testl): New.
53378         (libc_feresetround): New.
53379         (libc_feresetroundf): New.
53380         (libc_feresetroundl): New.
53381         (libc_fetestexcept_mips): New.
53382         (libc_fetestexcept): New.
53383         (libc_fetestexceptf): New.
53384         (libc_fetestexceptl): New.
53385         (HAVE_RM_CTX): New.
53386         (libc_feholdexcept_setround_mips_ctx): New.
53387         (libc_feholdexcept_setround_ctx): New.
53388         (libc_feholdexcept_setroundf_ctx): New.
53389         (libc_feholdexcept_setroundl_ctx): New.
53390         (libc_fesetenv_mips_ctx): New.
53391         (libc_fesetenv_ctx): New.
53392         (libc_fesetenv_ctxf): New.
53393         (libc_fesetenv_ctxl): New.
53394         (libc_feupdateenv_mips_ctx): New.
53395         (libc_feupdateenv_ctx): New.
53396         (libc_feupdateenvf_ctx): New.
53397         (libc_feupdateenvl_ctx): New.
53398         (libc_feholdsetround_mips_ctx): New.
53399         (libc_feholdsetround_ctx): New.
53400         (libc_feholdsetroundf_ctx): New.
53401         (libc_feholdsetroundl_ctx): New.
53402         (libc_feresetround_mips_ctx): New.
53403         (libc_feresetround_ctx): New.
53404         (libc_feresetroundf_ctx): New.
53405         (libc_feresetroundl_ctx): New.
53407 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53409         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53411         * manual/ipc.texi: New file.
53412         * manual/Makefile (chapters): Add ipc.
53413         * manual/job.texi: Add "Inter-Process Communication" to next.
53414         * manual/process.texi: Add "Inter-Process Communication" to prev.
53416 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53420 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53422         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53424         * manual/arith.texi: Fix spaces after sentences.
53425         * manual/charset.texi: Likewise.
53426         * manual/errno.texi: Likewise.
53427         * manual/install.texi: Likewise.
53428         * manual/llio.texi: Likewise.
53429         * manual/locale.texi: Likewise.
53430         * manual/maint.texi: Likewise.
53431         * manual/math.texi: Likewise.
53432         * manual/memory.texi: Likewise.
53433         * manual/message.texi: Likewise.
53434         * manual/probes.texi: Likewise.
53435         * manual/resource.texi: Likewise.
53436         * manual/signal.texi: Likewise.
53437         * manual/socket.texi: Likewise.
53438         * manual/stdio.texi: Likewise.
53439         * manual/string.texi: Likewise.
53440         * manual/time.texi: Likewise.
53441         * manual/users.texi: Likewise.
53443 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53445         [BZ #16632]
53446         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53447         _DEFAULT_SOURCE is defined.
53449 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53450             Carlos O'Donell  <carlos@redhat.com>
53452         [BZ #16613]
53453         * elf/dl-tls.c (_dl_count_modids): New function.
53454         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53455         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53456         audit library and increment generation counter.
53457         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53458         * elf/tst-audit9.c: New file.
53459         * elf/tst-auditmod9a.c: New file.
53460         * elf/tst-auditmod9b.c: New file.
53461         * elf/Makefile: Add rules to build and run tst-audit9.
53463 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53465         [BZ #15347]
53466         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53468 2014-02-25  Will Newton  <will.newton@linaro.org>
53470         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53471         (__longjmp): Restore sp and lr before restoring callee
53472         saved registers.  Add longjmp and longjmp_target
53473         SystemTap probe point.
53474         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53475         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53476         Define to zero to match jmpbuf layout.
53477         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53478         (__sigsetjmp): Save sp and lr before saving callee
53479         saved registers.  Add setjmp SystemTap probe point.
53481 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53483         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53485 2014-02-24  Andreas Schwab  <schwab@suse.de>
53487         [BZ #15804]
53488         * elf/pldd.c (wait_for_ptrace_stop): New function.
53489         (main): Call it after attaching.
53491 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53493         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53494         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53495         Versions files is now verboten.
53496         * hurd/Versions (libc: GLIBC_2.0):
53497         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53498         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53499         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53500         * mach/Versions: Likewise.
53502         * csu/Versions: Remove unused %include.
53503         * resolv/Versions: Likewise.
53505 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53507         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53508         ($(objpfx)check-local-headers.out): Likewise.
53509         ($(objpfx)begin-end-check.out): Likewise.
53510         * Makerules (check-abi-%.out): Likewise.
53511         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53512         ($(objpfx)test2.cat): Likewise.
53513         ($(objpfx)de/libc.cat): Likewise.
53514         ($(objpfx)test-gencat.out): Likewise.
53515         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53516         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53517         ($(objpfx)noload-mem): Likewise.
53518         ($(objpfx)tst-pathopt.out): Likewise.
53519         ($(objpfx)tst-rtld-load-self.out): Likewise.
53520         ($(objpfx)tst-array1-cmp.out): Likewise.
53521         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53522         ($(objpfx)tst-array2-cmp.out): Likewise.
53523         ($(objpfx)tst-array3-cmp.out): Likewise.
53524         ($(objpfx)tst-array4-cmp.out): Likewise.
53525         ($(objpfx)tst-array5-cmp.out): Likewise.
53526         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53527         ($(objpfx)check-textrel.out): Likewise.
53528         ($(objpfx)check-execstack.out): Likewise.
53529         ($(objpfx)check-localplt.out): Likewise.
53530         ($(objpfx)order2-cmp.out): Likewise.
53531         ($(objpfx)tst-leaks1-mem): Likewise.
53532         ($(objpfx)tst-leaks1-static-mem): Likewise.
53533         ($(objpfx)tst-initorder-cmp.out): Likewise.
53534         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53535         ($(objpfx)tst-unused-dep.out): Likewise.
53536         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53537         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53538         * iconv/Makefile (test-iconvconfig): Likewise.
53539         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53540         ($(objpfx)iconv-test.out): Likewise.
53541         ($(objpfx)tst-tables.out): Likewise.
53542         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53543         ($(objpfx)tst-gettext.out): Likewise.
53544         ($(objpfx)tst-translit.out): Likewise.
53545         ($(objpfx)tst-gettext2.out): Likewise.
53546         ($(objpfx)tst-gettext4.out): Likewise.
53547         ($(objpfx)tst-gettext6.out): Likewise.
53548         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53549         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53550         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53551         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53552         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53553         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53554         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53555         ($(objpfx)wordexp-tst.out): Likewise.
53556         ($(objpfx)annexc.out): Likewise.
53557         ($(objpfx)tst-fnmatch-mem): Likewise.
53558         ($(objpfx)bug-regex2-mem): Likewise.
53559         ($(objpfx)bug-regex14-mem): Likewise.
53560         ($(objpfx)bug-regex21-mem): Likewise.
53561         ($(objpfx)bug-regex31-mem): Likewise.
53562         ($(objpfx)tst-vfork3-mem): Likewise.
53563         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53564         ($(objpfx)tst-pcre-mem): Likewise.
53565         ($(objpfx)tst-boost-mem): Likewise.
53566         ($(objpfx)tst-getconf.out): Likewise.
53567         ($(objpfx)bug-ga2-mem): Likewise.
53568         ($(objpfx)bug-glob2-mem): Likewise.
53569         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53570         ($(objpfx)mtrace-tst-leaks2): Likewise.
53571         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53572         ($(objpfx)tst-printf.out): Likewise.
53573         ($(objpfx)tst-setvbuf1.out): Likewise.
53574         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53575         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53576         ($(objpfx)tst-fmtmsg.out): Likewise.
53577         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53578         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53580         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53581         * bits/sigaction.h [__USE_MISC]: Likewise.
53582         * bits/waitstatus.h: Update #endif comments.
53583         * ctype/ctype.h: Likewise.
53584         * dirent/dirent.h: Likewise.
53585         [__USE_MISC]: Remove redundant conditionals.
53586         * grp/grp.h: Update #endif comments.
53587         [__USE_GNU]: Remove redundant conditionals.
53588         [__USE_MISC]: Likewise.
53589         * inet/netinet/in.h [__USE_GNU]: Likewise.
53590         * io/sys/stat.h [__USE_MISC]: Likewise.
53591         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53592         * libio/bits/stdio.h: Update #endif comments.
53593         [__USE_MISC]: Remove redundant conditionals.
53594         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53595         * libio/stdio.h: Update #endif comments.
53596         [__USE_MISC]: Remove redundant conditionals.
53597         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53598         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53599         * math/math.h: Update #else and #endif comments.
53600         [__USE_MISC]: Remove redundant conditionals.
53601         * misc/sys/uio.h: Update #endif comments.
53602         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53603         * posix/glob.h [__USE_MISC]: Likewise.
53604         * posix/sys/types.h: Update #endif comments.
53605         [__USE_MISC]: Remove redundant conditionals.
53606         * posix/sys/wait.h: Update #endif comments.
53607         [__USE_MISC]: Remove redundant conditionals.
53608         * posix/unistd.h: Update #endif comments.
53609         [__USE_MISC]: Remove redundant conditionals.
53610         * pwd/pwd.h [__USE_GNU]: Likewise.
53611         [__USE_MISC]: Likewise.
53612         * resolv/netdb.h [__USE_GNU]: Likewise.
53613         * signal/signal.h: Update #endif comments.
53614         [__USE_MISC]: Remove redundant conditionals.
53615         * stdlib/stdlib.h: Update #else and #endif comments.
53616         [__USE_MISC]: Remove redundant conditionals.
53617         [__USE_GNU]: Likewise.
53618         * string/bits/string2.h [__USE_MISC]: Likewise.
53619         * string/string.h: Update #endif comments.
53620         [__USE_MISC]: Remove redundant conditionals.
53621         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53622         Likewise.
53623         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53624         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53625         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53626         Likewise.
53627         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53628         Likewise.
53629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53630         comments.
53631         [__USE_MISC]: Remove redundant conditionals.
53632         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53633         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53634         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53635         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53636         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53637         Likewise.
53638         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53639         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53640         Likewise.
53641         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53642         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53643         Likewise.
53644         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53645         Likewise.
53646         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53647         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53648         Likewise.
53649         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53650         Likewise.
53651         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53652         * sysdeps/x86/bits/string.h: Update #endif comments.
53653         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53654         conditionals.
53655         * time/sys/time.h: Update #endif comments.
53656         * time/time.h: Likewise.
53657         [__USE_MISC]: Remove redundant conditionals.
53659 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53661         [BZ #16600]
53662         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53664 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53666         * Versions.def (librt): Add GLIBC_2.17.
53668 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53670         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53671         synonym for _SYS_AUXV_H to allow direct inclusion.
53672         * sysdeps/sparc/bits/hwcap.h: Likewise.
53673         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53674         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53675         * sysdeps/sparc/sysdep.h: Likewise.
53677 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53679         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53681 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53683         * benchtests/bench-strrchr.c: Print length instead of position.
53685 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53687         [BZ #16611]
53688         * sysdeps/unix/sysv/linux/kernel-features.h
53689         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53690         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53691         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53692         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53693         Likewise.
53694         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53695         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53696         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53697         (__ASSUME_SENDMMSG): Define instead of using previous
53698         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53699         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53700         (__ASSUME_SENDMMSG_SYSCALL): Define.
53701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53702         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53703         Likewise.
53704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53705         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53706         Likewise.
53707         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53708         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53709         Likewise.
53710         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53711         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53712         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53713         [__ASSUME_SENDMMSG]: Change conditionals to
53714         [__ASSUME_SENDMMSG_SOCKETCALL].
53715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53716         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53717         Define.
53718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53719         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53720         Likewise.
53721         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53722         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53723         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53724         [!__ASSUME_SENDMMSG]: Change conditional to
53725         [!__ASSUME_SENDMMSG_SOCKETCALL].
53726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53727         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53728         Define.
53730         [BZ #16610]
53731         * sysdeps/unix/sysv/linux/kernel-features.h
53732         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53733         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53734         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53735         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53736         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53737         [__i386__ || __sparc__]
53738         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53739         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53740         (__ASSUME_RECVMMSG): Define instead of using previous
53741         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53742         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53743         (__ASSUME_RECVMMSG_SYSCALL): Define.
53744         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53746         Likewise.
53747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53748         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53749         Likewise.
53750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53751         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53752         Likewise.
53753         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53754         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53755         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53756         [__ASSUME_RECVMMSG]: Change condition to
53757         [__ASSUME_RECVMMSG_SOCKETCALL].
53758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53759         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53760         Define.
53761         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53762         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53764         Likewise.
53765         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53766         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53767         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53768         [!__ASSUME_RECVMMSG]: Change condition to
53769         [!__ASSUME_RECVMMSG_SOCKETCALL].
53770         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53771         (__ASSUME_RECVMMSG_SYSCALL): Define.
53773         [BZ #16609]
53774         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53775         __powerpc__ || __s390__ || __sh__ || __sparc__]
53776         (__ASSUME_SOCKETCALL): Define.
53777         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53778         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53779         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53780         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53781         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53782         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53783         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53784         (__ASSUME_ACCEPT4): Define instead of using previous
53785         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53786         __powerpc__ || __sparc__ || __s390__)] condition.
53787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53788         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53789         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53790         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53791         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53792         [!__ASSUME_ACCEPT4]: Change condition to
53793         [!__ASSUME_ACCEPT4_SOCKETCALL].
53794         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53795         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53796         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53798         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53799         __ASSUME_ACCEPT4_SYSCALL.
53800         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53801         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53802         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53803         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53804         __ASSUME_ACCEPT4_SYSCALL.
53805         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53806         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53807         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53808         [__ASSUME_ACCEPT4]: Change condition to
53809         [__ASSUME_ACCEPT4_SOCKETCALL].
53810         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53811         (__ASSUME_SOCKETCALL): Define.
53812         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53814         (__ASSUME_SOCKETCALL): Define.
53815         (__ASSUME_ACCEPT4): Remove.
53816         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53817         Define.
53818         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53819         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53820         Likewise.
53821         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53822         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53824         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53825         macro.
53826         (HWCAP_ARM_LPAE): Likewise.
53827         (HWCAP_ARM_EVTSTRM): Likewise.
53828         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53829         Add vpfd32, lpae and evtstrm.
53830         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53831         Increase to 22.
53833 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53835         * math/auto-libm-test-in: Add tests of clog10.
53836         * math/auto-libm-test-out: Regenerated.
53837         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53838         * sysdeps/i386/fpu/libm-test-ulps: Update.
53839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53841 2014-02-18  Andreas Schwab  <schwab@suse.de>
53843         [BZ #16574]
53844         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53845         Store non-zero if the second buffer was newly allocated.
53846         (send_dg): Likewise.
53847         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53848         to send_vc and send_dg.
53849         (res_nsend): Pass NULL for ansp2_malloced.
53850         * resolv/res_query.c (__libc_res_nquery): Add parameter
53851         answerp2_malloced and pass it down to __libc_res_nsend.
53852         (res_nquery): Pass additional NULL to __libc_res_nquery.
53853         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53854         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53855         second answer buffer if answerp2_malloced was set.
53856         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53857         (__libc_res_nquerydomain): Add parameter
53858         answerp2_malloced and pass it down to __libc_res_nquery.
53859         (res_nquerydomain): Pass additional NULL to
53860         __libc_res_nquerydomain.
53861         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53862         additional NULL to __libc_res_nsend and __libc_res_nquery.
53863         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53864         additional NULL to __libc_res_nsearch.
53865         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53866         parameter of __libc_res_nsearch to check for separately allocated
53867         second buffer.
53868         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53869         __libc_res_nquery.
53870         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53871         additional NULL to __libc_res_nquery.
53872         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53873         __libc_res_nsearch.
53874         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53875         * include/resolv.h: Update prototypes of __libc_res_nquery,
53876         __libc_res_nsearch, __libc_res_nsend.
53878 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53880         * math/auto-libm-test-in: Add tests of fma.
53881         * math/auto-libm-test-out: Regenerated.
53882         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53883         (fma_towardzero_test_data): Likewise.
53884         (fma_downward_test_data): Likewise.
53885         (fma_upward_test_data): Likewise.
53886         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53887         mpc_mode.
53888         (rounding_modes): Add values for new field.
53889         (func_calc_method): Add value mpfr_fff_f.
53890         (func_calc_desc): Add mpfr_fff_f union field.
53891         (test_function): Add field exact_args.
53892         (FUNC): Add macro argument EXACT_ARGS.
53893         (FUNC_mpfr_f_f): Update call to FUNC.
53894         (FUNC_mpfr_f_f): Likewise.
53895         (FUNC_mpfr_ff_f): Likewise.
53896         (FUNC_mpfr_if_f): Likewise.
53897         (FUNC_mpc_c_f): Likewise.
53898         (FUNC_mpc_c_c): Likewise.
53899         (test_functions): Add fma.  Update calls to FUNC.
53900         (handle_input_arg): Add argument exact_args.
53901         (add_test): Update call to handle_input_arg.
53902         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53903         (output_for_one_input_case): Update call to calc_generic_results.
53904         Recalculate exact zero results in each rounding mode.
53906         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53907         non-negative before setting low bit.
53908         * math/auto-libm-test-in: Mark one asin test possibly having
53909         spurious underflow.
53910         * math/auto-libm-test-out: Regenerated.
53911         * sysdeps/i386/fpu/libm-test-ulps: Update.
53912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53914 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53916         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53917         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53918         ports/sysdeps/unix/sysv/linux/microblaze.
53919         * README: Add missing listing for microblaze*-*-linux-gnu.
53921 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53923         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53924         duplicate code
53926 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53928         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53929         * sysdeps/unix/sysv/linux/ia64: Move directory from
53930         ports/sysdeps/unix/sysv/linux/ia64.
53931         * README: Update listing for ia64-*-linux-gnu.
53933 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53934             Joseph Myers  <joseph@codesourcery.com>
53936         * Makeconfig (test-name): New variable.
53937         (evaluate-test): Likewise.
53938         * Makerules (do-test-clean): Remove .test-result files.
53939         (common-mostlyclean): Likewise.
53940         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53941         * scripts/evaluate-test.sh: New file.
53943 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53945         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53946         separate $(objpfx)tst-fopenloc-cmp.out and
53947         $(objpfx)tst-fopenloc-mem.out targets.
53948         (tests): Update dependencies.
53949         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53950         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53951         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53952         (tst-rxspencer-no-utf8-ARGS): New variable.
53953         (tst-rxspencer-no-utf8-ENV): Likewise.
53954         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53955         instead of $(objpfx)tst-rxspencer-mem.
53956         ($(objpfx)tst-rxspencer-mem): Change target to
53957         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53958         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53959         * posix/tst-rxspencer-no-utf8.c: New file.
53961         * elf/Makefile ($(objpfx)order.out): Remove rule.
53962         [$(run-built-tests) = yes] (tests): Depend on
53963         $(objpfx)order-cmp.out.
53964         ($(objpfx)order-cmp.out): New rule.
53965         [$(run-built-tests) = yes] (tests): Depend on
53966         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53967         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53968         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53969         $(objpfx)tst-array5-static-cmp.out.
53970         ($(objpfx)tst-array1.out): Remove rule.
53971         ($(objpfx)tst-array1-cmp.out): New rule.
53972         ($(objpfx)tst-array1-static.out): Remove rule.
53973         ($(objpfx)tst-array1-static-cmp.out): New rule.
53974         ($(objpfx)tst-array2.out): Remove rule.
53975         ($(objpfx)tst-array2-cmp.out): New rule.
53976         ($(objpfx)tst-array3.out): Remove rule.
53977         ($(objpfx)tst-array3-cmp.out): New rule.
53978         ($(objpfx)tst-array4.out): Remove rule.
53979         ($(objpfx)tst-array4-cmp.out): New rule.
53980         ($(objpfx)tst-array5.out): Remove rule.
53981         ($(objpfx)tst-array5-cmp.out): New rule.
53982         ($(objpfx)tst-array5-static.out): Remove rule.
53983         ($(objpfx)tst-array5-static-cmp.out): New rule.
53984         [$(run-built-tests) = yes] (tests): Depend on
53985         $(objpfx)order2-cmp.out.
53986         ($(objpfx)order2.out): Remove rule.
53987         ($(objpfx)order2-cmp.out): New rule.
53988         ($(objpfx)tst-initorder.out): Remove rule.
53989         [$(run-built-tests) = yes] (tests): Depend on
53990         $(objpfx)tst-initorder-cmp.out.
53991         ($(objpfx)tst-initorder-cmp.out): New rule.
53992         ($(objpfx)tst-initorder2.out): Remove rule.
53993         [$(run-built-tests) = yes] (tests): Depend on
53994         $(objpfx)tst-initorder2-cmp.out.
53995         ($(objpfx)tst-initorder2-cmp.out): New rule.
53996         [$(run-built-tests) = yes] (tests): Depend on
53997         $(objpfx)tst-unused-dep-cmp.out.
53998         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53999         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54000         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54001         on $(objpfx)tst-setvbuf1-cmp.out.
54002         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54003         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54004         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54005         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54006         ($(objpfx)tst-svc.out): Remove rule.
54007         ($(objpfx)tst-svc-cmp.out): New rule.
54009 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54011         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54012         * ctype/ctype.h [__USE_MISC]: Likewise.
54013         * dirent/dirent.h [__USE_MISC]: Likewise.
54014         * grp/grp.h [__USE_MISC]: Likewise.
54015         * io/fcntl.h [__USE_MISC]: Likewise.
54016         * io/sys/stat.h [__USE_MISC]: Likewise.
54017         * libio/stdio.h [__USE_MISC]: Likewise.
54018         * posix/unistd.h [__USE_MISC]: Likewise.
54019         * pwd/pwd.h [__USE_MISC]: Likewise.
54020         * stdlib.h [__USE_MISC]: Likewise.
54021         * string/bits/string2.h [__USE_MISC]: Likewise.
54022         * string/string.h [__USE_MISC]: Likewise.
54023         * time/time.h [__USE_MISC]: Likewise.
54025 2014-02-13  Andreas Schwab  <schwab@suse.de>
54027         [BZ #16574]
54028         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54029         second answer buffer if it was separately allocated.
54031 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54033         * sysdeps/mips/math-tests.h: Include <features.h>.
54034         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54035         (ROUNDING_TESTS_long_double): Do not define.
54036         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54037         (EXCEPTION_TESTS_long_double): Likewise.
54038         * sysdeps/mips/mips64/libm-test-ulps: Update.
54040         * include/features.h (__USE_BSD): Remove macro definitions.
54041         (__USE_SVID): Likewise.
54042         (_BSD_SOURCE): Likewise.
54043         (_SVID_SOURCE): Likewise.
54044         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54045         from definition of _DEFAULT_SOURCE.
54046         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54047         [_DEFAULT_SOURCE].
54048         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54049         * bits/mman.h [__USE_BSD]: Likewise.
54050         * bits/termios.h [__USE_BSD]: Likewise.
54051         * bits/waitstatus.h [__USE_BSD]: Likewise.
54052         * ctype/ctype.h [__USE_SVID]: Likewise.
54053         * dirent/dirent.h [__USE_BSD]: Likewise.
54054         * grp/grp.h [__USE_SVID]: Likewise.
54055         [__USE_BSD]: Likewise.
54056         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54057         * io/fcntl.h [__USE_BSD]: Likewise.
54058         * io/ftw.h [__USE_BSD]: Likewise.
54059         * io/sys/stat.h [__USE_BSD]: Likewise.
54060         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54061         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54062         * libio/stdio.h [__USE_SVID]: Likewise.
54063         [__USE_BSD]: Likewise.
54064         * math/math.h [__USE_SVID]: Likewise.
54065         [__USE_BSD]: Likewise.
54066         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54067         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54068         * misc/search.h [__USE_SVID]: Likewise.
54069         * misc/sys/mman.h [__USE_BSD]: Likewise.
54070         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54071         * misc/sys/uio.h [__USE_BSD]: Likewise.
54072         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54073         * posix/glob.h [__USE_BSD]: Likewise.
54074         * posix/regex.h [__USE_BSD]: Likewise.
54075         * posix/sys/types.h [__USE_BSD]: Likewise.
54076         [__USE_SVID]: Likewise.
54077         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54078         * posix/sys/wait.h [__USE_BSD]: Likewise.
54079         [__USE_SVID]: Likewise.
54080         * posix/unistd.h [__USE_BSD]: Likewise.
54081         [__USE_SVID]: Likewise.
54082         * pwd/pwd.h [__USE_SVID]: Likewise.
54083         * resolv/netdb.h [__USE_BSD]: Likewise.
54084         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54085         * signal/signal.h [__USE_BSD]: Likewise.
54086         [__USE_SVID]: Likewise.
54087         * socket/sys/socket.h [__USE_BSD]: Likewise.
54088         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54089         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54090         [__USE_SVID]: Likewise.
54091         * string/bits/string2.h [__USE_BSD]: Likewise.
54092         [__USE_SVID]: Likewise.
54093         * string/bits/string3.h [__USE_BSD]: Likewise.
54094         * string/endian.h [__USE_BSD]: Likewise.
54095         * string/string.h [__USE_SVID]: Likewise.
54096         [__USE_BSD]: Likewise.
54097         * string/strings.h [__USE_BSD]: Likewise.
54098         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54099         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54100         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54101         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54102         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54103         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54104         Likewise.
54105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54106         Likewise.
54107         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54108         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54109         Likewise.
54110         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54111         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54112         Likewise.
54113         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54114         Likewise.
54115         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54116         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54117         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54118         Likewise.
54119         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54120         Likewise.
54121         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54122         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54123         * termios/termios.h [__USE_BSD]: Likewise.
54124         * time/sys/time.h [__USE_BSD]: Likewise.
54125         * time/time.h [__USE_BSD]: Likewise.
54126         [__USE_SVID]: Likewise.
54128         * Makefile (subdir_targets): Remove subdir_lint.out.
54130         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54131         (do-tst-printf): Likewise.
54132         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54133         $(objpfx)tst-printf.out.
54135         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54137         * Makerules (check-abi-%): Change target to
54138         $(objpfx)check-abi-%.out.
54139         (check-abi target): Update dependencies.
54140         (check-abi-pattern variable): Redirect output of diff to $@.
54141         (check-abi variable): Likewise.
54142         * elf/Makefile (check-abi): Update dependencies.
54144         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54145         unused.
54146         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54147         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54148         subnormal range.
54149         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54150         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54151         value has largest subnormal exponent.
54152         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54153         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54154         * sysdeps/aarch64/soft-fp/sfp-machine.h
54155         (_FP_TININESS_AFTER_ROUNDING): New macro.
54156         * sysdeps/alpha/soft-fp/sfp-machine.h
54157         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54158         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54159         Likewise.
54160         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54161         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54162         * sysdeps/mips/soft-fp/sfp-machine.h
54163         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54164         * sysdeps/powerpc/soft-fp/sfp-machine.h
54165         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54166         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54167         Likewise.
54168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54169         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54171         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54172         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54173         Likewise.
54175 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54177         [BZ #16545]
54178         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54179         model 1.
54181 2014-02-12  Richard Henderson  <rth@redhat.com>
54183         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54184         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54185         * sysdeps/unix/sysv/linux/alpha: Move directory from
54186         ports/sysdeps/unix/sysv/linux/alpha.
54187         * README: Update listing for alpha-*-linux-gnu.
54189 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54191         * include/features.h: Update comment documenting feature test
54192         macros.
54193         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54194         _DEFAULT_SOURCE.
54195         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54196         (_SVID_SOURCE): Likewise.
54197         (_DEFAULT_SOURCE): Update description of default features.
54198         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54199         with _GNU_SOURCE.
54200         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54201         (S_ISVTX): Likewise.
54202         * manual/math.texi (Mathematical Constants): Likewise.
54203         * manual/signal.texi (Interrupted Primitives): Likewise.
54204         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54205         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54206         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54207         Don't refer to _SVID_SOURCE in warning text.
54209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54211         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54212         already defined.
54213         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54214         * sysdeps/mips/dl-lookup.c: Remove.
54215         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54217 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54219         [BZ #16447]
54220         * math/auto-libm-test-in: Add testcase for expl.
54221         * math/auto-libm-test-out: Regenerate.
54222         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54223         calculation of unsafe.
54224         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54226 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54228         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54229         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54230         ports/sysdeps/unix/sysv/linux/aarch64.
54231         * README: Update listing for aarch64*-*-linux-gnu.
54233 2014-02-11  Will Newton  <will.newton@linaro.org>
54235         * manual/probes.texi (Mathematical Function Probes): Use
54236         "triggered" instead of "hit".
54238         * manual/probes.texi (Internal Probes): Add documentation
54239         of setjmp, longjmp and longjmp_target probes.
54241         * include/stap-probe.h: Add comment about probe argument
54242         format.
54244         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54245         definition.  (tr_where, tr_freehook, tr_mallochook,
54246         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54248 2014-02-11  David S. Miller  <davem@davemloft.net>
54250         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54251         processing int_tests.
54253 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54255         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54256         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54257         * sysdeps/unix/sysv/linux/mips: Move directory from
54258         ports/sysdeps/unix/sysv/linux/mips.
54259         * README: Update listing for mips-*-linux-gnu and
54260         mips64-*-linux-gnu.
54262 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54264         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54265         * sysdeps/unix/sysv/linux/m68k: Move directory from
54266         ports/sysdeps/unix/sysv/linux/m68k.
54267         * README: Update listing for m68k-*-linux-gnu.
54269 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
54271         * sysdeps/tile: Move directory from ports/sysdeps/tile.
54272         * sysdeps/unix/sysv/linux/generic: Move directory from
54273         ports/sysdeps/unix/sysv/linux/generic.
54274         * sysdeps/unix/sysv/linux/tile: Move directory from
54275         ports/sysdeps/unix/sysv/linux/tile.
54276         * README: Update listing for tile*-*-linux-gnu.
54278 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
54280         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54281         __builtin_expect.
54282         * benchtests/bench-memmem.c (simple_memmem): Likewise.
54283         * catgets/open_catalog.c (__open_catalog): Likewise.
54284         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54285         * debug/confstr_chk.c: Likewise.
54286         * debug/fread_chk.c (__fread_chk): Likewise.
54287         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54288         * debug/getgroups_chk.c: Likewise.
54289         * debug/mbsnrtowcs_chk.c: Likewise.
54290         * debug/mbsrtowcs_chk.c: Likewise.
54291         * debug/mbstowcs_chk.c: Likewise.
54292         * debug/memcpy_chk.c: Likewise.
54293         * debug/memmove_chk.c: Likewise.
54294         * debug/mempcpy_chk.c: Likewise.
54295         * debug/memset_chk.c: Likewise.
54296         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54297         * debug/strcat_chk.c (__strcat_chk): Likewise.
54298         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54299         * debug/strncat_chk.c (__strncat_chk): Likewise.
54300         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54301         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54302         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54303         * debug/wcpncpy_chk.c: Likewise.
54304         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54305         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54306         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54307         * debug/wcsncpy_chk.c: Likewise.
54308         * debug/wcsnrtombs_chk.c: Likewise.
54309         * debug/wcsrtombs_chk.c: Likewise.
54310         * debug/wcstombs_chk.c: Likewise.
54311         * debug/wmemcpy_chk.c: Likewise.
54312         * debug/wmemmove_chk.c: Likewise.
54313         * debug/wmempcpy_chk.c: Likewise.
54314         * debug/wmemset_chk.c: Likewise.
54315         * dirent/scandirat.c (SCANDIRAT): Likewise.
54316         * dlfcn/dladdr1.c (dladdr1): Likewise.
54317         * dlfcn/dladdr.c (dladdr): Likewise.
54318         * dlfcn/dlclose.c (dlclose_doit): Likewise.
54319         * dlfcn/dlerror.c (__dlerror): Likewise.
54320         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54321         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54322         * dlfcn/dlopen.c (dlopen_doit): Likewise.
54323         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54324         * dlfcn/dlsym.c (dlsym_doit): Likewise.
54325         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54326         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54327         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54328         Likewise.
54329         * elf/dl-conflict.c: Likewise.
54330         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54331         * elf/dl-dst.h: Likewise.
54332         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54333         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54334         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54335         * elf/dl-init.c (call_init, _dl_init): Likewise.
54336         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54337         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54338         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54339         Likewise.
54340         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54341         Likewise.
54342         * elf/dl-minimal.c (__libc_memalign): Likewise.
54343         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54344         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54345         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54346         * elf/dl-sym.c (do_sym): Likewise.
54347         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54348         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54349         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54350         * elf/dl-writev.h (_dl_writev): Likewise.
54351         * elf/ldconfig.c (search_dir): Likewise.
54352         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54353         (dl_main): Likewise.
54354         * elf/setup-vdso.h (setup_vdso): Likewise.
54355         * grp/compat-initgroups.c (compat_call): Likewise.
54356         * grp/fgetgrent.c (fgetgrent): Likewise.
54357         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54358         * grp/putgrent.c (putgrent): Likewise.
54359         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54360         Likewise.
54361         * hurd/hurdinit.c: Likewise.
54362         * iconvdata/8bit-gap.c (struct): Likewise.
54363         * iconvdata/ansi_x3.110.c : Likewise.
54364         * iconvdata/big5.c : Likewise.
54365         * iconvdata/big5hkscs.c : Likewise.
54366         * iconvdata/cp1255.c: Likewise.
54367         * iconvdata/cp1258.c : Likewise.
54368         * iconvdata/cp932.c : Likewise.
54369         * iconvdata/euc-cn.c: Likewise.
54370         * iconvdata/euc-jisx0213.c : Likewise.
54371         * iconvdata/euc-jp.c: Likewise.
54372         * iconvdata/euc-jp-ms.c : Likewise.
54373         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54374         * iconvdata/gb18030.c : Likewise.
54375         * iconvdata/gbbig5.c (const): Likewise.
54376         * iconvdata/gbgbk.c: Likewise.
54377         * iconvdata/gbk.c : Likewise.
54378         * iconvdata/ibm1364.c : Likewise.
54379         * iconvdata/ibm930.c : Likewise.
54380         * iconvdata/ibm932.c: Likewise.
54381         * iconvdata/ibm933.c : Likewise.
54382         * iconvdata/ibm935.c : Likewise.
54383         * iconvdata/ibm937.c : Likewise.
54384         * iconvdata/ibm939.c : Likewise.
54385         * iconvdata/ibm943.c: Likewise.
54386         * iconvdata/iso_11548-1.c: Likewise.
54387         * iconvdata/iso-2022-cn.c : Likewise.
54388         * iconvdata/iso-2022-cn-ext.c : Likewise.
54389         * iconvdata/iso-2022-jp-3.c: Likewise.
54390         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54391         * iconvdata/iso-2022-kr.c : Likewise.
54392         * iconvdata/iso646.c (gconv_end): Likewise.
54393         * iconvdata/iso_6937-2.c : Likewise.
54394         * iconvdata/iso_6937.c : Likewise.
54395         * iconvdata/iso8859-1.c: Likewise.
54396         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54397         * iconvdata/shift_jisx0213.c : Likewise.
54398         * iconvdata/sjis.c : Likewise.
54399         * iconvdata/t.61.c : Likewise.
54400         * iconvdata/tcvn5712-1.c : Likewise.
54401         * iconvdata/tscii.c: Likewise.
54402         * iconvdata/uhc.c : Likewise.
54403         * iconvdata/unicode.c (gconv_end): Likewise.
54404         * iconvdata/utf-16.c (gconv_end): Likewise.
54405         * iconvdata/utf-32.c (gconv_end): Likewise.
54406         * iconvdata/utf-7.c (base64): Likewise.
54407         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54408         * iconv/gconv_close.c (__gconv_close): Likewise.
54409         * iconv/gconv_open.c (__gconv_open): Likewise.
54410         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54411         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54412         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54413         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54414         (ucs4le_internal_loop_single): Likewise.
54415         * iconv/iconv.c (iconv): Likewise.
54416         * iconv/iconv_close.c: Likewise.
54417         * iconv/loop.c (SINGLE): Likewise.
54418         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54419         * include/atomic.h: Likewise.
54420         * inet/inet6_option.c (option_alloc): Likewise.
54421         * intl/bindtextdom.c (set_binding_values): Likewise.
54422         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54423         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54424         * intl/localealias.c (read_alias_file): Likewise.
54425         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54426         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54427         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54428         * libio/fmemopen.c (fmemopen): Likewise.
54429         * libio/iofgets.c (_IO_fgets): Likewise.
54430         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54431         * libio/iofgetws.c (fgetws): Likewise.
54432         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54433         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54434         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54435         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54436         * locale/findlocale.c (_nl_find_locale): Likewise.
54437         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54438         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54439         Likewise.
54440         * locale/setlocale.c (setlocale): Likewise.
54441         * login/programs/pt_chown.c (main): Likewise.
54442         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54443         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54444         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54445         (mmap, mmap64, mremap, munmap): Likewise.
54446         * math/e_exp2l.c: Likewise.
54447         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54448         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54449         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54450         * math/s_catan.c (__catan): Likewise.
54451         * math/s_catanf.c (__catanf): Likewise.
54452         * math/s_catanh.c (__catanh): Likewise.
54453         * math/s_catanhf.c (__catanhf): Likewise.
54454         * math/s_catanhl.c (__catanhl): Likewise.
54455         * math/s_catanl.c (__catanl): Likewise.
54456         * math/s_ccosh.c (__ccosh): Likewise.
54457         * math/s_ccoshf.c (__ccoshf): Likewise.
54458         * math/s_ccoshl.c (__ccoshl): Likewise.
54459         * math/s_cexp.c (__cexp): Likewise.
54460         * math/s_cexpf.c (__cexpf): Likewise.
54461         * math/s_cexpl.c (__cexpl): Likewise.
54462         * math/s_clog10.c (__clog10): Likewise.
54463         * math/s_clog10f.c (__clog10f): Likewise.
54464         * math/s_clog10l.c (__clog10l): Likewise.
54465         * math/s_clog.c (__clog): Likewise.
54466         * math/s_clogf.c (__clogf): Likewise.
54467         * math/s_clogl.c (__clogl): Likewise.
54468         * math/s_csin.c (__csin): Likewise.
54469         * math/s_csinf.c (__csinf): Likewise.
54470         * math/s_csinh.c (__csinh): Likewise.
54471         * math/s_csinhf.c (__csinhf): Likewise.
54472         * math/s_csinhl.c (__csinhl): Likewise.
54473         * math/s_csinl.c (__csinl): Likewise.
54474         * math/s_csqrt.c (__csqrt): Likewise.
54475         * math/s_csqrtf.c (__csqrtf): Likewise.
54476         * math/s_csqrtl.c (__csqrtl): Likewise.
54477         * math/s_ctan.c (__ctan): Likewise.
54478         * math/s_ctanf.c (__ctanf): Likewise.
54479         * math/s_ctanh.c (__ctanh): Likewise.
54480         * math/s_ctanhf.c (__ctanhf): Likewise.
54481         * math/s_ctanhl.c (__ctanhl): Likewise.
54482         * math/s_ctanl.c (__ctanl): Likewise.
54483         * math/w_pow.c: Likewise.
54484         * math/w_powf.c: Likewise.
54485         * math/w_powl.c: Likewise.
54486         * math/w_scalb.c (sysv_scalb): Likewise.
54487         * math/w_scalbf.c (sysv_scalbf): Likewise.
54488         * math/w_scalbl.c (sysv_scalbl): Likewise.
54489         * misc/error.c (error_tail): Likewise.
54490         * misc/pselect.c (__pselect): Likewise.
54491         * nis/nis_callback.c (__nis_create_callback): Likewise.
54492         * nis/nis_call.c (__nisfind_server): Likewise.
54493         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54494         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54495         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54496         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54497         * nis/nis_lookup.c (nis_lookup): Likewise.
54498         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54499         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54500         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54501         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54502         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54503         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54504         * nis/nss_compat/compat-initgroups.c (add_group)
54505         (internal_getgrent_r): Likewise.
54506         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54507         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54508         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54509         (internal_getspnam_r): Likewise.
54510         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54511         (_nss_nis_getaliasbyname_r): Likewise.
54512         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54513         (_nss_nis_getntohost_r): Likewise.
54514         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54515         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54516         (_nss_nis_getgrgid_r): Likewise.
54517         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54518         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54519         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54520         (_nss_nis_gethostbyname4_r): Likewise.
54521         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54522         (initgroups_netid): Likewise.
54523         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54524         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54525         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54526         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54527         (_nss_nis_getprotobynumber_r): Likewise.
54528         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54529         (_nss_nis_getsecretkey): Likewise.
54530         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54531         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54532         (_nss_nis_getpwuid_r): Likewise.
54533         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54534         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54535         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54536         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54537         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54538         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54539         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54540         Likewise.
54541         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54542         (_nss_nisplus_getntohost_r): Likewise.
54543         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54544         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54545         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54546         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54547         Likewise.
54548         * nis/nss_nisplus/nisplus-initgroups.c
54549         (_nss_nisplus_initgroups_dyn): Likewise.
54550         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54551         (_nss_nisplus_getnetbyaddr_r): Likewise.
54552         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54553         (_nss_nisplus_getprotobynumber_r): Likewise.
54554         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54555         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54556         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54557         Likewise.
54558         * nis/nss_nisplus/nisplus-service.c
54559         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54560         (_nss_nisplus_getservbyport_r): Likewise.
54561         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54562         (_nss_nisplus_getspnam_r): Likewise.
54563         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54564         Likewise.
54565         * nscd/aicache.c (addhstaiX): Likewise.
54566         * nscd/cache.c (cache_search, prune_cache): Likewise.
54567         * nscd/connections.c (register_traced_file, send_ro_fd)
54568         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54569         (main_loop_epoll): Likewise.
54570         * nscd/grpcache.c (addgrbyX): Likewise.
54571         * nscd/hstcache.c (addhstbyX): Likewise.
54572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54573         * nscd/mem.c (gc, mempool_alloc): Likewise.
54574         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54575         (addinnetgrX): Likewise.
54576         * nscd/nscd-client.h (__nscd_acquire_maplock)
54577         (__nscd_drop_map_ref): Likewise.
54578         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54579         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54580         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54581         Likewise.
54582         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54583         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54584         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54585         (__nscd_get_map_ref): Likewise.
54586         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54587         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54588         Likewise.
54589         * nscd/pwdcache.c (addpwbyX): Likewise.
54590         * nscd/selinux.c (preserve_capabilities): Likewise.
54591         * nscd/servicescache.c (addservbyX): Likewise.
54592         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54593         * posix/fnmatch.c (fnmatch): Likewise.
54594         * posix/getopt.c (_getopt_internal_r): Likewise.
54595         * posix/glob.c (glob, glob_in_dir): Likewise.
54596         * posix/wordexp.c (exec_comm_child): Likewise.
54597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54598         (getanswer_r, gaih_getanswer_slice): Likewise.
54599         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54600         * resolv/res_init.c: Likewise.
54601         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54602         * resolv/res_query.c (__libc_res_nquery): Likewise.
54603         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54604         Likewise.
54605         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54606         * stdio-common/perror.c (perror): Likewise.
54607         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54608         * stdio-common/tmpnam.c (tmpnam): Likewise.
54609         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54610         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54611         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54612         Likewise.
54613         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54614         * stdlib/putenv.c (putenv): Likewise.
54615         * stdlib/setenv.c (__add_to_environ): Likewise.
54616         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54617         * stdlib/strtol_l.c (INTERNAL): Likewise.
54618         * string/memmem.c (memmem): Likewise.
54619         * string/strerror.c (strerror): Likewise.
54620         * string/strnlen.c (__strnlen): Likewise.
54621         * string/test-memmem.c (simple_memmem): Likewise.
54622         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54623         * sunrpc/pm_getport.c (__get_socket): Likewise.
54624         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54625         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54626         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54627         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54628         Likewise.
54629         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54630         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54631         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54632         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54633         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54634         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54635         Likewise.
54636         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54637         Likewise.
54638         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54639         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54641         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54642         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54644         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54645         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54646         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54647         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54648         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54649         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54650         Likewise.
54651         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54652         Likewise.
54653         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54654         Likewise.
54655         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54656         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54657         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54658         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54659         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54660         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54661         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54665         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54667         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54668         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54669         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54670         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54671         Likewise.
54672         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54673         Likewise.
54674         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54675         Likewise.
54676         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54677         Likewise.
54678         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54679         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54680         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54681         Likewise.
54682         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54683         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54684         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54685         * sysdeps/posix/sleep.c: Likewise.
54686         * sysdeps/posix/tempname.c: Likewise.
54687         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54688         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54689         Likewise.
54690         * sysdeps/powerpc/powerpc32/dl-machine.h
54691         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54692         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54694         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54695         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54696         Likewise.
54697         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54698         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54699         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54700         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54701         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54702         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54703         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54704         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54705         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54706         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54708         (elf_machine_lazy_rel): Likewise.
54709         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54711         (elf_machine_lazy_rel): Likewise.
54712         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54713         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54714         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54715         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54716         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54717         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54718         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54720         Likewise.
54721         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54722         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54723         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54724         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54725         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54726         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54727         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54728         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54729         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54730         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54731         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54732         Likewise.
54733         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54734         (__posix_fallocate64_l64): Likewise.
54735         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54736         (posix_fallocate): Likewise.
54737         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54738         Likewise.
54739         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54740         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54741         (getifaddrs_internal): Likewise.
54742         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54743         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54744         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54745         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54746         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54747         (__posix_fallocate64_l64): Likewise.
54748         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54749         Likewise.
54750         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54751         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54752         (__get_clockfreq): Likewise.
54753         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54754         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54755         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54758         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54759         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54760         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54761         Likewise.
54762         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54763         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54764         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54765         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54766         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54767         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54768         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54769         Likewise.
54770         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54771         (posix_fallocate): Likewise.
54772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54773         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54774         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54775         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54776         (elf_machine_rela, elf_machine_rela_relative)
54777         (elf_machine_lazy_rel): Likewise.
54778         * time/asctime.c (asctime_internal): Likewise.
54779         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54780         * time/tzset.c (__tzset_parse_tz): Likewise.
54781         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54782         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54783         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54784         * wcsmbs/wcsmbsload.h: Likewise.
54786         [BZ #15894]
54787         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54789         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54790         (arena_get2): Remove THREAD_STATS conditionals.
54791         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54792         (__malloc_stats, int): Likewise.
54794 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54796         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54797         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54799         * manual/setjmp.texi: Fix typos/grammar errors.
54801         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54802         Only return early when n is <= 0.  Delete unused return statement.
54804         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54805         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54806         * debug/tst-longjmp_chk3.c: New file.
54808         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54809         (test_main): Replace code with set_fortify_handler call.
54810         * debug/test-strcpy_chk.c: Likewise.
54811         * debug/tst-chk1.c: Likewise.
54812         * debug/tst-longjmp_chk.c: Likewise.
54813         * test-skeleton.c: Include fcntl.h & paths.h
54814         (set_fortify_handler): Define.
54816         * debug/tst-longjmp_chk.c: Add header comment and include
54817         ../test-skeleton.c.
54818         (do_test): Mark static.
54819         (TEST_FUNCTION): Define.
54821         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54822         (IP_PMTUDISC_INTERFACE): Likewise.
54823         (IP_MULTICAST_IF): Likewise.
54824         (IP_MULTICAST_TTL): Likewise.
54825         (IP_MULTICAST_LOOP): Likewise.
54826         (IP_ADD_MEMBERSHIP): Likewise.
54827         (IP_DROP_MEMBERSHIP): Likewise.
54828         (IP_UNBLOCK_SOURCE): Likewise.
54829         (IP_BLOCK_SOURCE): Likewise.
54830         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54831         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54832         (IP_MSFILTER): Likewise.
54833         (MCAST_JOIN_GROUP): Likewise.
54834         (MCAST_BLOCK_SOURCE): Likewise.
54835         (MCAST_UNBLOCK_SOURCE): Likewise.
54836         (MCAST_LEAVE_GROUP): Likewise.
54837         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54838         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54839         (MCAST_MSFILTER): Likewise.
54840         (IP_MULTICAST_ALL): Likewise.
54841         (IP_UNICAST_IF): Likewise.
54843         * timezone/Makefile: Delete $(have-ksh) check.
54844         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54845         * timezone/tzselect.ksh: Add +x mode bits.
54847         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54848         (ANON_INODE_FS_MAGIC): Likewise.
54849         (BDEVFS_MAGIC): Likewise.
54850         (BINFMTFS_MAGIC): Likewise.
54851         (BTRFS_TEST_MAGIC): Likewise.
54852         (CRAMFS_MAGIC_WEND): Likewise.
54853         (DEBUGFS_MAGIC): Likewise.
54854         (ECRYPTFS_SUPER_MAGIC): Likewise.
54855         (EXT3_SUPER_MAGIC): Likewise.
54856         (EXT4_SUPER_MAGIC): Likewise.
54857         (FUTEXFS_SUPER_MAGIC): Likewise.
54858         (HOSTFS_SUPER_MAGIC): Likewise.
54859         (HUGETLBFS_MAGIC): Likewise.
54860         (MINIX3_SUPER_MAGIC): Likewise.
54861         (MTD_INODE_FS_MAGIC): Likewise.
54862         (NILFS_SUPER_MAGIC): Likewise.
54863         (OPENPROM_SUPER_MAGIC): Likewise.
54864         (PIPEFS_MAGIC): Likewise.
54865         (PSTOREFS_MAGIC): Likewise.
54866         (QNX6_SUPER_MAGIC): Likewise.
54867         (RAMFS_MAGIC): Likewise.
54868         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54869         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54870         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54871         (SECURITYFS_MAGIC): Likewise.
54872         (SELINUX_MAGIC): Likewise.
54873         (SMACK_MAGIC): Likewise.
54874         (SOCKFS_MAGIC): Likewise.
54875         (SQUASHFS_MAGIC): Likewise.
54876         (STACK_END_MAGIC): Likewise.
54877         (TMPFS_MAGIC): Likewise.
54878         (USBDEVICE_SUPER_MAGIC): Likewise.
54879         (V9FS_MAGIC): Likewise.
54880         (XENFS_SUPER_MAGIC): Likewise.
54881         (CRAMFS_MAGIC): Fix typo in comment.
54882         (EXT2_SUPER_MAGIC): Update comment.
54883         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54885 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54887         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54888         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54889         * sysdeps/unix/sysv/linux/arm: Move directory from
54890         ports/sysdeps/unix/sysv/linux/arm.
54891         * README: Update listing for arm-*-linux-gnueabi.
54893         * README: Remove mention of am33.
54895 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54897         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54898         than the comma operator, to avoid "rhs of comma has no effect"
54899         compiler warnings.
54900         (__sigfillset, __sigandset, __sigorset): Likewise.
54901         * include/signal.h (__sigemptyset): Likewise.
54902         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54904 2014-02-07  Allan McRae  <allan@archlinux.org>
54906         * version.h (RELEASE): Set to "development".
54907         (VERSION): Set to "2.19.90"
54908         * NEWS: Add 2.20 section.
54910 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54912         [BZ #16529]
54913         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54915 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54917         * manual/contrib.texi: Update entry for Carlos O'Donell,
54918         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54920 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54922         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54924         * sysdeps/unix/sysv/linux/kernel-features.h
54925         [__LINUX_KERNEL_VERSION >= 0x020621]
54926         (__ASSUME_PROC_PID_TASK_COMM): Define.
54928 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54930         [BZ #16398]
54931         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54932         conversion when destination buffer does not have enough space.
54933         * libio/tst-ftell-partial-wide.c: New test case.
54934         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54936         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54937         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54938         Leonard and Allan McRae.
54940 2014-02-04  David S. Miller  <davem@davemloft.net>
54942         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54943         32-bit.
54945 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54948         New file
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54950         New file
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54952         New file.
54953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54954         New file.
54955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54956         New file.
54957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54958         New file.
54959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54960         New file.
54961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54962         New file.
54963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54964         New file.
54965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54966         New file.
54967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54968         New file.
54969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54970         New file.
54971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54972         New file.
54974 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54976         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54977         * shlib-versions: Likewise.
54979 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54980             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54982         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54983         (abilist-pattern): New variable, set to %-le.abilist.
54985         * Makerules (abilist-pattern): New variable.
54986         (vpath): Use $(abilist-pattern) in place of %.abilist.
54987         (check-abi-% pattern rule): Likewise.
54988         (check-abi, update-abi): Likewise.
54990 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54994 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54996         * manual/startup.texi: Add next, previous, and top entries for
54997         the `Program Arguments' and `Environment Variables' nodes.
54999 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55001         * manual/macros.texi: Add comments before MTASC-safety macros.
55003         * manual/users.texi: Document MTASC-safety properties.
55005         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55006         (pthread_getspecific, pthread_setspecific): Format with
55007         @deftypefun, and add @safety note.
55008         * manual/signal.texi: Move comments that analyze the above
55009         functions to their home place.
55011 2014-02-03  Allan McRae  <allan@archlinux.org>
55013         * po/sl.po: Update Slovenian translation from translation project.
55015 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55017         * manual/time.texi (timegm): Add missing blank after @c.
55018         Reported by Joseph Myers <joseph@codesourcery.com>.
55020 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55022         * manual/check-safety.sh: New.
55023         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55025         * manual/terminal.texi: Document MTASC-safety properties.
55027         * manual/filesys.texi: Document MTASC-safety properties.
55029         * manual/errno.texi: Document MTASC-safety properties.
55031         * manual/intro.texi: Document safety identifiers and
55032         conditionals.
55034         * manual/string.texi (wcstok): Fix prototype.
55035         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55037         * manual/time.texi: Document MTASC-safety properties.
55039         * manual/string.texi: Document MTASC-safety properties.
55041         * manual/threads.texi: Document MTASC-safety properties.
55043         * manual/stdio.texi: Document MTASC-safety properties.
55045         * manual/syslog.texi: Document MTASC-safety properties.
55047         * manual/sysinfo.texi: Document MTASC-safety properties.
55049         * manual/startup.texi: Document MTASC-safety properties.
55051         * manual/socket.texi: Document MTASC-safety properties.
55053         * manual/signal.texi: Document MTASC-safety properties.
55055 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55057         * manual/setjmp.texi: Document MTASC-safety properties.
55059         * manual/search.texi: Document MTASC-safety properties.
55061         * manual/resource.texi: Document MTASC-safety properties.
55063         * manual/process.texi: Document MTASC-safety properties.
55065         * manual/platform.texi: Document MTASC-safety properties.
55067         * manual/pipe.texi: Document MTASC-safety properties.
55069         * manual/pattern.texi: Document MTASC-safety properties.
55071         * manual/message.texi: Document MTASC-safety properties.
55073         [BZ #12751]
55074         * manual/memory.texi: Document MTASC-safety properties.
55076         * manual/math.texi: Document MTASC-safety properties.
55078         * manual/locale.texi: Document MTASC-safety properties.
55080         * manual/llio.texi: Document MTASC-safety properties.
55082         * manual/libdl.texi: New.
55084         * manual/lang.texi: Document MTASC-safety properties.
55086         * manual/job.texi: Document MTASC-safety properties.
55088         * manual/getopt.texi: Document MTASC-safety properties.
55090         * manual/ctype.texi: Document MTASC-safety properties.
55092 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55094         [BZ #16046]
55095         * csu/libc-tls.c (static_map): Remove variable.
55096         (__libc_setup_tls): Use main executable's link map for TLS data.
55097         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55098         casing for LM_ID_BASE and GL(dl_nns).
55099         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55100         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55101         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55102         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55103         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55104         member.
55105         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55106         l_phnum members.
55108 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55110         * manual/debug.texi: Document MTASC-safety properties.
55112 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55114         [BZ #16510]
55115         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55116         of __x86_64__ when disabling x87 inline functions.
55118 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55120         * manual/charset.texi: Document MTASC-safety properties.
55122         * manual/crypt.texi: Document MTASC-safety properties.
55124         * manual/conf.texi: Document MTASC-safety properties.
55126         * manual/arith.texi: Document MTASC-safety properties.
55128         * manual/argp.texi: Document MTASC-safety properties.
55130         * manual/macros.texi: Introduce macros to document multi
55131         thread, asynchronous signal and asynchronous cancellation
55132         safety properties.
55133         * manual/intro.texi: Introduce the properties themselves.
55135 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55137         * sysdeps/sh/sh4/Makefile: New file.
55139 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55141         * math/gen-libm-test.pl ($srcdir): New variable.
55142         ($auto_input): Use it.
55144 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55146         [BZ #16506]
55147         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55148         access beyond array bounds when parsing netgroups file.
55150         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55151         the old buffer before realloc.
55153 2014-01-27  Allan McRae  <allan@archlinux.org>
55155         * po/fr.po: Update French translation from translation project.
55157 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55159         * sysdeps/sh/libm-test-ulps: Regenerate.
55161 2014-01-24  David S. Miller  <davem@davemloft.net>
55163         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55165 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55167         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55168         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55170 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55172         [BZ #16474]
55173         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55174         string pointers after reallocation.
55176 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55178         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55179         __SH4A__ instead of __SH_FPU_ANY__.
55181 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55183         * sysdeps/sh/fpu_control.h: New file.
55184         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55185         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55186         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55187         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55188         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55189         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55190         * sysdeps/sh/sys/ucontext.h: Remove.
55191         * sysdeps/sh/sys: Remove directory.
55193 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55195         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55196         s390/sys/ucontext.h.
55197         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55200 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55202         [BZ #15605]
55203         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55205 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55207         [BZ #16431]
55208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55209         Adjust the vDSO correctly for internal calls.
55210         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55212 2014-01-20  Allan McRae  <allan@archlinux.org>
55214         * po/ca.po: Update Catalan translation from translation project.
55216 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55218         * sysdeps/s390/sotruss-lib.c: New file.
55220 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55222         [BZ #16430]
55223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55224         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55225         local calls issues by not having a PLT stub required for IFUNC calls.
55226         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55228 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55230         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55231         * math/test-fpucw-static.c: Likewise.
55233 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55235         [BZ #16453]
55236         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55238 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55240         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55241         implementation for powerpc.
55243 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55245         [BZ #14782]
55246         * sysdeps/posix/system.c (__libc_system): Do not enable
55247         asynchronous cancellation.
55249 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55251         [BZ #16427]
55252         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55253         handling only for numbers special also in the IEEE case.
55255 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55257         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55259 2014-01-11  Allan McRae  <allan@archlinux.org>
55261         * po/bg.po: Update Bulgarian translation from translation project.
55263         * po/de.po: Update German translation from translation project.
55265 2014-01-10  Roland McGrath  <roland@hack.frob.com>
55267         * sysdeps/generic/gcc-compat.h: New file.
55269 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55271         * benchtests/asin-inputs: Correct slow inputs.
55272         * benchtests/acos-inputs: Likewise.
55274 2014-01-10  Allan McRae  <allan@archlinux.org>
55276         * po:sv.po: Update Swedish translation from translation project.
55278         * po/vi.po: Update Vietnamese translation from translation project.
55280         * po/eo.po: Update Esperanto translation from translation project.
55282         * po/cs.po: Update Czech translation from translation project.
55284         * po/nl.po: Update Dutch translation from translation project.
55286         * po/pl.po: Update Polish translation from translation project.
55288         * po/ru.po: Update Russian translation from translation project.
55290         * po/uk.po: Update Ukrainian translation from translation project.
55292 2014-01-08  Brooks Moses  <bmoses@google.com>
55294         * elf/dl-load.c: Fix comment typo.
55296 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
55298         * po/header.pot: Rename to...
55299         * po/pot.header: ... this.
55300         * po/Makefile: Use pot.header.
55302 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
55303             Maxim Kuvyrkov  <maxim@kugelworks.com>
55305         [BZ #16394]
55306         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55307         SRC and DEST against LEN.
55309 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55311         [BZ #16414]
55312         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55313         implementation.
55314         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55316 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55320 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
55322         [BZ #16408]
55323         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55324         for large positive arguments.
55326 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
55328         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55330         * math/auto-libm-test-in: Mark various tests with
55331         xfail-rounding:ldbl-128ibm.
55332         * math/auto-libm-test-out: Regenerated.
55334         [BZ #16407]
55335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55336         Increase overflow threshold.
55338 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
55340         [BZ #14286]
55341         * stdio-common/vfprintf.c: Check for integer overflow.
55343 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55345         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55346         the first argument and return value of __tls_get_addr_internal.
55348 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55350         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55351         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55353 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55355         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55356         * sysdeps/s390/rtld-global-offsets.sym: New file.
55357         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55358         GLIBC_2.19 symbol.
55359         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55360         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55361         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55362         ... this.
55363         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55364         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55365         ... this.
55366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55367         Regenerate.
55368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55369         Regenerate.
55370         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55371         halfs of GPRs for high_gprs contexts.
55372         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55373         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55374         field.
55375         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55376         uc_flags field.
55377         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55378         64 bit versions:
55379         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55380         for high GPRs (uc_high_gprs) and for future extensions
55381         (__reserved).
55382         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55383         for future extensions (__reserved).
55384         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55385         64 bit versions:
55386         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55387         SC_HIGHGPRS offset definition.
55388         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55389         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55391         * Versions.def: Add GLIBC_2.19 for libpthread.
55392         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55393         siglongjmp for libpthread with GLIBC_2.19 symver.
55394         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55395         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55396         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55397         * sysdeps/s390/__longjmp.c: New file.
55398         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55399         * sysdeps/s390/longjmp.c: New file.
55400         * sysdeps/s390/setjmp.S: New file.
55401         * sysdeps/s390/sigjmp.S: New file.
55402         * sysdeps/s390/v1-longjmp.c: New file.
55403         * sysdeps/s390/v1-setjmp.h: New file.
55404         * sysdeps/s390/v1-sigjmp.c: New file.
55405         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55406         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55407         GLIBC_2.19 version.
55408         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55409         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55410         versioned symbols for ____longjmp_chk.
55411         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55412         Likewise.
55413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55414         Regenerate.
55415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55416         Regenerate.
55417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55418         Regenerate.
55419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55420         Regenerate.
55421         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55422         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55423         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55424         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55425         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55426         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55427         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55428         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55429         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55430         * sysdeps/s390/rtld-__longjmp.c: New file.
55431         * sysdeps/s390/rtld-setjmp.S: New file.
55433 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55435         [BZ #16400]
55436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55437         Return -__logl (x) for small positive arguments without evaluating
55438         a polynomial.
55440 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55442         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55443         Rename to ...
55444         (__ptrace_peeksiginfo_args): ... this.
55445         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55446         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55447         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55449 2014-01-06  Allan McRae  <allan@archlinux.org>
55451         * inet/netinet/in.h: Fix typo in comment.
55453 2014-01-05  Andreas Jaeger  <aj@suse.de>
55455         * sysdeps/i386/fpu/libm-test-ulps: Update.
55457 2014-01-05  Allan McRae  <allan@archlinux.org>
55459         * po/libc.pot: Regenerated.
55461         * malloc/memusagestat.c: Fix gettext call formatting.
55463 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55465         * nscd/nscd.c: Improve usage() output.
55467 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55469         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55470         * sysdeps/unix/sysv/linux/configure: Regenerated.
55471         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55472         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55474 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55476         [BZ #16390]
55477         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55478         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55480 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55483         extra tokens at end of #undef directive.
55484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55485         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55486         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55488 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55490         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55492         * math/auto-libm-test-in: Mark various tests with
55493         xfail-rounding:ldbl-128ibm.
55494         * math/auto-libm-test-out: Regenerated.
55496 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55498         [BZ #16386]
55499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55500         numbers with subnormal high part when calculating exponent.
55502         [BZ #16385]
55503         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55504         fabs.
55506         [BZ #16384]
55507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55508         M_LN2l.
55509         (__ieee754_acoshl): Use __log1pl not __log1p.
55511 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55513         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55514         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55515         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55516         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55517         (reused_arena, arena_get2): Convert to GNU style.
55518         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55519         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55520         (memalign_check, __malloc_set_state): Likewise.
55521         * malloc/mallocbug.c (main): Likewise.
55522         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55523         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55524         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55525         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55526         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55527         (__posix_memalign, malloc_info): Likewise.
55528         * malloc/malloc.h: Likewise.
55529         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55530         (mallochook, memalignhook, reallochook, mabort): Likewise.
55531         * malloc/mcheck.h: Likewise.
55532         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55533         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55534         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55535         * malloc/morecore.c (__default_morecore): Likewise.
55536         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55537         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55538         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55539         (print_and_abort): Likewise.
55540         * malloc/obstack.h: Likewise.
55541         * malloc/set-freeres.c (__libc_freeres): Likewise.
55542         * malloc/tst-mallocstate.c (main): Likewise.
55543         * malloc/tst-mtrace.c (main): Likewise.
55544         * malloc/tst-realloc.c (do_test): Likewise.
55546 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55548         [BZ #16366]
55549         * nscd/netgroupcache.c (do_notfound): New function.
55550         (addgetnetgrentX): Use it.
55552         [BZ # 16365]
55553         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55554         NSS_STATUS_NOTFOUND.
55556 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55558         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55561 2014-01-01  Allan McRae  <allan@archlinux.org>
55563         * scripts/update-copyrights: Update configure input file suffix.
55565         * NEWS: Update copyright year.
55566         * catgets/gencat.c: Likewise.
55567         * csu/version.c: Likewise.
55568         * debug/catchsegv.sh: Likewise.
55569         * debug/pcprofiledump.c: Likewise.
55570         * debug/xtrace.sh: Likewise.
55571         * elf/ldconfig.c: Likewise.
55572         * elf/ldd.bash.in: Likewise.
55573         * elf/pldd.c: Likewise.
55574         * elf/sotruss.ksh: Likewise.
55575         * elf/sprof.c: Likewise.
55576         * iconv/iconv_prog.c: Likewise.
55577         * iconv/iconvconfig.c: Likewise.
55578         * locale/programs/locale.c: Likewise.
55579         * locale/programs/localedef.c: Likewise.
55580         * login/programs/pt_chown.c: Likewise.
55581         * malloc/memusage.sh: Likewise.
55582         * malloc/memusagestat.c: Likewise.
55583         * malloc/mtrace.pl: Likewise.
55584         * manual/libc.texinfo: Likewise.
55585         * nscd/nscd.c: Likewise.
55586         * nss/getent.c: Likewise.
55587         * nss/makedb.c: Likewise.
55588         * posix/getconf.c: Likewise.
55589         * scripts/test-installation.pl: Likewise.
55591         * All files with FSF copyright notices: Update copyright dates
55592         using scripts/update-copyrights.
55593         * intl/plural.c: Regenerated.
55594         * locale/programs/charmap-kw.h: Likewise.
55595         * locale/programs/locfile-kw.h: Likewise.
55597 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55599         * sysdeps/unix/sysv/linux/configure: Regenerated.
55600         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55601         the linux/fanotify.h header.
55602         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55603         HAVE_LINUX_FANOTIFY_H is defined.
55605 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55607         * benchtests/cos-inputs: New inputs.
55608         * benchtests/sin-inputs: Likewise.
55610         * benchtests/atan-inputs: New inputs. Fix name of multiple
55611         precision fallback inputs.
55613         * benchtests/atanh-inputs: New inputs.
55614         * benchtests/tanh-inputs: Likewise.
55616         * benchtests/acosh-inputs: New inputs.
55617         * benchtests/asinh-inputs: Likewise.
55619         * benchtests/cosh-inputs: New inputs.
55620         * benchtests/sinh-inputs: Likewise.
55622         * benchtests/acos-inputs: Add more inputs.
55623         * benchtests/asin-inputs: Likewise.
55625 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55627         [BZ #16375]
55628         * manual/arith.texi: Fix spelling.
55629         * manual/charset.texi: Likewise.
55630         * manual/errno.texi: Likewise.
55631         * manual/filesys.texi: Likewise.
55632         * manual/lang.texi: Likewise.
55633         * manual/llio.texi: Likewise.
55634         * manual/locale.texi: Likewise.
55635         * manual/message.texi: Likewise.
55636         * manual/resource.texi: Likewise.
55637         * manual/search.texi: Likewise.
55638         * manual/setjmp.texi: Likewise.
55639         * manual/stdio.texi: Likewise.
55640         * manual/string.texi: Likewise.
55641         * manual/sysinfo.texi: Likewise.
55642         * manual/time.texi: Likewise.
55644 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55646         * po/sl.po: New file.
55648 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55650         * .gitignore: Add core/.gdbinit/.gdb_history.
55652 2013-12-27  Allan McRae  <allan@archlinux.org>
55654         [BZ #16369]
55655         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55656         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55658 2013-12-24  Brooks Moses  <bmoses@google.com>
55660         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55661         all compilers that claim C++98 compliance, not just GCC.
55662         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55663         Likewise.
55665 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55667         * NEWS: Restore accidentally deleted bug-fix entries.
55669 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55670             Ondřej Bílka  <neleai@seznam.cz>
55672         [BZ #15073]
55673         * malloc/malloc.c (_int_free): Perform sanity check only if we
55674         have_lock.
55676 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55678         [BZ #12986]
55679         * manual/stdio.texi (String Input Conversions): Clarify that character
55680         classes are not supported.
55682 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55686 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55688         [BZ #16337]
55689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55690         Calculate results for small negative arguments directly rather
55691         than using reflection formula with special underflow handling.
55693         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55694         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55695         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55696         (fchflags): Likewise.
55697         (revoke): Likewise.
55698         (setlogin): Likewise.
55699         (sigaltstack): Likewise.
55700         (wait4): Likewise.
55701         (sigblock): Remove.
55702         (sigsetmask): Likewise.
55703         (wait3): Likewise.
55704         (waitpid): Likewise.
55705         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55706         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55707         file.
55708         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55709         * sysdeps/unix/bsd/Makefile: ... here.
55710         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55711         * sysdeps/unix/bsd/Versions: ... here.
55712         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55713         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55714         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55715         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55716         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55717         * sysdeps/unix/bsd/sigblock.c: ... here.
55718         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55719         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55720         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55721         * sysdeps/unix/bsd/sigvec.c: ... here.
55722         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55723         * sysdeps/unix/bsd/tcdrain.c: ... here.
55724         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55725         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55726         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55727         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55728         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55729         * sysdeps/unix/bsd/wait.c: ... here.
55730         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55731         * sysdeps/unix/bsd/wait3.c: ... here.
55732         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55733         * sysdeps/unix/bsd/waitpid.c: ... here.
55735 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55737         [BZ #16356]
55738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55739         round-to-nearest for [!USE_AS_EXPM1L].
55740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55741         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55742         more tests of exp and exp10.  Expect some exp10 tests to miss
55743         exceptions or fail in directed rounding modes.
55744         * math/auto-libm-test-out: Regenerated.
55745         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55746         (exp10_test_tonearest): New function.
55747         (exp10_towardzero_test_data): New array.
55748         (exp10_test_towardzero): New function.
55749         (exp10_downward_test_data): New array.
55750         (exp10_test_downward): New function.
55751         (exp10_upward_test_data): New array.
55752         (exp10_test_upward): New function.
55753         (main): Call the new functions.
55754         * sysdeps/i386/fpu/libm-test-ulps: Update.
55755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55757 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55759         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55760         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55761         * math/auto-libm-test-out: Regenerated.
55762         * math/libm-test.inc (acosh_test_data): Add more tests.
55763         (atanh_test_data): Likewise.
55764         (ceil_test_data): Likewise.
55765         (copysign_test_data): Likewise.
55766         * sysdeps/i386/fpu/libm-test-ulps: Update.
55767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55769         * timezone/checktab.awk: Update from tzcode 2013i.
55770         * timezone/private.h: Likewise.
55771         * timezone/scheck.c: Likewise.
55772         * timezone/tzfile.h: Likewise.
55773         * timezone/tzselect.ksh: Likewise.
55774         * timezone/zdump.c: Likewise.
55775         * timezone/zic.c: Likewise.
55777         * math/auto-libm-test-in: Add tests of cpow.
55778         * math/auto-libm-test-out: Regenerated.
55779         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55780         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55781         mpc_cc_c.
55782         (func_calc_desc): Add mpc_cc_c union field.
55783         (test_functions): Add cpow.
55784         (special_fill_2pi): New function.
55785         (special_real_inputs): Add 2pi.
55786         (calc_generic_results): Handle mpc_cc_c.
55787         * sysdeps/i386/fpu/libm-test-ulps: Update.
55788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55790         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55791         csqrt, ctan and ctanh.
55792         * math/auto-libm-test-out: Regenerated.
55793         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55794         (TEST_COND_x86): Likewise.
55795         (ccos_test_data): Use AUTO_TESTS_c_c.
55796         (ccosh_test_data): Likewise.
55797         (cexp_test_data): Likewise.
55798         (clog_test_data): Likewise.
55799         (csqrt_test_data): Likewise.
55800         (ctan_test_data): Likewise.
55801         (ctan_tonearest_test_data): Likewise.
55802         (ctan_towardzero_test_data): Likewise.
55803         (ctan_downward_test_data): Likewise.
55804         (ctan_upward_test_data): Likewise.
55805         (ctanh_test_data): Likewise.
55806         (ctanh_tonearest_test_data): Likewise.
55807         (ctanh_towardzero_test_data): Likewise.
55808         (ctanh_downward_test_data): Likewise.
55809         (ctanh_upward_test_data): Likewise.
55810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55811         mpc_c_c.
55812         (func_calc_desc): Add mpc_c_c union field.
55813         (FUNC_mpc_c_c): New macro.
55814         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55815         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55816         ctanh.
55817         (special_fill_min_subnorm_p120): New function.
55818         (special_real_inputs): Add min_subnorm_p120.
55819         (calc_generic_results): Handle mpc_c_c.
55820         * sysdeps/i386/fpu/libm-test-ulps: Update.
55821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55823 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55825         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55826         (do_sin_slow): New functions.
55827         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55828         (cslow2, csloww1, csloww2): Use the new functions.
55830         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55831         Use M to change sign of result instead of X.  Assume X is
55832         positive.
55833         (csloww1): Likewise.
55834         (__sin): Adjust.
55835         (__cos): Adjust.
55837         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55838         arguments A and DA.
55839         (__sin): Adjust.
55840         (__cos): Likewise.
55842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55843         (__cos): Likewise.
55844         (sloww1): Don't adjust sign of DX.
55845         (csloww1): Likewise.
55846         (sloww2): Use X directly and don't adjust sign of DX.
55847         (csloww2): Likewise.
55849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55851         * math/auto-libm-test-in: Add tests of cabs and carg.
55852         * math/auto-libm-test-out: Regenerated.
55853         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55854         (carg_test_data): Likewise.
55855         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55856         mpc_c_f.
55857         (func_calc_desc): Add mpc_c_f union field.
55858         (test_functions): Add cabs and carg.
55859         (calc_generic_results): Handle mpc_c_f.
55861         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55862         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55863         as a macro and a compat symbol.
55864         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55865         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55866         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55867         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55868         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55870         not use .hidden.
55871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55872         Likewise.
55873         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55874         Likewise.
55875         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55876         Likewise.
55877         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55878         Likewise.
55879         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55880         Likewise.
55881         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55882         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55883         from GLIBC_2.3.2.
55885 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55891         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55892         trailing whitespace removed.
55893         * scripts/config.guess: Update to version 2013-11-29.
55894         * scripts/config.sub: Update to version 2013-10-01.
55896         * math/auto-libm-test-in: Add tests of sincos.
55897         * math/auto-libm-test-out: Regenerated.
55898         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55899         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55900         mpfr_f_11.
55901         (func_calc_desc): Add mpfr_f_11 union field.
55902         (test_functions): Add sincos.
55903         (calc_generic_results): Handle mpfr_f_11.
55904         * sysdeps/i386/fpu/libm-test-ulps: Update.
55905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55907 2013-12-19  Andreas Schwab  <schwab@suse.de>
55909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55910         CALL_MCOUNT.
55911         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55912         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55913         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55915 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55917         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55918         * sysdeps/i386/fpu/libm-test-ulps: Update.
55919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55921         [BZ #16293]
55922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55923         round-to-nearest mode when using frndint.
55924         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55925         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55927         Likewise.
55928         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55929         sinh test to fail.
55930         * math/auto-libm-test-out: Regenerated.
55931         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55932         (TEST_COND_x86): Likewise.
55933         (expm1_tonearest_test_data): New array.
55934         (expm1_test_tonearest): New function.
55935         (expm1_towardzero_test_data): New array.
55936         (expm1_test_towardzero): New function.
55937         (expm1_downward_test_data): New array.
55938         (expm1_test_downward): New function.
55939         (expm1_upward_test_data): New array.
55940         (expm1_test_upward): New function.
55941         (main): Run the new test functions.
55942         * sysdeps/i386/fpu/libm-test-ulps: Update.
55943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55945         * include/features.h: Update comment documenting feature test
55946         macros.  Mention _DEFAULT_SOURCE in comment.
55947         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55948         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55949         _BSD_SOURCE and _SVID_SOURCE.
55950         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55951         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55952         !_SVID_SOURCE]: Likewise.
55953         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55954         (__USE_POSIX_IMPLICITLY): Define.
55955         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55956         (_POSIX_SOURCE): Undefine and redefine.
55957         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55958         (_POSIX_C_SOURCE): Likewise.
55959         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55960         (Feature Test Macros): Update documentation of default features.
55962 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55964         * benchtests/Makefile: Add bench-strtok.
55965         * benchtests/bench-strtok.c: New file: strtok benchtest.
55967 2013-12-19  Allan McRae  <allan@archlinux.org>
55969         * manual/install.texi: Suppress menu for plain text output.
55970         * INSTALL: Regenerated.
55972 2013-12-18  Brooks Moses  <bmoses@google.com>
55974         [BZ #15846]
55975         * misc/getauxval.c: Include errno.h.
55976         (__getauxval): Set errno to ENOENT if the requested type is not
55977         found.
55978         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55979         don't declare with __attribute_const__.
55980         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55981         * manual/startup.texi: Document that getauxval sets errno.
55983 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55985         * math/auto-libm-test-in: Add tests of jn and yn.
55986         * math/auto-libm-test-out: Regenerated.
55987         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55988         (yn_test_data): Likewise.
55989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55990         mpfr_if_f.
55991         (func_calc_desc): Add mpfr_if_f union field.
55992         (FUNC_mpfr_if_f): New macro.
55993         (test_functions): Add jn and yn.
55994         (calc_generic_results): Assert type of second input for
55995         mpfr_ff_f.  Handle mpfr_if_f.
55996         (output_for_one_input_case): Disable all checking for arguments
55997         fitting floating-point types in case of an integer argument.
55998         * sysdeps/i386/fpu/libm-test-ulps: Update.
55999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56002         Don't expect fegetround reference in libm.so.
56004 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56006         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56007         $(config-cflags-nofma).
56009 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56011         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56012         * math/auto-libm-test-out: Regenerated.
56014         [BZ #16338]
56015         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56016         to determine exponent and adjust argument to have exponent of -1.
56017         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56018         log2.
56019         * math/auto-libm-test-out: Regenerated.
56020         * sysdeps/i386/fpu/libm-test-ulps: Update.
56021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56023 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56025         * manual/probes.texi: Remove cases when per-thread arenas are
56026         disabled.
56028 2013-12-18  Andreas Schwab  <schwab@suse.de>
56030         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56031         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56032         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56033         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56034         * sysdeps/i386/i686/multiarch/Makefile: Update.
56035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56037 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56039         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56040         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56042 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56044         [BZ #15968]
56045         Support TZ transition times < 00:00:00.
56046         This is needed for version-3 tz-format files; it supports time
56047         stamps past 2037 for America/Godthab (the only entry in the tz
56048         database for which this change is relevant).
56049         * manual/time.texi (TZ Variable): Document transition times
56050         from -167:59:59 through -00:00:01.
56051         * time/tzset.c (tz_rule): Time of day is now signed.
56052         (__tzset_parse_tz): Parse negative time of day.
56054         Document TZ transition times >= 25:00:00.
56055         * manual/time.texi (TZ Variable): Document transition times from
56056         25:00:00 through 167:59:59.  These are already supported, and this
56057         support will help with version-3 tz-format files.
56059         * manual/time.texi (TZ Variable): Modernize North America example
56060         to reflect current (i.e., 2007-and-later) daylight saving rules.
56062         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56064 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56066         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56067         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56068         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56070         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56071         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56072         * sysdeps/unix/bsd/clock.c: Likewise.
56073         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56074         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56075         * sysdeps/unix/bsd/init-posix.c: Likewise.
56076         * sysdeps/unix/bsd/poll.c: Likewise.
56077         * sysdeps/unix/bsd/ptsname.c: Likewise.
56078         * sysdeps/unix/bsd/seekdir.c: Likewise.
56079         * sysdeps/unix/bsd/setegid.c: Likewise.
56080         * sysdeps/unix/bsd/seteuid.c: Likewise.
56081         * sysdeps/unix/bsd/setgid.c: Likewise.
56082         * sysdeps/unix/bsd/setrgid.c: Likewise.
56083         * sysdeps/unix/bsd/setruid.c: Likewise.
56084         * sysdeps/unix/bsd/setsid.c: Likewise.
56085         * sysdeps/unix/bsd/setuid.c: Likewise.
56086         * sysdeps/unix/bsd/sigaction.c: Likewise.
56087         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56088         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56089         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56090         * sysdeps/unix/bsd/telldir.c: Likewise.
56091         * sysdeps/unix/bsd/times.c: Likewise.
56092         * sysdeps/unix/bsd/usleep.c: Likewise.
56094         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56095         ($(objpfx)libbsd-compat.a): Remove rule.
56097         * include/features.h (__FAVOR_BSD): Do not define.
56098         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56099         features conflicting with POSIX.
56100         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56101         (_BSD_SOURCE): Remove description of not being a subset of other
56102         feature test macros.
56103         * manual/job.texi (getpgrp): Do not document BSD version.
56104         (getpgid): Do not document by reference to BSD getpgrp.
56105         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56106         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56107         * signal/signal.h [__FAVOR_BSD]: Likewise.
56108         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56109         instead of making contents conditional on [__FAVOR_BSD].
56110         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56112 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56116 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #16314]
56119         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56120         values below 2**-450, not 2**-500.
56121         * math/auto-libm-test-in: Don't allow spurious underflow from
56122         hypot.
56123         * math/auto-libm-test-out: Regenerated.
56125         [BZ #16316]
56126         [BZ #16330]
56127         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56128         values of ha and hb and sort them after adjusting subnormal
56129         arguments.
56130         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56131         Likewise.
56132         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56133         values of ea and eb and sort them after adjusting subnormal
56134         arguments.
56135         * math/auto-libm-test-in: Do not expect some hypot tests of
56136         subnormals to fail.  Add more hypot tests.
56137         * math/auto-libm-test-out: Regenerated.
56139 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56141         [BZ #13304]
56142         * sysdeps/sh/s_fma.c: New file.
56143         * sysdeps/sh/s_fmaf.c: New file.
56144         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56145         version.
56146         * sysdeps/sh/Implies: Add sh/soft-fp.
56148 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56150         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56151         level of indirection to members `objname', `errstring', `malloced'.
56152         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56153         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56154         it as the __longjmp argument (just pass 1 instead).
56155         (_dl_catch_error): Initialize C with argument pointers and address of
56156         volatile local ERRCODE rather than copying values out of C at return.
56158 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56160         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56161         * math/auto-libm-test-out: Regenerated.
56162         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56163         (hypot_test_data): Likewise.
56164         (pow_test_data): Likewise.
56165         (pow_tonearest_test_data): Likewise.
56166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56167         mpfr_ff_f.
56168         (func_calc_desc): Add mpfr_ff_f union field.
56169         (FUNC_mpfr_ff_f): New macro.
56170         (test_functions): Add atan2, hypot and pow.
56171         (special_fill_min): New function.
56172         (special_fill_minus_min): Likewise.
56173         (special_fill_min_subnorm): Likewise.
56174         (special_fill_minus_min_subnorm): Likewise.
56175         (special_real_inputs): Add min, -min, min_subnorm and
56176         -min_subnorm.
56177         (calc_generic_results): Handle mpfr_ff_f.
56178         * sysdeps/i386/fpu/libm-test-ulps: Update.
56179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56181 2013-12-16  Will Newton  <will.newton@linaro.org>
56183         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56184         (Aligned Memory Blocks): Add documentation for aligned_alloc
56185         and suggest it as an alternative to posix_memalign.
56186         (Hooks for Malloc): Document __memalign_hook is also called
56187         for aligned_alloc.  (Summary of Malloc): Add summary for
56188         aligned alloc.  Document __memalign_hook is also called
56189         for aligned_alloc.
56191 2013-12-16  Will Newton  <will.newton@linaro.org>
56193         * manual/memory.texi (Malloc Examples): Clarify default
56194         alignment documentation.  Suggest posix_memalign rather
56195         than memalign or valloc.
56196         (Aligned Memory Blocks): Remove suggestion to use memalign
56197         or valloc.  Remove obsolete comment about BSD.
56198         Document memalign errno values and mark the function obsolete.
56199         Document posix_memalign returned error codes.  Mark valloc
56200         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56201         called for posix_memalign and valloc.
56202         (Summary of Malloc): Add posix_memalign to function summary.
56203         __memalign_hook is also called for posix_memalign and valloc.
56205 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56207         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56208         TAYLOR_SIN.
56209         (__sin): Adjust.
56210         (__cos): Likewise.
56211         (sloww): Use mynumber union.  Expand ternary operator into
56212         if-else statements.
56213         (cslow): use mynumber union.
56215 2013-12-16  Allan McRae  <allan@archlinux.org>
56217         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56218         * configure: Regenerated.
56220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56222         [BZ #14120]
56223         * configure.ac: Added --enable-maintainer-mode. Check for
56224         autoconf when enabled.
56225         * configure: Regenerated.
56227         * nscd/nscd.service: New file.
56228         * nscd/nscd.tmpfiles: New file.
56230 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56232         [BZ #12100]
56233         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56234         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56235         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56236         (strstr): Add __strstr_sse2_unaligned ifunc.
56237         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56238         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56239         (strcasestr): Remove __strcasestr_sse42 ifunc.
56240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56244 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56246         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56247         * sysdeps/sh/bits/fenv.h: ... here.
56248         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56252         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56255         hypotf multiarch implementations.
56256         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56257         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56259         multiarch hypot for PPC64.
56260         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56261         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56263         multiarch hypotf for PPC64.
56265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56266         modff multiarch implementations.
56267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56270         multiarch modf for PPC64.
56271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56274         multiarch modff for PPC64.
56276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56277         and logl multiarch implementations.
56278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56281         multiarch logb for PPC64.
56282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56285         multiarch logb for PPC64.
56286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56289         multiarch logb for PPC64.
56291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56292         isinff multiarch implementation.
56293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56294         file.
56295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56297         multiarch isinf for PPC64.
56298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56299         file.
56300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56301         multiarch isinff for PPC64.
56303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56304         finitef multiarch implementation.
56305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56306         file.
56307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56309         multiarch finite for PPC64.
56310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56311         file.
56312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56313         multiarch finitef for PPC64.
56315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56316         lrint multiarch implementation.
56317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56318         file.
56319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56321         multiarch llrint for PPC64.
56322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56323         multiarch lrint for PPC64.
56325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56326         copysignf multiarch implementation.
56327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56328         file.
56329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56330         file.
56331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56332         multiarch copysign for PPC64.
56333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56334         multiarch copysignf for PPC64.
56336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56337         multiarch implementation.
56338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56339         file.
56340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56341         file.
56342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56343         file.
56344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56345         file.
56346         multiarch llround for PPC64.
56347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56348         multiarch trunc for PPC64.
56349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56350         multiarch truncf for PPC64.
56352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56353         multiarch implementation.
56354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56355         file.
56356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56357         file.
56358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56359         file.
56360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56361         file.
56362         multiarch llround for PPC64.
56363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56364         multiarch round for PPC64.
56365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56366         multiarch roundf for PPC64.
56368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56369         multiarch implementation.
56370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56371         file.
56372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56373         file.
56374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56375         file.
56376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56377         file.
56378         multiarch llround for PPC64.
56379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56380         multiarch floor for PPC64.
56381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56382         multiarch floorf for PPC64.
56384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56385         multiarch implementation.
56386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56387         file.
56388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56389         file.
56390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56391         file.
56392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56393         file.
56394         multiarch llround for PPC64.
56395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56396         multiarch ceil for PPC64.
56397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56398         multiarch ceilf for PPC64.
56400         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56401         multiarch implementation.
56402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56403         file.
56404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56405         file.
56406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56407         file.
56408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56409         multiarch llround for PPC64.
56410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56411         multiarch lround for PPC64.
56413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56414         multiarch implementation.
56415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56418         file.
56419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56422         multiarch isnan for PPC64.
56423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56424         multiarch isnanf for PPC64.
56426         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56427         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56428         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56429         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56430         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56433         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56434         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56439         multiarch implementations.
56440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56441         (__libc_ifunc_impl_list): Likewise.
56442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56445         multiarch stpcpy for PPC64.
56447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56448         multiarch implementations.
56449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56450         (__libc_ifunc_impl_list): Likewise.
56451         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56452         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56453         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56454         multiarch strcpy for PPC64.
56456         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56457         redefine function name.
56458         (_wordcopy_fwd_dest_aligned): Likewise.
56459         (_wordcopy_bwd_aligned): Likewise.
56460         (_wordcopy_bwd_dest_aligned): Likewise.
56461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56462         multiarch implementations.
56463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56464         (__libc_ifunc_impl_list): Likewise.
56465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56467         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56469         multiarch wcscpy for PPC64.
56471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56472         multiarch implementations.
56473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56474         (__libc_ifunc_impl_list): Likewise.
56475         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56476         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56477         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56478         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56479         multiarch wcscpy for PPC64.
56481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56482         multiarch implementations.
56483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56484         (__libc_ifunc_impl_list): Likewise.
56485         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56486         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56487         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56488         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56489         multiarch wcsrchr for PPC64.
56491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56492         multiarch implementations.
56493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56494         (__libc_ifunc_impl_list): Likewise.
56495         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56496         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56497         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56498         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56499         multiarch wcschr for PPC64.
56501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56502         multiarch implementations.
56503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56504         (__libc_ifunc_impl_list): Likewise.
56505         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56506         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56507         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56508         multiarch strchrnul for PPC64.
56510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56511         implementations.
56512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56513         (__libc_ifunc_impl_list): Likewise.
56514         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56515         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56516         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56517         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56518         strchr for PPC64.
56520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56521         implementations.
56522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56523         (__libc_ifunc_impl_list): Likewise.
56524         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56525         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56526         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56527         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56528         strncmp for PPC64.
56530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56531         multiarch implementations.
56532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56533         (__libc_ifunc_impl_list): Likewise.
56534         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56535         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56536         strncasecmp for PPC64.
56537         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56538         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56539         multiarch strncasecmp_l for PPC64.
56541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56542         multiarch implementations.
56543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56544         (__libc_ifunc_impl_list): Likewise.
56545         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56547         multiarch strcasecmp for PPC64.
56548         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56549         file.
56550         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56551         multiarch strcasecmp_l for PPC64.
56553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56554         implementations.
56555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56556         (__libc_ifunc_impl_list): Likewise.
56557         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56558         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56559         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56560         strnlen for PPC64.
56562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56563         implementations.
56564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56565         (__libc_ifunc_impl_list): Likewise.
56566         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56567         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56568         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56569         strlen for PPC64.
56571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56572         implementations.
56573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56574         (__libc_ifunc_impl_list): Likewise.
56575         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56576         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56577         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56578         rawmemrchr for PPC64.
56580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56581         implementation.
56582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56583         (__libc_ifunc_impl_list): Likewise.
56584         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56585         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56586         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56587         memrchr for PPC64.
56589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56590         implementation.
56591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56592         (__libc_ifunc_impl_list): Likewise.
56593         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56594         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56595         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56596         memchr for PPC64.
56598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56599         implementation.
56600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56601         (__libc_ifunc_impl_list): Likewise.
56602         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56603         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56604         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56605         mempcpy for PPC64.
56607         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56608         avoid cretion of __bzero symbol.
56609         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56610         Likewise.
56611         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56612         Likewise.
56613         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56614         Likewise.
56615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56616         multiarch implementations.
56617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56618         (__libc_ifunc_impl_list): Likewise.
56619         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56620         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56621         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56622         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56623         bzero for PPC32.
56624         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56625         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56626         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56627         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56628         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56629         memset for PPC64.
56630         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56632         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56634         implementations.
56635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56636         (__libc_ifunc_impl_list): Likewise.
56637         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56638         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56639         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56640         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56641         memcmp for PPC64.
56643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56644         multiarch for POWER/PPC64.
56645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56646         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56647         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56648         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56649         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56650         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56651         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56653         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56654         memcpy for PPC64.
56656         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56657         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56658         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56659         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56660         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56661         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56662         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56663         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56664         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56665         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56666         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56667         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56668         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56669         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56670         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56679 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56681         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56683 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56685         * benchtests/Makefile (bench): Add exp2 and log2.
56686         (LDLIBS-bench-exp2): Add -lm.
56687         (LDLIBS-bench-log2): Likewise.
56688         * benchtests/exp2-inputs: New inputs file.
56689         * benchtests/log2-inputs: New inputs file.
56690         * benchtests/log-inputs: Add new inputs.
56691         * benchtests/tan-inputs: Likewise.
56693 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56695         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56696         definition...
56697         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56698         (csloww2): ... from here.
56700         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56701         instead of structures.
56702         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56703         (POLYNOMIAL): Likewise.
56704         (TAYLOR_SLOW): Likewise.
56705         (__sin): Likewise.
56706         (__cos): Likewise.
56707         (slow1): Likewise.
56708         (slow2): Likewise.
56709         (sloww): Likewise.
56710         (sloww1); Likewise.
56711         (sloww2): Likewise.
56712         (bsloww1): Likewise.
56713         (bsloww2): Likewise.
56714         (cslow2): Likewise.
56715         (csloww): Likewise.
56716         (csloww1): Likewise.
56717         (csloww2): Likewise.
56719 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56721         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56722         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56723         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56724         * malloc/hooks.c (realloc_check): Likewise.
56726         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56727         * malloc/arena.c: Remove PER_THREAD conditional.
56728         [!PER_THREAD]: Remove code.
56729         (ptmalloc_unlock_all2): Likewise.
56730         (ptmalloc_init): Likewise.
56731         (_int_new_arena): Likewise.
56732         (arena_get2): Likewise.
56733         * malloc/hooks.c (__malloc_get_state): Likewise.
56734         (__malloc_set_state): Likewise.
56735         * malloc/malloc.c: Likewise.
56736         (struct malloc_state): Likewise.
56737         (struct malloc_par): Likewise.
56738         (__libc_realloc): Likewise.
56739         (__libc_mallopt): Likewise.
56741 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56743         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56745 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56747         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56748         macro to a function.  Check for zero perturb_byte.
56749         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56751         * malloc/malloc.c: (force_reg): Remove.
56752         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56753         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56754         force_reg by atomic_forced_read.
56755         * malloc/arena.c (ptmalloc_init): Likewise.
56756         * malloc/hooks.c (top_check): Likewise.
56758 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56762 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56766 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56768         * math/auto-libm-test-in: Add tests of lgamma.
56769         * math/auto-libm-test-out: Regenerated.
56770         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56771         (M_LOG_2_SQRT_PIl): Likewise.
56772         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56773         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56774         mpfr_f_f1.
56775         (func_calc_desc): Add mpfr_f_f1 union field.
56776         (ARGS1): New macro.
56777         (ARGS2): Likewise.
56778         (ARGS3): Likewise.
56779         (ARGS4): Likewise.
56780         (RET1): Likewise.
56781         (RET2): Likewise.
56782         (CALC): Likewise.
56783         (FUNC): Likewise.
56784         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56785         (test_functions): Add lgamma.
56786         (calc_generic_results): Handle mpfr_f_f1.
56787         * sysdeps/i386/fpu/libm-test-ulps: Update.
56788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56790 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56792         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56793         __mpn_add_n for PowerPC64/POWER7.
56794         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56795         __mpn_sub_n for PowerPC64/POWER7.
56797         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56798         __mpn_addmul_1 for PowerPC64.
56799         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56800         __mpn_submul_1 for PowerPC64.
56801         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56802         for PowerPC64.
56803         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56804         for PowerPC64.
56806 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56808         [BZ #15089]
56809         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56813         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56815         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56816         add multiarch folders.
56817         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56818         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56819         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56820         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56821         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56822         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56823         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56824         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56825         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56826         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56827         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56836         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56838         New file.
56839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56840         New file.
56841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56842         multiarch __ieee754_hypot for PowerPC32.
56843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56844         New file.
56845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56846         New file.
56847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56848         multiarch __ieee754_hypotf for PowerPC32.
56850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56851         long_double_symbol only if __logbl is defined.
56852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56853         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56855         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56857         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56858         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56859         path for implementation.
56860         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56863         logb, and logbl multiarch implementations for PowerPC32.
56864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56865         file.
56866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56867         file.
56868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56869         multiarch logb for PowerPC32.
56870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56871         file.
56872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56873         file.
56874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56875         multiarch logbf for PowerPC32.
56876         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56878         file.
56879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56880         multiarch logbl implementation for PowerPC32.
56882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56883         and modff multiarch implementations.
56884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56885         New file.
56886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56887         New file.
56888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56889         multiarch modf for PowerPC32.
56890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56891         New file.
56892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56893         New file.
56894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56895         multiarch modff for PowerPC32.
56897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56898         and lrintf multiarch implementations.
56899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56900         New file.
56901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56902         New file.
56903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56904         multiarch lrint for PowerPC32.
56905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56906         file: multiarch lrintf for PowerPC32.
56908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56909         and lroundf multiarch implementations.
56910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56911         New file.
56912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56913         New file.
56914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56915         New file.
56916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56917         multiarch lround for PowerPC32.
56918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56919         file: multiarch lroundf for PowerPC32.
56921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56922         copysign and copysignf multiarch implementations.
56923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56924         New file.
56925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56926         New file.
56927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56928         file: multiarch copysign for PowerPC32.
56929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56930         file: multiarch copysignf for PowerPC32.
56932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56933         and truncf multiarch implementations.
56934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56935         New file.
56936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56937         file.
56938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56939         multiarch trunc for PowerPC32.
56940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56941         New file.
56942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56943         New file.
56944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56945         multiarch truncf for PowerPC32.
56947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56948         and roundf multiarch implementations.
56949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56950         New file.
56951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56952         file.
56953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56954         multiarch round for PowerPC32.
56955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56956         New file.
56957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56958         New file.
56959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56960         multiarch roundf for PowerPC32.
56962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56963         and floorf multiarch implementations.
56964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56965         New file.
56966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56967         file.
56968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56969         multiarch floor for PowerPC32.
56970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56971         New file.
56972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56973         New file.
56974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56975         multiarch floorf for PowerPC32.
56977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56978         and ceilf multiarch implementations.
56979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56980         New file.
56981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56982         file.
56983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56984         multiarch ceil for PowerPC32.
56985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56986         New file.
56987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56988         file.
56989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56990         multiarch ceilf for PowerPC32.
56992         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56993         is defined.
56994         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56995         FINITEF is defined.
56996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56997         and finitef multiarch implementations.
56998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56999         New file.
57000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57001         file.
57002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57003         multiarch finite for PowerPC32.
57004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57005         New file.
57006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57007         file: multiarch finitef for PowerPC32.
57009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57010         and isinff multiarch implementations.
57011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57012         file.
57013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57014         file.
57015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57016         multiarch isinf for PowerPC32.
57017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57018         New file.
57019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57020         multiarch isinff for PowerPC32.
57022         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57023         alias when __isnan is defined.
57024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57025         and isnanf multiarch implementations.
57026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57027         file.
57028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57029         file.
57030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57031         file.
57032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57033         file.
57034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57035         multiarch isnan for PowerPC32.
57036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57037         New file.
57038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57039         New file.
57040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57041         multiarch isnanf for PowerPC32.
57043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57044         and sqrtf multiarch implementations.
57045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57046         file.
57047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57048         file.
57049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57050         multiarch sqrt for PowerPC32.
57051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57052         file.
57053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57054         file.
57055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57056         multiarch sqrtf for PowerPC32.
57058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57059         and llroundf multiarch implementations.
57060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57061         New file.
57062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57063         New file.
57064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57065         New file.
57066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57067         file: multiarch llround for PowerPC32.
57068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57069         file: multiarch llroundf for PowerPC32.
57071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57072         multiarch PowerPC32 fpu implementations.
57073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57074         New file.
57075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57076         New file.
57077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57078         multiarch llrint for PowerPC32.
57079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57080         New file.
57081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57082         New file.
57083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57084         file.
57086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57089         file.
57090         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57091         file.
57092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57093         file.
57094         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57095         multiarch wordcopy for PPC32.
57096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57097         wordcopy objects.
57098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57099         (__libc_ifunc_impl_list): Likewise.
57100         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57101         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57103         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57104         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57105         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57107         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57109         file.
57110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57111         file.
57112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57113         file.
57114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57115         multiarch wcscpy for PPC32.
57116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57117         multiarch objects.
57118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57119         (__libc_ifunc_impl_list): Likewise.
57120         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57121         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57122         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57123         sysdeps/powerpc/power6/wcscpy.c.
57125         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57127         file.
57128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57129         file.
57130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57131         file.
57132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57133         multiarch wcsrchr for PPC32.
57134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57135         multiarch objects.
57136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57137         (__libc_ifunc_impl_list): Likewise.
57138         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57139         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57140         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57141         sysdeps/powerpc/power6/wcsrchr.c.
57143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57144         file.
57145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57146         file.
57147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57149         multiarch wcschr for PPc32.
57150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57151         multiarch objects.
57152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57153         (__libc_ifunc_impl_list): Likewise.
57154         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57155         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57156         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57157         sysdeps/powerpc/power6/wcschr.c.
57159         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57160         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57161         file.
57162         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57163         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57164         file: multiarch strchr for PPC32.
57165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57166         multiarch objects.
57167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57168         (__libc_ifunc_impl_list): Likewise.
57170         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57171         name.
57172         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57173         file.
57174         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57175         file.
57176         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57177         multiarch strchrnul for PPC32.
57178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57179         multiarch objects.
57180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57181         (__libc_ifunc_impl_list): Likewise.
57183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57184         file.
57185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57186         multiarch strncasecmp for PPC32.
57187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57188         file.
57189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57190         multiarch strncasecmp_l for PPC32.
57191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57192         strncasecmp multiarch objects.
57193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57194         (__libc_ifunc_impl_list): Likewise.
57196         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57197         file.
57198         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57199         multiarch strncasecmp for PPC32.
57200         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57201         New file.
57202         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57203         multiarch strcasecmp_l for PPC32.
57204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57205         multiarch objects.
57206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57207         (__libc_ifunc_impl_list): Likewise.
57209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57210         file.
57211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57212         file.
57213         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57214         multiarch strncmp for PPC32.
57215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57216         multiarch objects.
57217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57218         (__libc_ifunc_impl_list): Likewise.
57220         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57221         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57222         file.
57223         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57224         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57226         multiarch objects.
57227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57228         (__libc_ifunc_impl_list): Likewise.
57230         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57231         file.
57232         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57233         file.
57234         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57236         multiarch objects.
57237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57238         (__libc_ifunc_impl_list): Likewise.
57240         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57241         file.
57242         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57243         file.
57244         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57245         multiarch rawmemchr for PPC32.
57246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57247         multiarch objects.
57248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57249         (__libc_ifunc_impl_list): Likewise.
57251         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57252         file.
57253         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57254         file.
57255         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57256         file: memrchr multiarch for PPC32.
57257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57258         multiarch objects.
57259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57260         (__libc_ifunc_impl_list): Likewise.
57262         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57263         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57264         file.
57265         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57267         multiarch memchr for PPC32.
57268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57269         multiarch objects.
57270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57271         (__libc_ifunc_impl_list): Likewise.
57273         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57274         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57275         file.
57276         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57277         file.
57278         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57279         file: multiarch mempcpy for PPC32.
57280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
57281         multiarch objects.
57282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57283         (__libc_ifunc_impl_list): Likewise.
57285         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57286         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57287         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57288         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57289         multiarch bzero for PPC32.
57290         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57291         file.
57292         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57293         file.
57294         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57295         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57296         file: multiarch memset for PPC32.
57297         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57299         memset multiarch objects.
57300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57301         (__libc_ifunc_impl_list): Likewise.
57303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57304         file.
57305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57307         memcmp for PPC32.
57308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57310         multiarch objects.
57311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57312         (__libc_ifunc_impl_list): Likewise.
57314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57317         file.
57318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57319         file.
57320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57321         file.
57322         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57323         multiarch memcpy for PPC32.
57324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57325         multiarch objects.
57326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57327         (__libc_ifunc_impl_list): Likewise.
57329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57330         support multiarch for POWER/PPC32.
57331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57332         Likewise.
57333         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57335         Implies file to make multiarch folder appers before the fpu and
57336         default folder for power4 configuration.
57338 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57340         * scripts/bench.pl: Append volatile keyword to type.
57342 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57344         * sysdeps/sh/sotruss-lib.c: New file.
57345         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57347 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57351 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
57353         [BZ #6810]
57354         * math/w_tgamma.c: Include <errno.h>.
57355         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
57356         * math/w_tgammaf.c: Include <errno.h>.
57357         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
57358         * math/w_tgammal.c: Include <errno.h>.
57359         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
57360         * math/auto-libm-test-in: Do not allow missing errno on tgamma
57361         underflow.  Add more tgamma tests.
57362         * math/auto-libm-test-out: Regenerated.
57363         * sysdeps/i386/fpu/libm-test-ulps: Update.
57364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57366         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57367         sin, sinh, tan, tanh, tgamma, y0 and y1.
57368         * math/auto-libm-test-out: Regenerated.
57369         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57370         (TEST_COND_x86): Likewise.
57371         (M_E2l): Remove macro.
57372         (M_E3l): Likewise.
57373         (M_2_SQRT_PIl): Likewise.
57374         (M_SQRT_PIl): Likewise.
57375         (M_1_DIV_El): Likewise.
57376         (log_test_data): Use AUTO_TESTS_f_f.
57377         (log10_test_data): Likewise.
57378         (log1p_test_data): Likewise.
57379         (log2_test_data): Likewise.
57380         (sin_test_data): Likewise.
57381         (sin_tonearest_test_data): Likewise.
57382         (sin_towardzero_test_data): Likewise.
57383         (sin_downward_test_data): Likewise.
57384         (sin_upward_test_data): Likewise.
57385         (sinh_test_data): Likewise.
57386         (sinh_tonearest_test_data): Likewise.
57387         (sinh_towardzero_test_data): Likewise.
57388         (sinh_downward_test_data): Likewise.
57389         (sinh_upward_test_data): Likewise.
57390         (tan_test_data): Likewise.
57391         (tan_tonearest_test_data): Likewise.
57392         (tan_towardzero_test_data): Likewise.
57393         (tan_downward_test_data): Likewise.
57394         (tan_upward_test_data): Likewise.
57395         (tanh_test_data): Likewise.
57396         (tgamma_test_data): Likewise.
57397         (y0_test_data): Likewise.
57398         (y1_test_data): Likewise.
57399         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57400         (special_real_inputs): Add pi/4.
57401         * sysdeps/i386/fpu/libm-test-ulps: Update.
57402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57404 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57406         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57407         "longjmp_target" static probes.
57408         (__longjmp): Rename to __longjmp_symbol.
57409         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57410         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57411         on which longjmp to generate.
57412         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57413         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57414         probe.
57415         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57416         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57417         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57418         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57419         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57420         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57422         __longjmp_symbol based on which __longjmp to generate.
57423         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57424         probe.
57425         (setjmp): Rename to setjmp_symbol.
57426         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57427         (_setjmp): Rename to _setjmp_symbol.
57428         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57429         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57430         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57431         which setjmp to generate.
57432         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57433         "longjmp_target" static probes.
57435 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57437         * benchtests/README: Add note about output arguments.
57438         * benchtests/bench-sincos.c: Remove file.
57439         * benchtests/sincos-inputs: New file.
57440         * scripts/bench.pl: Identify output arguments and define
57441         static variables for them.
57443         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57445         [BZ #15941]
57446         * Makefile (INSTALL): Add install-plain.texi as the primary
57447         dependency.
57448         * manual/install-plain.texi: New file.
57449         * manual/install.texi: Include node directive only for
57450         non-plaintext output.
57452 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57454         * stdlib/longlong.h: Update from GCC.
57456         [BZ #6807]
57457         [BZ #15901]
57458         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57459         * math/w_j0f.c (y0f): Likewise.
57460         * math/w_j0l.c (__y0l): Likewise.
57461         * math/w_j1.c (y1): Likewise.
57462         * math/w_j1f.c (y1f): Likewise.
57463         * math/w_j1l.c (__y1l): Likewise.
57464         * math/w_jn.c (yn): Likewise.
57465         * math/w_jnf.c (ynf): Likewise.
57466         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57467         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57468         value for Bessel function domain errors outside _SVID_ mode.
57469         Adjust sign of return value for yn (negative integer, 0).
57470         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57471         by zero in return for negative x and set sign appropriately for
57472         negative n.
57473         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57474         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57475         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57476         expectations in error cases.
57477         (y1_test_data): Likewise.
57478         (yn_test_data): Likewise.
57479         * sysdeps/i386/fpu/libm-test-ulps: Update.
57480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57482 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57484         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57485         "64" to "64-v1".  Add "64-v2".
57486         (abi-64-options): Rename to ...
57487         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57488         (abi-64-condition): Rename to ...
57489         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57490         (abi-64-ld-soname): Rename to ...
57491         (abi-64-v1-ld-soname): ... this.
57492         (abi-64-v2-options): Define.
57493         (abi-64-v2-condition): Likewise.
57494         (abi-64-v2-ld-soname): Likewise.
57495         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57496         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57501 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57502             Alan Modra  <amodra@gmail.com>
57504         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57505         New versions for use with the ELFv2 ABI.
57506         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57507         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57508         declaration.
57509         (struct La_ppc64v2_retval): Likewise.
57510         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57511         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57512         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57513         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57514         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57515         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57516         Do not save or restore CR.
57517         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57518         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57519         return values for ELFv2 ABI.  Fix location of FPR return registers.
57520         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57521         updated values for _CALL_ELF == 2.
57522         (La_regs, La_retval, int_retval): Likewise.
57524 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57526         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57527         (FRAME_MIN_SIZE_PARM): Likewise.
57528         (FRAME_BACKCHAIN): Likewise.
57529         (FRAME_CR_SAVE): Likewise.
57530         (FRAME_LR_SAVE): Likewise.
57531         (FRAME_TOC_SAVE): Likewise.
57532         (FRAME_PARM_SAVE): Likewise.
57533         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57534         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57535         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57536         (call_mcount_parm_offset): New macro.
57537         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57538         (PROF): Use symbolic stack frame offsets.
57539         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57541         Redefine in terms of FRAME_MIN_SIZE.
57542         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57543         (_dl_profile_resolve): Likewise.  Update comment.
57544         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57545         symbols stack frame offsets.
57546         (__sigsetjmp): Likewise.
57547         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57548         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57549         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57550         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57553         (FRAME_BACKCHAIN): Remove.
57554         (FRAME_CR_SAVE): Likewise.
57555         (FRAME_LR_SAVE): Likewise.
57556         (FRAME_COMPILER_DW): Likewise.
57557         (FRAME_LINKER_DW): Likewise.
57558         (FRAME_TOC_SAVE): Likewise.
57559         (FRAME_PARM_SAVE): Likewise.
57560         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57561         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57562         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57564         (CHECK_SP): Use symbolic stack frame offsets.
57565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57566         zone" instead of caller's parameter save area for temp storage.
57567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57568         Likewise.  Also, use symbolic stack frame offsets.
57569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57570         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57571         our own stack frame instead of the caller's.
57572         (__socket): Use symbolic stack frame offsets.
57574 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57575             Alan Modra  <amodra@gmail.com>
57577         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57578         Define.
57579         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57580         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57581         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57582         New function.
57583         (elf_machine_fixup_plt): Call it.
57584         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57585         reloc arguments.
57586         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57587         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57588         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57589         r2 before calling target.
57591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57592             Alan Modra  <amodra@gmail.com>
57594         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57595         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57596         versions of macros to support ELFv2 ABI.
57597         (LOCALENTRY): New macro.
57598         (ENTRY, EALIGN): Use it.
57599         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57600         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57601         fall through into ENTRY entry point.
57602         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57603         Only define if _CALL_ELF != 2.
57605         (elf_machine_matches_host): Verify ABI version matches.
57606         (RTLD_START): Use LOCALENTRY.
57607         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57608         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57609         (PLT_ENTRY_WORDS): New macro.
57610         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57611         (elf_machine_runtime_setup): Support ELFv2 ABI.
57612         (elf_machine_fixup_plt): Likewise.
57613         (elf_machine_plt_conflict): Likewise.
57614         (resolve_ifunc): Likewise.
57615         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57616         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57617         Likewise.
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57619         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57621         (makecontext): Support ELFv2 ABI.
57622         * elf/elf.h (EF_PPC64_ABI): Define.
57624 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57626         * sysdeps/powerpc/powerpc64/sysdep.h
57627         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57628         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57629         (ENTRY) [ASSEMBLER]: ... but instead here ...
57630         (EALIGN) [ASSEMBLER]: ... and here.
57631         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57632         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57633         (ENTRY_2) [!ASSEMBLER]: Use it.
57634         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57635         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57636         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57637         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57638         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57640         Use PPC64_LOAD_FUNCPTR.
57642         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57644 2013-12-04  Alan Modra  <amodra@gmail.com>
57646         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57647         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57648         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57649         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57651         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57652         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57653         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57654         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57655         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57656         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57658 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57661         (__makecontext): Fix incorrect CFI when backtracing out of
57662         context created via makecontext.
57663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57664         (__setcontext): Fix incorrect CFI during switch to new context.
57665         (__novec_setcontext): Likewise.
57667 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57669         [BZ #4772]
57670         * time/strptime_l.c (__strptime_internal): Allow modifiers
57671         in strptime.
57672         * time/tst-strptime.c (day_tests): Add testcase.
57674 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57676         * scripts/bench.pl: Skip over blank lines.
57678 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57680         [BZ #926]
57681         * manual/time.texi (Calendar Time): Clarify what timezone functions
57682         use.
57684 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57688 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57690         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57691         implementation.
57692         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57693         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57694         * debug/memset_chk.c (__memset_chk): Likewise.
57695         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57696         * debug/strncpy_chk.c: Likewise.
57698 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57700         [BZ #15268]
57701         [BZ #15425]
57702         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57703         (__ieee754_exp): For possibly underflowing results, check size of
57704         result and force underflow exception if required.
57705         * math/auto-libm-test-in: Add more tests of exp.
57706         * math/auto-libm-test-out: Regenerated.
57707         * sysdeps/i386/fpu/libm-test-ulps: Update.
57708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57710         [BZ #16283]
57711         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57712         * math/w_exp2f.c (__exp2f): Likewise.
57713         * math/w_exp2l.c (__exp2l): Likewise.
57714         * math/auto-libm-test-in: Do not allow missing errno on exp2
57715         underflow.
57716         * math/auto-libm-test-out: Regenerated.
57718 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57720         [BZ #16274]
57721         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57722         handle filename validation.
57723         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57724         (do_open): Delete.
57726 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57728         [BZ #6786]
57729         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57730         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57731         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57732         <float.h>.
57733         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57735         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57736         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57737         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57738         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57739         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57740         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57741         Add more erfc tests.
57742         * math/auto-libm-test-out: Regenerated.
57743         * sysdeps/i386/fpu/libm-test-ulps: Update.
57744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57746         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57747         exp2, expm1, j0 and j1.
57748         * math/auto-libm-test-out: Regenerated.
57749         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57750         (erfc_test_data): Likewise.
57751         (exp_test_data): Likewise.
57752         (exp_tonearest_test_data): Likewise.
57753         (exp_towardzero_test_data): Likewise.
57754         (exp_downward_test_data): Likewise.
57755         (exp_upward_test_data): Likewise.
57756         (exp10_test_data): Likewise.
57757         (exp2_test_data): Likewise.
57758         (expm1_test_data): Likewise.
57759         (j0_test_data): Likewise.
57760         (j1_test_data): Likewise.
57761         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57762         (input_flag_type): Add flag_xfail_rounding.
57763         (input_flags): Add xfail-rounding.
57764         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57765         (output_for_one_input_case): Handle flag_xfail_rounding.
57766         * sysdeps/i386/fpu/libm-test-ulps: Update.
57767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57769 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57771         [BZ #16289]
57772         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57773         division by 0.
57775 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57777         [BZ #16195]
57778         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57779         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57780         (STAP_PROBE0): New macro.
57781         (STAP_PROBE1): Likewise.
57782         (STAP_PROBE2): Likewise.
57783         (STAP_PROBE3): Likewise.
57784         (STAP_PROBE4): Likewise.
57786 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57788         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57790 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57792         * benchtests/Makefile (bench): Add sqrt.
57793         (LDLIBS-bench-sqrt): New.
57794         * benchtests/sqrt-input: New.
57796 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57798         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57799         (GAIH_EAI): Likewise.
57800         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57801         (gaih_inet): Likewise.
57802         (getaddrinfo): Don't use GAIH_EAI.
57804         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57805         (struct gaih): Remove definition.
57807 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57809         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57810         Use HERRNOP directly.
57812 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57816 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57818         * math/gen-auto-libm-tests.c (test_functions): Add more
57819         single-argument functions.
57820         (special_fill_pi_2): New function.
57821         (special_fill_minus_pi_2): Likewise.
57822         (special_fill_pi_6): Likewise.
57823         (special_fill_minus_pi_6): Likewise.
57824         (special_fill_pi_3): Likewise.
57825         (special_fill_2pi_3): Likewise.
57826         (special_fill_e): Likewise.
57827         (special_fill_1_e): Likewise.
57828         (special_fill_e_minus_1): Likewise.
57829         (special_real_inputs): Add more special inputs.
57830         (output_for_one_input_case): Do not require ERANGE on underflow to
57831         zero if round-to-nearest result does not underflow to zero, unless
57832         exact results required.
57833         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57834         atan, atanh, cbrt, cos and cosh.
57835         * math/auto-libm-test-out: Regenerated.
57836         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57837         (acos_tonearest_test_data): Likewise.
57838         (acos_towardzero_test_data): Likewise.
57839         (acos_downward_test_data): Likewise.
57840         (acos_upward_test_data): Likewise.
57841         (acosh_test_data): Likewise.
57842         (asin_test_data): Likewise.
57843         (asin_tonearest_test_data): Likewise.
57844         (asin_towardzero_test_data): Likewise.
57845         (asin_upward_test_data): Likewise.
57846         (asinh_test_data): Likewise.
57847         (atan_test_data): Likewise.
57848         (atanh_test_data): Likewise.
57849         (cbrt_test_data): Likewise.
57850         (cos_test_data): Likewise.
57851         (cos_tonearest_test_data): Likewise.
57852         (cos_towardzero_test_data): Likewise.
57853         (cos_downward_test_data): Likewise.
57854         (cos_upward_test_data): Likewise.
57855         (cosh_test_data): Likewise.
57856         (cosh_tonearest_test_data): Likewise.
57857         (cosh_towardzero_test_data): Likewise.
57858         (cosh_downward_test_data): Likewise.
57859         (cosh_upward_test_data): Likewise.
57860         * sysdeps/i386/fpu/libm-test-ulps: Update.
57861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57863 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57865         [BZ #6787]
57866         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57867         * math/w_exp10f.c (__exp10f): Likewise.
57868         * math/w_exp10l.c (__exp10l): Likewise.
57869         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57870         errno settings in existing tests.
57872         [BZ #14032]
57873         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57874         precision control set to double precision.
57875         * sysdeps/i386/fpu/w_sqrt.c: New file.
57876         * math/auto-libm-test-in: Add more tests.
57877         * math/auto-libm-test-out: Update.
57879         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57880         (sqrt_test_tonearest): New function.
57881         (sqrt_towardzero_test_data): New variable.
57882         (sqrt_test_towardzero): New function.
57883         (sqrt_downward_test_data): New variable.
57884         (sqrt_test_downward): New function.
57885         (sqrt_upward_test_data): New variable.
57886         (sqrt_test_upward): New function.
57887         (main): Call the new functions.
57889         * math/gen-auto-libm-tests.c: New file.
57890         * math/auto-libm-test-in: Likewise.
57891         * math/auto-libm-test-out: New generated file.
57892         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57893         variables.
57894         (%beautify): Add generated representations of zero.
57895         (top level): Set $auto_input and call parse_auto_input.
57896         (beautify): Remove trailing "f" from hex float constants.
57897         (parse_args): Handle XFAIL_TEST.
57898         (convert_condition): New function.
57899         (or_value): Likewise.
57900         (or_cond_value): Likewise.
57901         (generate_testfile): Handle AUTO_TESTS_* lines.
57902         (parse_auto_input): New function.
57903         * math/libm-test.inc (XFAIL_TEST): New macro.
57904         (ERRNO_UNCHANGED): Update value.
57905         (ERRNO_EDOM): Likewise.
57906         (ERRNO_ERANGE): Likewise.
57907         (IGNORE_RESULT): Likewise.
57908         (TEST_COND_flt_32): New macro.
57909         (TEST_COND_dbl_64): Likewise.
57910         (TEST_COND_ldbl_96_intel): Likewise.
57911         (TEST_COND_ldbl_96_m68k): Likewise.
57912         (TEST_COND_ldbl_128): Likewise.
57913         (TEST_COND_ldbl_128ibm): Likewise.
57914         (TEST_COND_long32): Likewise.
57915         (TEST_COND_long64): Likewise.
57916         (TEST_COND_before_rounding): Likewise.
57917         (TEST_COND_after_rounding): Likewise.
57918         (enable_test): Handle XFAIL_TEST flag.
57919         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57920         with finite results.
57921         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57922         auto-libm-test-out.
57924 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57925             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57927         [BZ #16214]
57928         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57929         __tls_get_addr_internal instead of __tls_get_offset in order to
57930         avoid GOT pointer dependency.  Make rtld export
57931         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57932         __tls_get_addr since we are a __tls_get_offset platform.
57933         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57934         GOT pointer being set up before.
57935         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57937 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57939         * manual/math.texi (Errors in Math Functions): Document accuracy
57940         goals.
57942         [BZ #15004]
57943         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57944         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57945         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57946         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57947         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57948         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57949         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57950         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57951         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57952         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57953         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57954         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57955         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57956         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57957         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57958         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57960         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57961         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57962         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57963         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57964         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57965         Likewise.
57966         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57967         Likewise.
57968         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57969         Likewise.
57970         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57971         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57972         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57973         atomic-feupdateenv and flt-rounds.
57974         * sysdeps/powerpc/nofpu/Versions (libc): Add
57975         __atomic_feholdexcept, __atomic_feclearexcept,
57976         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57977         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57978         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57979         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57980         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57981         here.
57982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57983         Update.
57985         * manual/arith.texi (FP Exceptions): Document that exceptions may
57986         not be raised when matherr is used.
57987         (Math Error Reporting): Document overflow in directed rounding
57988         modes.  Document that errno may not be set when finite values are
57989         returned on overflow.  Document intent to set errno on underflow
57990         only for underflow to zero.
57992         [BZ #16271]
57993         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57994         round-to-nearest then adjust result for other rounding modes.
57995         * include/fenv.h (fegetround): Use libm_hidden_proto.
57996         * math/fegetround.c (fegetround): Use libm_hidden_def.
57997         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57998         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58000         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58001         Likewise.
58002         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58003         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58004         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58005         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58007 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58009         [BZ #16077]
58010         * nss/Versions (libnss_files): Add
58011         _nss_files_gethostbyname3_r.
58012         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58013         New function.
58014         (HOST_DB_LOOKUP): Remove macro.
58015         (_nss_files_gethostbyname_r): Implement function without the
58016         HOST_DB_LOOKUP macro.
58017         (_nss_files_gethostbyname2_r): Likewise.
58019 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58021         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58023 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58025         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58026         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58027         warning.
58029 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58031         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58032         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58033         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58034         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58035         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58036         __fe_nomask_env_priv and attribute_hidden.
58037         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58038         (libc_feupdateenv_test_ppc): Likewise.
58039         (libc_feresetround_ppc): Likewise.
58040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58041         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58042         compat_symbol macro.
58043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58044         (__fe_nomask_env): Likewise.
58045         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58047 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58049         * string/Makefile: Remove ifunc tests.
58050         * string/test-string.h: Define TEST_IFUNC.
58051         * string/test-bcopy-ifunc.c: Remove.
58052         * string/test-bzero-ifunc.c: Likewise.
58053         * string/test-memccpy-ifunc.c: Likewise.
58054         * string/test-memchr-ifunc.c: Likewise.
58055         * string/test-memcmp-ifunc.c: Likewise.
58056         * string/test-memcpy-ifunc.c: Likewise.
58057         * string/test-memmem-ifunc.c: Likewise.
58058         * string/test-memmove-ifunc.c: Likewise.
58059         * string/test-mempcpy-ifunc.c: Likewise.
58060         * string/test-memrchr-ifunc.c: Likewise.
58061         * string/test-memset-ifunc.c: Likewise.
58062         * string/test-rawmemchr-ifunc.c: Likewise.
58063         * string/test-stpcpy-ifunc.c: Likewise.
58064         * string/test-stpncpy-ifunc.c: Likewise.
58065         * string/test-strcasecmp-ifunc.c: Likewise.
58066         * string/test-strcasestr-ifunc.c: Likewise.
58067         * string/test-strcat-ifunc.c: Likewise.
58068         * string/test-strchr-ifunc.c: Likewise.
58069         * string/test-strchrnul-ifunc.c: Likewise.
58070         * string/test-strcmp-ifunc.c: Likewise.
58071         * string/test-strcpy-ifunc.c: Likewise.
58072         * string/test-strcspn-ifunc.c: Likewise.
58073         * string/test-strlen-ifunc.c: Likewise.
58074         * string/test-strncasecmp-ifunc.c: Likewise.
58075         * string/test-strncat-ifunc.c: Likewise.
58076         * string/test-strncmp-ifunc.c: Likewise.
58077         * string/test-strncpy-ifunc.c: Likewise.
58078         * string/test-strnlen-ifunc.c: Likewise.
58079         * string/test-strpbrk-ifunc.c: Likewise.
58080         * string/test-strrchr-ifunc.c: Likewise.
58081         * string/test-strspn-ifunc.c: Likewise.
58082         * string/test-strstr-ifunc.c: Likewise.
58084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58086         * benchtests/Makefile: Remove ifunc tests.
58087         * benchtests/bench-string.h: Define TEST_IFUNC.
58088         * benchtests/bench-bcopy-ifunc.c: Remove.
58089         * benchtests/bench-bzero-ifunc.c: Likewise.
58090         * benchtests/bench-memccpy-ifunc.c: Likewise.
58091         * benchtests/bench-memchr-ifunc.c: Likewise.
58092         * benchtests/bench-memcmp-ifunc.c: Likewise.
58093         * benchtests/bench-memcpy-ifunc.c: Likewise.
58094         * benchtests/bench-memmem-ifunc.c: Likewise.
58095         * benchtests/bench-memmove-ifunc.c: Likewise.
58096         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58097         * benchtests/bench-memrchr-ifunc.c: Likewise.
58098         * benchtests/bench-memset-ifunc.c: Likewise.
58099         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58100         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58101         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58102         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58103         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58104         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58105         * benchtests/bench-strcat-ifunc.c: Likewise.
58106         * benchtests/bench-strchr-ifunc.c: Likewise.
58107         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58108         * benchtests/bench-strcmp-ifunc.c: Likewise.
58109         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58110         * benchtests/bench-strcpy-ifunc.c: Likewise.
58111         * benchtests/bench-strcspn-ifunc.c: Likewise.
58112         * benchtests/bench-strlen-ifunc.c: Likewise.
58113         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58114         * benchtests/bench-strncat-ifunc.c: Likewise.
58115         * benchtests/bench-strncmp-ifunc.c: Likewise.
58116         * benchtests/bench-strncpy-ifunc.c: Likewise.
58117         * benchtests/bench-strnlen-ifunc.c: Likewise.
58118         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58119         * benchtests/bench-strrchr-ifunc.c: Likewise.
58120         * benchtests/bench-strsep-ifunc.c: Likewise.
58121         * benchtests/bench-strspn-ifunc.c: Likewise.
58122         * benchtests/bench-strstr-ifunc.c: Likewise.
58124 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58126         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58128 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58130         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58131         * rt/aio.h: Likewise.
58132         * sysdeps/gnu/bits/utmp.h: Likewise.
58133         * sysdeps/gnu/bits/utmpx.h: Likewise.
58134         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58135         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58136         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58137         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58138         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58139         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58140         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58141         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58142         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58143         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58144         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58145         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58146         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58148         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58149         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58150         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58151         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58152         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58153         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58154         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58155         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58156         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58157         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58158         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58160         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58161         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58162         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58163         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58164         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58165         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58166         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58167         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58168         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58169         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58170         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58171         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58172         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58173         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58174         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58175         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58177 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58179         [BZ #16245]
58180         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58181         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58183 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58185         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58186         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58187         Likewise.
58189 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58192         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58193         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58194         (__fesetround): Remove define.
58195         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58196         rounding and exceptions handling.
58197         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58198         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58199         (__fe_nomask_env): Likewise.
58200         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58201         __fegetround instead of fegetround.
58202         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58203         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58205 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58207         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58208         it's there.
58210         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58212 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58214         [BZ #11157]
58215         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58216         (encrypt_r): Likewise.
58217         * malloc/obstack.h (obstack_free): Likewise.
58218         * posix/unistd.h (encrypt): Likewise.
58220 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58222         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58223         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58224         DL_CALL_DT_FINI() that call the functions directly.
58225         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58226         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58227         * elf/dl-fini.c: Likewise.
58229 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58231         * malloc/hooks.c (memalign_check): Add alignment rounding.
58232         * malloc/malloc.c (_mid_memalign): New function.
58233         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58234         Implement by calling _mid_memalign.
58235         * manual/probes.texi (Memory Allocation Probes): Remove
58236         memory_valloc_retry and memory_pvalloc_retry.
58238 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58240         * locale/programs/locarchive.c (open_archive): Add const
58241         qualifier to ARCHIVEFNAME and copy default fname to
58242         DEFAULT_FNAME.
58244         [BZ #15601]
58245         * libio/tst-widetext.input: Rename Oriya to Odia.
58246         * locale/iso-639.def: Likewise.
58248         * manual/probes.texi (Mathematical Function Probes): Add
58249         documentation for sin, cos, asin and acos probes.
58250         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58251         (__sin32): Add slowasin probe.
58252         (__cos32): Add slowacos probe.
58253         (__mpsin): Add slowsin probe.
58254         (__mpcos): Add slowcos probe.
58256 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58258         [BZ #15483]
58259         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58260         thread-local __sim_exceptions_thread and global
58261         __sim_exceptions_global.
58262         (__sim_disabled_exceptions): Change to thread-local
58263         __sim_disabled_exceptions_thread and global
58264         __sim_disabled_exceptions_global.
58265         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58266         and global __sim_round_mode_global.
58267         (__simulate_exceptions): Use thread-local floating-point state and
58268         set global state from it as needed.
58269         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58270         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58271         __sim_round_mode_thread.
58272         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58273         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58274         and global __sim_exceptions_global.
58275         (__sim_disabled_exceptions): Change to thread-local
58276         __sim_disabled_exceptions_thread and global
58277         __sim_disabled_exceptions_global.
58278         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58279         and global __sim_round_mode_global.
58280         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58281         (SIM_SET_GLOBAL): Likewise.
58282         * sysdeps/powerpc/soft-fp/sfp-machine.h
58283         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58284         __sim_round_mode_thread.
58285         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58286         __sim_disabled_exceptions_thread.
58287         (__sim_exceptions): Change to __sim_exceptions_thread.
58288         (__sim_disabled_exceptions): Change to
58289         __sim_disabled_exceptions_thread.
58290         (__sim_round_mode): Change to __sim_round_mode_thread.
58291         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58292         thread-local floating-point state and set global state from it as
58293         needed.
58294         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58295         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58296         (__sim_disabled_exceptions): Remove extern declaration.
58297         (feenableexcept): Use thread-local floating-point state and set
58298         global state from it as needed.
58299         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58300         extern declaration.
58301         (__sim_disabled_exceptions): Likewise.
58302         (__sim_round_mode): Likewise.
58303         (__fegetenv): Use thread-local floating-point state.
58304         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58305         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58306         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58307         floating-point state and set global state from it as needed.
58308         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58309         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58310         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58311         Likewise.
58312         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58313         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58314         Likewise.
58315         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58316         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58317         Use __sim_round_mode_thread.
58318         * math/test-fenv-tls.c: New file.
58319         * math/Makefile (tests): Add test-fenv-tls.
58320         ($(objpfx)test-fenv-tls): Depend on
58321         $(common-objpfx)nptl/libpthread.so.
58323 2013-11-19  Andreas Schwab  <schwab@suse.de>
58325         * locale/programs/locale.c (show_info): Decode wordarray elements.
58326         * locale/categories.def (LC_MONETARY): Add element for
58327         _NL_MONETARY_CRNCYSTR.
58328         * locale/C-monetary.c (conversion_rate): New variable.
58329         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58330         element.
58332 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
58334         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58335         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58337 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58339         * elf/Makefile (tst-auxv): New test.
58340         * elf/tst-auxv.c: New
58341         * elf/rtld.c (dl_main): Adjust AT_EXECFN
58343 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
58345         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58346         (hidden_proto): Caller changed.
58347         (hidden_tls_proto): New macro.
58348         (libc_hidden_tls_proto): Likewise.
58349         (rtld_hidden_tls_proto): Likewise.
58350         (libm_hidden_tls_proto): Likewise.
58351         (libresolv_hidden_tls_proto): Likewise.
58352         (librt_hidden_tls_proto): Likewise.
58353         (libdl_hidden_tls_proto): Likewise.
58354         (libnss_files_hidden_tls_proto): Likewise.
58355         (libnsl_hidden_tls_proto): Likewise.
58356         (libnss_nisplus_hidden_tls_proto): Likewise.
58357         (libutil_hidden_tls_proto): Likewise.
58359 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
58361         [BZ #10253]
58362         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58363         (decompose_rpath): Defer expansion to fillin_rpath.
58364         (_dl_init_paths): Pass linkmap to fillin_rpath.
58366 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58368         * benchtests/Makefile: Add strsep.
58369         * benchtests/bench-strsep.c: New file: strsep benchtest.
58370         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58372 2013-11-18  Andreas Schwab  <schwab@suse.de>
58374         * locale/programs/locale.c (show_info) [case byte]: Check for
58375         '\377' instead of '\177'.
58376         * locale/C-monetary.c (not_available): Always use "\377".
58377         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58378         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
58379         detect unavailable sign_posn locale elements.
58380         * locale/localeconv.c (__localeconv): For grouping and
58381         mon_grouping handle "\177" and "\377" like no grouping.
58382         (INT_ELEM): New macro.  Use it to set all numeric members.
58383         * locale/programs/ld-monetary.c (monetary_read)
58384         <tok_mon_grouping>: Normalize single -1 to the empty string.
58385         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58386         Likewise.
58388 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58390         [BZ #16055]
58391         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58392         when we match (nil).
58393         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58395 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58397         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58398         (NO_TEST_INLINE): Update value.
58399         (ERRNO_UNCHANGED): Likewise.
58400         (ERRNO_EDOM): Likewise.
58401         (ERRNO_ERANGE): Likewise.
58402         (IGNORE_RESULT): Likewise.
58403         (check_float_internal): Check signs of NaN results if
58404         TEST_NAN_SIGN used.
58405         (check_complex): Pass TEST_NAN_SIGN flag through to second
58406         check_float_internal call.
58407         (copysign_test_data): Add tests with quiet NaNs as second
58408         argument.  Use TEST_NAN_SIGN.
58409         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58410         TEST_NAN_SIGN.
58411         (signbit_test_data): Add tests of quiet NaN argument.
58412         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58414         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58415         $ignore_result.
58416         (parse_args): Handle function results specified as IGNORE.
58417         * math/libm-test.inc (IGNORE_RESULT): New macro.
58418         (check_float_internal): Do not check numerical result if flag
58419         IGNORE_RESULT set.
58420         (check_complex): Pass through IGNORE_RESULT to second
58421         check_float_internal call.
58422         (check_int): Do not check numerical result if flag IGNORE_RESULT
58423         set.
58424         (check_long): Likewise.
58425         (check_bool): Likewise.
58426         (check_longlong): Likewise.
58427         (lrint_test_data): Add tests of infinite and NaN arguments.
58428         (lrint_tonearest_test_data): Likewise.
58429         (lrint_towardzero_test_data): Likewise.
58430         (lrint_downward_test_data): Likewise.
58431         (lrint_upward_test_data): Likewise.
58432         (llrint_test_data): Likewise.
58433         (llrint_tonearest_test_data): Likewise.
58434         (llrint_towardzero_test_data): Likewise.
58435         (llrint_downward_test_data): Likewise.
58436         (llrint_upward_test_data): Likewise.
58437         (lround_test_data): Likewise.
58438         (llround_test_data): Likewise.
58440         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58441         (ERRNO_UNCHANGED): Update value.
58442         (ERRNO_EDOM): Likewise.
58443         (ERRNO_ERANGE): Likewise.
58444         (NO_TEST_INLINE_FLOAT): New macro.
58445         (NO_TEST_INLINE_DOUBLE): Likewise.
58446         (enable_test): New function.
58447         (RUN_TEST_f_f): Check enable_test before running test.
58448         (RUN_TEST_2_f): Likewise.
58449         (RUN_TEST_fff_f): Likewise.
58450         (RUN_TEST_c_f): Likewise.
58451         (RUN_TEST_f_f1): Likewise.
58452         (RUN_TEST_fF_f1): Likewise.
58453         (RUN_TEST_fI_f1): Likewise.
58454         (RUN_TEST_ffI_f1): Likewise.
58455         (RUN_TEST_c_c): Likewise.
58456         (RUN_TEST_cc_c): Likewise.
58457         (RUN_TEST_f_i): Likewise.
58458         (RUN_TEST_f_i_tg): Likewise.
58459         (RUN_TEST_ff_i_tg): Likewise.
58460         (RUN_TEST_f_b): Likewise.
58461         (RUN_TEST_f_b_tg): Likewise.
58462         (RUN_TEST_f_l): Likewise.
58463         (RUN_TEST_f_L): Likewise.
58464         (RUN_TEST_fFF_11): Likewise.
58465         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58466         conditionals.
58467         (cosh_test_data): Likewise.
58468         (exp_test_data): Likewise.
58469         (expm1_test_data): Likewise.
58470         (hypot_test_data): Likewise.
58471         (pow_test_data): Likewise.
58472         (sinh_test_data): Likewise.
58473         (tanh_test_data): Likewise.
58474         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58475         flags argument.
58477         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58478         tests with quiet NaN input and output.
58479         (acosh_test_data): Likewise.
58480         (asin_test_data): Likewise.
58481         (asinh_test_data): Likewise.
58482         (atan_test_data): Likewise.
58483         (atanh_test_data): Likewise.
58484         (atan2_test_data): Likewise.
58485         (cbrt_test_data): Likewise.
58486         (cos_test_data): Likewise.
58487         (cosh_test_data): Likewise.
58488         (erf_test_data): Likewise.
58489         (erfc_test_data): Likewise.
58490         (exp_test_data): Likewise.
58491         (exp10_test_data): Likewise.
58492         (exp2_test_data): Likewise.
58493         (expm1_test_data): Likewise.
58494         (hypot_test_data): Likewise.
58495         (j0_test_data): Likewise.
58496         (j1_test_data): Likewise.
58497         (jn_test_data): Likewise.
58498         (lgamma_test_data): Likewise.
58499         (log_test_data): Likewise.
58500         (log10_test_data): Likewise.
58501         (log1p_test_data): Likewise.
58502         (log2_test_data): Likewise.
58503         (pow_test_data): Likewise.
58504         (scalb_test_data): Likewise.
58505         (sin_test_data): Likewise.
58506         (sincos_test_data): Likewise.
58507         (sinh_test_data): Likewise.
58508         (tan_test_data): Likewise.
58509         (tanh_test_data): Likewise.
58510         (tgamma_test_data): Likewise.
58511         (y0_test_data): Likewise.
58512         (y1_test_data): Likewise.
58513         (yn_test_data): Likewise.
58515         [BZ #16167]
58516         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58517         argument being NaN and avoid computations with second argument in
58518         that case.
58519         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58520         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58521         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58523 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58525         * locale/iso-639.def: Add Chitwani Tharu (the).
58527 2013-11-14  Andreas Schwab  <schwab@suse.de>
58529         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58530         word instead of empty string.
58532 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58535         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58537         (__fe_nomask_env): Likewise.
58539 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58541         * benchtests/bench-timing.h: Include time.h.
58543 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58545         [BZ #15997]
58546         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58547         to 3.4.0 for x32.
58548         * sysdeps/unix/sysv/linux/configure: Regenerated.
58550 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58552         [BZ #16151]
58553         * stdlib/strtod_l.c (round_and_return): Do not consider
58554         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58555         exponent one less than half the least subnormal exponent.
58556         * stdlib/test-strtod-round-data: Add more tests.
58557         * stdlib/tst-strtod-round.c (tests): Regenerated.
58559 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58561         [BZ #14143]
58562         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58563         (__fe_mask_env): Likewise.
58564         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58565         libm_hidden_proto and add function prototype.
58566         (__fe_mask_env): Add function prototype.
58567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58568         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58570         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58572         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58574 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58576         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58577         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58579 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58581         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58582         of htab_find_slot().
58584 2013-11-11  David S. Miller  <davem@davemloft.net>
58586         [BZ #16150]
58587         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58588         symbol in the non-vis3 case in static builds.
58589         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58590         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58591         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58592         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58594 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58596         [BZ #387]
58597         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58598         it is empty.
58600 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58602         * benchtests/Makefile: Add bench-strtod.
58603         * benchtests/bench-strtod.c: New file: strtod benchtest
58605 2013-11-11  Andreas Schwab  <schwab@suse.de>
58607         [BZ #16153]
58608         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58609         terminating NUL in key length.
58611 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58613         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58614         Add artificial ODP entry for vDSO symbol for PPC64.
58615         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58616         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58618 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58620         [BZ #15374]
58621         * nss/getent.c (services_keys): Recognize services starting with digit.
58623 2013-11-06  David S. Miller  <davem@davemloft.net>
58625         [BZ #15985]
58626         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58627         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58629 2013-11-06  Will Newton  <will.newton@linaro.org>
58631         * manual/memory.texi (Malloc Examples): Remove register
58632         keyword from examples.
58634 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58636         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58638 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58640         [BZ #6981]
58641         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58642         depending on [__GCC_IEC_559 > 0].
58643         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58644         depending on [__GCC_IEC_559_COMPLEX > 0].
58646 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58648         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58649         to iso-639.def.
58651 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58653         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58655 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58657         [BZ #16112]
58658         * malloc/malloc (malloc_info): Do not handle first bin as
58659         special case.
58661 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58663         * locale/iso-639.def: Add Central Nahuatl (nhn).
58665 2013-11-01  Bruno Haible  <bruno@clisp.org>
58667         [BZ #7003]
58668         * manual/math.texi (BSD Random): Specify range upper bound as
58669         in POSIX.
58671 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58673         * locale/iso-639.def: Add Meadow Mari (mhr).
58675 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58677         [BZ #14752], [BZ #15763]
58678         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58679         Validate name.
58680         * rt/tst_shm.c: Add test for escaping directory.
58682 2013-10-31  Andreas Schwab  <schwab@suse.de>
58684         [BZ #15917]
58685         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58686         followed by 'x' as part of digit sequence.
58687         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58689 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58691         [BZ #16037]
58692         * configure.ac: allow GNU Make 4.0 and greater.
58693         * configure: Regenerated.
58695 2013-10-30  Will Newton  <will.newton@linaro.org>
58697         [BZ #16038]
58698         * malloc/hooks.c (memalign_check): Limit alignment to the
58699         maximum representable power of two.
58700         * malloc/malloc.c (__libc_memalign): Likewise.
58701         * malloc/tst-memalign.c (do_test): Add test for very
58702         large alignment values.
58703         * malloc/tst-posix_memalign.c (do_test): Likewise.
58705 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58707         [BZ #11087]
58708         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58709         (munmap_chunk): Likewise.
58710         (mremap_chunk): Likewise.
58712 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58714         [BZ #15799]
58715         * stdlib/div.c (div): Remove obsolete code.
58716         * stdlib/ldiv.c (ldiv): Likewise.
58717         * stdlib/lldiv.c (lldiv): Likewise.
58719 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58721         [BZ #16071]
58722         * nss/nss_files/files-XXX.c (get_contents_ret): New
58723         enumerator.
58724         (get_contents): New function.
58725         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58727 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58729         * configure.in: Moved to ...
58730         * configure.ac: ... here. Change reference to configure.in
58731         to configure.ac.
58732         * sysdeps/arm/preconfigure.ac: ... here.
58733         configure.in to configure.ac.
58734         * sysdeps/gnu/configure.in: Moved to ...
58735         * sysdeps/gnu/configure.ac: ... here.
58736         * sysdeps/i386/configure.in: Moved to ...
58737         * sysdeps/i386/configure.ac: ... here.
58738         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58739         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58740         * sysdeps/mach/configure.in: Moved to ...
58741         * sysdeps/mach/configure.ac: ... here.
58742         * sysdeps/mach/hurd/configure.in: Moved to ...
58743         * sysdeps/mach/hurd/configure.ac: ... here.
58744         * sysdeps/powerpc/configure.in: Moved to ...
58745         * sysdeps/powerpc/configure.ac: ... here.
58746         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58747         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58748         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58749         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58750         * sysdeps/s390/s390-32/configure.in: Moved to ...
58751         * sysdeps/s390/s390-32/configure.ac: ... here.
58752         * sysdeps/s390/s390-64/configure.in: Moved to ...
58753         * sysdeps/s390/s390-64/configure.ac: ... here.
58754         * sysdeps/sh/configure.in: Moved to ...
58755         * sysdeps/sh/configure.ac: ... here.
58756         * sysdeps/sparc/configure.in: Moved to ...
58757         * sysdeps/sparc/configure.ac: ... here.
58758         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58759         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58760         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58761         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58762         * sysdeps/x86_64/configure.in: Moved to ...
58763         * sysdeps/x86_64/configure.ac: ... here.
58764         * sysdeps/x86_64/preconfigure.in: Moved to ...
58765         * sysdeps/x86_64/preconfigure.ac: ... here.
58766         * aclocal.m4: Change reference to configure.in to configure.ac.
58767         * config.h.in: Likewise.
58768         * manual/install.texi: Likewise.
58769         * manual/maint.texi: Likewise.
58770         * Makefile: Likewise.
58771         * malloc/Makefile: Likewise.
58772         * nscd/Makefile: Likewise.
58773         * Makeconfig: Change reference to configure.in and
58774         preconfigure.in to configure.ac and preconfigure.ac
58775         respectively.
58776         * INSTALL: Regenerated.
58777         * configure: Likewise.
58778         * sysdeps/gnu/configure: Likewise.
58779         * sysdeps/i386/configure: Likewise.
58780         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58781         * sysdeps/mach/configure: Likewise.
58782         * sysdeps/mach/hurd/configure: Likewise.
58783         * sysdeps/powerpc/configure: Likewise.
58784         * sysdeps/powerpc/powerpc32/configure: Likewise.
58785         * sysdeps/powerpc/powerpc64/configure: Likewise.
58786         * sysdeps/s390/s390-32/configure: Likewise.
58787         * sysdeps/s390/s390-64/configure: Likewise.
58788         * sysdeps/sh/configure: Likewise.
58789         * sysdeps/sparc/configure: Likewise.
58790         * sysdeps/unix/sysv/linux/configure: Likewise.
58791         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58792         * sysdeps/x86_64/configure: Likewise.
58793         * sysdeps/x86_64/preconfigure: Likewise.
58795 2013-10-29  Andreas Schwab  <schwab@suse.de>
58797         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58799 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58801         * benchtests/pow-inputs: Add new inputs.
58803         * benchtests/exp-inputs: Add new inputs.
58805         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58806         conditional check for return value.
58807         (__cos32): Likewise.
58809 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58811         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58812         to provide a boost for large inputs with word alignment.
58813         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58814         implementation based on optimized PPC64 strcpy.
58815         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58816         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58817         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58818         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58820 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58822         [BZ #2801]
58823         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58825 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58827         [BZ #14876]
58828         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58829         * time/tst-strptime.c (day_tests): Add testcase.
58831 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58833         [BZ #14029]
58834         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58836 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58838         [BZ #16074]
58839         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58840         MAP_FAILED on error.
58842 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58844         [BZ #16072]
58845         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58846         heap for large requests.
58848 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58850         [BZ #9954]
58851         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58852         result if the result has no associated interface.
58853         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58854         interface for all 127.X.Y.Z addresses.
58856 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58858         * locale/iso-639.def: Add Ligurian (lij)
58860 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58862         [BZ #15825]
58863         * sunrpc/rpc_main.c: Document rpcgen -5.
58865 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58867         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58869 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58871         [BZ #10278]
58872         * posix/glob.c: Match only directories when trailing slash is present.
58873         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58874         (main): Add testcase.
58876 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58878         [BZ #15670]
58879         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58881 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58883         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58884         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58885         AUTH_DES and cindex for FIPS 140-2.
58886         (DES Encryption): Add cindex FIPS 46-3.
58888         * locale/locarchive.h (struct locarhandle): Add fname.
58889         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58890         if an optional argument was specified to --list-archive,
58891         otherwise NULL.
58892         * locale/programs/locarchive.c (show_archive_content): Take new
58893         argument fname and pass it via ah.fname to open_archive.
58894         * locale/programs/localedef.h: Update decl.
58895         (open_archive): If AH->fname is non-null, open that file
58896         rather than the default file name, and don't ignore ENOENT.
58897         (create_archive): Set AH.fname to NULL.
58898         (delete_locales_from_archive): Likewise.
58899         (add_locales_to_archive): Likewise.
58900         * locale/programs/locfile.c (write_all_categories): Likewise.
58902 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58903             Aldy Hernandez  <aldyh@redhat.com>
58905         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58906         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58907         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58908         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58909         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58910         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58911         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58912         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58913         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58914         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58915         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58916         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58917         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58918         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58919         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58920         Likewise.
58921         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58922         Likewise.
58923         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58924         Likewise.
58925         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58926         Likewise.
58927         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58928         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58929         Likewise.
58930         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58931         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58932         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58933         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58934         Likewise.
58935         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58936         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58937         * sysdeps/powerpc/preconfigure: Likewise.
58938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58939         Likewise.
58940         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58941         Replace contents of file by #include of <fenv_libc.h>.
58942         * sysdeps/powerpc/soft-fp/sfp-machine.h
58943         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58944         and <sys/prctl.h>.
58945         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58952         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58953         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58954         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58955         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58956         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58958         Allow copysignl PLT reference to be missing.
58960 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58961             Joseph Myers  <joseph@codesourcery.com
58963         [BZ #15948]
58964         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58965         single character.
58966         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58968 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58970         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58971         * elf/tst-tls1.c: Likewise.
58972         * elf/tst-tls10.h: Likewise.
58973         * elf/tst-tls14.c: Likewise.
58974         * elf/tst-tls2.c: Likewise.
58975         * elf/tst-tls3.c: Likewise.
58976         * elf/tst-tls4.c: Likewise.
58977         * elf/tst-tls5.c: Likewise.
58978         * elf/tst-tls6.c: Likewise.
58979         * elf/tst-tls7.c: Likewise.
58980         * elf/tst-tls8.c: Likewise.
58981         * elf/tst-tls9.c: Likewise.
58982         * elf/tst-tlsmod1.c: Likewise.
58983         * elf/tst-tlsmod13.c: Likewise.
58984         * elf/tst-tlsmod13a.c: Likewise.
58985         * elf/tst-tlsmod14a.c: Likewise.
58986         * elf/tst-tlsmod16a.c: Likewise.
58987         * elf/tst-tlsmod16b.c: Likewise.
58988         * elf/tst-tlsmod2.c: Likewise.
58989         * elf/tst-tlsmod3.c: Likewise.
58990         * elf/tst-tlsmod4.c: Likewise.
58991         * elf/tst-tlsmod5.c: Likewise.
58992         * elf/tst-tlsmod6.c: Likewise.
58994 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58996         [BZ #12486]
58997         * malloc/malloc.c: remove checks for statistics.
58999 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59001         [BZ #15277]
59002         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59003         * inet/tst-network.c: Add testcase.
59005 2013-10-17  Andreas Schwab  <schwab@suse.de>
59007         [BZ #15218]
59008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59009         to determine canonical name.
59011 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59013         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59014         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59015         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59016         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59017         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59018         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59019         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59020         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59021         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59022         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59023         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59024         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59025         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59026         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59027         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59028         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59029         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59031         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59032         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59033         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59034         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59036         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59037         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59038         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59039         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59040         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59041         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59042         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59043         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59044         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59045         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59046         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59047         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59048         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59049         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59050         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59051         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59052         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59053         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59054         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59055         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59056         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59057         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59058         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59059         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59060         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59061         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59062         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59063         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59064         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59065         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59066         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59067         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59068         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59069         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59070         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59072 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59074         [BZ #16041]
59075         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59076         make result into a quiet NaN.
59078 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59080         * soft-fp/adddf3.c: Fix horizontal whitespace.
59081         * soft-fp/addsf3.c: Likewise.
59082         * soft-fp/addtf3.c: Likewise.
59083         * soft-fp/divdf3.c: Likewise.
59084         * soft-fp/divsf3.c: Likewise.
59085         * soft-fp/divtf3.c: Likewise.
59086         * soft-fp/double.h: Likewise.
59087         * soft-fp/eqdf2.c: Likewise.
59088         * soft-fp/eqsf2.c: Likewise.
59089         * soft-fp/eqtf2.c: Likewise.
59090         * soft-fp/extenddftf2.c: Likewise.
59091         * soft-fp/extended.h: Likewise.
59092         * soft-fp/extendsfdf2.c: Likewise.
59093         * soft-fp/extendsftf2.c: Likewise.
59094         * soft-fp/extendxftf2.c: Likewise.
59095         * soft-fp/fixdfdi.c: Likewise.
59096         * soft-fp/fixdfsi.c: Likewise.
59097         * soft-fp/fixdfti.c: Likewise.
59098         * soft-fp/fixsfdi.c: Likewise.
59099         * soft-fp/fixsfsi.c: Likewise.
59100         * soft-fp/fixsfti.c: Likewise.
59101         * soft-fp/fixtfdi.c: Likewise.
59102         * soft-fp/fixtfsi.c: Likewise.
59103         * soft-fp/fixtfti.c: Likewise.
59104         * soft-fp/fixunsdfdi.c: Likewise.
59105         * soft-fp/fixunsdfsi.c: Likewise.
59106         * soft-fp/fixunsdfti.c: Likewise.
59107         * soft-fp/fixunssfdi.c: Likewise.
59108         * soft-fp/fixunssfsi.c: Likewise.
59109         * soft-fp/fixunssfti.c: Likewise.
59110         * soft-fp/fixunstfdi.c: Likewise.
59111         * soft-fp/fixunstfsi.c: Likewise.
59112         * soft-fp/fixunstfti.c: Likewise.
59113         * soft-fp/floatdidf.c: Likewise.
59114         * soft-fp/floatdisf.c: Likewise.
59115         * soft-fp/floatditf.c: Likewise.
59116         * soft-fp/floatsidf.c: Likewise.
59117         * soft-fp/floatsisf.c: Likewise.
59118         * soft-fp/floatsitf.c: Likewise.
59119         * soft-fp/floattidf.c: Likewise.
59120         * soft-fp/floattisf.c: Likewise.
59121         * soft-fp/floattitf.c: Likewise.
59122         * soft-fp/floatundidf.c: Likewise.
59123         * soft-fp/floatundisf.c: Likewise.
59124         * soft-fp/floatunditf.c: Likewise.
59125         * soft-fp/floatunsidf.c: Likewise.
59126         * soft-fp/floatunsisf.c: Likewise.
59127         * soft-fp/floatunsitf.c: Likewise.
59128         * soft-fp/floatuntidf.c: Likewise.
59129         * soft-fp/floatuntisf.c: Likewise.
59130         * soft-fp/floatuntitf.c: Likewise.
59131         * soft-fp/fmadf4.c: Likewise.
59132         * soft-fp/fmasf4.c: Likewise.
59133         * soft-fp/fmatf4.c: Likewise.
59134         * soft-fp/gedf2.c: Likewise.
59135         * soft-fp/gesf2.c: Likewise.
59136         * soft-fp/getf2.c: Likewise.
59137         * soft-fp/ledf2.c: Likewise.
59138         * soft-fp/lesf2.c: Likewise.
59139         * soft-fp/letf2.c: Likewise.
59140         * soft-fp/muldf3.c: Likewise.
59141         * soft-fp/mulsf3.c: Likewise.
59142         * soft-fp/multf3.c: Likewise.
59143         * soft-fp/negdf2.c: Likewise.
59144         * soft-fp/negsf2.c: Likewise.
59145         * soft-fp/negtf2.c: Likewise.
59146         * soft-fp/op-1.h: Likewise.
59147         * soft-fp/op-2.h: Likewise.
59148         * soft-fp/op-4.h: Likewise.
59149         * soft-fp/op-8.h: Likewise.
59150         * soft-fp/op-common.h: Likewise.
59151         * soft-fp/quad.h: Likewise.
59152         * soft-fp/single.h: Likewise.
59153         * soft-fp/soft-fp.h: Likewise.
59154         * soft-fp/sqrtdf2.c: Likewise.
59155         * soft-fp/sqrtsf2.c: Likewise.
59156         * soft-fp/sqrttf2.c: Likewise.
59157         * soft-fp/subdf3.c: Likewise.
59158         * soft-fp/subsf3.c: Likewise.
59159         * soft-fp/subtf3.c: Likewise.
59160         * soft-fp/truncdfsf2.c: Likewise.
59161         * soft-fp/trunctfdf2.c: Likewise.
59162         * soft-fp/trunctfsf2.c: Likewise.
59163         * soft-fp/trunctfxf2.c: Likewise.
59164         * soft-fp/unorddf2.c: Likewise.
59165         * soft-fp/unordsf2.c: Likewise.
59166         * soft-fp/unordtf2.c: Likewise.
59168 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59170         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59171         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59173 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59175         * elf/dl-libc.c: Clear initfini list after freeing.
59177 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59179         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59180         * soft-fp/addsf3.c: Likewise.
59181         * soft-fp/addtf3.c: Likewise.
59182         * soft-fp/divdf3.c: Likewise.
59183         * soft-fp/divsf3.c: Likewise.
59184         * soft-fp/divtf3.c: Likewise.
59185         * soft-fp/double.h: Likewise.
59186         * soft-fp/eqdf2.c: Likewise.
59187         * soft-fp/eqsf2.c: Likewise.
59188         * soft-fp/eqtf2.c: Likewise.
59189         * soft-fp/extenddftf2.c: Likewise.
59190         * soft-fp/extended.h: Likewise.
59191         * soft-fp/extendsfdf2.c: Likewise.
59192         * soft-fp/extendsftf2.c: Likewise.
59193         * soft-fp/extendxftf2.c: Likewise.
59194         * soft-fp/fixdfdi.c: Likewise.
59195         * soft-fp/fixdfsi.c: Likewise.
59196         * soft-fp/fixdfti.c: Likewise.
59197         * soft-fp/fixsfdi.c: Likewise.
59198         * soft-fp/fixsfsi.c: Likewise.
59199         * soft-fp/fixsfti.c: Likewise.
59200         * soft-fp/fixtfdi.c: Likewise.
59201         * soft-fp/fixtfsi.c: Likewise.
59202         * soft-fp/fixtfti.c: Likewise.
59203         * soft-fp/fixunsdfdi.c: Likewise.
59204         * soft-fp/fixunsdfsi.c: Likewise.
59205         * soft-fp/fixunsdfti.c: Likewise.
59206         * soft-fp/fixunssfdi.c: Likewise.
59207         * soft-fp/fixunssfsi.c: Likewise.
59208         * soft-fp/fixunssfti.c: Likewise.
59209         * soft-fp/fixunstfdi.c: Likewise.
59210         * soft-fp/fixunstfsi.c: Likewise.
59211         * soft-fp/fixunstfti.c: Likewise.
59212         * soft-fp/floatdidf.c: Likewise.
59213         * soft-fp/floatdisf.c: Likewise.
59214         * soft-fp/floatditf.c: Likewise.
59215         * soft-fp/floatsidf.c: Likewise.
59216         * soft-fp/floatsisf.c: Likewise.
59217         * soft-fp/floatsitf.c: Likewise.
59218         * soft-fp/floattidf.c: Likewise.
59219         * soft-fp/floattisf.c: Likewise.
59220         * soft-fp/floattitf.c: Likewise.
59221         * soft-fp/floatundidf.c: Likewise.
59222         * soft-fp/floatundisf.c: Likewise.
59223         * soft-fp/floatunsidf.c: Likewise.
59224         * soft-fp/floatunsisf.c: Likewise.
59225         * soft-fp/floatuntidf.c: Likewise.
59226         * soft-fp/floatuntisf.c: Likewise.
59227         * soft-fp/floatuntitf.c: Likewise.
59228         * soft-fp/fmadf4.c: Likewise.
59229         * soft-fp/fmasf4.c: Likewise.
59230         * soft-fp/fmatf4.c: Likewise.
59231         * soft-fp/gedf2.c: Likewise.
59232         * soft-fp/gesf2.c: Likewise.
59233         * soft-fp/getf2.c: Likewise.
59234         * soft-fp/ledf2.c: Likewise.
59235         * soft-fp/lesf2.c: Likewise.
59236         * soft-fp/letf2.c: Likewise.
59237         * soft-fp/muldf3.c: Likewise.
59238         * soft-fp/mulsf3.c: Likewise.
59239         * soft-fp/multf3.c: Likewise.
59240         * soft-fp/negdf2.c: Likewise.
59241         * soft-fp/negsf2.c: Likewise.
59242         * soft-fp/negtf2.c: Likewise.
59243         * soft-fp/op-1.h: Likewise.
59244         * soft-fp/op-2.h: Likewise.
59245         * soft-fp/op-4.h: Likewise.
59246         * soft-fp/op-8.h: Likewise.
59247         * soft-fp/op-common.h: Likewise.
59248         * soft-fp/quad.h: Likewise.
59249         * soft-fp/single.h: Likewise.
59250         * soft-fp/soft-fp.h: Likewise.
59251         * soft-fp/sqrtdf2.c: Likewise.
59252         * soft-fp/sqrtsf2.c: Likewise.
59253         * soft-fp/sqrttf2.c: Likewise.
59254         * soft-fp/subdf3.c: Likewise.
59255         * soft-fp/subsf3.c: Likewise.
59256         * soft-fp/subtf3.c: Likewise.
59257         * soft-fp/truncdfsf2.c: Likewise.
59258         * soft-fp/trunctfdf2.c: Likewise.
59259         * soft-fp/trunctfsf2.c: Likewise.
59260         * soft-fp/trunctfxf2.c: Likewise.
59261         * soft-fp/unorddf2.c: Likewise.
59262         * soft-fp/unordsf2.c: Likewise.
59263         * soft-fp/unordtf2.c: Likewise.
59265 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
59267         [BZ #15672]
59268         * misc/error.c (error_tail): Fix possible buffer overflow.
59270 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
59272         [BZ #13028]
59273         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59274         address.
59276 2013-10-14  P. J. McDermott  <pj@pehjota.net>
59278         [BZ #832]
59279         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
59280         testing pipefail option.
59282 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59284         * soft-fp/double.h: Indent preprocessor directives inside #if.
59285         * soft-fp/extended.h: Likewise.
59286         * soft-fp/op-2.h: Likewise.
59287         * soft-fp/op-4.h: Likewise.
59288         * soft-fp/op-common.h: Likewise.
59289         * soft-fp/quad.h: Likewise.
59290         * soft-fp/single.h: Likewise.
59291         * soft-fp/soft-fp.h: Likewise.
59293 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
59295         * iconv/iconv_prog.c: Fix typos.
59296         * stdio-common/psiginfo-data.h: Likewise.
59298 2013-10-12   Reuben Thomas <rrt@sc3d.org>
59300         [BZ #15764]
59301         * locale/setlocale.c: Fix typo.
59303 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59305         [BZ #16036]
59306         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59307         signaling NaN arguments.
59308         * soft-fp/unordsf2.c (__unordsf2): Likewise.
59309         * soft-fp/unordtf2.c (__unordtf2): Likewise.
59311         [BZ #14910]
59312         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59313         unordered operands.
59314         * soft-fp/gesf2.c (__gesf2): Likewise.
59315         * soft-fp/getf2.c (__getf2): Likewise.
59316         * soft-fp/ledf2.c (__ledf2): Likewise.
59317         * soft-fp/lesf2.c (__lesf2): Likewise.
59318         * soft-fp/letf2.c (__letf2): Likewise.
59320         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59321         * soft-fp/eqsf2.c (__eqsf2): Likewise.
59322         * soft-fp/eqtf2.c (__eqtf2): Likewise.
59323         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59324         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59325         * soft-fp/fixdfti.c (__fixdfti): Likewise.
59326         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59327         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59328         * soft-fp/fixsfti.c (__fixsfti): Likewise.
59329         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59330         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59331         * soft-fp/fixtfti.c (__fixtfti): Likewise.
59332         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59333         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59334         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59335         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59336         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59337         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59338         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59339         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59340         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59341         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59342         * soft-fp/floatdisf.c (__floatdisf): Likewise.
59343         * soft-fp/floatsisf.c (__floatsisf): Likewise.
59344         * soft-fp/floattidf.c (__floattidf): Likewise.
59345         * soft-fp/floattisf.c (__floattisf): Likewise.
59346         * soft-fp/floattitf.c (__floattitf): Likewise.
59347         * soft-fp/floatundidf.c (__floatundidf): Likewise.
59348         * soft-fp/floatundisf.c (__floatundisf): Likewise.
59349         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59350         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59351         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59352         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59353         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59354         * soft-fp/gesf2.c (__gesf2): Likewise.
59355         * soft-fp/getf2.c (__getf2): Likewise.
59356         * soft-fp/ledf2.c (__ledf2): Likewise.
59357         * soft-fp/lesf2.c (__lesf2): Likewise.
59358         * soft-fp/letf2.c (__letf2): Likewise.
59360         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59361         Undefine and redefine.
59362         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59363         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59364         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59365         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59366         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59367         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59368         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59369         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59370         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59371         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59372         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59373         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59374         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59375         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59376         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59378         [BZ #16032]
59379         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59380         without decrementing exponent if mantissa >= that for the
59381         denominator, not >.
59382         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59383         denominator, not >.  Decrement exponent in < case instead of
59384         incrementing in >= case.
59385         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59386         without decrementing exponent if mantissa >= that for the
59387         denominator, not >.
59389         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59390         computing saturated result for unsigned overflow.
59392 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59393             Jeff Law  <law@redhat.com>
59395         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59396         (atan2Mp): Add systemtap probe marker.
59397         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59398         (__ieee754_log): Add systemtap probe marker.
59399         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59400         (atanMp): Add systemtap probe marker.
59401         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59402         (tanMp): Add systemtap probe marker.
59403         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59404         (__slowexp): Add systemtap probe marker.
59405         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59406         (__slowpow): Add systemtap probe marker.
59407         * manual/probes.texi: Document probes.
59409 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59411         [BZ #15362]
59412         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59413         written.
59414         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59415         written.
59416         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59417         written to buffer but not flushed.
59418         * libio/iofwrite_u.c:  Likewise.
59419         * libio/iopadn.c:  Return bytes returned even if EOF was
59420         encountered.
59421         * libio/iowpadn.c:  Likewise.
59422         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59423         if _IO_padn does not write the whole buffer.
59424         [!COMPILE_WPRINTF] (PAD): Likewise.
59426 2013-10-10  David S. Miller  <davem@davemloft.net>
59428         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59429         directory block.
59431 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59433         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59434         instead of FSF address.
59435         * soft-fp/fixdfti.c: Likewise.
59436         * soft-fp/fixsfti.c: Likewise.
59437         * soft-fp/fixtfti.c: Likewise.
59438         * soft-fp/fixunsdfti.c: Likewise.
59439         * soft-fp/fixunssfti.c: Likewise.
59440         * soft-fp/fixunstfti.c: Likewise.
59441         * soft-fp/floattidf.c: Likewise.
59442         * soft-fp/floattisf.c: Likewise.
59443         * soft-fp/floattitf.c: Likewise.
59444         * soft-fp/floatuntidf.c: Likewise.
59445         * soft-fp/floatuntisf.c: Likewise.
59446         * soft-fp/floatuntitf.c: Likewise.
59447         * soft-fp/trunctfxf2.c: Likewise.
59449         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59450         * soft-fp/fixdfti.c: Likewise.
59451         * soft-fp/fixsfti.c: Likewise.
59452         * soft-fp/fixtfti.c: Likewise.
59453         * soft-fp/fixunsdfti.c: Likewise.
59454         * soft-fp/fixunssfti.c: Likewise.
59455         * soft-fp/fixunstfti.c: Likewise.
59456         * soft-fp/floattidf.c: Likewise.
59457         * soft-fp/floattisf.c: Likewise.
59458         * soft-fp/floattitf.c: Likewise.
59459         * soft-fp/floatuntidf.c: Likewise.
59460         * soft-fp/floatuntisf.c: Likewise.
59461         * soft-fp/floatuntitf.c: Likewise.
59462         * soft-fp/trunctfxf2.c: Likewise.
59464 2013-10-10  David S. Miller  <davem@davemloft.net>
59466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59468 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59470         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59471         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59472         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59473         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59474         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59475         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59476         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59479         for NaNs before doing comparisons on argument.
59480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59481         Likewise.
59483 2013-10-10  Will Newton  <will.newton@linaro.org>
59485         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59486         passed to _int_memalign does not overflow.
59488 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59490         * scripts/bench.pl: Add include-sources directive.
59491         * benchtests/README: Update documentation.
59493 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59495         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59496         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59497         instead of FP_INIT_ROUNDMODE.
59498         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59499         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59501         [BZ #16034]
59502         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59503         copy class of input value.
59504         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59505         not handle exceptions.
59506         * soft-fp/negsf2.c (__negsf2): Likewise.
59507         * soft-fp/negtf2.c (__negtf2): Likewise.
59508         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59510 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59512         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59513         semicolon.  From Linux kernel.
59515 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59517         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59519 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59521         [BZ #156]
59522         * manual/socket.texi: Added statement about buffer
59523         for gethostbyname2_r.
59525 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59527         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59528         Use .p2align directive instead, throughout.
59529         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59530         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59531         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59532         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59533         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59534         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59535         * sysdeps/x86_64/strchr.S: Likewise.
59536         * sysdeps/x86_64/strrchr.S: Likewise.
59538 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59540         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59542         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59544         * sysdeps/generic/math_private.h (__mpsin1): Remove
59545         declaration.
59546         (__mpcos1): Likewise.
59547         (__mpsin): New argument __range_reduce.
59548         (__mpcos): Likewise.
59549         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59550         (slow): Use __mpsin and __mpcos.
59551         (slow1): Likewise.
59552         (slow2): Likewise.
59553         (sloww): Likewise.
59554         (sloww1): Likewise.
59555         (sloww2): Likewise.
59556         (bsloww): Likewise.
59557         (bsloww1): Likewise.
59558         (bsloww2): Likewise.
59559         (cslow2): Likewise.
59560         (csloww): Likewise.
59561         (csloww1): Likewise.
59562         (csloww2): Likewise.
59563         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59564         range_reduce.  Merge in __mpsin1.
59565         (__mpcos): Likewise.
59566         (__mpsin1): Remove.
59567         (__mpcos1): Likewise.
59569 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59571         * locale/loadlocale.c (_nl_intern_locale_data): Use
59572         LOCFILE_ALIGNED_P.
59573         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59574         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59575         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59576         obstack data is appropriately aligned.
59577         (obstack_int32_grow_fast): Likewise.
59578         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59579         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59580         (add_locale_uint32_array): Likewise.
59582 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59584         * benchtests/Makefile: Remove ARGLIST and RET variables.
59585         ($(objpfx)bench-%.c): Pass only function name to the script.
59586         * benchtests/README: Update documentation.
59587         * benchtests/acos-inputs: Add new directives.
59588         * benchtests/acosh-inputs: Likewise.
59589         * benchtests/asin-inputs: Likewise.
59590         * benchtests/asinh-inputs: Likewise.
59591         * benchtests/atan-inputs: Likewise.
59592         * benchtests/atanh-inputs: Likewise.
59593         * benchtests/cos-inputs: Likewise.
59594         * benchtests/cosh-inputs: Likewise.
59595         * benchtests/exp-inputs: Likewise.
59596         * benchtests/log-inputs: Likewise.
59597         * benchtests/pow-inputs: Likewise.
59598         * benchtests/rint-inputs: Likewise.
59599         * benchtests/sin-inputs: Likewise.
59600         * benchtests/sinh-inputs: Likewise.
59601         * benchtests/tan-inputs: Likewise.
59602         * benchtests/tanh-inputs: Likewise.
59603         * scripts/bench.pl: Add support for new directives.
59605 2013-10-07  Alan Modra  <amodra@gmail.com>
59607         * README: Fix careless merge.
59609 2013-10-05  Alan Modra  <amodra@gmail.com>
59611         * NEWS: Mention powerpc64le support and bugs fixed.
59612         * README: Both big-endian and little-endian powerpc64 supported.
59614 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59616         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59617         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59618         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59619         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59621 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59623         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59624         match prototype.
59626 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59628         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59629         Move -mhard-float appending from
59630         ports/sysdeps/powerpc/powerpc32/Makefile.
59631         [$(with-fp) = yes] (ASFLAGS): Likewise.
59632         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59633         * sysdeps/powerpc/nofpu: Move directory from
59634         ports/sysdeps/powerpc/nofpu.
59635         * sysdeps/powerpc/soft-fp: Move directory from
59636         ports/sysdeps/powerpc/soft-fp.
59637         * sysdeps/powerpc/powerpc32/405: Move directory from
59638         ports/sysdeps/powerpc/powerpc32/405.
59639         * sysdeps/powerpc/powerpc32/440: Move directory from
59640         ports/sysdeps/powerpc/powerpc32/440.
59641         * sysdeps/powerpc/powerpc32/464: Move directory from
59642         ports/sysdeps/powerpc/powerpc32/464.
59643         * sysdeps/powerpc/powerpc32/476: Move directory from
59644         ports/sysdeps/powerpc/powerpc32/476.
59645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59648         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59650         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59652         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59654         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59655         * README: Update for powerpc-*-linux-gnu software floating point
59656         support in libc.
59658         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59659         case to powerpc/powerpc32*.
59660         * sysdeps/unix/sysv/linux/configure: Regenerated.
59662         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59663         (_FPU_MASK_OM): Define as 0x04.
59664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59666         0x00c10080.
59667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59668         0x0000003c.
59669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59672         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59673         getcontext_e500.
59674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59675         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59676         setcontext_e500.
59677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59678         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59679         and setcontext_e500.
59681 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59683         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59685 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59687         * manual/threads.texi (Default Thread Attributes): Fix typo.
59689 2013-10-04  Will Newton  <will.newton@linaro.org>
59691         * malloc/Makefile: Add tst-memalign.
59692         * malloc/tst-memalign.c: New file.
59694         * malloc/tst-posix_memalign.c: Add comments.
59695         (do_test): Add comments and call free on all potentially
59696         allocated pointers. Add space after cast.
59698         * malloc/tst-pvalloc.c: Add comments.
59699         (do_test): Add comments and call free on all potentially
59700         allocated pointers. Remove duplicate check for NULL pointer.
59701         Add space after cast.
59703         * malloc/tst-valloc.c: Add comments.
59704         (do_test): Add comments and call free on all potentially
59705         allocated pointers. Remove duplicate check for NULL pointer.
59706         Add space after cast.
59708 2013-10-04  Alan Modra  <amodra@gmail.com>
59710         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59711         Use stdint types in rather than __attribute__((mode())).
59712         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59714 2013-10-04  Alan Modra  <amodra@gmail.com>
59716         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59717         Correct handling of unaligned relocs for little-endian.
59718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59720 2013-10-04  Alan Modra  <amodra@gmail.com>
59722         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59723         * configure: Regenerate.
59724         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59725         * shlib-versions: Likewise.
59727 2013-10-04  Alan Modra  <amodra@gmail.com>
59729         * string/tester.c (test_memrchr): Increment reported test cycle.
59731 2013-10-04  Alan Modra  <amodra@gmail.com>
59733         * string/test-memcpy.c (do_one_test): When reporting errors, print
59734         string address and don't overrun end of string.
59736 2013-10-04  Alan Modra  <amodra@gmail.com>
59738         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59739         insrdi.  Make better use of reg selection to speed exit slightly.
59740         Schedule entry path a little better.  Remove useless "are we done"
59741         checks on entry to main loop.  Handle wrapping around zero address.
59742         Correct main loop count.  Handle single left-over word from main
59743         loop inline rather than by using loop_small.  Remove extra word
59744         case in loop_small caused by wrong loop count.  Add little-endian
59745         support.
59746         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59748         cache hint.
59749         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59750         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59751         support.  Avoid rlwimi.
59752         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59754 2013-10-04  Alan Modra  <amodra@gmail.com>
59756         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59757         insrdi.  Formatting.
59758         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59759         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59760         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59761         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59762         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59763         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59765 2013-10-04  Alan Modra  <amodra@gmail.com>
59767         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59769         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59770         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59771         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59772         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59773         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59774         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59775         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59776         use of regs.  Use power7 mtocrf.  Tidy function tails.
59778 2013-10-04  Alan Modra  <amodra@gmail.com>
59780         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59781         Formatting.  Consistently use rXXX register defines or rN defines.
59782         Use early exit labels that avoid restoring unused non-volatile regs.
59783         Make cr field use more consistent with rWORDn compares.  Rename
59784         regs used as shift registers for unaligned loop, using rN defines
59785         for short lifetime/multiple use regs.
59786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59787         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59788         addi 1,1,64 to pop stack frame.  Simplify return value code.
59789         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59791 2013-10-04  Alan Modra  <amodra@gmail.com>
59793         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59794         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59795         rather than rlwimi.
59796         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59797         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59798         little-endian support.  Correct typos.
59799         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59800         rather than rlwimi.
59801         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59802         in loop and entry code to keep "and." results.
59803         (strchr): Add little-endian support.  Comment.  Move cntlzd
59804         earlier in tail.
59805         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59807 2013-10-04  Alan Modra  <amodra@gmail.com>
59809         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59810         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59811         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59812         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59814 2013-10-04  Alan Modra  <amodra@gmail.com>
59816         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59817         (rTMP): Define as r11.
59818         (strcmp): Add little-endian support.  Optimise tail.
59819         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59820         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59821         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59822         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59823         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59824         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59825         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59827 2013-10-04  Alan Modra  <amodra@gmail.com>
59829         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59830         little-endian support.  Remove unnecessary "are we done" tests.
59831         Handle "s" wrapping around zero and extremely large "size".
59832         Correct main loop count.  Handle single left-over word from main
59833         loop inline rather than by using small_loop.  Correct comments.
59834         Delete "zero" tail, use "end_max" instead.
59835         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59837 2013-10-04  Alan Modra  <amodra@gmail.com>
59839         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59840         support.  Don't branch over align.
59841         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59842         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59843         support.  Rearrange tmp reg use to suit.  Comment.
59844         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59846 2013-10-04  Alan Modra  <amodra@gmail.com>
59848         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59850 2013-10-04  Alan Modra  <amodra@gmail.com>
59852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59853         conditional form of branch and link when obtaining pc.
59854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59856 2013-10-04  Alan Modra  <amodra@gmail.com>
59858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59859         HIWORD/LOWORD.
59860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59863 2013-10-04  Alan Modra  <amodra@gmail.com>
59865         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59866         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59867         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59868         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59869         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59870         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59871         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59872         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59873         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59874         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59876 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59877             Alistair Popple <alistair@ozlabs.au.ibm.com>
59878             Alan Modra <amodra@gmail.com>
59880         [BZ #15723]
59881         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59882         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59883         _dl_hwcap access for little-endian.
59884         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59885         destroy vmx regs when saving unaligned.
59886         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59888         destroy vmx regs when saving unaligned.
59890 2013-10-04  Alan Modra  <amodra@gmail.com>
59892         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59893         Don't use a union to pack hi/low value.
59895 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59897         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59898         for little-endian.
59899         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59900         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59901         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59902         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59903         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59905 2013-10-04  Alan Modra  <amodra@gmail.com>
59907         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59908         constants to usual value for .cst8 section, and remove redundant
59909         high address load.
59910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59911         constant for 0x1p52.  Load little-endian words of double from
59912         correct stack offsets.
59914 2013-10-04  Alan Modra  <amodra@gmail.com>
59916         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59917         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59918         words of double from correct stack offsets.
59919         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59920         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59921         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59922         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59924         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59925         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59926         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59927         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59928         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59929         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59930         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59931         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59932         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59933         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59934         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59935         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59937 2013-10-04  Alan Modra  <amodra@gmail.com>
59939         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59940         64-bit int/double union.
59941         (_FPU_SETCW): Likewise.
59942         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59943         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59945 2013-10-04  Alan Modra  <amodra@gmail.com>
59947         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59948         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59950 2013-10-04  Alan Modra  <amodra@gmail.com>
59952         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59953         use vector int constants.
59954         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59956 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59958         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59959         array with long long.
59960         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59961         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59962         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59963         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59964         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59965         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59966         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59967         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59968         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59969         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59970         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59971         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59972         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59974 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59976         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59977         (__signbit): Likewise.  Correct for little-endian.
59978         (__signbitl): Call __signbit.
59979         (lrint): Correct for little-endian.
59980         (lrintf): Call lrint.
59982 2013-10-04  Alan Modra  <amodra@gmail.com>
59984         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59985         union 32-bit int array member with 64-bit int array.
59986         (t515, tm256): Double rather than long double.
59987         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59989 2013-10-04  Alan Modra  <amodra@gmail.com>
59991         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59992         Delete.
59993         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59994         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59995         version of math_ldbl.h.
59997 2013-10-04  Alan Modra  <amodra@gmail.com>
59999         [BZ #15734], [BZ #15735]
60000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60001         all uses of ieee875 long double macros and unions.  Simplify test
60002         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60003         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60004         normalize after ldbl_extract_mantissa, and don't add hidden bit
60005         already handled.  Don't treat low word of ieee854 mantissa like
60006         low word of IBM long double and mask off bit when testing for
60007         zero.
60008         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60009         all uses of ieee875 long double macros and unions.  Simplify tests
60010         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60011         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60012         two1022, instead use their values.  Recognise that tests for large
60013         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60014         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60015         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60016         test for 0.0L and nan.  Correct negation.
60017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60018         ieee875 long double macros and unions.  Correct output for large
60019         magnitude x.  Correct absolute value calculation.
60020         (__erfcl): Likewise.
60021         * math/libm-test.inc: Add tests for errors discovered in IBM long
60022         double versions of fmodl, remainderl, erfl and erfcl.
60024 2013-10-04  Alan Modra  <amodra@gmail.com>
60026         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60027         all uses of ieee854 long double macros and unions.  Simplify tests
60028         for long doubles that are fully specified by the high double.
60029         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60030         Likewise.
60031         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60032         Remove dead code too.
60033         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60034         (__ieee754_ynl): Likewise.
60035         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60036         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60037         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60038         Remove dead code too.
60039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60040         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60041         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60042         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60043         Simplify.
60044         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60045         Simplify.
60046         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60047         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60049         Comment on variable precision.
60050         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60051         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60052         Likewise.
60053         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60054         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60056         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60057         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60059 2013-10-04  Alan Modra  <amodra@gmail.com>
60061         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60062         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60063         all uses of ieee854 long double macros and unions.
60064         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60065         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60066         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60068         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60069         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60070         Likewise.
60071         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60072         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60073         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60075         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60076         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60077         Simplify sign and nan test too.
60078         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60079         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60080         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60081         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60082         Likewise.
60083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60084         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60085         Likewise.
60086         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60087         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60088         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60089         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60090         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60093 2013-10-04  Alan Modra  <amodra@gmail.com>
60095         * stdio-common/printf_size.c (__printf_size): Don't use
60096         union ieee854_long_double in fpnum union.
60097         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60098         signbit macro to retrieve sign from long double.
60099         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60100         retrieve sign from long double.
60101         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60102         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60103         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60104         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60105         * math/test-misc.c (main): Don't use union ieee854_long_double.
60107 2013-10-04  Alan Modra  <amodra@gmail.com>
60109         [BZ #15680]
60110         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60111         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60112         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60113         calculation.  Remove unnecessary test for denormal exponent.
60114         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60115         Correct handling of denormals.  Avoid undefined shift behaviour.
60116         Correct normalisation of low mantissa when low double is denormal.
60117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60118         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60119         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60120         Correct normalisation of low mantissa.  Test for overflow of high
60121         mantissa and normalise.
60122         (ldbl_nearbyint): Use more readable constant for two52.
60123         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60124         (__mpn_construct_long_double): Fix test for overflow of high
60125         mantissa and correct normalisation.  Avoid undefined shift.
60127 2013-10-04  Alan Modra  <amodra@gmail.com>
60129         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60130         (union ibm_extended_long_double): Define as an array of ieee754_double.
60131         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60132         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60133         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60134         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60135         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60136         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60138         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60139         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60140         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60141         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60143 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60145         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60146         page size instead of calling getpagesize.
60148         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60149         (LOCFILE_ALIGN_MASK): Likewise.
60150         (LOCFILE_ALIGN_UP): Likewise.
60151         (LOCFILE_ALIGNED_P): Likewise.
60152         * locale/programs/ld-collate.c (collate_output): Use the new
60153         macros instead of __alignof__ (int32_t).
60154         * locale/weight.h (findidx): Likewise.
60156 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60158         [BZ #431]
60159         * manual/string.texi: Fix strncat and wcsncat.
60161 2013-10-03  Brooks Moses  <bmoses@google.com>
60163         [BZ #15915]
60164         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60165         * Makerules: ...here, and adjust associated comments.
60167 2013-10-02  Will Newton  <will.newton@linaro.org>
60169         * malloc/Makefile: Add tst-pvalloc.
60170         * malloc/tst-pvalloc.c: New file.
60172 2013-10-02  Will Newton  <will.newton@linaro.org>
60174         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60175         improve test coverage.
60177 2013-10-02  Will Newton  <will.newton@linaro.org>
60179         * malloc/Makefile: Add tst-posix_memalign.
60180         * malloc/tst-posix_memalign.c: New file.
60182 2013-10-01  Eric Blake  <eblake@redhat.com>
60184         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60185         Use __THROWNL rather than __THROW on static functions.
60187 2013-09-30  Petr Machata  <pmachata@redhat.com>
60189         * elf/elf.h (R_AARCH64_ABS16): New macro.
60190         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60191         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60192         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60193         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60194         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60195         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60196         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60197         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60198         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60199         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60200         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60201         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60202         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60203         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60204         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60205         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60206         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60207         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60208         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60209         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60210         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60211         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60212         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60213         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60214         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60215         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60216         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60217         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60218         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60219         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60220         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60221         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60222         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60223         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60224         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60225         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60226         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60227         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60228         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60229         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60230         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60231         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60232         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60233         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60234         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60235         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60236         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60237         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60238         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60239         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60240         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60241         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60242         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60243         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60244         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60245         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60246         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60247         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60248         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60249         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60250         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60251         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60252         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60253         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60254         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60255         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60256         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60257         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60258         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60259         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60260         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60261         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60262         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60263         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60264         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60265         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60266         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60267         (R_AARCH64_TLSDESC_LDR): Likewise.
60268         (R_AARCH64_TLSDESC_ADD): Likewise.
60269         (R_AARCH64_TLSDESC_CALL): Likewise.
60271 2013-09-30  Andreas Schwab  <schwab@suse.de>
60273         [BZ #15048]
60274         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60275         the nss database lookup.
60276         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60279 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
60281         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60283 2013-09-28  P. J. McDermott  <pj@pehjota.net>
60285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60286         ${Bash-specific parameter/pattern/string} parameter expansion.
60287         * sysdeps/unix/make-syscalls.sh: Likewise.
60289 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60291         * sysdeps/sh/stackguard-macros.h: New file.
60293 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
60295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60297         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60298         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60300         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60302 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60304         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60305         Fix thread ID register.
60307 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
60309         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60310         [POSIX || UNIX98]: Require rather than permitting all symbols from
60311         <time.h>.
60312         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60313         element of struct sched_param.
60314         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60315         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60316         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60317         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60318         constant.
60320 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
60322         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60323         argument calculation.
60325 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60327         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60328         Expect macro.
60329         [POSIX] (pthread_attr_t): Do not require type.
60330         [POSIX] (pthread_cond_t): Likewise.
60331         [POSIX] (pthread_condattr_t): Likewise.
60332         [POSIX] (pthread_key_t): Likewise.
60333         [POSIX] (pthread_mutex_t): Likewise.
60334         [POSIX] (pthread_mutexattr_t): Likewise.
60335         [POSIX] (pthread_once_t): Likewise.
60336         [POSIX] (pthread_t): Likewise.
60337         [POSIX-based standards] (pthread_atfork): Expect function.
60339 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60340             Richard Sandiford  <richard@codesourcery.com>
60342         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60343         (swap_endianness_p): New extern variable.
60344         (set_big_endian): New inline function.
60345         (maybe_swap_uint32): Likewise.
60346         (maybe_swap_uint32_array): Likewise.
60347         (maybe_swap_uint32_obstack): Likewise.
60348         * locale/programs/locfile.c: Include <stdbool.h>.
60349         (swap_endianness_p): New variable.
60350         (add_locale_uint32): Call maybe_swap_uint32.
60351         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60352         (write_locale_data): Call maybe_swap_uint32_array.
60353         * locale/programs/ld-collate.c (obstack_int32_grow): Call
60354         maybe_swap_uint32.
60355         (obstack_int32_grow_fast): Likewise.
60356         (output_weightwc): Call maybe_swap_uint32_obstack.
60357         (collate_output): Likewise.
60358         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60359         (OPT_LITTLE_ENDIAN): Likewise.
60360         (options): Add --little-endian and --big-endian options.
60361         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60362         * locale/programs/locarchive.c: Include "locfile.h".
60363         (GET): New macro.
60364         (SET): Likewise.
60365         (INC): Likewise.
60366         (create_archive): Use the new macros to access fields of
60367         structures directly mapped from or written to locale archives.
60368         (oldlocrecentcmp): Likewise.
60369         (enlarge_archive): Likewise.
60370         (insert_name): Likewise.
60371         (add_alias): Likewise.
60372         (add_locale): Likewise.
60373         (delete_locales_from_archive): Likewise.
60374         (show_archive_content): Likewise.
60375         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
60376         locale data.
60378 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60380         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60381         http://www.gnu.org/doc/freemanuals.texi.
60382         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60384 2013-09-24  Will Newton  <will.newton@linaro.org>
60386         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60387         macro.
60389 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60391         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60392         unsigned char.
60394 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60396         * manual/threads.texi (POSIX Threads): Fix a typo.
60398 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60400         [BZ #14547]
60401         * string/tst-strcoll-overflow.c: New test case.
60402         * string/Makefile (xtests): Add tst-strcoll-overflow.
60403         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60404         cache if string sizes may cause integer overflow.
60406         [BZ #14547]
60407         * string/strcoll_l.c (coll_seq): New members rule, idx,
60408         save_idx and back_us.
60409         (get_next_seq_nocache): New function.
60410         (do_compare_nocache): New function.
60411         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60412         when malloc fails.
60414 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60416         [BZ #15754]
60417         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60418         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60419         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60421         [BZ #15754]
60422         * elf/Makefile (tests): Add tst-ptrguard1.
60423         (tests-static): Add tst-ptrguard1-static.
60424         (tst-ptrguard1-ARGS): Define.
60425         (tst-ptrguard1-static-ARGS): Define.
60426         * elf/tst-ptrguard1.c: New file.
60427         * elf/tst-ptrguard1-static.c: New file.
60428         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60429         * sysdeps/i386/stackguard-macros.h: Likewise.
60430         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60431         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60432         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60433         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60434         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60435         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60437 2013-09-23  Hector Marco  <hecmargi@upv.es>
60438             Ismael Ripoll  <iripoll@disca.upv.es>
60439             Carlos O'Donell  <carlos@redhat.com>
60441         [BZ #15754]
60442         * sysdeps/generic/stackguard-macros.h: Define
60443         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60444         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60445         Define __pointer_chk_guard_local.
60446         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60447         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60449 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60451         [BZ #15859]
60452         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60454 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60456         * include/string.h (__ffs): Declare as hidden.
60457         * string/ffs.c (__ffs): Define as hidden.
60458         * sysdeps/i386/ffs.c (__ffs): Likewise.
60459         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60460         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60461         * sysdeps/s390/ffs.c (__ffs): Likewise.
60462         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60464 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60466         * NEWS: Mention malloc probes.
60468         * malloc/arena.c (new_heap): New memory_heap_new probe.
60469         (grow_heap): New memory_heap_more probe.
60470         (shrink_heap): New memory_heap_less probe.
60471         (heap_trim): New memory_heap_free probe.
60472         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60473         (systrim): New memory_sbrk_less probe.
60474         * manual/probes.texi: Document them.
60476         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60477         * manual/probes.texi: Document it.
60479         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60480         (__libc_realloc): Add memory_realloc_retry probe.
60481         (__libc_memalign): Add memory_memalign_retry probe.
60482         (__libc_valloc): Add memory_valloc_retry probe.
60483         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60484         (__libc_calloc): Add memory_calloc_retry probe.
60485         * manual/probes.texi: Document them.
60487         * malloc/arena.c (get_free_list): Add probe
60488         memory_arena_reuse_free_list.
60489         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60490         and memory_arena_reuse.
60491         (arena_get2) [!PER_THREAD]: Likewise.
60492         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60493         memory_arena_reuse_realloc.
60494         * manual/probes.texi: Document them.
60496         * malloc/malloc.c (__libc_free): Add
60497         memory_mallopt_free_dyn_thresholds probe.
60498         (__libc_mallopt): Add multiple memory_mallopt probes.
60499         * manual/probes.texi: Document them.
60501         * malloc/malloc.c: Include stap-probe.h.
60502         (__libc_mallopt): Add memory_mallopt probe.
60503         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60504         * manual/probes.texi: New.
60505         * manual/Makefile (chapters): Add probes.
60506         * manual/threads.texi: Set next node.
60508 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60510         [BZ #15963, #13985]
60511         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60512         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60513         Add `Chinese' to `nan' entry name.
60515 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60517         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60518         (POLYNOMIAL): Likewise.
60519         (TAYLOR_SINCOS): Likewise.
60520         (TAYLOR_SLOW): Likewise.
60521         (__sin): Use TAYLOR_SINCOS.
60522         (__cos): Likewise.
60523         (slow): Use TAYLOR_SLOW.
60524         (sloww): Likewise.
60525         (bsloww): Likewise.
60526         (csloww): Likewise.
60528 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60530         * stdlib/strtod_l.c: Fix buffer overrun.
60532 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60534         * benchtests/Makefile (bench): Add sincos.
60535         * benchtests/bench-sincos.c: New file.
60537         * math/libm-test.inc (cos_test_data): New test inputs.
60538         (sin_test_data): Likewise.
60540         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60541         macro.
60542         (__sin): Use it.
60543         (__cos): Likewise.
60544         (slow1): Likewise.
60545         (slow2): Likewise.
60546         (sloww1): Likewise.
60547         (sloww2): Likewise.
60548         (bsloww1): Likewise.
60549         (bsloww2): Likewise.
60550         (cslow2): Likewise.
60551         (csloww1): Likewise.
60552         (csloww2): Likewise.
60554         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60555         function.
60556         (__sin): Use it.
60557         (__cos): Likewise.
60559         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60560         gotos.
60561         (__cos): Likewise.
60563 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60565         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60566         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60567         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60568         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60569         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60570         * elf/cache.c (print_entry): Handle the new cache flags.
60572 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60573             Aldy Hernandez  <aldyh@redhat.com>
60575         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60576         Change condition to [_SOFT_FLOAT].
60577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60589         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60592         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60593         declaration.
60595 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60597         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60598         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60599         (__longjmp): Use LOAD_GP to load saved GPRs.
60600         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60601         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60602         (__sigsetjmp): Use SAVE_GP to save GPRs.
60604         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60605         Do not append -msoft-float.
60606         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60608 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60610         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60612 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60614         [BZ #15966]
60615         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60616         (_FPU_GETCW): Use initial "__" on variable and field names but not
60617         on macro parameter name.
60618         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60619         parentheses around reference to macro parameter.
60621 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60623         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60624         prototype.
60625         (ctype_startup): Use uint32_t in cast and sizeof for
60626         ctype->charnames.
60628 2013-09-11  Jia Liu  <proljc@gmail.com>
60630         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60631         __daddr_t_defined.
60632         [__FreeBSD__]: Likewise.
60634 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60637         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60638         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60639         (strchr): Remove __strchr_sse42 ifunc selection.
60640         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60641         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60643 2013-09-11  Will Newton  <will.newton@linaro.org>
60645         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60646         parameter to RES. Remove hardcoded 1000 value.
60647         * benchtests/bench-skeleton.c (main): Pass RES parameter
60648         to TIMING_INIT and multiply result by 1000.
60650 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60654 2013-09-11  Andreas Schwab  <schwab@suse.de>
60656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60657         if not defined.
60658         (O_TMPFILE) [__USE_GNU]: Define.
60659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60660         Define.
60662 2013-09-11  Will Newton  <will.newton@linaro.org>
60664         [BZ #15857]
60665         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60666         does not overflow.
60668 2013-09-11  Will Newton  <will.newton@linaro.org>
60670         [BZ #15856]
60671         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60672         does not overflow.
60674 2013-09-11  Will Newton  <will.newton@linaro.org>
60676         [BZ #15855]
60677         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60678         does not overflow.
60680 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60682         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60683         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60684         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60685         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60686         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60688 2013-09-10  Allan McRae  <allan@archlinux.org>
60690         [BZ #15748]
60691         * manual/arith.texi (Parsing of Floats): Clarify
60692         cross-reference.
60694         [BZ #15849]
60695         * manual/install.texi (Running make install): Mention
60696         --enable-pt-chown.
60697         * INSTALL: Regenerated.
60699 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60701         * csu/init-first.c (_init): Remove the !SHARED condition around
60702         FPU control word initialization.
60703         * elf/dl-support.c (_dl_fpu_control): New variable.
60704         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60705         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60706         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60707         * math/test-fpucw-static.c: New file.
60708         * math/test-fpucw-ieee.c: New file.
60709         * math/test-fpucw-ieee-static.c: New file.
60710         * math/Makefile (tests): Add `test-fpucw-ieee' and
60711         `$(tests-static)'.
60712         (tests-static): New variable.
60713         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60714         dependency to...
60715         [($(build-shared),yes)]
60716         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60717         ... this.
60718         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60719         New dependency.
60721 2013-09-09  Allan McRae  <allan@archlinux.org>
60723         [BZ #15939]
60724         * manual/string.texi (Collation Functions): Fix typo in
60725         strcoll example.
60726         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60728         [BZ #15893]
60729         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60731         [BZ #15892]
60732         * libio/memstream.c (open_memstream): Fix memory leak.
60733         * libio/wmemstream.c (open_wmemstream): Likewise.
60735         [BZ #15895]
60736         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60738 2013-09-09  Will Newton  <will.newton@linaro.org>
60740         * malloc/Makefile: Add tst-realloc to tests.
60741         * malloc/tst-realloc.c: New file.
60743 2013-09-09  Allan McRae  <allan@archlinux.org>
60745         [BZ #15844]
60746         * COPYING: Update from GNU website to fix FSF address.
60747         * COPYING.LIB: Likewise.
60749 2013-09-06  David S. Miller  <davem@davemloft.net>
60751         * po/zh_TW.po: Update Chinese (traditional) translation from
60752         translation project.
60754 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60755             Joseph Myers  <joseph@codesourcery.com>
60757         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60758         "localeinfo.h".
60759         (obstack_chunk_alloc): New macro.
60760         (obstack_chunk_free): Likewise.
60761         (record_offset): New function.
60762         (init_locale_data): Likewise.
60763         (align_locale_data): Likewise.
60764         (add_locale_empty): Likewise.
60765         (add_locale_raw_data): Likewise.
60766         (add_locale_raw_obstack): Likewise.
60767         (add_locale_string): Likewise.
60768         (add_locale_wstring): Likewise.
60769         (add_locale_uint32): Likewise.
60770         (add_locale_uint32_array): Likewise.
60771         (add_locale_char): Likewise.
60772         (start_locale_structure): Likewise.
60773         (end_locale_structure): Likewise.
60774         (start_locale_prelude): Likewise.
60775         (end_locale_prelude): Likewise.
60776         (write_locale_data): Take locale_file structure rather than an
60777         iovec.
60778         * locale/programs/locfile.h: Include "obstack.h".
60779         (struct locale_file): Change to store locale file contents instead
60780         of header.
60781         (init_locale_data): New prototype.
60782         (align_locale_data): Likewise.
60783         (add_locale_empty): Likewise.
60784         (add_locale_raw_data): Likewise.
60785         (add_locale_raw_obstack): Likewise.
60786         (add_locale_string): Likewise.
60787         (add_locale_wstring): Likewise.
60788         (add_locale_uint32): Likewise.
60789         (add_locale_uint32_array): Likewise.
60790         (add_locale_char): Likewise.
60791         (start_locale_structure): Likewise.
60792         (end_locale_structure): Likewise.
60793         (start_locale_prelude): Likewise.
60794         (end_locale_prelude): Likewise.
60795         (write_locale_data): Update prototype.
60796         * locale/programs/3level.h (struct TABLE): Remove result field.
60797         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60798         Use new locale_file interface.
60799         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60800         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60801         * locale/programs/ld-address.c (address_output): Use new
60802         locale_file interface.
60803         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60804         NO_ADD_LOCALE.
60805         (collate_finish): Don't call collseq_table_finalize.
60806         (collate_output): Use new locale_file interface.
60807         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60808         in file.
60809         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60810         (TABLE): Move defines earlier in file.
60811         (ELEMENT): Likewise.
60812         (DEFAULT): Likewise.
60813         (wctrans_table_add): Move macro and inline function earlier in
60814         file.
60815         (struct wctype_table): Move type earlier in file.
60816         (add_locale_wctype_table): New static prototype.
60817         (struct locale_ctype_t): Use logical types instead of struct iovec
60818         pointers for members.
60819         (ctype_output): Use new locale_file interface.
60820         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60821         new locale_file interface.
60822         (allocate_arrays): Update for use of new locale_file interface.
60823         * locale/programs/ld-identification.c (identification_output): Use
60824         new locale_file interface.
60825         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60826         * locale/programs/ld-messages.c (messages_output): Likewise.
60827         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60828         * locale/programs/ld-name.c (name_output): Likewise.
60829         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60830         * locale/programs/ld-paper.c (paper_output): Likewise.
60831         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60832         * locale/programs/ld-time.c (time_output): Likewise.
60834 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60836         * benchtests/Makefile: Add memrchr benchmark.
60837         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60838         benchmark as memrchr.
60839         * benchtests/bench-memrchr-ifunc.c: New file.
60840         * benchtests/bench-memrchr.c: New file.
60842 2013-09-06   Will Newton  <will.newton@linaro.org>
60844         * benchtests/Makefile (string-bench): Add memcpy.
60846 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60847             Cong Wang  <amwang@redhat.com>
60849         [BZ #15850]
60850         * sysdeps/unix/sysv/linux/bits/in.h
60851         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60852         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60853         before __USE_KERNEL_IPV6_DEFS uses.
60854         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60855         IPPROTO_BEETPH.
60856         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60857         sockaddr_in6, or ipv6_mreq.
60859 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60861         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60862         memory access for final bytes in some large inputs.
60863         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60865 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60867         * string/test-memrchr.c: New file.
60868         * string/test-memrchr-ifunc.c: New file.
60869         * string/Makefile: Add new memrchr testcase.
60871 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60873         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60874         fanotify_init returns EPERM.
60876 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60878         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60879         errors.
60880         (top level): Treat second token from macro or constant entries for
60881         allowed headers as allowed.
60882         * include/complex.h: Condition internal declarations on
60883         [!_ISOMAC].
60884         * include/fenv.h: Condition include of <stdbool.h> and internal
60885         declarations on [!_ISOMAC].
60887 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60889         [BZ #15923]
60890         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60892 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60894         * configure.in (--enable-versioning): Remove configure option.
60895         (libc_cv_asm_symver_directive): Remove configure test.
60896         (libc_cv_ld_version_script_option): Likewise.
60897         (VERSIONING): Remove variable and AC_SUBST.
60898         (DO_VERSIONING): Remove AC_DEFINE.
60899         * configure: Regenerated.
60900         * config.h.in (DO_VERSIONING): Remove macro.
60901         * Makerules [$(versioning) = yes]: Change conditionals to
60902         [$(build-shared) = yes].
60903         * config.make.in (versioning): Remove variable.
60904         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60905         [$(build-shared) = yes].
60906         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60907         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60908         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60909         [$(build-shared) = yes].
60910         * extra-lib.mk [$(versioning) = yes]: Likewise.
60911         * hurd/Makefile [$(versioning) = yes]: Likewise.
60912         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60913         [SHARED].
60914         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60915         [SHARED].
60916         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60917         [SHARED && !NO_HIDDEN].
60918         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60919         [SHARED].
60920         [SHARED && DO_VERSIONING]: Likewise..
60921         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60922         [$(build-shared) = yes].
60923         * manual/install.texi (--disable-versioning): Remove
60924         documentation.
60925         * INSTALL: Regenerated.
60926         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60927         to [SHARED].
60928         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60929         [$(build-shared) = yes].
60930         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60931         * sysdeps/i386/i686/multiarch/strstr-c.c
60932         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60933         [SHARED && !NO_HIDDEN].
60934         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60935         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60936         * sysdeps/powerpc/powerpc32/dl-machine.c
60937         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60938         * sysdeps/powerpc/powerpc32/sysdep.h
60939         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60940         to [SHARED && PIC && !NO_HIDDEN].
60941         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60942         conditional to [SHARED].
60944 2013-09-04   Will Newton  <will.newton@linaro.org>
60946         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60947         * benchtests/bench-string.h: Include bench-timing.h instead
60948         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60949         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60950         call to HP_TIMING_DIFF_INIT.
60951         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60952         instead of hp-timing.h macros.
60953         * benchtests/bench-memchr.c: Likewise.
60954         * benchtests/bench-memcmp.c: Likewise.
60955         * benchtests/bench-memcpy.c: Likewise.
60956         * benchtests/bench-memmem.c: Likewise.
60957         * benchtests/bench-memmove.c: Likewise.
60958         * benchtests/bench-memset.c: Likewise.
60959         * benchtests/bench-rawmemchr.c: Likewise.
60960         * benchtests/bench-strcasecmp.c: Likewise.
60961         * benchtests/bench-strcasestr.c: Likewise.
60962         * benchtests/bench-strcat.c: Likewise.
60963         * benchtests/bench-strchr.c: Likewise.
60964         * benchtests/bench-strcmp.c: Likewise.
60965         * benchtests/bench-strcpy.c: Likewise.
60966         * benchtests/bench-strcpy_chk.c: Likewise.
60967         * benchtests/bench-strlen.c: Likewise.
60968         * benchtests/bench-strncasecmp.c: Likewise.
60969         * benchtests/bench-strncat.c: Likewise.
60970         * benchtests/bench-strncmp.c: Likewise.
60971         * benchtests/bench-strncpy.c: Likewise.
60972         * benchtests/bench-strnlen.c: Likewise.
60973         * benchtests/bench-strpbrk.c: Likewise.
60974         * benchtests/bench-strrchr.c: Likewise.
60975         * benchtests/bench-strspn.c: Likewise.
60976         * benchtests/bench-strstr.c: Likewise.
60978 2013-09-04  Will Newton  <will.newton@linaro.org>
60980         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60982 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60984         [BZ #15427]
60985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60986         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60987         * math/libm-test.inc (lgamma_test_data): Add more tests.
60988         * sysdeps/i386/fpu/libm-test-ulps: Update.
60989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60991 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60993         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60995         Add ifunc.
60996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60997         Add strcmp-sse2-unaligned
60998         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61000 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61002         * Versions.def (libc): Add GLIBC_2.19.
61004 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61006         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61007         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61009 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61011         [BZ #14155]
61012         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61013         intermediate calculations in recurrence.
61014         (__ieee754_ynf): Likewise.
61015         * math/libm-test.inc (jn_test_data): Do not allow spurious
61016         underflow exception.  Add more tests.
61017         (yn_test_data): Add more tests.
61018         * sysdeps/i386/fpu/libm-test-ulps: Update.
61019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61021 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61023         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61025 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61027         * csu/init-first.c: Fix then/than typos.
61028         * locale/programs/ld-collate.c: Likewise.
61029         * locale/programs/linereader.h: Likewise.
61030         * manual/charset.texi: Likewise.
61031         * manual/filesys.texi: Likewise.
61032         * manual/stdio.texi: Likewise.
61033         * manual/string.texi: Likewise.
61034         * stdlib/fmtmsg.c: Likewise.
61035         * sysdeps/i386/stpncpy.S: Likewise.
61036         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61037         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61038         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61039         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61041 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61043         * elf/dl-open.c: Fix typos.
61044         * iconvdata/gbbig5.c: Likewise.
61045         * iconvdata/iso-2022-jp.c: Likewise.
61046         * iconv/gconv_int.h: Likewise.
61047         * iconv/loop.c: Likewise.
61048         * nis/rpcsvc/nis.h: Likewise.
61049         * resolv/ns_name.c: Likewise.
61050         * stdio-common/vfscanf.c: Likewise.
61051         * streams/stropts.h: Likewise.
61052         * sunrpc/rpc_thread.c: Likewise.
61053         * sysdeps/i386/strpbrk.S: Likewise.
61054         * sysdeps/ieee754/k_standard.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61057         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61058         * sysdeps/mach/hurd/profil.c: Likewise.
61059         * sysdeps/s390/dl-procinfo.h: Likewise.
61060         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61061         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61062         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61063         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61064         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61066 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61068         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61071 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61073         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61074         aix specific files.
61075         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61076         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61077         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61078         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61079         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61080         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61081         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61082         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61084 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61085             Roland McGrath  <roland@hack.frob.com>
61087         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61088         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61090 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61092         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61093         __executable_start symbol instead of _start.
61095 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61097         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61098         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61099         Move macros to...
61100         * sysdeps/gnu/ldsodefs.h: ... this new file.
61102         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61103         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61104         instead of ELFOSABI_LINUX.
61106         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61107         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61108         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61109         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61110         Likewise.
61111         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61112         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61113         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61114         Likewise.
61115         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61116         (ibm_extended_long_double): Add ieee_nan member.
61117         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61118         (do_test): New function.
61120         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61121         TEST_TRUNC.
61122         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61123         functions, renamed from truncdfsf_test, trunctfsf_test,
61124         trunctfdf_test.
61125         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61126         functions.
61127         (do_test): Run all these.
61129 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61131         * argp/argp-help.c: Fix typos.
61132         * argp/argp-parse.c: Likewise.
61133         * debug/backtracesyms.c: Likewise.
61134         * elf/elf.h: Likewise.
61135         * malloc/malloc.c: Likewise.
61136         * nis/nis_print.c: Likewise.
61137         * resolv/res_comp.c: Likewise.
61138         * stdlib/stdlib.h: Likewise.
61139         * sunrpc/clnt_tcp.c: Likewise.
61140         * sunrpc/clnt_udp.c: Likewise.
61141         * sunrpc/clnt_unix.c: Likewise.
61142         * sysdeps/unix/bsd/ptsname.c: Likewise.
61143         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61144         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61146         Likewise.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61148         Likewise.
61149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61150         Likewise.
61151         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61153 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61155         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61158 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61160         [BZ #15897]
61161         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61162         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61163         ($(objpfx)bug-dl-leaf): New rule.
61164         ($(objpfx)bug-dl-leaf.so): Likewise.
61165         ($(objpfx)bug-dl-leaf.out): Likewise.
61166         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61167         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61168         * dlfcn/bug-dl-leaf.c: New test.
61169         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61170         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61171         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61172         (dlclose): Likewise.
61173         (dlmopen): Likewise.
61175 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61177         * include/netdb.h [!_ISOMAC]:
61178         Don't include <tls.h>.
61179         (h_errno, __libc_h_errno): Move declaration and macros out of
61180         [_LIBC_REENTRANT].
61182         * include/resolv.h [_RESOLV_H_]:
61183         Don't include <tls.h>.
61184         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61185         * resolv/res_libc.c: Don't include <tls.h>.
61186         (_res): Use __attribute__ ((nocommon)) in place of
61187         __attribute__ ((section (".bss"))).
61189         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61190         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61192         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61194         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61195         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61197         * resolv/res_mkquery.c: Include <sys/time.h>.
61199         * inet/ifreq.c: Moved to ...
61200         * sysdeps/unix/ifreq.c: ... here.
61201         * inet/ifreq.c: New file, true stub version.
61203         * socket/sa_len.c: New file.
61204         * socket/Makefile (aux): Add it.
61205         * sysdeps/unix/sysv/linux/Makefile
61206         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61207         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61208         and #include <socket/sa_len.c>.
61209         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61210         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61212         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61213         * bits/socket.h: ... here.
61215         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61216         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61217         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61219 2013-08-27  Andreas Schwab  <schwab@suse.de>
61221         [BZ #15736]
61222         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61223         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61224         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61225         * string/test-strcasecmp.c (test_main): Run tests in several
61226         locales.
61227         * string/test-strncasecmp.c (test_main): Likewise.
61229         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61230         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61231         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61233         (__strncasecmp_ssse3) [PIC]: Likewise.
61235 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61237         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61239         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61240         instead of explicitly declaring xdecrypt.
61241         * nis/nss_nis/nis-publickey.c: Likewise.
61243 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61245         [BZ #15890]
61246         * nscd/aicache.c: Include res_hconf.h.
61247         (addhstaiX): Initialize res_hconf.
61249 2013-08-26  Andreas Schwab  <schwab@suse.de>
61251         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61252         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61254 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61256         * nscd/aicache.c (addhstaiX): Fix indentation.
61258 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61260         * configure.ac: Quote $build_pt_chown test.
61261         * configure: Regenerated.
61263 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61265         [BZ #15532]
61266         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61267         * math/s_cexpf.c (__cexpf): Likewise.
61268         * math/s_cexpl.c (__cexpl): Likewise.
61269         * math/libm-test.inc (cexp_test_data): Correct expected return
61270         value for NaN + i0.  Add another test.
61272 2013-08-22  David S. Miller  <davem@davemloft.net>
61274         * po/ca.po: Update Catalan translation from translation project.
61275         * po/uk.po: Add Ukrainian translations from translation project.
61277 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
61279         [BZ #15797]
61280         * math/s_fdim.c (__fdim): Check for infinite arguments if result
61281         is infinite, not alongside NaN test.
61282         * math/s_fdimf.c (__fdimf): Likewise.
61283         * math/s_fdiml.c (__fdiml): Likewise.
61284         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
61285         errno is unchanged.
61287 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61289         * argp/argp-help.c: Fix typos.
61290         * crypt/speeds.c: Likewise.
61291         * csu/check_fds.c: Likewise.
61292         * elf/dl-load.c: Likewise.
61293         * elf/dl-open.c: Likewise.
61294         * elf/reldep3.c: Likewise.
61295         * elf/reldep.c: Likewise.
61296         * elf/sprof.c: Likewise.
61297         * iconv/iconv_charmap.c: Likewise.
61298         * iconv/skeleton.c: Likewise.
61299         * iconv/strtab.c: Likewise.
61300         * io/lockf64.c: Likewise.
61301         * libio/libioP.h: Likewise.
61302         * resolv/gai_notify.c: Likewise.
61303         * resolv/ns_name.c: Likewise.
61304         * resolv/ns_samedomain.c: Likewise.
61305         * resolv/res_send.c: Likewise.
61306         * stdlib/random.c: Likewise.
61307         * sunrpc/rpc/xdr.h: Likewise.
61308         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61309         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61310         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61311         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61312         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61313         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61315         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61316         * sysdeps/mach/hurd/check_fds.c: Likewise.
61317         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61318         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61319         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61320         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61321         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61322         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61323         * sysdeps/pthread/aio_notify.c: Likewise.
61324         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61325         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61326         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61328         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61330 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61332         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61333         version if bit_Slow_SSE4_2 is set.
61334         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61337 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61339         [BZ #15867]
61340         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61341         trampoline stack frame information.
61342         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61343         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61344         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61345         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61346         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61347         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61348         (_libc_vdso_platform_setup): Initialize the signal trampolines.
61349         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61350         sa_flags value.
61351         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61352         interrupting a syscall and set with option SA_SIGINFO.
61354 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61356         [BZ #15531]
61357         * math/s_cproj.c (__cproj): Only return an infinity if one part of
61358         argument is infinite.
61359         * math/s_cprojf.c (__cprojf): Likewise.
61360         * math/s_cprojl.c (__cprojl): Likewise.
61361         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61362         * math/libm-test.inc (cproj_test_data): Add more tests.
61364         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61366         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61367         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61368         size.  Use __ffs to determine corresponding shift.
61370 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61371             Roland McGrath  <roland@hack.frob.com>
61373         * Makefile (INSTALL): Remove trailing blank lines from output of
61374         makeinfo.
61376 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61378         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61379         Align 32 bit compat elf_greg to 8 bytes.
61381 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61383         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61385 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61387         * string/strcoll_l.c (coll_seq): New structure.
61388         (get_next_seq_cached): New function.
61389         (get_next_seq): New function.
61390         (do_compare): New function.
61391         (STRCOLL): Use GNU style definition.  Simplify implementation
61392         by using get_next_seq, get_next_seq_cached and do_compare.
61394 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61396         [BZ #14699]
61397         CVE-2013-4237
61398         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61399         member.
61400         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61401         member.
61402         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61403         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61404         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61405         conditional.
61406         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61407         GETDENTS_64BIT_ALIGNED.
61408         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61409         * manual/filesys.texi (Reading/Closing Directory): Document
61410         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61411         strongly.
61412         * manual/conf.texi (Limits for Files): Add portability note to
61413         NAME_MAX, PATH_MAX.
61414         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61416 2013-08-13  Andreas Schwab  <schwab@suse.de>
61418         [BZ #15749]
61419         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61420         of fabs.
61421         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61422         LDBL_MAX_EXP >= 16384]: Add tests for it.
61424 2013-08-12  David S. Miller  <davem@davemloft.net>
61426         * version.h (RELEASE): Set to "development".
61427         (VERSION): Set to "2.18.90".
61428         * NEWS: Add 2.19 section.
61430 2013-08-03  David S. Miller  <davem@davemloft.net>
61432         * po/ko.po: Update Korean translation from translation project.
61434 2013-08-01  David S. Miller  <davem@davemloft.net>
61436         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61437         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61438         Bilka.
61440 2013-07-30  David S. Miller  <davem@davemloft.net>
61442         * po/fr.po: Update French translation from translation project.
61444 2013-07-28  David S. Miller  <davem@davemloft.net>
61446         * po/cs.po: Update Czech translation from translation project.
61448         * po/sv.po: Update Swedish translation from translation project.
61450 2013-07-27  David S. Miller  <davem@davemloft.net>
61452         * po/eo.po: Update Esperanto translation from translation project.
61454         * po/vi.po: Update Vietnamese translation from translation project.
61456         * po/de.po: Update German translation from translation project.
61458 2013-07-26  David S. Miller  <davem@davemloft.net>
61460         * po/bg.po: Update Bulgarian translation from translation project.
61462         * po/nl.po: Update Dutch translation from translation project.
61463         * po/pl.po: Update Polish translation from translation project.
61464         * po/ru.po: Update Russian translation from translation project.
61466 2013-07-24  David S. Miller  <davem@davemloft.net>
61468         * po/libc.pot: Update.
61470 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61472         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61473         variable page size.
61474         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61475         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61476         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61478 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61480         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61482 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61483             Andreas Schwab  <schwab@suse.de>
61484             Roland McGrath  <roland@hack.frob.com>
61485             Joseph Myers  <joseph@codesourcery.com>
61486             Carlos O'Donell  <carlos@redhat.com>
61488         [BZ #15755]
61489         * config.h.in: Define HAVE_PT_CHOWN.
61490         * config.make.in (build-pt-chown): New variable.
61491         * configure.in (--enable-pt_chown): New configure option.
61492         * configure: Regenerate.
61493         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61494         build-pt-chown is enabled.
61495         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61496         pt_chown to fix pty ownership.
61497         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61498         CLOSE_ALL_FDS.
61499         * manual/install.texi (Configuring and compiling): Mention
61500         --enable-pt_chown. Add @findex for grantpt.
61501         * INSTALL: Regenerate.
61503 2013-07-20  David S. Miller  <davem@davemloft.net>
61505         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61506         difference between 32-bit and 64-bit.
61508 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61510         [BZ #15711]
61511         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61512         Avoid system header dependency with -ffreestanding.
61513         ($(objpfx)bits/syscall%d): Likewise.
61515 2013-07-13  David S. Miller  <davem@davemloft.net>
61517         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61518         underflows from atanl/atan2l due to bug 15319.
61519         (casinh_test_data): Likewise.
61521 2013-07-07  David S. Miller  <davem@davemloft.net>
61523         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61525 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61527         * sysdeps/i386/fpu/libm-test-ulps: Update.
61528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61530 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61532         * configure.in (--enable-lock-elision): Fix message text.
61533         * INSTALL: Regenerate.
61534         * configure: Regenerate.
61536 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61540 2013-07-03  Andreas Jaeger  <aj@suse.de>
61542         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61543         define.
61544         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61545         (ptrace_peeksiginfo_args): Add.
61546         (__ptrace_peeksiginfo_flags): Add.
61547         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61548         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61549         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61551 2013-07-03  Allan McRae  <allan@archlinux.org>
61553         * sysdeps/i386/fpu/libm-test-ulps: Update.
61555 2013-07-02  David S. Miller  <davem@davemloft.net>
61557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61559 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61563 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61565         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61568 2013-07-02  Andi Kleen <ak@linux.intel.com>
61570         * config.h.in (ENABLE_LOCK_ELISION): Add.
61571         * configure.in (--enable-lock-elision): Add option.
61572         * manual/install.texi: Document --enable lock elision.
61573         * configure: Regenerate
61574         * INSTALL: Regenerate.
61576 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61578         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61579         SSE4.2 strcasecmp for libc.a.
61580         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61582 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61584         [BZ #13304]
61585         * soft-fp/op-common.h (_FP_FMA): New macro.
61586         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61587         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61588         (_FP_MUL_MEAT_1_imm): ... here.
61589         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61590         (_FP_MUL_MEAT_1_wide): ... here.
61591         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61592         (_FP_MUL_MEAT_1_hard): ... here.
61593         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61594         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61595         (_FP_MUL_MEAT_2_wide): ... here.
61596         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61597         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61598         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61599         (_FP_MUL_MEAT_2_gmp): ... here.
61600         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61601         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61602         (_FP_MUL_MEAT_4_wide): ... here.
61603         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61604         (_FP_MUL_MEAT_4_gmp): ... here.
61605         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61606         (_FP_WFRACBITS_DW_S): Likewise.
61607         (_FP_WFRACXBITS_DW_S): Likewise.
61608         (_FP_HIGHBIT_DW_S): Likewise.
61609         (FP_FMA_S): Likewise.
61610         (_FP_FRAC_HIGH_DW_S): Likewise.
61611         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61612         (_FP_WFRACBITS_DW_D): Likewise.
61613         (_FP_WFRACXBITS_DW_D): Likewise.
61614         (_FP_HIGHBIT_DW_D): Likewise.
61615         (FP_FMA_D): Likewise.
61616         (_FP_FRAC_HIGH_DW_D): Likewise.
61617         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61618         (_FP_WFRACBITS_DW_E): Likewise.
61619         (_FP_WFRACXBITS_DW_E): Likewise.
61620         (_FP_HIGHBIT_DW_E): Likewise.
61621         (FP_FMA_E): Likewise.
61622         (_FP_FRAC_HIGH_DW_E): Likewise.
61623         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61624         (_FP_WFRACBITS_DW_Q): Likewise.
61625         (_FP_WFRACXBITS_DW_Q): Likewise.
61626         (_FP_HIGHBIT_DW_Q): Likewise.
61627         (FP_FMA_Q): Likewise.
61628         (_FP_FRAC_HIGH_DW_Q): Likewise.
61629         * soft-fp/fmasf4.c: New file.
61630         * soft-fp/fmadf4.c: Likewise.
61631         * soft-fp/fmatf4.c: Likewise.
61633 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61636         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61637         Silvermont.
61638         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61639         macro.
61640         (index_Slow_SSE4_2): Likewise.
61641         (index_Prefer_PMINUB_for_stringop): Likewise.
61642         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61643         bit_Slow_SSE4_2 is set.
61644         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61645         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61647 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61649         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61650         rtld_global._dl_hwcap2.
61651         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61652         POWER8.
61653         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61654         POWER8 feature descriptions defined in _dl_hwcap2.
61655         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61656         string handling for POWER8 feature bits.
61657         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61658         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61659         _dl_powerpc_cap_flags.
61660         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61661         * sysdeps/powerpc/rtld-global-offsets.sym
61662         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61663         _dl_hwcap2 in the rtld_global_ro structure.
61665 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61667         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61668         hardware capabilities in support of AT_HWCAP2.
61669         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61670         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61671         GLRO(dl_hwcap2).
61672         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61673         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61674         explicitly the unknown a_type display mechanism is used.
61675         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61676         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61677         struct member.
61678         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61679         to macro prototype for AT_HWCAP2 support.
61680         * sysdeps/i386/dl-procinfo.h: Likewise.
61681         * sysdeps/s390/dl-procinfo.h: Likewise.
61682         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61683         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61684         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61685         return -1 for unknown a_type display fallback.
61686         * sysdeps/sparc/dl-procinfo.h: Likewise.
61687         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61688         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61690 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61692         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61693         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61695 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61697         [BZ #12492]
61698         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61699         mprotect making __stack_prot writable.
61701 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61702             Joseph Myers  <joseph@codesourcery.com>
61704         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61705         as being properly aligned.
61707 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61709         * dlfcn/modstatic5.c: New file.
61710         * dlfcn/tststatic5.c: New file.
61711         * dlfcn/Makefile (tests): Add tststatic5.
61712         (tests-static): Likewise.
61713         (modules-names): Add modstatic5.
61714         (tststatic5-ENV): New variable.
61715         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61717         [BZ #15022]
61718         * elf/dl-support.c (_dl_main_map): New variable.
61719         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61720         (_dl_nns, _dl_load_adds): Set to 1.
61721         (_dl_initial_searchlist): Refer to _dl_main_map.
61722         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61723         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61724         call to _dl_get_origin.
61725         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61726         around call_map.
61727         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61728         * dlfcn/modstatic3.c: New file.
61729         * dlfcn/tststatic3.c: New file.
61730         * dlfcn/tststatic4.c: New file.
61731         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61732         (tests-static): Likewise.
61733         (modules-names): Add modstatic3.
61734         (tststatic3-ENV, tststatic4-ENV): New variables.
61735         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61736         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61738 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61740         * configure.in (CC): Require GCC version 4.4 or later.
61741         * configure: Regenerated.
61742         * manual/install.texi (Tools for Compilation): Update GCC version
61743         requirement.
61744         * INSTALL: Regenerated.
61746 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61748         [BZ #15674]
61749         * string/test-memcmp.c (check2): New.
61750         (main): Call check2.
61752         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61754 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61756         [BZ #15022]
61757         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61758         over to...
61759         (dl_open_worker) [!SHARED]: ... here.
61761 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61763         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61765 2013-06-25  Richard Henderson  <rth@redhat.com>
61767         * locale/programs/locarchive.c: Include <libc-internal.h>
61769 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61771         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61772         trailing whitespace removed.
61774 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61776         [BZ #10283]
61777         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61778         * locale/programs/locarchive.c: Include libc-mmap.h.
61779         (prepare_address_space): Take two new outputs (the mmap base and len).
61780         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61781         values.
61782         (create_archive): Declare new mmap base and len values for
61783         prepare_address_space, and store the result in ah.
61784         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61785         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61786         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61787         Declare new mmap base and len values for
61788         prepare_address_space, and store the result in new_ah.
61789         (open_archive): Declare new mmap base and len values for
61790         prepare_address_space, and store the result in ah.
61791         (close_archive): If ah->mmap_base is not NULL, use that and
61792         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61793         * sysdeps/generic/libc-mmap.h: New file.
61795 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61797         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61798         (ALIGN_UP): Likewise.
61799         (PTR_ALIGN_DOWN): Likewise.
61800         (PTR_ALIGN_UP): Likewise.
61802 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61804         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61805         entry mapped to PPC_PLATFORM_POWER8.
61806         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61807         POWER8.
61808         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61809         (_dl_string_platform): Add case for exporting platform position for
61810         POWER8.
61811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61812         search path to sysdeps/powerpc/powerpc32/power8 directory.
61813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61814         search path to sysdeps/powerpc/powerpc64/power8 directory.
61815         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61816         power7 directories.
61817         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61818         power7 directories.
61820 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61822         * INSTALL: Regenerate.
61824         * nscd/connections.c (nscd_init): Fix comment.
61826 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61828         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61830         [BZ #15667]
61831         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61832         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61834 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61836         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61837         DL_DST_REQ_STATIC.
61838         (DL_DST_REQ_STATIC): Remove macro.
61840 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61842         [BZ #7006]
61843         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61844         with a shift of 0 bits.
61846 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61848         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61849         $(tststatic-ENV).
61851 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61853         [BZ #15655]
61854         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61856 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61858         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61859         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61860         accepts -fno-tree-loop-distribute-patterns.
61861         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61862         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61863         recursive call.
61864         * string/memset.c (memset): Likewise.
61865         * string/test-memmove.c (simple_memmove): Disable loop transformation
61866         to library calls.
61867         * string/test-memset.c (simple_memset): Likewise.
61868         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61869         * benchtests/bench-memset.c (simple_memset): Likewise.
61870         * configure: Regenerated.
61872 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61874         * math/test-misc.c (main): Ignore fesetround failure when failures
61875         of subsequent rounding tests would be ignored.
61877         [BZ #15654]
61878         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61879         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61880         * math/fegetenv.c (__fegetenv): Return 0.
61881         * math/fegetexcept.c (fegetexcept): Return 0.
61882         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61883         FE_TONEAREST.
61884         * math/feholdexcpt.c (feholdexcept): Return 0.
61885         * math/fesetenv.c (__fesetenv): Return 0.
61886         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61887         argument FE_TONEAREST.
61888         * math/feupdateenv.c (__feupdateenv): Return 0.
61889         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61891 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61893         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61894         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61895         ($(objpfx)rtld-%.os rules): Use them.
61897 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61899         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61900         fields.
61902 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61904         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61905         length of target pattern, then descending length of dependency pattern.
61906         * configure.in (AWK): Require gawk 3.1.2 or newer.
61907         * manual/install.texi (Tools for Compilation): Say that we do.
61908         * configure: Regenerated.
61910         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61911         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61912         * scripts/sysd-rules.awk: ... this new script.
61913         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61914         than a glob-style pattern.
61916 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61918         * math/test-misc.c (main): Do not treat incorrectly rounded
61919         conversions as failure unless ROUNDING_TESTS passes.
61921 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61923         [BZ #15631]
61924         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61925         restore exception state around main square root computation, then
61926         check for inexactness explicitly.
61928         * math/libm-test.inc (fma_test_data): Add another test.
61930 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61932         * manual/threads.texi (Non-POSIX Extensions): New document
61933         node.  Document pthread_getattr_default_np and
61934         pthread_setattr_default_np.
61936         * Versions.def (libpthread): Add GLIBC_2.18.
61937         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61939         Likewise.
61940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61941         Likewise.
61942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61943         Likewise.
61944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61945         Likewise.
61946         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61947         Likewise.
61948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61949         Likewise.
61950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61951         Likewise.
61952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61953         Likewise.
61954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61955         Likewise.
61957 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61960         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61962 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61963             H.J. Lu  <hjl.tools@gmail.com>
61965         [BZ #15627]
61966         * sysdeps/x86_64/rtld-memset.c: Remove file.
61967         * sysdeps/x86_64/rtld-memset.S: New file.
61969 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61971         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61972         (test_in_one_mode): Take arguments for whether the rounding mode
61973         is supported for each floating-point type.
61974         (do_test): Pass new arguments to test_in_one_mode using
61975         ROUNDING_TESTS.
61977 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61979         * posix/tst-waitid.c (do_test): Distinguish different instances of
61980         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61981         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61982         before entering the kernel for waitpid.
61984 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61986         * NEWS: Fix note on clock function precision.  Text by Roland
61987         McGrath.
61989 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61991         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61992         it into place only when and if the sanity check passes.
61994 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61996         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61997         output for whether conversion result is exact.  Take argument
61998         indicating whether type is IBM long double.
61999         (round_for_all): Change need_exact field to ibm_ld.
62000         * stdlib/tst-strtod-round.c (struct exactness): New type.
62001         (struct test): Change bool ld_ok field to struct exactness exact.
62002         (TEST): Update all definitions for change to field.
62003         (tests): Regenerate array contents.
62004         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62005         field value.  Check for IBM long double here.
62006         (do_test): Update calls to test_in_one_mode.
62008 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62010         [BZ #12515]
62011         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62012         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62014 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62016         [BZ #15605]
62017         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62018         generated by the compiler on loop optimizations.
62019         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62020         general definitions.
62022 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62024         * math/bug-nextafter.c: Include <math-tests.h>.
62025         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62026         the relevant type.
62027         * math/bug-nexttoward.c: Include <math-tests.h>.
62028         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62029         the relevant type.
62030         * math/test-misc.c: Include <math-tests.h>.
62031         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62032         the relevant type.
62034 2013-06-12  Andreas Jaeger  <aj@suse.de>
62036         * po/ia.po: Update Interlingua translation from translation
62037         project.
62039 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62041         * include/fenv.h: Include stdbool.h.
62042         (struct rm_ctx): New structure.
62043         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62044         Define macro.
62045         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62046         (SET_RESTORE_ROUNDF): Likewise.
62047         (SET_RESTORE_ROUNDL): Likewise.
62048         (SET_RESTORE_ROUND_NOEX): Likewise.
62049         (SET_RESTORE_ROUND_NOEXF): Likewise.
62050         (SET_RESTORE_ROUND_NOEXL): Likewise.
62051         (SET_RESTORE_ROUND_53BIT): Likewise.
62052         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62053         (libc_feresetround_noexf_ctx): Likewise.
62054         (libc_feresetround_noexl_ctx): Likewise.
62055         (libc_feholdsetround_53bit_ctx): Likewise.
62056         (libc_feresetround_53bit_ctx): Likewise.
62057         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62058         (libc_feholdexcept_setround_sse_ctx): New function.
62059         (libc_fesetenv_sse_ctx): Likewise.
62060         (libc_feupdateenv_sse_ctx): Likewise.
62061         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62062         (libc_feholdexcept_setround_387_ctx): Likewise.
62063         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62064         (libc_feholdsetround_387_prec_ctx): Likewise.
62065         (libc_feholdsetround_387_ctx): Likewise.
62066         (libc_feholdsetround_387_53bit_ctx): Likewise.
62067         (libc_feholdsetround_sse_ctx): Likewise.
62068         (libc_feresetround_sse_ctx): Likewise.
62069         (libc_feresetround_387_ctx): Likewise.
62070         (libc_feupdateenv_387_ctx): Likewise.
62071         (libc_feholdexcept_setroundf_ctx): Define macro.
62072         (libc_fesetenvf_ctx): Likewise.
62073         (libc_feupdateenvf_ctx): Likewise.
62074         (libc_feholdsetroundf_ctx): Likewise.
62075         (libc_feresetroundf_ctx): Likewise.
62076         (libc_feholdexcept_setround_ctx): Likewise.
62077         (libc_fesetenv_ctx): Likewise.
62078         (libc_feupdateenv_ctx): Likewise.
62079         (libc_feholdsetround_ctx): Likewise.
62080         (libc_feresetround_ctx): Likewise.
62081         (libc_feholdexcept_setroundl_ctx): Likewise.
62082         (libc_feupdateenvl_ctx): Likewise.
62083         (libc_feholdsetroundl_ctx): Likewise.
62084         (libc_feresetroundl_ctx): Likewise.
62085         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62086         (libc_feresetround_53bit_ctx): Likewise.
62088 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62090         * locale/iso-639.def: Convert to UTF-8.
62092 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62094         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62095         (EXCEPTION_TESTS_double): Likewise.
62096         (EXCEPTION_TESTS_long_double): Likewise.
62097         (EXCEPTION_TESTS): Likewise.
62098         * math/libm-test.inc (test_exceptions): Only test exceptions if
62099         EXCEPTION_TESTS (FLOAT).
62101 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62103         * benchtests/Makefile (string-bench): Add strcpy_chk and
62104         stpcpy_chk.
62105         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62106         * benchtests/bench-stpcpy_chk.c: New file.
62107         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62108         * benchtests/bench-strcpy_chk.c: New file.
62109         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62110         code.
62111         (do_test): Likewise.
62113 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62115         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62116         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62117         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62118         with tabs where appropriate.
62119         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62120         dl-procinfo.h.
62121         [PPC_PLATFORM_PPC440]: Likewise.
62122         [PPC_PLATFORM_PPC464]: Likewise.
62123         [PPC_PLATFORM_PPC476]: Likewise.
62124         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62125         ppc464, and ppc476 platform strings merging from ports/
62126         dl-procinfo.h.
62128 2013-06-11  Andreas Schwab  <schwab@suse.de>
62130         [BZ #14991]
62131         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62132         (from_ucs4_idx): Regenerate.
62133         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62134         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62135         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62136         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62137         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62138         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62139         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62140         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62141         from FROM_LOOP and TO_LOOP specific macros.
62142         (BODY): Handle combining characters.
62143         * iconvdata/BIG5HKSCS.irreversible: Update.
62144         * iconvdata/BIG5HKSCS.precomposed: New file.
62145         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62146         characters.
62147         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62149 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62151         * include/sys/time.h: Fix indentation and add copyright header.
62153         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62154         (do_test): Likewise.
62155         * string/test-memchr.c (do_one_test): Likewise.
62156         (do_test): Likewise.
62157         * string/test-memcmp.c (do_one_test): Likewise.
62158         (do_test): Likewise.
62159         * string/test-memcpy.c (do_one_test): Likewise.
62160         (do_test): Likewise.
62161         * string/test-memmem.c (do_one_test): Likewise.
62162         (do_test): Likewise.
62163         (do_random_tests): Likewise.
62164         * string/test-memmove.c (do_one_test): Likewise.
62165         (do_test): Likewise.
62166         * string/test-memset.c (do_one_test): Likewise.
62167         (do_test): Likewise.
62168         * string/test-rawmemchr.c (do_one_test): Likewise.
62169         (do_test): Likewise.
62170         * string/test-strcasecmp.c (do_one_test): Likewise.
62171         (do_test): Likewise.
62172         * string/test-strcasestr.c (do_one_test): Likewise.
62173         (do_test): Likewise.
62174         * string/test-strcat.c (do_one_test): Likewise.
62175         (do_test): Likewise.
62176         * string/test-strchr.c (do_one_test): Likewise.
62177         (do_test): Likewise.
62178         * string/test-strcmp.c (do_one_test): Likewise.
62179         (do_test): Likewise.
62180         * string/test-strcpy.c (do_one_test): Likewise.
62181         (do_test): Likewise.
62182         * string/test-string.h: Likewise.
62183         (test_init): Likewise.
62184         * string/test-strlen.c (do_one_test): Likewise.
62185         (do_test): Likewise.
62186         * string/test-strncasecmp.c (do_one_test): Likewise.
62187         (do_test): Likewise.
62188         * string/test-strncat.c (do_one_test): Likewise.
62189         (do_test): Likewise.
62190         * string/test-strncmp.c (do_one_test): Likewise.
62191         (do_test_limit): Likewise.
62192         (do_test): Likewise.
62193         * string/test-strncpy.c (do_one_test): Likewise.
62194         (do_test): Likewise.
62195         * string/test-strnlen.c (do_one_test): Likewise.
62196         (do_test): Likewise.
62197         * string/test-strpbrk.c (do_one_test): Likewise.
62198         (do_test): Likewise.
62199         * string/test-strrchr.c (do_one_test): Likewise.
62200         (do_test): Likewise.
62201         * string/test-strspn.c (do_one_test): Likewise.
62202         (do_test): Likewise.
62203         * string/test-strstr.c (do_one_test): Likewise.
62204         (do_test): Likewise.
62206         * benchtests/Makefile (string-bench): Add string benchmarks.
62207         * benchtests/bench-bcopy-ifunc.c: New file.
62208         * benchtests/bench-bcopy.c: New file.
62209         * benchtests/bench-bzero-ifunc.c: New file.
62210         * benchtests/bench-bzero.c: New file.
62211         * benchtests/bench-memccpy-ifunc.c: New file.
62212         * benchtests/bench-memccpy.c: New file.
62213         * benchtests/bench-memchr-ifunc.c: New file.
62214         * benchtests/bench-memchr.c: New file.
62215         * benchtests/bench-memcmp-ifunc.c: New file.
62216         * benchtests/bench-memcmp.c: New file.
62217         * benchtests/bench-memmem-ifunc.c: New file.
62218         * benchtests/bench-memmem.c: New file.
62219         * benchtests/bench-memmove-ifunc.c: New file.
62220         * benchtests/bench-memmove.c: New file.
62221         * benchtests/bench-mempcpy-ifunc.c: New file.
62222         * benchtests/bench-mempcpy.c: New file.
62223         * benchtests/bench-memset-ifunc.c: New file.
62224         * benchtests/bench-memset.c: New file.
62225         * benchtests/bench-rawmemchr-ifunc.c: New file.
62226         * benchtests/bench-rawmemchr.c: New file.
62227         * benchtests/bench-stpcpy-ifunc.c: New file.
62228         * benchtests/bench-stpcpy.c: New file.
62229         * benchtests/bench-stpncpy-ifunc.c: New file.
62230         * benchtests/bench-stpncpy.c: New file.
62231         * benchtests/bench-strcasecmp-ifunc.c: New file.
62232         * benchtests/bench-strcasecmp.c: New file.
62233         * benchtests/bench-strcasestr-ifunc.c: New file.
62234         * benchtests/bench-strcasestr.c: New file.
62235         * benchtests/bench-strcat-ifunc.c: New file.
62236         * benchtests/bench-strcat.c: New file.
62237         * benchtests/bench-strchr-ifunc.c: New file.
62238         * benchtests/bench-strchr.c: New file.
62239         * benchtests/bench-strchrnul-ifunc.c: New file.
62240         * benchtests/bench-strchrnul.c: New file.
62241         * benchtests/bench-strcmp-ifunc.c: New file.
62242         * benchtests/bench-strcmp.c: New file.
62243         * benchtests/bench-strcpy-ifunc.c: New file.
62244         * benchtests/bench-strcpy.c: New file.
62245         * benchtests/bench-strcspn-ifunc.c: New file.
62246         * benchtests/bench-strcspn.c: New file.
62247         * benchtests/bench-strlen-ifunc.c: New file.
62248         * benchtests/bench-strlen.c: New file.
62249         * benchtests/bench-strncasecmp-ifunc.c: New file.
62250         * benchtests/bench-strncasecmp.c: New file.
62251         * benchtests/bench-strncat-ifunc.c: New file.
62252         * benchtests/bench-strncat.c: New file.
62253         * benchtests/bench-strncmp-ifunc.c: New file.
62254         * benchtests/bench-strncmp.c: New file.
62255         * benchtests/bench-strncpy-ifunc.c: New file.
62256         * benchtests/bench-strncpy.c: New file.
62257         * benchtests/bench-strnlen-ifunc.c: New file.
62258         * benchtests/bench-strnlen.c: New file.
62259         * benchtests/bench-strpbrk-ifunc.c: New file.
62260         * benchtests/bench-strpbrk.c: New file.
62261         * benchtests/bench-strrchr-ifunc.c: New file.
62262         * benchtests/bench-strrchr.c: New file.
62263         * benchtests/bench-strspn-ifunc.c: New file.
62264         * benchtests/bench-strspn.c: New file.
62265         * benchtests/bench-strstr-ifunc.c: New file.
62266         * benchtests/bench-strstr.c: New file.
62268         * benchtests/Makefile: Disable parallel execution of targets.
62269         (string-bench): Add memcpy.
62270         (benchset): New variable to store a list of benchmark sets.
62271         (bench-func): Renamed from bench.
62272         (bench-set): New target.
62273         (bench): Depend on bench-func and bench-set.
62274         * benchtests/README: Add section on benchmark sets.
62275         * benchtests/bench-memcpy-ifunc.c: New file.
62276         * benchtests/bench-memcpy.c: New file.
62277         * benchtests/bench-string.h: New file.
62279 2013-06-11  Andreas Schwab  <schwab@suse.de>
62281         [BZ #15577]
62282         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62283         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62284         values in the triple.
62285         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62286         terminator in the group key.
62288 2013-06-11  Andreas Jaeger  <aj@suse.de>
62290         * po/zh_TW.po: Update Chinese (traditional) translation from
62291         translation project.
62293 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62295         * include/time.h (__clock_gettime): Add libc_hidden_proto.
62296         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62297         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
62298         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62299         (clock_getcpuclockid): Likewise.
62300         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62301         Add weak_alias and libc_hidden_def.
62302         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62303         * rt/clock_gettime.c (clock_gettime): Rename to
62304         __clock_gettime.  Add weak_alias and libc_hidden_def.
62305         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62306         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62307         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
62308         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62309         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62310         Likewise.
62311         * rt/clock_settime.c (clock_settime): Rename to
62312         __clock_settime.  Add weak_alias and libc_hidden_def.
62313         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62315 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
62317         * mach/err_boot.sub: Remove trailing whitespace.
62318         * mach/err_ipc.sub: Likewise.
62319         * mach/err_mach.sub: Likewise.
62321         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62322         (ROUNDING_TESTS_double): Likewise.
62323         (ROUNDING_TESTS_long_double): Likewise.
62324         (ROUNDING_TESTS): Likewise.
62325         * math/libm-test.inc: Include <math-tests.h>.
62326         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62327         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62328         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62329         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62331 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62333         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62334         of assigning.
62336 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
62338         * sysdeps/gnu/errlist.awk: Do not generate space at end of
62339         otherwise empty TRANS lines.
62340         * sysdeps/gnu/errlist.c: Regenerated.
62342         * catgets/gencat.c (error_print): Use (void) in function
62343         definition.
62344         * crypt/crypt_util.c (__init_des): Likewise.
62345         * crypt/speeds.c (Stop): Likewise.
62346         (main): Likewise.
62347         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62348         * inet/ruserpass.c (token): Likewise.
62349         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62350         * intl/localealias.c (extend_alias_table): Likewise.
62351         * intl/plural-exp.c (init_germanic_plural): Likewise.
62352         * libio/fcloseall.c (__fcloseall): Likewise.
62353         * libio/genops.c (_IO_flush_all): Likewise.
62354         (_IO_flush_all_linebuffered): Likewise.
62355         (_IO_cleanup): Likewise.
62356         (_IO_iter_begin): Likewise.
62357         (_IO_iter_end): Likewise.
62358         (_IO_list_lock): Likewise.
62359         (_IO_list_unlock): Likewise.
62360         (_IO_list_resetlock): Likewise.
62361         * libio/getchar.c (getchar): Likewise.
62362         * libio/getchar_u.c (getchar_unlocked): Likewise.
62363         * libio/getwchar.c (getwchar): Likewise.
62364         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62365         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62366         * login/getpt.c (__getpt): Likewise.
62367         * login/tst-utmp.c (main): Likewise.
62368         * malloc/hooks.c (__malloc_check_init): Likewise.
62369         * malloc/malloc.c (__malloc_stats): Likewise.
62370         * malloc/mtrace.c (tr_break): Likewise.
62371         (mtrace): Likewise.
62372         (muntrace): Likewise.
62373         * misc/fstab.c (endfsent): Likewise.
62374         * misc/getclktck.c (__getclktck): Likewise.
62375         * misc/getdtsz.c (__getdtablesize): Likewise.
62376         * misc/gethostid.c (gethostid): Likewise.
62377         * misc/getpagesize.c (__getpagesize): Likewise.
62378         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62379         (__get_nprocs): Likewise.
62380         (__get_phys_pages): Likewise.
62381         (__get_avphys_pages): Likewise.
62382         * misc/getttyent.c (getttyent): Likewise.
62383         (setttyent): Likewise.
62384         (endttyent): Likewise.
62385         * misc/getusershell.c (getusershell): Likewise.
62386         (endusershell): Likewise.
62387         (setusershell): Likewise.
62388         (initshells): Likewise.
62389         * misc/hsearch.c (__hdestroy): Likewise.
62390         * misc/sync.c (sync): Likewise.
62391         * misc/syslog.c (closelog_internal): Likewise.
62392         (closelog): Likewise.
62393         * misc/ttyslot.c (ttyslot): Likewise.
62394         * misc/vhangup.c (vhangup): Likewise.
62395         * posix/fork.c (__fork): Likewise.
62396         * posix/getegid.c (__getegid): Likewise.
62397         * posix/geteuid.c (__geteuid): Likewise.
62398         * posix/getgid.c (__getgid): Likewise.
62399         * posix/getpid.c (__getpid): Likewise.
62400         * posix/getppid.c (__getppid): Likewise.
62401         * posix/getuid.c (__getuid): Likewise.
62402         * posix/pause.c (pause): Likewise.
62403         * posix/setpgrp.c (setpgrp): Likewise.
62404         * posix/setsid.c (__setsid): Likewise.
62405         * posix/test-vfork.c (noop): Likewise.
62406         * resolv/gethnamaddr.c (_endhtent): Likewise.
62407         (_gethtent): Likewise.
62408         (ht_endhostent): Likewise.
62409         (gethostent): Likewise.
62410         (dns_service): Likewise.
62411         * stdlib/drand48.c (drand48): Likewise.
62412         * stdlib/lrand48.c (lrand48): Likewise.
62413         * stdlib/mrand48.c (mrand48): Likewise.
62414         * stdlib/rand.c (rand): Likewise.
62415         * stdlib/random.c (__random): Likewise.
62416         * stdlib/setenv.c (clearenv): Likewise.
62417         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62418         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62419         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62420         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62421         (__get_nprocs): Likewise.
62422         (__get_phys_pages): Likewise.
62423         (__get_avphys_pages): Likewise.
62424         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62425         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62426         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62427         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62428         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62429         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62430         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62431         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62432         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62433         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62434         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62435         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62436         * sysdeps/posix/clock.c (clock): Likewise.
62437         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62438         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62439         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62440         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62441         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62442         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62443         (__get_nprocs_conf): Likewise.
62444         (__get_phys_pages): Likewise.
62445         (__get_avphys_pages): Likewise.
62446         * time/clock.c (clock): Likewise.
62447         * time/tzset.c (__tzname_max): Likewise.
62449 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62451         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62452         (__bswap_32): Do not use "register".
62453         * crypt/crypt.c (_ufc_doit_r): Likewise.
62454         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62455         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62456         * gmon/gmon.c (__monstartup): Likewise.
62457         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62458         * hurd/hurdmalloc.c (more_memory): Likewise.
62459         (malloc): Likewise.
62460         (free): Likewise.
62461         (realloc): Likewise.
62462         (malloc_fork_prepare): Likewise.
62463         (malloc_fork_parent): Likewise.
62464         (malloc_fork_child): Likewise.
62465         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62466         (_svcauth_des): Likewise.
62467         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62468         * inet/inet_net.c (inet_network): Likewise.
62469         * inet/inet_netof.c (inet_netof): Likewise.
62470         * inet/rcmd.c (__validuser2_sa): Likewise.
62471         * io/fts.c (fts_open): Likewise.
62472         (fts_load): Likewise.
62473         (fts_close): Likewise.
62474         (fts_read): Likewise.
62475         (fts_children): Likewise.
62476         (fts_build): Likewise.
62477         (fts_stat): Likewise.
62478         (fts_sort): Likewise.
62479         (fts_alloc): Likewise.
62480         (fts_lfree): Likewise.
62481         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62482         (_IO_file_xsgetn): Likewise.
62483         (_IO_file_xsgetn_mmap): Likewise.
62484         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62485         (_IO_cookie_write): Likewise.
62486         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62487         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62488         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62489         * malloc/obstack.c (_obstack_begin): Likewise.
62490         (_obstack_begin_1): Likewise.
62491         (_obstack_newchunk): Likewise.
62492         (_obstack_allocated_p): Likewise.
62493         (obstack_free): Likewise.
62494         (_obstack_memory_used): Likewise.
62495         * misc/getttyent.c (getttynam): Likewise.
62496         (getttyent): Likewise.
62497         (skip): Likewise.
62498         (value): Likewise.
62499         * misc/getusershell.c (initshells): Likewise.
62500         * misc/syslog.c (__vsyslog_chk): Likewise.
62501         * misc/ttyslot.c (ttyslot): Likewise.
62502         * nis/nis_hash.c (__nis_hash): Likewise.
62503         * posix/fnmatch_loop.c (FCT): Likewise.
62504         * posix/getconf.c (print_all): Likewise.
62505         (main): Likewise.
62506         * posix/getopt.c (exchange): Likewise.
62507         * posix/glob.c (globfree): Likewise.
62508         (prefix_array): Likewise.
62509         (__glob_pattern_type): Likewise.
62510         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62511         (NS_GET32): Likewise.
62512         (NS_PUT16): Likewise.
62513         (NS_PUT32): Likewise.
62514         * resolv/gethnamaddr.c (getanswer): Likewise.
62515         (gethostbyname2): Likewise.
62516         (gethostbyaddr): Likewise.
62517         (_gethtent): Likewise.
62518         (_gethtbyname2): Likewise.
62519         (_gethtbyaddr): Likewise.
62520         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62521         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62522         * resolv/res_init.c (__res_vinit): Likewise.
62523         (net_mask): Likewise.
62524         * resolv/res_mkquery.c (outchar): Likewise.
62525         (PRINT): Likewise.
62526         * stdio-common/printf_fp.c (outchar): Likewise.
62527         (PRINT): Likewise.
62528         * stdio-common/printf_fphex.c (outchar): Likewise.
62529         (PRINT): Likewise.
62530         * stdio-common/printf_size.c (outchar): Likewise.
62531         (PRINT): Likewise.
62532         * stdio-common/test_rdwr.c (main): Likewise.
62533         * stdio-common/tfformat.c (matches): Likewise.
62534         * stdio-common/vfprintf.c (outchar): Likewise.
62535         (printf_unknown): Likewise.
62536         (buffered_vfprintf): Likewise.
62537         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62538         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62539         (ReadFile): Likewise.
62540         * stdlib/qsort.c (SWAP): Likewise.
62541         (_quicksort): Likewise.
62542         * stdlib/setenv.c (__add_to_environ): Likewise.
62543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62544         * stdlib/strtol_l.c (__strtol_l): Likewise.
62545         * stdlib/tst-strtod.c (main): Likewise.
62546         * stdlib/tst-strtol.c (main): Likewise.
62547         * stdlib/tst-strtoll.c (main): Likewise.
62548         * string/bits/string2.h (__strcmp_cc): Likewise.
62549         (__strcmp_cg): Likewise.
62550         (__strcspn_c1): Likewise.
62551         (__strcspn_c2): Likewise.
62552         (__strcspn_c3): Likewise.
62553         (__strspn_c1): Likewise.
62554         (__strspn_c2): Likewise.
62555         (__strspn_c3): Likewise.
62556         (__strsep_1c): Likewise.
62557         (__strsep_2c): Likewise.
62558         (__strsep_3c): Likewise.
62559         * string/memccpy.c (__memccpy): Likewise.
62560         * string/stpcpy.c (__stpcpy): Likewise.
62561         * string/strcmp.c (strcmp): Likewise.
62562         * string/strrchr.c (strrchr): Likewise.
62563         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62564         Likewise.
62565         * sysdeps/mach/hurd/getcwd.c
62566         (_hurd_canonicalize_directory_name_internal): Likewise.
62567         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62568         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62569         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62570         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62571         Likewise, in both definitions.
62572         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62573         definitions.
62574         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62575         64] (__bswap_64): Likewise.
62576         * time/test_time.c (main): Likewise.
62577         * time/tzfile.c (__tzfile_read): Likewise.
62578         (__tzfile_compute): Likewise.
62579         * time/tzset.c (__tzset_parse_tz): Likewise.
62580         (tzset_internal): Likewise.
62581         (compute_change): Likewise.
62582         * wcsmbs/wcscat.c (__wcscat): Likewise.
62583         * wcsmbs/wcschr.c (wcschr): Likewise.
62584         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62585         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62586         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62587         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62588         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62589         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62590         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62591         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62592         * wcsmbs/wmemset.c (wmemset): Likewise.
62594 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62596         * scripts/config.guess: Update to version 2013-05-16.
62597         * scripts/config.sub: Update to version 2013-04-24.
62598         * scripts/install-sh: Update to version 2011-11-20.07.
62599         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62600         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62602 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62604         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62605         * elf/sln.c: Likewise.
62606         * hurd/hurd/ioctl.h: Likewise.
62607         * hurd/hurdmalloc.c: Likewise.
62608         * hurd/xattr.c: Likewise.
62609         * include/shlib-compat.h: Likewise.
62610         * inet/ruserpass.c: Likewise.
62611         * libio/iofgets_u.c: Likewise.
62612         * libio/iofgetws_u.c: Likewise.
62613         * locale/programs/ld-identification.c: Likewise.
62614         * locale/programs/ld-time.c: Likewise.
62615         * mach/msg-destroy.c: Likewise.
62616         * nss/nss_files/files-netgrp.c: Likewise.
62617         * resolv/res_data.c: Likewise.
62618         * soft-fp/op-1.h: Likewise.
62619         * soft-fp/op-2.h: Likewise.
62620         * soft-fp/op-4.h: Likewise.
62621         * soft-fp/op-common.h: Likewise.
62622         * stdio-common/printf_fphex.c: Likewise.
62623         * stdlib/strtod_l.c: Likewise.
62624         * sunrpc/rpc/clnt.h: Likewise.
62625         * sysdeps/generic/framestate.c: Likewise.
62626         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62627         * sysdeps/i386/bsd-setjmp.S: Likewise.
62628         * sysdeps/i386/__longjmp.S: Likewise.
62629         * sysdeps/i386/setjmp.S: Likewise.
62630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62631         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62632         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62633         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62634         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62635         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62636         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62637         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62639         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62640         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62641         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62642         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62643         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62644         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62645         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62646         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62647         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62648         * sysdeps/ieee754/support.c: Likewise.
62649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62650         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62651         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62652         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62653         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62654         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62655         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62656         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62657         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62658         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62659         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62660         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62661         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62662         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62663         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62664         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62665         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62668 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62670         * posix/transbug.c: Remove executable mode.
62672 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62674         * crypt/speeds.c: Remove trailing whitespace.
62675         * dlfcn/default.c: Likewise.
62676         * elf/ifuncdep2.c: Likewise.
62677         * elf/ifuncmain1.c: Likewise.
62678         * elf/ifuncmain1vis.c: Likewise.
62679         * elf/testobj.h: Likewise.
62680         * elf/tst-stackguard1.c: Likewise.
62681         * gmon/sys/gmon.h: Likewise.
62682         * hurd/hurdmsg.c: Likewise.
62683         * hurd/new-fd.c: Likewise.
62684         * hurd/ports-get.c: Likewise.
62685         * iconvdata/ibm1008_420.c: Likewise.
62686         * inet/tst-getni1.c: Likewise.
62687         * inet/tst-getni2.c: Likewise.
62688         * libio/ioungetc.c: Likewise.
62689         * libio/wfiledoalloc.c: Likewise.
62690         * manual/libm-err-tab.pl: Likewise.
62691         * math/w_dremf.c: Likewise.
62692         * misc/ftruncate.c: Likewise.
62693         * posix/bug-glob2.c: Likewise.
62694         * posix/tst-pcre.c: Likewise.
62695         * posix/wait4.c: Likewise.
62696         * resolv/README: Likewise.
62697         * resolv/res_debug.h: Likewise.
62698         * resolv/tst-inet_ntop.c: Likewise.
62699         * setjmp/bug269-setjmp.c: Likewise.
62700         * soft-fp/extended.h: Likewise.
62701         * soft-fp/op-1.h: Likewise.
62702         * soft-fp/op-2.h: Likewise.
62703         * soft-fp/op-4.h: Likewise.
62704         * soft-fp/op-8.h: Likewise.
62705         * soft-fp/testit.c: Likewise.
62706         * stdio-common/bug16.c: Likewise.
62707         * stdlib/random.c: Likewise.
62708         * sunrpc/rpcsvc/rquota.x: Likewise.
62709         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62710         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62712         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62713         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62714         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62715         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62716         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62717         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62718         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62719         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62720         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62721         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62722         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62723         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62724         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62725         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62726         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62727         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62728         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62729         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62730         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62731         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62732         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62733         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62734         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62736         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62737         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62738         * sysdeps/ieee754/s_lib_version.c: Likewise.
62739         * sysdeps/mach/hurd/check_fds.c: Likewise.
62740         * sysdeps/mach/hurd/getsockname.c: Likewise.
62741         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62742         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62743         * sysdeps/powerpc/bits/link.h: Likewise.
62744         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62745         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62746         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62747         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62748         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62749         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62750         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62751         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62752         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62753         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62754         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62755         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62756         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62757         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62758         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62759         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62760         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62761         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62762         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62763         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62765         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62767         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62768         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62769         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62770         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62771         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62772         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62773         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62774         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62775         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62776         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62777         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62778         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62779         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62780         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62781         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62782         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62783         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62784         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62785         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62786         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62787         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62788         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62789         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62790         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62791         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62792         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62793         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62794         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62795         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62796         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62797         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62798         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62799         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62800         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62801         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62802         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62803         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62804         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62805         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62806         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62807         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62808         * sysdeps/powerpc/sysdep.h: Likewise.
62809         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62810         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62811         * sysdeps/sh/dl-trampoline.S: Likewise.
62812         * sysdeps/sh/memset.S: Likewise.
62813         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62814         * sysdeps/sh/strlen.S: Likewise.
62815         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62816         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62817         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62818         * sysdeps/sparc/sparc32/rem.S: Likewise.
62819         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62820         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62821         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62822         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62823         * sysdeps/sparc/sparc32/urem.S: Likewise.
62824         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62825         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62826         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62827         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62828         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62829         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62830         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62831         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62832         * sysdeps/unix/bsd/times.c: Likewise.
62833         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62834         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62838         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62839         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62840         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62842         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62843         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62844         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62845         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62846         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62847         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62848         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62849         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62850         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62851         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62852         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62853         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62854         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62855         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62856         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62857         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62858         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62859         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62860         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62861         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62862         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62863         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62864         * sysdeps/x86_64/strcspn.S: Likewise.
62866 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62868         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62869         generated file.  Regenerate properly from gen-translit.pl.
62870         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62871         locale/C-translit.h.
62873 2013-06-05  Andreas Schwab  <schwab@suse.de>
62875         [BZ #15100]
62876         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62877         week as 6 instead of -1.
62878         * time/tst-strptime.c (day_tests): Add test case.
62880 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62882         * sysdeps/generic/math_private.h
62883         (libc_feholdexcept_setround_53bit): Replace with
62884         libc_feholdsetround_53bit.
62885         (libc_feupdateenv_53bit): Replace with
62886         libc_feresetround_53bit.
62887         (SET_RESTORE_ROUND_53BIT): Adjust.
62889 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62891         * string/test-strchrnul.c: Add copyright header.
62893         * posix/tst-getaddrinfo4.c: Increase test timeout.
62895 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62897         [BZ #15536]
62898         * math/libm-test.inc (MAX_EXP): Remove
62899         (MIN_EXP): Define.
62900         (ulp): Use MIN_EXP - MANT_DIG.
62901         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62903 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62905         * po/be.po: Revert last change.
62906         * po/zh_CN.po: Likewise.
62907         * po/header.pot: Likewise.
62909 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62911         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62912         link-libc-deps to empty as target-specific variable.
62913         * Makerules (link-libc-args): New variable.
62914         (libc-for-link): Likewise.
62915         (link-libc-deps): Likewise.
62916         (lib%.so): Depend on $(link-libc-deps).  Link with
62917         $(link-libc-args).
62918         (build-module): Link with $(link-libc-args).
62919         (build-module-asneeded): Likewise.
62920         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62921         list of objects.
62922         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62923         target-specific variable.
62924         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62925         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62926         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62927         libc.
62928         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62929         libc and ld.so.
62930         ($(objpfx)libpcprofile.so): Likewise.
62931         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62932         libc_nonshared.a.
62933         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62934         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62935         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62936         $(link-libc-deps).
62937         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62938         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62939         * login/Makefile ($(objpfx)libutil.so): Likewise.
62940         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62941         * math/Makefile ($(objpfx)libm.so): Likewise.
62942         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62943         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62944         variable instead of depending directly on libc.
62945         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62946         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62947         $(link-libc-deps).
62948         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62949         libc.
62950         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62951         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62952         ($(objpfx)libanl.so): Likewise.
62953         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62954         ld.so.
62955         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62956         $(link-libc-deps).
62957         * sysdeps/i386/fpu/Makefile: Remove file.
62958         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62959         ($(objpfx)libm.so): Remove dependency on ld.so.
62961 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62963         [BZ # 15553]
62964         * nis/yp_xdr.c (XDRMAXNAME): Define.
62965         (XDRMAXRECORD): Define.
62966         (xdr_domainname): Use XDRMAXNAME.
62967         (xdr_mapname): Likewise.
62968         (xdr_peername): Likewise.
62969         (xdr_keydat): Use XDRMAXRECORD.
62970         (xdr_valdat): Likewise.
62972 2013-05-30  Jeff Law  <law@redhat.com>
62974         [BZ #14256]
62975         * manual/errno.texi (ESTALE): Update to account for more than
62976         just NFS file systems.
62977         * sysdeps/gnu/errlist.c: Regenerated.
62979 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62981         [BZ #15465]
62982         * elf/Makefile (tests): Add tst-null-argv.
62983         (modules-names):  Add tst-null-argv-lib.
62984         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62985         (tst-null-argv-ENV): Set environment for tst-null-argv.
62986         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62987         (RTLD_PROGNAME): New macro.
62988         * elf/tst-null-argv.c: New test case.
62989         * elf/tst-null-argv-lib.c: Library for test case.
62990         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62991         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62992         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62993         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62994         * elf/dl-init.c (call_init): Likewise.
62995         (_dl_init): Likewise.
62996         * elf/dl-load.c (print_search_path): Likewise.
62997         (_dl_map_object): Likewise.
62998         * elf/dl-lookup.c (do_lookup_x): Likewise.
62999         (add_dependency): Likewise.
63000         (_dl_lookup_symbol_x): Likewise.
63001         (_dl_debug_bindings): Likewise.
63002         * elf/dl-open.c (_dl_show_scope): Likewise.
63003         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63004         * elf/dl-version.c (match_symbol): Likewise.
63005         (_dl_check_map_versions): Likewise.
63006         * elf/rtld.c (dl_main): Likewise.
63007         (print_unresolved): Use RTLD_PROGNAME.
63008         (print_missing_version): Likewise.
63009         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63010         (elf_machine_rela): Likewise.
63011         * sysdeps/powerpc/powerpc32/dl-machine.c
63012         (__process_machine_rela): Likewise.
63013         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63014         Likewise.
63015         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63016         Likewise.
63017         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63018         Likewise.
63019         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63020         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63021         Likewise.
63022         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63023         Likewise.
63024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63026 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63028         * po/be.po: Add descriptive title.
63029         * po/zh_CN.po: Likewise.
63030         * po/header.pot: Likewise.
63032 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63034         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63035         error message.
63036         (enlarge_archive): Likewise.
63038 2013-05-28  Ben North  <ben@redfrontdoor.org>
63040         * manual/arith.texi (frexp): It is the magnitude of the return
63041         value which lies in [0.5, 1), not the return value itself.
63043 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63047 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63049         * stdio-common/bug26.c (main): Correct fscanf template.
63051         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63052         declare _dl_skip_args.
63054         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63055         Don't declare.
63057         * manual/platform.texi: Add missing @end deftypefun.
63059 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63061         [BZ #15529]
63062         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63063         bit of mantissa of 2^16382.
63064         * math/libm-test.inc (hypot_test_data): Add more tests.
63066         * math/libm-test.inc: Add drem and pow10 to list of tested
63067         functions.
63068         (pow10_test): New function.
63069         (drem_test): Likewise.
63070         (drem_test_tonearest): Likewise.
63071         (drem_test_towardzero): Likewise.
63072         (drem_test_downward): Likewise.
63073         (drem_test_upward): Likewise.
63074         (main): Call the new functions.
63076         * math/libm-test.inc (finite_test_data): Remove.
63077         (finite_test): Run tests from isfinite_test_data.
63078         (gamma_test_data): Remove.
63079         (gamma_test): Run tests from lgamma_test_data.
63080         * sysdeps/i386/fpu/libm-test-ulps: Update.
63081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63083 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63085         * manual/platform.texi: Add PowerPC PPR function set documentation.
63086         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63087         implementation.
63089 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63091         * math/libm-test.inc (MAX_EXP): Define.
63092         (ULPDIFF): Define.
63093         (ulp): New function.
63094         (check_float_internal): Use ULPDIFF.
63095         (cpow_test): Disable failing test.
63096         (check_ulp): Test ulp() implementation.
63097         (main): Call check_ulp before starting tests.
63099 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63101         * math/gen-libm-test.pl (generate_testfile): Do not handle
63102         START_DATA and END_DATA.
63103         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63104         END_DATA.
63105         (acos_tonearest_test_data): Likewise.
63106         (acos_towardzero_test_data): Likewise.
63107         (acos_downward_test_data): Likewise.
63108         (acos_upward_test_data): Likewise.
63109         (acosh_test_data): Likewise.
63110         (asin_test_data): Likewise.
63111         (asin_tonearest_test_data): Likewise.
63112         (asin_towardzero_test_data): Likewise.
63113         (asin_downward_test_data): Likewise.
63114         (asin_upward_test_data): Likewise.
63115         (asinh_test_data): Likewise.
63116         (atan_test_data): Likewise.
63117         (atanh_test_data): Likewise.
63118         (atan2_test_data): Likewise.
63119         (cabs_test_data): Likewise.
63120         (cacos_test_data): Likewise.
63121         (cacosh_test_data): Likewise.
63122         (carg_test_data): Likewise.
63123         (casin_test_data): Likewise.
63124         (casinh_test_data): Likewise.
63125         (catan_test_data): Likewise.
63126         (catanh_test_data): Likewise.
63127         (cbrt_test_data): Likewise.
63128         (ccos_test_data): Likewise.
63129         (ccosh_test_data): Likewise.
63130         (ceil_test_data): Likewise.
63131         (cexp_test_data): Likewise.
63132         (cimag_test_data): Likewise.
63133         (clog_test_data): Likewise.
63134         (clog10_test_data): Likewise.
63135         (conj_test_data): Likewise.
63136         (copysign_test_data): Likewise.
63137         (cos_test_data): Likewise.
63138         (cos_tonearest_test_data): Likewise.
63139         (cos_towardzero_test_data): Likewise.
63140         (cos_downward_test_data): Likewise.
63141         (cos_upward_test_data): Likewise.
63142         (cosh_test_data): Likewise.
63143         (cosh_tonearest_test_data): Likewise.
63144         (cosh_towardzero_test_data): Likewise.
63145         (cosh_downward_test_data): Likewise.
63146         (cosh_upward_test_data): Likewise.
63147         (cpow_test_data): Likewise.
63148         (cproj_test_data): Likewise.
63149         (creal_test_data): Likewise.
63150         (csin_test_data): Likewise.
63151         (csinh_test_data): Likewise.
63152         (csqrt_test_data): Likewise.
63153         (ctan_test_data): Likewise.
63154         (ctan_tonearest_test_data): Likewise.
63155         (ctan_towardzero_test_data): Likewise.
63156         (ctan_downward_test_data): Likewise.
63157         (ctan_upward_test_data): Likewise.
63158         (ctanh_test_data): Likewise.
63159         (ctanh_tonearest_test_data): Likewise.
63160         (ctanh_towardzero_test_data): Likewise.
63161         (ctanh_downward_test_data): Likewise.
63162         (ctanh_upward_test_data): Likewise.
63163         (erf_test_data): Likewise.
63164         (erfc_test_data): Likewise.
63165         (exp_test_data): Likewise.
63166         (exp_tonearest_test_data): Likewise.
63167         (exp_towardzero_test_data): Likewise.
63168         (exp_downward_test_data): Likewise.
63169         (exp_upward_test_data): Likewise.
63170         (exp10_test_data): Likewise.
63171         (exp2_test_data): Likewise.
63172         (expm1_test_data): Likewise.
63173         (fabs_test_data): Likewise.
63174         (fdim_test_data): Likewise.
63175         (finite_test_data): Likewise.
63176         (floor_test_data): Likewise.
63177         (fma_test_data): Likewise.
63178         (fma_towardzero_test_data): Likewise.
63179         (fma_downward_test_data): Likewise.
63180         (fma_upward_test_data): Likewise.
63181         (fmax_test_data): Likewise.
63182         (fmin_test_data): Likewise.
63183         (fmod_test_data): Likewise.
63184         (fpclassify_test_data): Likewise.
63185         (frexp_test_data): Likewise.
63186         (gamma_test_data): Likewise.
63187         (hypot_test_data): Likewise.
63188         (ilogb_test_data): Likewise.
63189         (isfinite_test_data): Likewise.
63190         (isgreater_test_data): Likewise.
63191         (isgreaterequal_test_data): Likewise.
63192         (isinf_test_data): Likewise.
63193         (isless_test_data): Likewise.
63194         (islessequal_test_data): Likewise.
63195         (islessgreater_test_data): Likewise.
63196         (isnan_test_data): Likewise.
63197         (isnormal_test_data): Likewise.
63198         (issignaling_test_data): Likewise.
63199         (isunordered_test_data): Likewise.
63200         (j0_test_data): Likewise.
63201         (j1_test_data): Likewise.
63202         (jn_test_data): Likewise.
63203         (ldexp_test_data): Likewise.
63204         (lgamma_test_data): Likewise.
63205         (lrint_test_data): Likewise.
63206         (lrint_tonearest_test_data): Likewise.
63207         (lrint_towardzero_test_data): Likewise.
63208         (lrint_downward_test_data): Likewise.
63209         (lrint_upward_test_data): Likewise.
63210         (llrint_test_data): Likewise.
63211         (llrint_tonearest_test_data): Likewise.
63212         (llrint_towardzero_test_data): Likewise.
63213         (llrint_downward_test_data): Likewise.
63214         (llrint_upward_test_data): Likewise.
63215         (log_test_data): Likewise.
63216         (log10_test_data): Likewise.
63217         (log1p_test_data): Likewise.
63218         (log2_test_data): Likewise.
63219         (logb_test_data): Likewise.
63220         (logb_downward_test_data): Likewise.
63221         (lround_test_data): Likewise.
63222         (llround_test_data): Likewise.
63223         (modf_test_data): Likewise.
63224         (nearbyint_test_data): Likewise.
63225         (nextafter_test_data): Likewise.
63226         (nexttoward_test_data): Likewise.
63227         (pow_test_data): Likewise.
63228         (pow_tonearest_test_data): Likewise.
63229         (pow_towardzero_test_data): Likewise.
63230         (pow_downward_test_data): Likewise.
63231         (pow_upward_test_data): Likewise.
63232         (remainder_test_data): Likewise.
63233         (remainder_tonearest_test_data): Likewise.
63234         (remainder_towardzero_test_data): Likewise.
63235         (remainder_downward_test_data): Likewise.
63236         (remainder_upward_test_data): Likewise.
63237         (remquo_test_data): Likewise.
63238         (rint_test_data): Likewise.
63239         (rint_tonearest_test_data): Likewise.
63240         (rint_towardzero_test_data): Likewise.
63241         (rint_downward_test_data): Likewise.
63242         (rint_upward_test_data): Likewise.
63243         (round_test_data): Likewise.
63244         (scalb_test_data): Likewise.
63245         (scalbn_test_data): Likewise.
63246         (scalbln_test_data): Likewise.
63247         (signbit_test_data): Likewise.
63248         (sin_test_data): Likewise.
63249         (sin_tonearest_test_data): Likewise.
63250         (sin_towardzero_test_data): Likewise.
63251         (sin_downward_test_data): Likewise.
63252         (sin_upward_test_data): Likewise.
63253         (sincos_test_data): Likewise.
63254         (sinh_test_data): Likewise.
63255         (sinh_tonearest_test_data): Likewise.
63256         (sinh_towardzero_test_data): Likewise.
63257         (sinh_downward_test_data): Likewise.
63258         (sinh_upward_test_data): Likewise.
63259         (sqrt_test_data): Likewise.
63260         (tan_test_data): Likewise.
63261         (tan_tonearest_test_data): Likewise.
63262         (tan_towardzero_test_data): Likewise.
63263         (tan_downward_test_data): Likewise.
63264         (tan_upward_test_data): Likewise.
63265         (tanh_test_data): Likewise.
63266         (tgamma_test_data): Likewise.
63267         (trunc_test_data): Likewise.
63268         (y0_test_data): Likewise.
63269         (y1_test_data): Likewise.
63270         (yn_test_data): Likewise.
63271         (significand_test_data): Likewise.
63273         * math/gen-libm-test.pl (@functions): Remove variable.
63274         (generate_testfile): Don't handle START and END lines.
63275         * math/libm-test.inc (START): New macro.
63276         (END): Likewise.
63277         (END_COMPLEX): Likewise.
63278         (acos_test): Use END macro without arguments.
63279         (acos_test_tonearest): Likewise.
63280         (acos_test_towardzero): Likewise.
63281         (acos_test_downward): Likewise.
63282         (acos_test_upward): Likewise.
63283         (acosh_test): Likewise.
63284         (asin_test): Likewise.
63285         (asin_test_tonearest): Likewise.
63286         (asin_test_towardzero): Likewise.
63287         (asin_test_downward): Likewise.
63288         (asin_test_upward): Likewise.
63289         (asinh_test): Likewise.
63290         (atan_test): Likewise.
63291         (atanh_test): Likewise.
63292         (atan2_test): Likewise.
63293         (cabs_test): Likewise.
63294         (cacos_test): Use END_COMPLEX macro without arguments.
63295         (cacosh_test): Likewise.
63296         (carg_test): Use END macro without arguments.
63297         (casin_test): Use END_COMPLEX macro without arguments.
63298         (casinh_test): Likewise.
63299         (catan_test): Likewise.
63300         (catanh_test): Likewise.
63301         (cbrt_test): Use END macro without arguments.
63302         (ccos_test): Use END_COMPLEX macro without arguments.
63303         (ccosh_test): Likewise.
63304         (ceil_test): Use END macro without arguments.
63305         (cexp_test): Use END_COMPLEX macro without arguments.
63306         (cimag_test): Use END macro without arguments.
63307         (clog_test): Use END_COMPLEX macro without arguments.
63308         (clog10_test): Likewise.
63309         (conj_test): Likewise.
63310         (copysign_test): Use END macro without arguments.
63311         (cos_test): Likewise.
63312         (cos_test_tonearest): Likewise.
63313         (cos_test_towardzero): Likewise.
63314         (cos_test_downward): Likewise.
63315         (cos_test_upward): Likewise.
63316         (cosh_test): Likewise.
63317         (cosh_test_tonearest): Likewise.
63318         (cosh_test_towardzero): Likewise.
63319         (cosh_test_downward): Likewise.
63320         (cosh_test_upward): Likewise.
63321         (cpow_test): Use END_COMPLEX macro without arguments.
63322         (cproj_test): Likewise.
63323         (creal_test): Use END macro without arguments.
63324         (csin_test): Use END_COMPLEX macro without arguments.
63325         (csinh_test): Likewise.
63326         (csqrt_test): Likewise.
63327         (ctan_test): Likewise.
63328         (ctan_test_tonearest): Likewise.
63329         (ctan_test_towardzero): Likewise.
63330         (ctan_test_downward): Likewise.
63331         (ctan_test_upward): Likewise.
63332         (ctanh_test): Likewise.
63333         (ctanh_test_tonearest): Likewise.
63334         (ctanh_test_towardzero): Likewise.
63335         (ctanh_test_downward): Likewise.
63336         (ctanh_test_upward): Likewise.
63337         (erf_test): Use END macro without arguments.
63338         (erfc_test): Likewise.
63339         (exp_test): Likewise.
63340         (exp_test_tonearest): Likewise.
63341         (exp_test_towardzero): Likewise.
63342         (exp_test_downward): Likewise.
63343         (exp_test_upward): Likewise.
63344         (exp10_test): Likewise.
63345         (exp2_test): Likewise.
63346         (expm1_test): Likewise.
63347         (fabs_test): Likewise.
63348         (fdim_test): Likewise.
63349         (finite_test): Likewise.
63350         (floor_test): Likewise.
63351         (fma_test): Likewise.
63352         (fma_test_towardzero): Likewise.
63353         (fma_test_downward): Likewise.
63354         (fma_test_upward): Likewise.
63355         (fmax_test): Likewise.
63356         (fmin_test): Likewise.
63357         (fmod_test): Likewise.
63358         (fpclassify_test): Likewise.
63359         (frexp_test): Likewise.
63360         (gamma_test): Likewise.
63361         (hypot_test): Likewise.
63362         (ilogb_test): Likewise.
63363         (isfinite_test): Likewise.
63364         (isgreater_test): Likewise.
63365         (isgreaterequal_test): Likewise.
63366         (isinf_test): Likewise.
63367         (isless_test): Likewise.
63368         (islessequal_test): Likewise.
63369         (islessgreater_test): Likewise.
63370         (isnan_test): Likewise.
63371         (isnormal_test): Likewise.
63372         (issignaling_test): Likewise.
63373         (isunordered_test): Likewise.
63374         (j0_test): Likewise.
63375         (j1_test): Likewise.
63376         (jn_test): Likewise.
63377         (ldexp_test): Likewise.
63378         (lgamma_test): Likewise.
63379         (lrint_test): Likewise.
63380         (lrint_test_tonearest): Likewise.
63381         (lrint_test_towardzero): Likewise.
63382         (lrint_test_downward): Likewise.
63383         (lrint_test_upward): Likewise.
63384         (llrint_test): Likewise.
63385         (llrint_test_tonearest): Likewise.
63386         (llrint_test_towardzero): Likewise.
63387         (llrint_test_downward): Likewise.
63388         (llrint_test_upward): Likewise.
63389         (log_test): Likewise.
63390         (log10_test): Likewise.
63391         (log1p_test): Likewise.
63392         (log2_test): Likewise.
63393         (logb_test): Likewise.
63394         (logb_test_downward): Likewise.
63395         (lround_test): Likewise.
63396         (llround_test): Likewise.
63397         (modf_test): Likewise.
63398         (nearbyint_test): Likewise.
63399         (nextafter_test): Likewise.
63400         (nexttoward_test): Likewise.
63401         (pow_test): Likewise.
63402         (pow_test_tonearest): Likewise.
63403         (pow_test_towardzero): Likewise.
63404         (pow_test_downward): Likewise.
63405         (pow_test_upward): Likewise.
63406         (remainder_test): Likewise.
63407         (remainder_test_tonearest): Likewise.
63408         (remainder_test_towardzero): Likewise.
63409         (remainder_test_downward): Likewise.
63410         (remainder_test_upward): Likewise.
63411         (remquo_test): Likewise.
63412         (rint_test): Likewise.
63413         (rint_test_tonearest): Likewise.
63414         (rint_test_towardzero): Likewise.
63415         (rint_test_downward): Likewise.
63416         (rint_test_upward): Likewise.
63417         (round_test): Likewise.
63418         (scalb_test): Likewise.
63419         (scalbn_test): Likewise.
63420         (scalbln_test): Likewise.
63421         (signbit_test): Likewise.
63422         (sin_test): Likewise.
63423         (sin_test_tonearest): Likewise.
63424         (sin_test_towardzero): Likewise.
63425         (sin_test_downward): Likewise.
63426         (sin_test_upward): Likewise.
63427         (sincos_test): Likewise.
63428         (sinh_test): Likewise.
63429         (sinh_test_tonearest): Likewise.
63430         (sinh_test_towardzero): Likewise.
63431         (sinh_test_downward): Likewise.
63432         (sinh_test_upward): Likewise.
63433         (sqrt_test): Likewise.
63434         (tan_test): Likewise.
63435         (tan_test_tonearest): Likewise.
63436         (tan_test_towardzero): Likewise.
63437         (tan_test_downward): Likewise.
63438         (tan_test_upward): Likewise.
63439         (tanh_test): Likewise.
63440         (tgamma_test): Likewise.
63441         (trunc_test): Likewise.
63442         (y0_test): Likewise.
63443         (y1_test): Likewise.
63444         (yn_test): Likewise.
63445         (significand_test): Likewise.
63447 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63449         [BZ #15381]
63450         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63452 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63454         [BZ #14894]
63455         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63456         __ppc_mdoio and __ppc_mdoom.
63457         * manual/platform.texi: Document new functions __ppc_yield,
63458         __ppc_mdoio and __ppc_mdoom.
63460 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63462         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63463         (main): Mention "tls" pseudo-hwcap is legacy.
63464         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63466 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63468         * math/gen-libm-test.pl (parse_args): Output only string of
63469         arguments as text for test name, not full call or descriptions of
63470         tests for extra outputs.
63471         (generate_testfile): Do not pass function name to parse_args.
63472         Generate this_func variable from START.
63473         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63474         field to arg_str.
63475         (struct test_ff_f_data): Likewise.
63476         (test_ff_f_data_nexttoward): Likewise.
63477         (struct test_fi_f_data): Likewise.
63478         (struct test_fl_f_data): Likewise.
63479         (struct test_if_f_data): Likewise.
63480         (struct test_fff_f_data): Likewise.
63481         (struct test_c_f_data): Likewise.
63482         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63483         (struct test_fF_f1_data): Likewise.
63484         (struct test_ffI_f1_data): Likewise.
63485         (struct test_c_c_data): Rename test_name field to arg_str.
63486         (struct test_cc_c_data): Likewise.
63487         (struct test_f_i_data): Likewise.
63488         (struct test_ff_i_data): Likewise.
63489         (struct test_f_l_data): Likewise.
63490         (struct test_f_L_data): Likewise.
63491         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63492         and extra2_name.
63493         (COMMON_TEST_SETUP): New macro.
63494         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63495         (COMMON_TEST_CLEANUP): Likewise.
63496         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63497         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63498         macros.
63499         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63500         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63501         macros.
63502         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63503         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63504         cleanup macros.
63505         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63506         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63507         macros.
63508         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63509         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63510         macros.
63511         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63512         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63513         cleanup macros.
63514         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63515         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63516         cleanup macros.
63517         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63518         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63519         cleanup macros.
63520         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63521         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63522         macros.
63523         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63524         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63525         macros.
63526         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63527         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63528         macros.
63529         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63530         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63531         cleanup macros.
63532         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63533         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63534         cleanup macros.
63535         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63536         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63537         macros.
63538         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63539         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63540         cleanup macros.
63541         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63542         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63543         macros.
63544         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63545         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63546         macros.
63547         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63548         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63549         cleanup macros.
63550         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63552 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63554         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63555         to _sifields.sigfault.
63556         (si_addr_lsb): Define new macro.
63557         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63559         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63561 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63563         [BZ #15441]
63564         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63565         returns -1.
63566         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63567         null return -1.
63568         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63569         loading the domain.
63571 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63573         * math/gen-libm-test.pl (parse_args): Do not include expected
63574         result in test name.
63575         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63576         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63577         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63578         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63579         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63582 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63584         * benchtests/Makefile: Sort function entries.
63586         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63587         tanh, asinh, acosh, atanh.
63588         * benchtests/acos-inputs: New file.
63589         * benchtests/acosh-inputs: New file.
63590         * benchtests/asin-inputs: New file.
63591         * benchtests/asinh-inputs: New file.
63592         * benchtests/atanh-inputs: New file.
63593         * benchtests/cosh-inputs: New file.
63594         * benchtests/log-inputs: New file.
63595         * benchtests/sinh-inputs: New file.
63596         * benchtests/tanh-inputs: New file.
63598 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63600         [BZ #15339]
63601         * posix/tst-getaddrinfo4.c: New test.
63602         * posix/Makefile (tests): Add it.
63604 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63606         [BZ #15339]
63607         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63608         when no services were used.
63609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63610         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63612 2013-05-21  Andreas Schwab  <schwab@suse.de>
63614         [BZ #15014]
63615         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63616         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63617         successful.
63618         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63619         redundant variable declarations and reallocation of buffer when
63620         parsing as IPv6 address.  Always set NSS status when called from
63621         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63622         buffer too small.  Correct computation of needed size.
63623         * nss/Makefile (tests): Add test-digits-dots.
63624         * nss/test-digits-dots.c: New test.
63626 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63628         * benchtests/Makefile: Remove instructions for adding
63629         benchmark tests.
63630         * benchtests/README: New file to explain how to execute and
63631         enhance the benchmark tests.
63633 2013-05-21  Andreas Schwab  <schwab@suse.de>
63635         [BZ #15493]
63636         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63637         * setjmp/tst-sigsetjmp.c: New test.
63639 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63641         * sysdeps/x86_64/memset.S (memset): New implementation.
63642         (__bzero): Likewise.
63643         (__memset_tail): New function.
63645 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63647         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63648         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63649         __memcpy_sse2_unaligned ifunc selection.
63650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63651         Add memcpy-sse2-unaligned.S.
63652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63653         Add: __memcpy_sse2_unaligned.
63655 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63657         [BZ #15490]
63658         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63659         math_force_eval before restoring floating-point envrionment.
63660         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63662         Likewise.
63663         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63664         <math_private.h>.
63665         (__nearbyintl): Use math_force_eval before restoring
63666         floating-point environment.
63667         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63669         * math/gen-libm-test.pl (special_functions): Remove.
63670         (parse_args): Don't handle TEST_extra.  Handle functions with no
63671         return value.
63672         * math/libm-test.inc (struct test_sincos_data): Replace with
63673         struct test_fFF_11_data.
63674         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63675         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63676         (sincos_test_data): Change element type to struct
63677         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63678         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63679         RUN_TEST_LOOP_sincos.
63680         * math/README.libm-test: Don't mention special handling of
63681         individual functions.
63682         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63683         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63684         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63685         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63686         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63689         * math/gen-libm-test.pl (get_variable): Remove function.
63690         (parse_args): Don't show pointer parameters to call in test
63691         names.  Use "extra output N" in test names for extra outputs
63692         rather than naming variables.
63694 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63696         [BZ #15488]
63697         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63698         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63699         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63700         double tests.
63701         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63702         disable.
63703         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63704         check_long_double.
63706         * math/gen-libm-test.pl (@tests): Remove variable.
63707         ($count): Likewise.
63708         (new_test): Remove function.
63709         (show_exceptions): New function.
63710         (special_functions): Use show_exceptions instead of new_test.
63711         (parse_args): Likewise.
63712         (generate_testfile): Pass only function name in generated call to
63713         print_max_error or print_complex_max_error.
63714         (get_ulps): Do not handle complex tests specially.
63715         (output_test): Rename to ...
63716         (get_all_ulps_for_test): ... this.  Return a string rather than
63717         printing to a file.  Require ulps to be present.
63718         (output_ulps): Generate arrays rather than #defines.
63719         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63720         (struct ulp_data): New type.
63721         (BUILD_COMPLEX_ULP): Remove macro.
63722         (compare_ulp_data): New function.
63723         (find_ulps): Likewise.
63724         (find_test_ulps): Likewise.
63725         (find_function_ulps): Likewise.
63726         (find_complex_function_ulps): Likewise.
63727         (print_max_error): Determine allowed ulps using
63728         find_function_ulps.
63729         (print_complex_max_error): Determine allowed ulps using
63730         find_complex_function_ulps.
63731         (check_float_internal): Determine max ulps using find_test_ulps.
63732         (check_float): Do not take max_ulp parameter.  Update call to
63733         check_float_internal.
63734         (check_complex): Likewise.
63735         (check_int): Do not take max_ulp parameter.
63736         (check_long): Likewise.
63737         (check_bool): Likewise.
63738         (check_longlong): Likewise.
63739         (struct test_f_f_data): Remove max_ulp field.
63740         (struct test_ff_f_data): Likewise.
63741         (struct test_ff_f_data_nexttoward): Likewise.
63742         (struct test_fi_f_data): Likewise.
63743         (struct test_fl_f_data): Likewise.
63744         (struct test_if_f_data): Likewise.
63745         (struct test_fff_f_data): Likewise.
63746         (struct test_c_f_data): Likewise.
63747         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63748         (struct test_fF_f1_data): Likewise.
63749         (struct test_ffI_f1_data): Likewise.
63750         (struct test_c_c_data): Remove max_ulp field.
63751         (struct test_cc_c_data): Likewise.
63752         (struct test_f_i_data): Likewise.
63753         (struct test_ff_i_data): Likewise.
63754         (struct test_f_l_data): Likewise.
63755         (struct test_f_L_data): Likewise.
63756         (struct test_sincos_data): Likewise.
63757         (RUN_TEST_f_f): Do not handle ulps.
63758         (RUN_TEST_LOOP_f_f): Likewise.
63759         (RUN_TEST_2_f): Likewise.
63760         (RUN_TEST_LOOP_2_f): Likewise.
63761         (RUN_TEST_fff_f): Likewise.
63762         (RUN_TEST_LOOP_fff_f): Likewise.
63763         (RUN_TEST_c_f): Likewise.
63764         (RUN_TEST_LOOP_c_f): Likewise.
63765         (RUN_TEST_f_f1): Likewise.
63766         (RUN_TEST_LOOP_f_f1): Likewise.
63767         (RUN_TEST_fF_f1): Likewise.
63768         (RUN_TEST_LOOP_fF_f1): Likewise.
63769         (RUN_TEST_fI_f1): Likewise.
63770         (RUN_TEST_LOOP_fI_f1): Likewise.
63771         (RUN_TEST_ffI_f1): Likewise.
63772         (RUN_TEST_LOOP_ffI_f1): Likewise.
63773         (RUN_TEST_c_c): Likewise.
63774         (RUN_TEST_LOOP_c_c): Likewise.
63775         (RUN_TEST_cc_c): Likewise.
63776         (RUN_TEST_LOOP_cc_c): Likewise.
63777         (RUN_TEST_f_i): Likewise.
63778         (RUN_TEST_LOOP_f_i): Likewise.
63779         (RUN_TEST_f_i_tg): Likewise.
63780         (RUN_TEST_LOOP_f_i_tg): Likewise.
63781         (RUN_TEST_ff_i_tg): Likewise.
63782         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63783         (RUN_TEST_f_b): Likewise.
63784         (RUN_TEST_LOOP_f_b): Likewise.
63785         (RUN_TEST_f_b_tg): Likewise.
63786         (RUN_TEST_LOOP_f_b_tg): Likewise.
63787         (RUN_TEST_f_l): Likewise.
63788         (RUN_TEST_LOOP_f_l): Likewise.
63789         (RUN_TEST_f_L): Likewise.
63790         (RUN_TEST_LOOP_f_L): Likewise.
63791         (RUN_TEST_sincos): Likewise.
63792         (RUN_TEST_LOOP_sincos): Likewise.
63794 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63796         [BZ #15480]
63797         [BZ #15485]
63798         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63799         main case of finite arguments, set rounding mode to FE_TONEAREST
63800         and discard exceptions.
63801         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63802         exceptions.
63803         (remainder_tonearest_test_data): New variable.
63804         (remainder_test_tonearest): New function.
63805         (remainder_towardzero_test_data): New variable.
63806         (remainder_test_towardzero): New function.
63807         (remainder_downward_test_data): New variable.
63808         (remainder_test_downward): New function.
63809         (remainder_upward_test_data): New variable.
63810         (remainder_test_upward): New function.
63811         (main): Call the new test functions.
63813         * math/libm-test.inc (struct test_f_f1_data): Remove field
63814         extra_init.
63815         (struct test_fF_f1_data): Likewise.
63816         (struct test_ffI_f1_data): Likewise.
63817         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63818         based on value of EXTRA_EXPECTED.
63819         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63820         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63821         EXTRA_VAR based on value of EXTRA_EXPECTED.
63822         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63823         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63824         EXTRA_VAR based on value of EXTRA_EXPECTED.
63825         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63826         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63827         EXTRA_VAR based on value of EXTRA_EXPECTED.
63828         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63829         * math/gen-libm-test.pl (parse_args): Don't output initializers
63830         for extra output values.
63832         * math/libm-test.inc (check_int): Expect result to be exactly
63833         equal to expected value and do not handle ulps.
63834         (check_long): Likewise.
63835         (check_longlong): Likewise.
63837         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63838         exceptions.
63839         (cimag_test_data): Likewise.
63840         (conj_test_data): Likewise.
63841         (copysign_test_data): Likewise.
63842         (cproj_test_data): Likewise.
63843         (creal_test_data): Likewise.
63844         (fabs_test_data): Likewise.
63845         (fdim_test_data): Likewise.
63846         (finite_test_data): Likewise.
63847         (floor_test_data): Likewise.
63848         (fmax_test_data): Likewise.
63849         (fmin_test_data): Likewise.
63850         (fmod_test_data): Likewise.
63851         (fpclassify_test_data): Likewise.
63852         (frexp_test_data): Likewise.
63853         (ilogb_test_data): Likewise.
63854         (isfinite_test_data): Likewise.
63855         (isgreater_test_data): Likewise.
63856         (isgreaterequal_test_data): Likewise.
63857         (isinf_test_data): Likewise.
63858         (isless_test_data): Likewise.
63859         (islessequal_test_data): Likewise.
63860         (islessgreater_test_data): Likewise.
63861         (isnan_test_data): Likewise.
63862         (isnormal_test_data): Likewise.
63863         (issignaling_test_data): Likewise.
63864         (isunordered_test_data): Likewise.
63865         (ldexp_test_data): Likewise.
63866         (lrint_test_data): Likewise.
63867         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63868         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63869         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63870         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63871         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63872         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63873         test input.
63874         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63875         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63876         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63877         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63878         that test input.
63879         (lrint_downward_test_data): Test for "inexact" exceptions.
63880         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63881         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63882         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63883         test input.
63884         (lrint_upward_test_data): Test for "inexact" exceptions.
63885         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63886         test input.
63887         (llrint_test_data): Test for "inexact" exceptions.
63888         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63889         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63890         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63891         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63892         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63893         (llrint_downward_test_data): Test for "inexact" exceptions.
63894         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63895         (llrint_upward_test_data): Test for "inexact" exceptions.
63896         (logb_test_data): Likewise.
63897         (logb_downward_test_data): Likewise.
63898         (nextafter_test_data): Likewise.
63899         (nexttoward_test_data): Likewise.
63900         (remainder_test_data): Likewise.
63901         (remquo_test_data): Likewise.
63902         (scalbn_test_data): Likewise.
63903         (scalbln_test_data): Likewise.
63904         (signbit_test_data): Likewise.
63905         (sqrt_test_data): Likewise.
63906         (significand_test_data): Likewise.
63908 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63910         [BZ #15424]
63911         * benchtests/bench-modf.c (struct args): Mark arg0 as
63912         volatile.
63913         * scripts/bench.pl: Mark members of struct args as volatile.
63915 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63917         [BZ # 15497]
63918         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63919         negative infinity on POWER6 or lower.
63920         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63922 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63924         [BZ #15442]
63925         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63926         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63927         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63928         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63929         (_FP_SETQNAN): New macro.
63930         (_FP_SETQNAN_SEMIRAW): Likewise.
63931         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63932         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63933         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63934         (FP_EXTEND): Use _FP_FRAC_SNANP.
63935         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63936         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63937         into account.
63938         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63939         New macro.
63940         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63941         Likewise.
63943 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63945         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63946         with DIVIDE_BY_ZERO_EXCEPTION.
63947         (gamma_test_data): Likewise.
63948         (lgamma_test_data): Likewise.
63949         (log_test_data): Likewise.
63950         (log10_test_data): Likewise.
63951         (log2_test_data): Likewise.
63952         (tgamma_test_data): Likewise.
63954         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63955         (acos_test_tonearest): Likewise.
63956         (acos_test_towardzero): Likewise.
63957         (acos_test_downward): Likewise.
63958         (acos_test_upward): Likewise.
63959         (acosh_test): Likewise.
63960         (asin_test): Likewise.
63961         (asin_test_tonearest): Likewise.
63962         (asin_test_towardzero): Likewise.
63963         (asin_test_downward): Likewise.
63964         (asin_test_upward): Likewise.
63965         (asinh_test): Likewise.
63966         (atan_test): Likewise.
63967         (atanh_test): Likewise.
63968         (atan2_test): Likewise.
63969         (cabs_test): Likewise.
63970         (cacos_test): Likewise.
63971         (cacosh_test): Likewise.
63972         (casin_test): Likewise.
63973         (casinh_test): Likewise.
63974         (catan_test): Likewise.
63975         (catanh_test): Likewise.
63976         (cbrt_test): Likewise.
63977         (ccos_test): Likewise.
63978         (ccosh_test): Likewise.
63979         (cexp_test): Likewise.
63980         (clog_test): Likewise.
63981         (clog10_test): Likewise.
63982         (cos_test): Likewise.
63983         (cos_test_tonearest): Likewise.
63984         (cos_test_towardzero): Likewise.
63985         (cos_test_downward): Likewise.
63986         (cos_test_upward): Likewise.
63987         (cosh_test): Likewise.
63988         (cosh_test_tonearest): Likewise.
63989         (cosh_test_towardzero): Likewise.
63990         (cosh_test_downward): Likewise.
63991         (cosh_test_upward): Likewise.
63992         (cpow_test): Likewise.
63993         (csin_test): Likewise.
63994         (csinh_test): Likewise.
63995         (csqrt_test): Likewise.
63996         (ctan_test): Likewise.
63997         (ctan_test_tonearest): Likewise.
63998         (ctan_test_towardzero): Likewise.
63999         (ctan_test_downward): Likewise.
64000         (ctan_test_upward): Likewise.
64001         (ctanh_test): Likewise.
64002         (ctanh_test_tonearest): Likewise.
64003         (ctanh_test_towardzero): Likewise.
64004         (ctanh_test_downward): Likewise.
64005         (ctanh_test_upward): Likewise.
64006         (erf_test): Likewise.
64007         (erfc_test): Likewise.
64008         (exp_test): Likewise.
64009         (exp_test_tonearest): Likewise.
64010         (exp_test_towardzero): Likewise.
64011         (exp_test_downward): Likewise.
64012         (exp_test_upward): Likewise.
64013         (exp10_test): Likewise.
64014         (exp2_test): Likewise.
64015         (expm1_test): Likewise.
64016         (fmod_test): Likewise.
64017         (gamma_test): Likewise.
64018         (hypot_test): Likewise.
64019         (j0_test): Likewise.
64020         (j1_test): Likewise.
64021         (jn_test): Likewise.
64022         (lgamma_test): Likewise.
64023         (log_test): Likewise.
64024         (log10_test): Likewise.
64025         (log1p_test): Likewise.
64026         (log2_test): Likewise.
64027         (logb_test_downward): Likewise.
64028         (pow_test): Likewise.
64029         (pow_test_tonearest): Likewise.
64030         (pow_test_towardzero): Likewise.
64031         (pow_test_downward): Likewise.
64032         (pow_test_upward): Likewise.
64033         (remainder_test): Likewise.
64034         (remquo_test): Likewise.
64035         (sin_test): Likewise.
64036         (sin_test_tonearest): Likewise.
64037         (sin_test_towardzero): Likewise.
64038         (sin_test_downward): Likewise.
64039         (sin_test_upward): Likewise.
64040         (sincos_test): Likewise.
64041         (sinh_test): Likewise.
64042         (sinh_test_tonearest): Likewise.
64043         (sinh_test_towardzero): Likewise.
64044         (sinh_test_downward): Likewise.
64045         (sinh_test_upward): Likewise.
64046         (sqrt_test): Likewise.
64047         (tan_test): Likewise.
64048         (tan_test_tonearest): Likewise.
64049         (tan_test_towardzero): Likewise.
64050         (tan_test_downward): Likewise.
64051         (tan_test_upward): Likewise.
64052         (tanh_test): Likewise.
64053         (tgamma_test): Likewise.
64054         (y0_test): Likewise.
64055         (y1_test): Likewise.
64056         (yn_test): Likewise.
64058         * math/gen-libm-test.pl (adjust_arg): Remove function.
64059         (special_function): Remove argument $in_func.  Only handle
64060         generating output for tables of tests, not inside functions.
64061         (parse_args): Likewise.
64062         (generate_testfile): Remove variable $in_func.  Update call to
64063         parse_args.
64064         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64065         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64066         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64067         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64068         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64069         (MAX_VALUE_INIT): Rename macro to max_value.
64070         (MIN_VALUE_INIT): Rename macro to min_value.
64071         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64072         (plus_zero): Remove variable.
64073         (minus_zero): Likewise.
64074         (plus_infty): Likewise.
64075         (minus_infty): Likewise.
64076         (qnan_value): Likewise.
64077         (max_value): Likewise.
64078         (min_value): Likewise.
64079         (min_subnorm_value): Likewise.
64081 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64083         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64084         uint64_t or uint32_t usage.
64085         * crypt/sha256-block.c: Likewise.
64086         * crypt/sha256-crypt.c: Likewise.
64087         * crypt/sha256.c: Likewise.
64088         * crypt/sha512-block.c: Likewise.
64089         * crypt/sha512-crypt.c: Likewise.
64090         * crypt/sha512.c: Likewise.
64091         * debug/backtrace-tst.c: Likewise.
64092         * debug/pcprofiledump.c: Likewise.
64093         * elf/cache.c: Likewise.
64094         * elf/dl-cache.c: Likewise.
64095         * elf/dl-misc.c: Likewise.
64096         * elf/dl-profile.c: Likewise.
64097         * elf/dl-support.c: Likewise.
64098         * elf/ldconfig.c: Likewise.
64099         * elf/sprof.c: Likewise.
64100         * iconv/dummy-repertoire.c: Likewise.
64101         * iconv/iconv_charmap.c: Likewise.
64102         * iconv/skeleton.c: Likewise.
64103         * iconvdata/8bit-generic.c: Likewise.
64104         * iconvdata/cp737.h: Likewise.
64105         * iconvdata/cp775.h: Likewise.
64106         * iconvdata/ibm1008.h: Likewise.
64107         * iconvdata/ibm1025.h: Likewise.
64108         * iconvdata/ibm1046.h: Likewise.
64109         * iconvdata/ibm1097.h: Likewise.
64110         * iconvdata/ibm1112.h: Likewise.
64111         * iconvdata/ibm1122.h: Likewise.
64112         * iconvdata/ibm1123.h: Likewise.
64113         * iconvdata/ibm1124.h: Likewise.
64114         * iconvdata/ibm1129.h: Likewise.
64115         * iconvdata/ibm1130.h: Likewise.
64116         * iconvdata/ibm1132.h: Likewise.
64117         * iconvdata/ibm1133.h: Likewise.
64118         * iconvdata/ibm1137.h: Likewise.
64119         * iconvdata/ibm1140.h: Likewise.
64120         * iconvdata/ibm1141.h: Likewise.
64121         * iconvdata/ibm1142.h: Likewise.
64122         * iconvdata/ibm1143.h: Likewise.
64123         * iconvdata/ibm1144.h: Likewise.
64124         * iconvdata/ibm1145.h: Likewise.
64125         * iconvdata/ibm1146.h: Likewise.
64126         * iconvdata/ibm1147.h: Likewise.
64127         * iconvdata/ibm1148.h: Likewise.
64128         * iconvdata/ibm1149.h: Likewise.
64129         * iconvdata/ibm1153.h: Likewise.
64130         * iconvdata/ibm1154.h: Likewise.
64131         * iconvdata/ibm1155.h: Likewise.
64132         * iconvdata/ibm1156.h: Likewise.
64133         * iconvdata/ibm1157.h: Likewise.
64134         * iconvdata/ibm1158.h: Likewise.
64135         * iconvdata/ibm1160.h: Likewise.
64136         * iconvdata/ibm1161.h: Likewise.
64137         * iconvdata/ibm1162.h: Likewise.
64138         * iconvdata/ibm1163.h: Likewise.
64139         * iconvdata/ibm1164.h: Likewise.
64140         * iconvdata/ibm1166.h: Likewise.
64141         * iconvdata/ibm1167.h: Likewise.
64142         * iconvdata/ibm12712.h: Likewise.
64143         * iconvdata/ibm1390.h: Likewise.
64144         * iconvdata/ibm1399.h: Likewise.
64145         * iconvdata/ibm16804.h: Likewise.
64146         * iconvdata/ibm4517.h: Likewise.
64147         * iconvdata/ibm4899.h: Likewise.
64148         * iconvdata/ibm4909.h: Likewise.
64149         * iconvdata/ibm4971.h: Likewise.
64150         * iconvdata/ibm5347.h: Likewise.
64151         * iconvdata/ibm803.h: Likewise.
64152         * iconvdata/ibm856.h: Likewise.
64153         * iconvdata/ibm901.h: Likewise.
64154         * iconvdata/ibm902.h: Likewise.
64155         * iconvdata/ibm9030.h: Likewise.
64156         * iconvdata/ibm9066.h: Likewise.
64157         * iconvdata/ibm921.h: Likewise.
64158         * iconvdata/ibm922.h: Likewise.
64159         * iconvdata/ibm9448.h: Likewise.
64160         * iconvdata/isiri-3342.h: Likewise.
64161         * iconvdata/jis0201.h: Likewise.
64162         * include/link.h: Likewise.
64163         * include/netdb.h: Likewise.
64164         * inet/check_native.c: Likewise.
64165         * inet/check_pf.c: Likewise.
64166         * inet/getipv4sourcefilter.c: Likewise.
64167         * inet/getnameinfo.c: Likewise.
64168         * inet/getsourcefilter.c: Likewise.
64169         * inet/htonl.c: Likewise.
64170         * inet/setipv4sourcefilter.c: Likewise.
64171         * inet/setsourcefilter.c: Likewise.
64172         * inet/test-inet6_opt.c: Likewise.
64173         * inet/tst-network.c: Likewise.
64174         * locale/C-collate.c: Likewise.
64175         * locale/C-ctype.c: Likewise.
64176         * locale/C-time.c: Likewise.
64177         * locale/C-translit.h: Likewise.
64178         * locale/loadarchive.c: Likewise.
64179         * locale/programs/3level.h: Likewise.
64180         * locale/programs/charmap.c: Likewise.
64181         * locale/programs/charmap.h: Likewise.
64182         * locale/programs/ld-address.c: Likewise.
64183         * locale/programs/ld-collate.c: Likewise.
64184         * locale/programs/ld-ctype.c: Likewise.
64185         * locale/programs/ld-identification.c: Likewise.
64186         * locale/programs/ld-measurement.c: Likewise.
64187         * locale/programs/ld-messages.c: Likewise.
64188         * locale/programs/ld-monetary.c: Likewise.
64189         * locale/programs/ld-name.c: Likewise.
64190         * locale/programs/ld-numeric.c: Likewise.
64191         * locale/programs/ld-paper.c: Likewise.
64192         * locale/programs/ld-telephone.c: Likewise.
64193         * locale/programs/ld-time.c: Likewise.
64194         * locale/programs/linereader.c: Likewise.
64195         * locale/programs/locale.c: Likewise.
64196         * locale/programs/locarchive.c: Likewise.
64197         * locale/programs/locfile.h: Likewise.
64198         * locale/programs/repertoire.c: Likewise.
64199         * locale/programs/simple-hash.c: Likewise.
64200         * locale/programs/simple-hash.h: Likewise.
64201         * malloc/memusage.c: Likewise.
64202         * malloc/memusagestat.c: Likewise.
64203         * nis/nis_defaults.c: Likewise.
64204         * nis/nis_hash.c: Likewise.
64205         * nis/nis_print.c: Likewise.
64206         * nis/nis_xdr.c: Likewise.
64207         * nscd/connections.c: Likewise.
64208         * nscd/hstcache.c: Likewise.
64209         * nscd/nscd_gethst_r.c: Likewise.
64210         * nscd/nscd_getserv_r.c: Likewise.
64211         * nscd/nscd_helper.c: Likewise.
64212         * nscd/servicescache.c: Likewise.
64213         * nss/makedb.c: Likewise.
64214         * nss/nss_db/db-XXX.c: Likewise.
64215         * nss/nss_db/db-initgroups.c: Likewise.
64216         * nss/nss_db/db-netgrp.c: Likewise.
64217         * nss/nss_files/files-network.c: Likewise.
64218         * nss/nss_files/files-parse.c: Likewise.
64219         * posix/bug-regex5.c: Likewise.
64220         * posix/fnmatch_loop.c: Likewise.
64221         * posix/regcomp.c: Likewise.
64222         * posix/regexec.c: Likewise.
64223         * posix/tst-rfc3484-2.c: Likewise.
64224         * posix/tst-rfc3484-3.c: Likewise.
64225         * posix/tst-rfc3484.c: Likewise.
64226         * resolv/nss_dns/dns-canon.c: Likewise.
64227         * resolv/nss_dns/dns-network.c: Likewise.
64228         * resolv/res_init.c: Likewise.
64229         * resolv/res_mkquery.c: Likewise.
64230         * resolv/tst-aton.c: Likewise.
64231         * stdlib/cxa_atexit.c: Likewise.
64232         * stdlib/cxa_finalize.c: Likewise.
64233         * stdlib/gen-fpioconst.c: Likewise.
64234         * stdlib/strtol_l.c: Likewise.
64235         * string/tst-endian.c: Likewise.
64236         * sunrpc/auth_des.c: Likewise.
64237         * sunrpc/clnt_udp.c: Likewise.
64238         * sunrpc/rtime.c: Likewise.
64239         * sunrpc/svcauth_des.c: Likewise.
64240         * sunrpc/xdr.c: Likewise.
64241         * sunrpc/xdr_intXX_t.c: Likewise.
64242         * sunrpc/xdr_rec.c: Likewise.
64243         * sysdeps/generic/ldconfig.h: Likewise.
64244         * sysdeps/generic/ldsodefs.h: Likewise.
64245         * sysdeps/generic/memusage.h: Likewise.
64246         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64247         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64248         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64250         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64252         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64254         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64255         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64256         * sysdeps/posix/getaddrinfo.c: Likewise.
64257         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64258         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64259         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64260         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64261         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64262         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64263         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64264         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64265         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64266         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64267         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64268         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64269         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64270         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64271         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64272         * sysdeps/x86_64/dl-tls.h: Likewise.
64273         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64274         * time/alt_digit.c: Likewise.
64275         * time/era.c: Likewise.
64276         * wcsmbs/tst-c16c32-1.c: Likewise.
64278 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64280         * math/libm-test.inc (struct test_sincos_data): New type.
64281         (RUN_TEST_LOOP_sincos): New macro.
64282         (sincos_test_data): New variable.
64283         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64285 2013-05-16  Richard Henderson  <rth@redhat.com>
64287         * math/atest-exp2.c (LIMB64): New macro.
64288         (CONSTSZ): New macro.
64289         (mp_exp1, mp_exp_m1, mp_log2): New variables.
64290         (hexdig): Move ...
64291         (print_mpn_fp): ... to function scope.
64292         (read_mpn_hex): Remove.
64293         (get_log2): Remove.
64294         (exp2_mpn): Use mp_log2.
64295         (main): Use mp_exp1.
64297 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64299         * math/libm-test.inc: Remove comment about not testing "inexact"
64300         exceptions.
64301         (INEXACT_EXCEPTION): New macro.
64302         (NO_INEXACT_EXCEPTION): Likewise.
64303         (INVALID_EXCEPTION_OK): Update value.
64304         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64305         (OVERFLOW_EXCEPTION_OK): Likewise.
64306         (UNDERFLOW_EXCEPTION_OK): Likewise.
64307         (IGNORE_ZERO_INF_SIGN): Likewise.
64308         (ERRNO_UNCHANGED): Likewise.
64309         (ERRNO_EDOM): Likewise.
64310         (ERRNO_ERANGE): Likewise.
64311         (test_exceptions): Handle testing "inexact" exceptions.
64312         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64313         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64314         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64315         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64316         INEXACT_EXCEPTION.
64317         (rint_towardzero_test_data): Likewise.
64318         (rint_downward_test_data): Likewise.
64319         (rint_upward_test_data): Likewise.
64321         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64322         with OVERFLOW_EXCEPTION.
64323         (exp10_test_data): Likewise.
64324         (exp2_test_data): Likewise.
64325         (expm1_test_data): Likewise.
64326         (lgamma_test_data): Likewise.
64327         (pow_test_data): Likewise.
64328         (tgamma_test_data): Likewise.
64329         (yn_test_data): Remove duplicate test of overflow.
64331         * math/libm-test.inc (struct test_cc_c_data): New type.
64332         (RUN_TEST_LOOP_cc_c): New macro.
64333         (cpow_test_data): New variable.
64334         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64336         * math/libm-test.inc (struct test_f_L_data): New type.
64337         (RUN_TEST_LOOP_f_L): New macro.
64338         (llrint_test_data): New variable.
64339         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64340         (llrint_tonearest_test_data): New variable.
64341         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64342         (llrint_towardzero_test_data): New variable.
64343         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64344         (llrint_downward_test_data): New variable.
64345         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64346         (llrint_upward_test_data): New variable.
64347         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64348         (llround_test_data): New variable.
64349         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64351 2013-05-13  Peter Collingbourne  <pcc@google.com>
64353         * math/atest-exp2.c (get_log2): Remove const attribute.
64355 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64357         * math/libm-test.inc (struct test_f_l_data): New type.
64358         (RUN_TEST_LOOP_f_l): New macro.
64359         (lrint_test_data): New variable.
64360         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64361         (lrint_tonearest_test_data): New variable.
64362         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64363         (lrint_towardzero_test_data): New variable.
64364         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64365         (lrint_downward_test_data): New variable.
64366         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64367         (lrint_upward_test_data): New variable.
64368         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64369         (lround_test_data): New variable.
64370         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64372 2013-05-15  Peter Collingbourne  <pcc@google.com>
64374         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64375         (EXTRACT_WORDS64) Use where appropriate.
64376         (INSERT_WORDS64) Likewise.
64378         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64379         constraints with x constraints.
64380         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64382         * malloc/obstack.c (_obstack_compat): Add initializer.
64384 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64386         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64387         si_trapno and add si_addr_lsb to _sifields.sigfault.
64388         (si_trapno): Remove macro.
64389         (si_addr_lsb): Define new macro.
64390         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64392 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64394         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64395         instead of TEST_f_l.
64396         (llrint_test_tonearest): Likewise.
64397         (llrint_test_towardzero): Likewise.
64398         (llrint_test_downward): Likewise.
64399         (llrint_test_upward): Likewise.
64400         (llround_test): Likewise.
64402         * math/libm-test.inc (struct test_f_i_data): Add comment.
64403         (RUN_TEST_LOOP_f_b): New macro.
64404         (RUN_TEST_LOOP_f_b_tg): Likewise.
64405         (finite_test_data): New variable.
64406         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64407         (isfinite_test_data): New variable.
64408         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64409         (isinf_test_data): New variable.
64410         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64411         (isnan_test_data): New variable.
64412         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64413         (isnormal_test_data): New variable.
64414         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64415         (issignaling_test_data): New variable.
64416         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64417         (signbit_test_data): New variable.
64418         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64420         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64421         with INVALID_EXCEPTION.
64422         (acosh_test_data): Likewise.
64423         (asin_test_data): Likewise.
64424         (atanh_test_data): Likewise.
64425         (fmod_test_data): Likewise.
64426         (log_test_data): Likewise.
64427         (log10_test_data): Likewise.
64428         (log2_test_data): Likewise.
64429         (pow_test_data): Likewise.
64430         (sqrt_test_data): Likewise.
64431         (y0_test_data): Likewise.
64432         (y1_test_data): Likewise.
64433         (yn_test_data): Likewise.
64435         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64436         function contents.
64438         * math/libm-test.inc (struct test_ff_i_data): New type.
64439         (RUN_TEST_LOOP_ff_i_tg): New macro.
64440         (isgreater_test_data): New variable.
64441         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64442         (isgreaterequal_test_data): New variable.
64443         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64444         (isless_test_data): New variable.
64445         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64446         (islessequal_test_data): New variable.
64447         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64448         (islessgreater_test_data): New variable.
64449         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64450         (isunordered_test_data): New variable.
64451         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64453 2013-05-14  David S. Miller  <davem@davemloft.net>
64455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64457 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64459         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64461         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64462         extra_test to int.
64463         (struct test_f_i_data): Change type of max_ulp to int.
64465         * math/libm-test.inc (test_ffI_f1_data): New type.
64466         (RUN_TEST_LOOP_ffI_f1): New macro.
64467         (remquo_test_data): New variable.
64468         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64470         * setjmp/tst-setjmp-fp.c: New file.
64471         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64472         (link-libm): New variable.
64473         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64475         * math/libm-test.inc (struct test_f_i_data): New type.
64476         (RUN_TEST_LOOP_f_i): New macro.
64477         (RUN_TEST_LOOP_f_i_tg): Likewise.
64478         (fpclassify_test_data): New variable.
64479         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64480         (ilogb_test_data): New variable.
64481         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64483         * math/libm-test.inc (scalbln_test): Correct function name in END
64484         call.
64486         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64487         (RUN_TEST_LOOP_fI_f1): New macro.
64488         (frexp_test_data): New variable.
64489         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64491         * math/libm-test.inc (struct test_fF_f1_data): New type.
64492         (RUN_TEST_LOOP_fF_f1): New macro.
64493         (modf_test_data): New variable.
64494         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64496         * math/libm-test.inc (struct test_f_f1_data): New type.
64497         (RUN_TEST_LOOP_f_f1): New macro.
64498         (gamma_test_data): New variable.
64499         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64500         (lgamma_test_data): New variable.
64501         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64503 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64505         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64506         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64507         (main): Comment "tls" pseudo-hwcap.
64509 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64511         * math/libm-test.inc (struct test_fl_f_data): New type.
64512         (RUN_TEST_LOOP_fl_f): New variable.
64513         (scalbln_test_data): New variable.
64514         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64516         * math/libm-test.inc (struct test_fi_f_data): New type.
64517         (RUN_TEST_LOOP_fi_f): New macro.
64518         (ldexp_test_data): New variable.
64519         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64520         (scalbn_test_data): New variable.
64521         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64523         * math/libm-test.inc (struct test_c_f_data): New type.
64524         (RUN_TEST_LOOP_c_f): New macro.
64525         (cabs_test_data): New variable.
64526         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64527         (carg_test_data): New variable.
64528         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64529         (cimag_test_data): New variable.
64530         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64531         (creal_test_data): New variable.
64532         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64534         * math/libm-test.inc (struct test_if_f_data): New type.
64535         (RUN_TEST_LOOP_if_f): New macro.
64536         (jn_test_data): New variable.
64537         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64538         (yn_test_data): New variable.
64539         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64541         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64543 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64545         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64546         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64548 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64550         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64551         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64552         (bench-deps): Add bench-timing.h.
64553         * benchtests-bench-skeleton.c: Include bench-timing.h.
64554         (main): Use TIMING_* macros instead of clock_gettime.
64555         * benchtests/bench-timing.h: New file.
64557         [BZ #14582]
64558         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64559         Renamed from _LIB_VERSION.
64560         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64562 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64564         * math/libm-test.inc (struct test_fff_f_data): New type.
64565         (RUN_TEST_LOOP_fff_f): New macro.
64566         (fma_test_data): New variable.
64567         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64568         (fma_towardzero_test_data): New variable.
64569         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64570         (fma_downward_test_data): New variable.
64571         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64572         (fma_upward_test_data): New variable.
64573         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64575         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64576         (struct test_c_c_data): New type.
64577         (RUN_TEST_LOOP_c_c): New macro.
64578         (cacos_test_data): New variable.
64579         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64580         (cacosh_test_data): New variable.
64581         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64582         (casin_test_data): New variable.
64583         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64584         (casinh_test_data): New variable.
64585         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64586         (catan_test_data): New variable.
64587         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64588         (catanh_test_data): New variable.
64589         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64590         (ccos_test_data): New variable.
64591         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64592         (ccosh_test_data): New variable.
64593         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64594         (cexp_test_data): New variable.
64595         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64596         (clog_test_data): New variable.
64597         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64598         (clog10_test_data): New variable.
64599         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64600         (conj_test_data): New variable.
64601         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64602         (cproj_test_data): New variable.
64603         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64604         (csin_test_data): New variable.
64605         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64606         (csinh_test_data): New variable.
64607         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64608         (csqrt_test_data): New variable.
64609         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64610         (ctan_test_data): New variable.
64611         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64612         (ctan_tonearest_test_data): New variable.
64613         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64614         (ctan_towardzero_test_data): New variable.
64615         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64616         (ctan_downward_test_data): New variable.
64617         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64618         (ctan_upward_test_data): New variable.
64619         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64620         (ctanh_test_data): New variable.
64621         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64622         (ctanh_tonearest_test_data): New variable.
64623         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64624         (ctanh_towardzero_test_data): New variable.
64625         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64626         (ctanh_downward_test_data): New variable.
64627         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64628         (ctanh_upward_test_data): New variable.
64629         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64630         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64631         of BUILD_COMPLEX.
64633         * math/libm-test.inc (struct test_ff_f_data): New type.
64634         (struct test_ff_f_data_nexttoward): Likewise.
64635         (RUN_TEST_LOOP_2_f): New macro.
64636         (RUN_TEST_LOOP_ff_f): Likewise.
64637         (atan2_test_data): New variable.
64638         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64639         (copysign_test_data): New variable.
64640         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64641         (fdim_test_data): New variable.
64642         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64643         (fmax_test_data): New variable.
64644         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64645         (fmin_test_data): New variable.
64646         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64647         (fmod_test_data): New variable.
64648         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64649         (hypot_test_data): New variable.
64650         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64651         (nextafter_test_data): New variable.
64652         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64653         (nexttoward_test_data): New variable.
64654         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64655         (pow_test_data): New variable.
64656         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64657         (pow_tonearest_test_data): New variable.
64658         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64659         (pow_towardzero_test_data): New variable.
64660         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64661         (pow_downward_test_data): New variable.
64662         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64663         (pow_upward_test_data): New variable.
64664         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64665         (remainder_test_data): New variable.
64666         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64667         (scalb_test_data): New variable.
64668         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64669         * sysdeps/i386/fpu/libm-test-ulps: Update.
64671 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64673         * math/libm-test.inc (fma_test): Use max_value instead of local
64674         variable fltmax.
64675         (nextafter_test): Likewise.
64677         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64678         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64679         (acos_downward_test_data): New variable.
64680         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64681         (acos_upward_test_data): New variable.
64682         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64683         (acosh_test_data): New variable.
64684         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64685         (asin_test_data): New variable.
64686         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64687         (asin_tonearest_test_data): New variable.
64688         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64689         (asin_towardzero_test_data): New variable.
64690         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64691         (asin_downward_test_data): New variable.
64692         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64693         (asin_upward_test_data): New variable.
64694         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64695         (asinh_test_data): New variable.
64696         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64697         (atan_test_data): New variable.
64698         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64699         (atanh_test_data): New variable.
64700         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64701         (cbrt_test_data): New variable.
64702         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64703         (ceil_test_data): New variable.
64704         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64705         (cos_test_data): New variable.
64706         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64707         (cos_tonearest_test_data): New variable.
64708         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64709         (cos_towardzero_test_data): New variable.
64710         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64711         (cos_downward_test_data): New variable.
64712         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64713         (cos_upward_test_data): New variable.
64714         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64715         (cosh_test_data): New variable.
64716         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64717         (cosh_tonearest_test_data): New variable.
64718         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64719         (cosh_towardzero_test_data): New variable.
64720         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64721         (cosh_downward_test_data): New variable.
64722         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64723         (cosh_upward_test_data): New variable.
64724         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64725         (erf_test_data): New variable.
64726         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64727         (erfc_test_data): New variable.
64728         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64729         (exp_test_data): New variable.
64730         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64731         (exp_tonearest_test_data): New variable.
64732         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64733         (exp_towardzero_test_data): New variable.
64734         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64735         (exp_downward_test_data): New variable.
64736         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64737         (exp_upward_test_data): New variable.
64738         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64739         (exp10_test_data): New variable.
64740         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64741         (exp2_test_data): New variable.
64742         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64743         (expm1_test_data): New variable.
64744         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64745         (fabs_test_data): New variable.
64746         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64747         (floor_test_data): New variable.
64748         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64749         (j0_test_data): New variable.
64750         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64751         (j1_test_data): New variable.
64752         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64753         (log_test_data): New variable.
64754         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64755         (log10_test_data): New variable.
64756         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64757         (log1p_test_data): New variable.
64758         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64759         (log2_test_data): New variable.
64760         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64761         (logb_test_data): New variable.
64762         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64763         (logb_downward_test_data): New variable.
64764         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64765         (nearbyint_test_data): New variable.
64766         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64767         (rint_test_data): New variable.
64768         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64769         (rint_tonearest_test_data): New variable.
64770         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64771         (rint_towardzero_test_data): New variable.
64772         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64773         (rint_downward_test_data): New variable.
64774         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64775         (rint_upward_test_data): New variable.
64776         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64777         (round_test_data): New variable.
64778         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64779         (sin_test_data): New variable.
64780         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64781         (sin_tonearest_test_data): New variable.
64782         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64783         (sin_towardzero_test_data): New variable.
64784         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64785         (sin_downward_test_data): New variable.
64786         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64787         (sin_upward_test_data): New variable.
64788         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64789         (sinh_test_data): New variable.
64790         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64791         (sinh_tonearest_test_data): New variable.
64792         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64793         (sinh_towardzero_test_data): New variable.
64794         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64795         (sinh_downward_test_data): New variable.
64796         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64797         (sinh_upward_test_data): New variable.
64798         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64799         (sqrt_test_data): New variable.
64800         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64801         (tan_test_data): New variable.
64802         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64803         (tan_tonearest_test_data): New variable.
64804         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64805         (tan_towardzero_test_data): New variable.
64806         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64807         (tan_downward_test_data): New variable.
64808         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64809         (tan_upward_test_data): New variable.
64810         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64811         (tanh_test_data): New variable.
64812         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64813         (tgamma_test_data): New variable.
64814         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64815         (trunc_test_data): New variable.
64816         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64817         (y0_test_data): New variable.
64818         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64819         (y1_test_data): New variable.
64820         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64821         (significand_test_data): New variable.
64822         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64824 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64826         [BZ #12387]
64827         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64829 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64831         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64833 2013-05-10  Andreas Jaeger  <aj@suse.de>
64835         [BZ #15448]
64836         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64837         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64839 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64841         * math/gen-libm-test.pl (adjust_arg): New function.
64842         (special_functions): Handle generating output in both functions
64843         and arrays.
64844         (parse_args): Likewise.
64845         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64846         $in_func argument to parse_args.
64847         * math/libm-test.inc (struct test_f_f_data): New type.
64848         (IF_ROUND_INIT_): New macro.
64849         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64850         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64851         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64852         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64853         (ROUND_RESTORE_): Likewise.
64854         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64855         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64856         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64857         (ROUND_RESTORE_FE_UPWARD): Likewise.
64858         (RUN_TEST_LOOP_f_f): New macro.
64859         (acos_test_data): New variable.
64860         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64861         (acos_tonearest_test_data): New variable.
64862         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64864 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64866         * benchtests/bench-skeleton.c (startup): Fix coding style.
64868 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64870         [BZ #6809]
64871         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64872         negative infinity argument.
64873         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64874         negative infinity argument.
64875         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64876         negative infinity argument.
64877         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64878         domain errors.
64880 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64882         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64883         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64884         * iconv/iconv_prog.c (main): Likewise.
64885         * locale/programs/charmap-dir.c (charmap_readdir)
64886         (fopen_uncompressed): Likewise.
64887         * locale/programs/locfile.c (siblings_uncached)
64888         (write_locale_data): Use lstat64 instead of lstat.
64889         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64890         stat.
64892 2013-05-10  Andreas Jaeger  <aj@suse.de>
64894         [BZ #15395]
64895         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64896         localization.
64897         Include <locale.h>.
64899 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64901         * elf/dl-close.c (_dl_close_worker): Add comments.
64903 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64905         [BZ #15359]
64906         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64907         high part of pi/2.
64908         (__ieee754_rem_pio2l): Update comments.
64910         [BZ #15429]
64911         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64912         high part of pi/2.
64913         (__ieee754_rem_pio2l): Update comments.
64915         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64916         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64918         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64919         M_PI_4l.
64921         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64922         (M_PI_34_LOG10El): Likewise.
64923         (M_PI2_LOG10El): Likewise.
64924         (M_PI4_LOG10El): Likewise.
64925         (M_PI_LOG10El): Likewise.
64927 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64931 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64933         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64934         (MINUS_ZERO_INIT): Likewise.
64935         (PLUS_INFTY_INIT): Likewise.
64936         (MINUS_INFTY_INIT): Likewise.
64937         (QNAN_VALUE_INIT): Likewise.
64938         (MAX_VALUE_INIT): Likewise.
64939         (MIN_VALUE_INIT): Likewise.
64940         (MIN_SUBNORM_VALUE_INIT): Likewise.
64941         (plus_zero): Initialize with PLUS_ZERO_INIT.
64942         (minus_zero): Initialize with MINUS_ZERO_INIT.
64943         (plus_infty): Initialize with PLUS_INFTY_INIT.
64944         (minus_infty): Initialize with MINUS_INFTY_INIT.
64945         (qnan_value): Initialize with QNAN_VALUE_INIT.
64946         (max_value): Initialize with MAX_VALUE_INIT.
64947         (min_value): Initialize with MIN_VALUE_INIT.
64948         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64950         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64951         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64952         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64953         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64955         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64956         (RUN_TEST_2_f): Likewise.
64957         (RUN_TEST_ff_f): Likewise.
64958         (RUN_TEST_fi_f): Likewise.
64959         (RUN_TEST_fl_f): Likewise.
64960         (RUN_TEST_fff_f): Likewise.
64961         (RUN_TEST_c_f): Likewise.
64962         (RUN_TEST_f_f1): Likewise.
64963         (RUN_TEST_fF_f1): Likewise.
64964         (RUN_TEST_fI_f1): Likewise.
64965         (RUN_TEST_ffI_f1): Likewise.
64966         (RUN_TEST_c_c): Likewise.
64967         (RUN_TEST_cc_c): Likewise.
64968         (RUN_TEST_f_i): Likewise.
64969         (RUN_TEST_f_i_tg): Likewise.
64970         (RUN_TEST_ff_i_tg): Likewise.
64971         (RUN_TEST_f_b): Likewise.
64972         (RUN_TEST_f_b_tg): Likewise.
64973         (RUN_TEST_f_l): Likewise.
64974         (RUN_TEST_f_L): Likewise.
64975         (RUN_TEST_sincos): Likewise.
64976         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64977         whether to show exceptions.  Do not include ");\n" in return
64978         value.
64979         (special_functions): Output call to RUN_TEST_sincos instead of
64980         check_float calls.  Update calls to new_test.
64981         (parse_args): Output call to single RUN_TEST_* macro instead of
64982         check_* calls and other assignments.  Update calls to new_test.
64984         [BZ #2546]
64985         [BZ #2560]
64986         [BZ #5159]
64987         [BZ #15426]
64988         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64989         input to result for tgamma overflow.
64990         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64991         (gamma_coeff): New variable.
64992         (NCOEFF): New macro.
64993         (gamma_positive): New function.
64994         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64995         underflow here.  Use gamma_positive instead of exp (lgamma) for
64996         other arguments.
64997         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64998         (gamma_coeff): New variable.
64999         (NCOEFF): New macro.
65000         (gammaf_positive): New function.
65001         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65002         underflow here.  Use gamma_positive instead of exp (lgamma) for
65003         other arguments.
65004         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65005         (gamma_coeff): New variable.
65006         (NCOEFF): New macro.
65007         (gammal_positive): New function.
65008         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65009         underflow here.  Use gamma_positive instead of exp (lgamma) for
65010         other arguments.
65011         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65012         (gamma_coeff): New variable.
65013         (NCOEFF): New macro.
65014         (gammal_positive): New function.
65015         (__ieee754_gammal_r): Handle positive infinity, overflow and
65016         underflow here.  Handle NaN the same as positive infinity.  Remove
65017         check x < 0xffffffff for negative integers.  Use gamma_positive
65018         instead of exp (lgamma) for other arguments.
65019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65020         (gamma_coeff): New variable.
65021         (NCOEFF): New macro.
65022         (gammal_positive): New function.
65023         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65024         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65025         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65026         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65027         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65028         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65029         * sysdeps/generic/math_private.h (__gamma_productf): New
65030         prototype.
65031         (__gamma_product): Likewise.
65032         (__gamma_productl): Likewise.
65033         * math/Makefile (libm-calls): Add gamma_product.
65034         * math/libm-test.inc (tgamma_test): Add more tests.
65035         * sysdeps/i386/fpu/libm-test-ulps: Update.
65036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65038 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65040         * benchtests/bench-skeleton.c (main): Preheat CPU.
65042 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65044         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65046 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65048         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65049         and _dl_skip_args_internal.
65051 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65053         * manual/message.texi (Message Translation): Talk about users.
65054         Message to key mapping impacts design.
65056 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65058         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65060         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65062         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65063         * sysdeps/wordsize-64/glob64.c: ... here.
65065         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65066         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65067         New macros.
65069         * debug/getlogin_r_chk.c: Moved to ...
65070         * login/getlogin_r_chk.c: ... here.
65071         * debug/Makefile (routines): Move getlogin_r_chk to ...
65072         * login/Makefile (routines): ... here.
65073         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65074         * login/Versions (libc: GLIBC_2.4): ... here.
65076         * io/poll.c (__poll): Renamed from poll.
65077         Add libc_hidden_def.
65078         (poll): Define as weak alias.
65080         * debug/ptsname_r_chk.c: Moved to ...
65081         * login/ptsname_r_chk.c: ... here.
65082         * debug/Makefile (routines): Move ptsname_r_chk to ...
65083         * login/Makefile (routines): ... here.
65084         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65085         * login/Versions (libc: GLIBC_2.4): ... here.
65087         * posix/getlogin.c: Moved to ...
65088         * login/getlogin.c: ... here.
65089         * posix/getlogin_r.c: Moved to ...
65090         * login/getlogin_r.c: ... here.
65091         * posix/getlogin_r.c: Moved to ...
65092         * login/getlogin_r.c: ... here.
65093         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65094         * login/Makefile (routines): ... here.
65095         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65096         * login/Versions (libc: GLIBC_2.0): ... here.
65098         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65099         (setrlimit): Define as weak alias.
65101         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65102         Call __ names for open, ftruncate, and close.
65103         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65104         (truncate): Define as weak alias.
65106 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65108         * math/gen-libm-test.pl (parse_args): Initialize x before each
65109         test of frexp, modf and remquo.
65111         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65112         test signgam value.
65114 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65116         [BZ #15418]
65117         [BZ #15419]
65118         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65119         internal tests.
65120         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65122 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65124         * elf/dl-writev.h: New file.
65125         * elf/dl-misc.c: Include it.
65126         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65127         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65129 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65131         * math/libm-test.inc (noXFails): Remove variable.
65132         (noXPasses): Likewise.
65133         (BUILD_COMPLEX_INT): Remove macro.
65134         (print_screen): Remove xfail argument.
65135         (print_screen_max_error): Likewise.
65136         (update_stats): Likewise.
65137         (print_max_error): Likewise.  Update calls to other affected
65138         functions.
65139         (print_complex_max_error): Likewise.
65140         (test_single_exception): Update calls to print_screen.
65141         (test_single_errno): Likewise.
65142         (check_float_internal): Remove xfail argument.  Update calls to
65143         other affected functions.
65144         (check_float): Likewise.
65145         (check_complex): Likewise.
65146         (check_int): Likewise.
65147         (check_long): Likewise.
65148         (check_bool): Likewise.
65149         (check_longlong): Likewise.
65150         (main): Don't print noXFails and noXPasses.
65151         * math/gen-libm-test.pl (top level): Don't mention expected
65152         failure handling in comment.
65153         (new_test): Don't handle expected failures.
65154         (parse_args): Don't mention expected failure handling in comment.
65155         (generate_testfile): Don't handle expected failures.
65156         (parse_ulps): Likewise.
65157         (print_ulps_file): Likewise.
65158         (get_failure): Remove function.
65159         (output_test): Don't handle expected failures.
65160         * make/README.libm-test: Don't mention expected failure handling.
65162         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65163         (minus_zero): Likewise.
65164         (plus_infty): Likewise.
65165         (minus_infty): Likewise.
65166         (qnan_value): Likewise.
65167         (max_value): Likewise.
65168         (min_value): Likewise.
65169         (min_subnorm_value): Likewise.
65170         (initialize): Do not initialize those variables dynamically.
65172 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65174         * io/open.c (__open_2): Moved to ...
65175         * io/open_2.c: ... this new file.
65176         * io/open64.c (__open64_2): Moved to ...
65177         * io/open64_2.c: ... this new file.
65178         * io/openat.c (__openat_2): Moved to ...
65179         * io/openat_2.c: ... this new file.
65180         * io/openat64.c (__openat64_2): Moved to ...
65181         * io/openat64_2.c: ... this new file.
65182         * io/Makefile (routines): Add them.
65183         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65184         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65185         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65186         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65187         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65188         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65189         (__openat64): Add hidden_ver.
65190         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65191         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65193         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65194         Separately conditionalize setting of GLRO(dl_sysinfo) so
65195         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65196         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65198 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65200         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65202         definition.
65203         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65204         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65205         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65206         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65207         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65209 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65211         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65212         test signgam value.
65214         * math/libm-test.inc (hypot_test): Do not use
65215         IGNORE_ZERO_INF_SIGN.
65217 2013-05-03  Andreas Jaeger  <aj@suse.de>
65219         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65220         Linux 3.9.
65221         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65222         (PF_MAX): Adjust for VSOCK change.
65224 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65228 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65230         [BZ #15264]
65231         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65232         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65233         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65235 2013-05-02  David S. Miller  <davem@davemloft.net>
65237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65239 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65241         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65243 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65245         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65247 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65249         [BZ #14952]
65250         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65251         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65252         Use __attribute__ ((__gnu_inline__)).
65253         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65254         Don't use __attribute__ ((__gnu_inline__)).
65256 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65258         [BZ #15423]
65259         * math/s_catan.c (__catan): Handle small real or imaginary part of
65260         input specially to avoid spurious underflow.
65261         * math/s_catanf.c (__catanf): Likewise.
65262         * math/s_catanh.c (__catanh): Likewise.
65263         * math/s_catanhf.c (__catanhf): Likewise.
65264         * math/s_catanhl.c (__catanhl): Likewise.
65265         * math/s_catanl.c (__catanl): Likewise.
65266         * math/libm-test.inc (catan_test): Add more tests.
65267         (catanh_test): Likewise.
65268         * sysdeps/i386/fpu/libm-test-ulps: Update.
65269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65271 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65275 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
65277         [BZ #15416]
65278         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65279         accurately for denominator in atan2.
65280         * math/s_catanf.c (__catanf): Likewise.
65281         * math/s_catanh.c (__catanh): Likewise.
65282         * math/s_catanhf.c (__catanhf): Likewise.
65283         * math/s_catanhl.c (__catanhl): Likewise.
65284         * math/s_catanl.c (__catanl): Likewise.
65285         * math/libm-test.inc (catan_test): Add more tests.
65286         (catanh_test): Likewise.
65287         * sysdeps/i386/fpu/libm-test-ulps: Update.
65288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65290 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65292         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65294         * benchtests/Makefile (bench): Remove slow benchmarks.
65295         * benchtests/atan-inputs: Add slow benchmark inputs.
65296         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65297         (BENCH_FUNC): Accept variant offset.
65298         (VARIANT): Define.
65299         * benchtests/bench-skeleton.c (main): Run benchmark for each
65300         variant.
65301         * benchtests/cos-inputs: Add slow benchmark inputs.
65302         * benchtests/exp-inputs: Likewise.
65303         * benchtests/pow-inputs: Likewise.
65304         * benchtests/sin-inputs: Likewise.
65305         * benchtests/slowatan-inputs: Remove.
65306         * benchtests/slowatan.c: Remove.
65307         * benchtests/slowcos-inputs: Remove.
65308         * benchtests/slowcos.c: Remove.
65309         * benchtests/slowexp-inputs: Remove.
65310         * benchtests/slowexp.c: Remove.
65311         * benchtests/slowpow-inputs: Remove.
65312         * benchtests/slowpow.c: Remove.
65313         * benchtests/slowsin-inputs: Remove.
65314         * benchtests/slowsin.c: Remove.
65315         * benchtests/slowtan-inputs: Remove.
65316         * benchtests/slowtan.c: Remove.
65317         * benchtests/tan-inputs: Add slow benchmark inputs.
65318         * scripts/bench.pl: Parse comments and directives.
65320         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
65321         in CPPFLAGS.
65322         ($(objpfx)bench-%.c): Remove *-ITER.
65323         * benchtests/bench-modf.c: Remove definition of ITER.
65324         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65325         (main): Loop for DURATION seconds instead of fixed number of
65326         iterations.
65327         * scripts/bench.pl: Don't expect iterations in parameters.
65329 2013-04-29  Roland McGrath  <roland@hack.frob.com>
65331         * io/fchdir.c (__fchdir): Renamed from fchdir.
65332         (fchdir): Define as weak alias.
65334 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65336         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65337         (ERRNO_EDOM): Likewise.
65338         (ERRNO_ERANGE): Likewise.
65339         (noErrnoTests): New variable.
65340         (init_max_error): Set errno to 0.
65341         (test_single_errno): New function.
65342         (test_errno): Likewise.
65343         (check_float_internal): Call test_errno.  Set errno to 0.
65344         (check_complex): Refer to errno tests in comment.
65345         (check_int): Call test_errno.  Set errno to 0.
65346         (check_long): Likewise.
65347         (check_bool): Likewise.
65348         (check_longlong): Likewise.
65349         (cos_test): Use ERRNO_* flags for errno tests instead of
65350         check_int.
65351         (expm1_test): Likewise.
65352         (fmod_test): Likewise.
65353         (ilogb_test): Likewise.
65354         (lgamma_test): Likewise.
65355         (pow_test): Likewise.
65356         (remainder_test): Likewise.
65357         (sin_test): Likewise.
65358         (tan_test): Likewise.
65359         (yn_test): Likewise.
65360         (initialize): Set errno to 0.
65361         (main): Print number of errno tests.
65362         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65364 2013-04-29  Andreas Jaeger  <aj@suse.de>
65366         [BZ #15084]
65367         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65368         and RES_USEVC.
65370         [BZ #15085]
65371         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65372         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65373         unimplemented.
65375         [BZ #15380]
65376         * stdlib/random.c (__initstate): Return NULL if
65377         __initstate fails.
65379         [BZ #15086]
65380         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65381         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65382         RES_SNGLKUPREOP.
65384 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65388 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65390         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65391         of individual tests.
65392         (casin_test): Likewise.
65393         (casinh_test): Likewise.
65395 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65397         [BZ #15409]
65398         * math/s_catan.c (__catan): Handle arguments with large real or
65399         imaginary part separately without squaring.
65400         * math/s_catanf.c (__catanf): Likewise.
65401         * math/s_catanh.c (__catanh): Likewise.
65402         * math/s_catanhf.c (__catanhf): Likewise.
65403         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65404         and redefine.
65405         (__catanhl): Handle arguments with large real or imaginary part
65406         separately without squaring.
65407         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65408         and redefine.
65409         (__catanl): Handle arguments with large real or imaginary part
65410         separately without squaring.
65411         * math/libm-test.inc (catan_test): Add more tests.
65412         (catanh_test): Likewise.
65413         * sysdeps/i386/fpu/libm-test-ulps: Update.
65414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65416 2013-04-27  Andreas Jaeger  <aj@suse.de>
65418         [BZ #15007]
65419         * stdlib/stdlib.h: Update guards for qecvt.
65420         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65421         <stdlib.h>.
65423 2013-04-27  Allan McRae  <allan@archlinux.org>
65425         * sysdeps/i386/fpu/libm-test-ulps: Update.
65427 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65429         [BZ #15406]
65430         * math/s_catan.c: Include <float.h>.
65431         (__catan): Ensure underflow exception occurs for underflowed
65432         result.
65433         * math/s_catanf.c: Include <float.h>.
65434         (__catanf): Ensure underflow exception occurs for underflowed
65435         result.
65436         * math/s_catanh.c: Include <float.h>.
65437         (__catanh): Ensure underflow exception occurs for underflowed
65438         result.
65439         * math/s_catanhf.c: Include <float.h>.
65440         (__catanhf): Ensure underflow exception occurs for underflowed
65441         result.
65442         * math/s_catanhl.c: Include <float.h>.
65443         (__catanhl): Ensure underflow exception occurs for underflowed
65444         result.
65445         * math/s_catanl.c: Include <float.h>.
65446         (__catanl): Ensure underflow exception occurs for underflowed
65447         result.
65448         * math/libm-test.inc (catan_test): Add more tests.
65449         (catanh_test): Likewise.
65451         [BZ #15405]
65452         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65453         underflowed result.
65454         * math/s_ccoshf.c (__ccoshf): Likewise.
65455         * math/s_ccoshl.c (__ccoshl): Likewise.
65456         * math/s_csin.c (__csin): Likewise.
65457         * math/s_csinf.c (__csinf): Likewise.
65458         * math/s_csinh.c (__csinh): Likewise.
65459         * math/s_csinhf.c (__csinhf): Likewise.
65460         * math/s_csinhl.c (__csinhl): Likewise.
65461         * math/s_csinl.c (__csinl): Likewise.
65462         * math/libm-test.inc (ccos_test): Add more tests.
65463         (ccosh_test): Likewise.
65464         (csin_test): Likewise.
65465         (csinh_test): Likewise.
65467 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65469         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65470         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65471         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65472         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65473         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65474         powerpc/power5+/fpu folders.
65475         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65478 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65482 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65484         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65485         additions to variable.
65486         [$(config-machine) = x86_64] (modules-names): Likewise.
65487         ($(objpfx)tst-audit3): Remove dependency.
65488         ($(objpfx)tst-audit3.out): Likewise.
65489         ($(objpfx)tst-audit4): Likewise.
65490         ($(objpfx)tst-audit4.out): Likewise.
65491         ($(objpfx)tst-audit5): Likewise.
65492         ($(objpfx)tst-audit5.out): Likewise.
65493         ($(objpfx)tst-audit6): Likewise.
65494         ($(objpfx)tst-audit6.out): Likewise.
65495         ($(objpfx)tst-audit7): Likewise.
65496         ($(objpfx)tst-audit7.out): Likewise.
65497         (tst-audit3-ENV): Remove variable.
65498         (tst-audit4-ENV): Likewise.
65499         (tst-audit5-ENV): Likewise.
65500         (tst-audit6-ENV): Likewise.
65501         (tst-audit7-ENV): Likewise.
65502         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65503         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65504         addition to variable.
65505         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65506         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65507         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65508         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65509         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65510         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65511         tst-audit3, tst-audit4 and tst-audit5.
65512         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65513         tst-audit6 and tst-audit7.
65514         [$(subdir) = elf] (modules-names): Add audit modules for those
65515         tests.
65516         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65517         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65518         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65519         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65520         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65521         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65522         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65523         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65524         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65525         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65526         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65527         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65528         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65529         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65530         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65531         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65532         Likewise.
65533         [$(subdir) = elf && $(config-cflags-avx) = yes]
65534         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65535         [$(subdir) = elf && $(config-cflags-avx) = yes]
65536         (CFLAGS-tst-auditmod4a.c): Likewise.
65537         [$(subdir) = elf && $(config-cflags-avx) = yes]
65538         (CFLAGS-tst-auditmod4b.c): Likewise.
65539         [$(subdir) = elf && $(config-cflags-avx) = yes]
65540         (CFLAGS-tst-auditmod6b.c): Likewise.
65541         [$(subdir) = elf && $(config-cflags-avx) = yes]
65542         (CFLAGS-tst-auditmod6c.c): Likewise.
65543         [$(subdir) = elf && $(config-cflags-avx) = yes]
65544         (CFLAGS-tst-auditmod7b.c): Likewise.
65545         * elf/tst-audit3.c: Move to ...
65546         * sysdeps/x86_64/tst-audit3.c: ... here.
65547         * elf/tst-audit4.c: Move to ...
65548         * sysdeps/x86_64/tst-audit4.c: ... here.
65549         * elf/tst-audit5.c: Move to ...
65550         * sysdeps/x86_64/tst-audit5.c: ... here.
65551         * elf/tst-audit6.c: Move to ...
65552         * sysdeps/x86_64/tst-audit6.c: ... here.
65553         * elf/tst-audit7.c: Move to ...
65554         * sysdeps/x86_64/tst-audit7.c: ... here.
65555         * elf/tst-auditmod3a.c: Move to ...
65556         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65557         * elf/tst-auditmod3b.c: Move to ...
65558         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65559         * elf/tst-auditmod4a.c: Move to ...
65560         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65561         * elf/tst-auditmod4b.c: Move to ...
65562         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65563         * elf/tst-auditmod5a.c: Move to ...
65564         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65565         * elf/tst-auditmod5b.c: Move to ...
65566         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65567         * elf/tst-auditmod6a.c: Move to ...
65568         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65569         * elf/tst-auditmod6b.c: Move to ...
65570         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65571         * elf/tst-auditmod6c.c: Move to ...
65572         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65573         * elf/tst-auditmod7a.c: Move to ...
65574         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65575         * elf/tst-auditmod7b.c: Move to ...
65576         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65578 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65580         [BZ #15366]
65581         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65582         define unconditionally.
65583         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65584         define unconditionally.
65585         (INT8_C, INT16_C, etc.): Likewise.
65587 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65589         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65590         __ehdr_start with hidden visibility.
65592         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65594 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65596         * math/libm-test.inc (cos_test): Use accurate hex constants.
65597         (sincost_test): Likewise.
65599 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65601         * math/libm-test.inc (catan_test): Add more tests.
65602         (catanh_test): Likewise.
65604         * math/s_catanf.c (__catanf): Use suffixed floating-point
65605         constants.
65606         * math/s_catanhf.c (__catanhf): Likewise.
65607         * math/s_catanhl.c (__catanhl): Likewise.
65608         * math/s_catanl.c (__catanl): Likewise.
65610         [BZ #15394]
65611         * math/s_catan.c (__catan): Calculate imaginary part of result
65612         with log1p not log unless computing log of number close to 0.
65613         * math/s_catanf.c (__catanf): Likewise.
65614         * math/s_catanl.c (__catanl): Likewise.
65615         * math/s_catanh.c (__catanh): Calculate real part of result with
65616         log1p not log unless computing log of number close to 0.
65617         * math/s_catanhf.c (__catanhf): Likewise.
65618         * math/s_catanhl.c (__catanhl): Likewise.
65619         * math/libm-test.inc (catan_test): Add more tests.
65620         (catanh_test): Likewise.
65621         * sysdeps/i386/fpu/libm-test-ulps: Update.
65622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65624 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65626         * benchtests/Makefile: Mention files in which fast and slow
65627         paths of math functions are implemented.
65629 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65631         * sysdeps/posix/timespec_get.c: New file.
65633 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65635         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65636         POWER.
65637         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65638         for POWER.
65639         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65640         powerpc/power5/fpu folders.
65641         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65642         * benchtests/Makefile: Add modf testcase.
65643         * benchtests/bench-modf.c: New file: Benchmark test for mo
65645 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65647         [BZ #14888]
65648         * time/Makefile (tests): Add tst-strptime-whitespace.
65649         * time/strptime_l.c (get_number): Use ISSPACE.
65650         (__strptime_internal): Likewise.
65651         * time/tst-strptime-whitespace.c: New test case.
65653 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65655         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65656         member.
65657         (_nss_files_init): Set it here.
65659 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65661         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65662         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65663         unsigned.
65665 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65667         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65669 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65671         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65672         size just once.
65674 2013-04-21  David S. Miller  <davem@davemloft.net>
65676         * po/ru.po: Update Russion translation from translation project.
65678 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65680         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65681         and setfsgid.
65683 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65685         * configure.in: Remove i386 configure warning. Remove i386 case.
65686         * configure: Regenerate.
65687         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65688         Add example to error message.
65689         * sysdeps/i386/configure: Regenerate.
65691 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65693         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65694         slowtan.
65695         * benchtests/cos-inputs: New file.
65696         * benchtests/slowcos-inputs: New file.
65697         * benchtests/slowcos.c: New file.
65698         * benchtests/slowtan-inputs: New file.
65699         * benchtests/slowtan.c: New file.
65700         * benchtests/tan-inputs: New file.
65702 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65704         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65705         considered kosher.
65707 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65709         * benchtests/Makefile: Include cppflags-iterator.mk to add
65710         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65712         * Makefile.in (bench-clean): New target.
65713         * benchtests/Makefile (bench-clean): Likewise.
65715 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65717         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65719 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65721         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65723 2013-04-15  Andreas Schwab  <schwab@suse.de>
65725         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65726         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65727         * nscd/pwdcache.c (cache_addpw): Likewise.
65728         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65729         more than recsize.
65731 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65733         * benchtests/Makefile (bench): Write all output to
65734         bench-out.tmp together.
65736 2013-04-15  Andreas Schwab  <schwab@suse.de>
65738         * nscd/nscd.c (main): Don't fork again after closing files.
65740 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65742         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65744         * benchtests/Rules (bench-deps): Collect dependencies into a
65745         single variable.  Add Makefile to dependencies.
65746         ($(objpfx)bench-%.c): Depend on bench-deps.
65748 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65749             Xavier Roche  <roche+kml2@exalead.com>
65751         [BZ #15361]
65752         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65753         just that it's a file descriptor.
65754         * manual/llio.texi (Synchronizing AIO Operations): Update description
65755         for EBADF error from aio_fsync.
65757 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65759         * Rules (bench): Move target definition...
65760         * benchtests/Makefile: ... here.
65762 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65764         * math/libm-test.inc (cos_test): Fix PI/2 test.
65765         (sincos_test): Likewise.
65766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65767         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65769 2013-04-11  Andreas Schwab  <schwab@suse.de>
65771         [BZ #13988]
65772         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65773         accept exponent character only when digits were seen.
65774         * stdio-common/Makefile (tests): Add bug26.
65775         * stdio-common/bug26.c: New file.
65777         [BZ #14293]
65778         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65779         non-freeable.
65781 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65783         * Makeconfig (rtld-prefix): Define built linker prefix.
65784         * Rules (run-bench): Use it.
65785         * math/Makefile (run-regen-ulps): Likewise.
65787         * Rules (bench): Remove eval.
65789 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65790             Roland McGrath  <roland@hack.frob.com>
65791             Ondrej Bilka  <neleai@seznam.cz>
65793         [BZ #15346]
65794         * time/getdate.c: Include ctype.h and alloca.h.
65795         (__getdate_r): Trim leading and trailing spaces of input.
65796         * time/tst-getdate.c (tests): Add tests with leading and
65797         trailing spaces.
65799 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65801         [BZ #14280]
65802         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65803         when computing value.
65805 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65807         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65808         Use testrun.sh to run libm tests.
65810         [BZ #15309]
65811         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65813 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65815         [BZ #15264]
65816         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65818 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65820         * Makefile.in (regen-ulps): New target.
65821         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65822         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65823         [ifneq (no,$(PERL)] (regen-ulps): New target.
65824         [ifeq (no,$(PERL)] (regen-ulps): New target.
65825         * math/libm-test.inc (ulps_file_name): Define.
65826         (output_dir): New variable.
65827         (options): Add "output-dir" option.
65828         (parse_opt): Handle 'o' case.
65829         (main): If output_dir is non-NULL use it as a prefix
65830         otherwise use "".
65831         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65833 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65835         [BZ #10060, #10062]
65836         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65837         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65838         fail configure if __sync_val_compare_and_swap is not inlined.
65839         * sysdeps/i386/configure: Regenerate.
65840         * configure.in: Build for i686 when configured for i386.
65841         * configure: Regenerate.
65842         * README: Remove i386 reference.
65844 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65846         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65847         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65849 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65851         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65852         (lmsnanval): New variables.
65853         (F): Add conversion tests.
65854         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65855         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65857         * stdio-common/tstdiomisc.c (F): Properly collect individual
65858         tests' results.
65860         [BZ #14686, #15336]
65861         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65862         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65863         Instead, use input NaN values or generate a qNaN by arithmetic
65864         operation.  Also fix bugs to comply with the standard.
65865         * math/libm-test.inc (remainder_test): Add more tests.
65867         [BZ #15335, #15342]
65868         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65869         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65870         input NaN values or generate a qNaN by arithmetic operation.
65872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65873         unreachable code.
65875         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65876         definitions.
65878 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65880         [BZ #14478]
65881         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65882         underflowed result.
65883         * math/s_cexpf.c (__cexpf): Likewise.
65884         * math/s_cexpl.c (__cexpl): Likewise.
65885         * math/libm-test.inc (cexp_test): Add more tests.
65887 2013-04-03  Andreas Schwab  <schwab@suse.de>
65889         [BZ #15330]
65890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65891         order arrays from heap if bigger than alloca cutoff.
65893 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65895         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65896         (SNAN_TESTS_double): Refer to GCC PR56831.
65897         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65898         GCC PR56828.
65900 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65902         * Rules (bench): Move bench.out after the run is complete.
65904         * Rules (bench): Echo currently running benchmark.
65906         * benchtests/Makefile (bench): Add atan and slowatan.
65907         * benchtests/atan-inputs: New file.
65908         * benchtests/slowatan-inputs: New file.
65909         * benchtests/slowatan.c: New file.
65911         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65912         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65913         its value.
65915         [BZ #15305]
65916         * sysdeps/unix/sysv/linux/kernel-features.h
65917         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65918         __ASSUME_XFS_RESTRICTED_CHOWN.
65919         * sysdeps/unix/sysv/linux/pathconf.c
65920         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65921         Save and restore errno.
65923 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65925         [BZ #15327]
65926         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65927         arguments using __kernel_casinh.
65928         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65929         arguments using __kernel_casinhf.
65930         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65931         arguments using __kernel_casinhl.
65932         * math/libm-test.inc (cacosh_test): Add more tests.
65933         * sysdeps/i386/fpu/libm-test-ulps: Update.
65934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65936 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65938         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65939         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65941         * bench/Makefile (bench): Add sin and slowsin.
65942         * benchtests/sin-inputs: New file.
65943         * benchtests/slowsin-inputs: New file.
65944         * benchtests/slowsin.c: New file.
65946         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65947         (bench): Add slowexp and slowpow.
65948         (exp-ITER): Increase iterations.
65949         (pow-ITER): Likewise.
65950         * benchtests/exp-inputs: Change input.
65951         * benchtests/pow-inputs: Likewise.
65952         * benchtests/slowexp-inputs: New file.
65953         * benchtests/slowexp.c: New file.
65954         * benchtests/slowpow-inputs: New file.
65955         * benchtests/slowpow.c: New file.
65957 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65959         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65960         instructions.
65961         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65962         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65963         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65964         * benchtests/Makefile: Add rint benchtest.
65965         * benchtests/rint-inputs: Input for rint benchtest.
65967 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65969         * Versions.def (libm): Add GLIBC_2.18.
65970         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65971         hidden libm prototypes.
65972         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65973         * math/Makefile (libm-calls): Add s_issignaling.
65974         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65975         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65976         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65977         declaration.
65978         * math/math.h [__USE_GNU] (issignaling): New macro.
65979         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65980         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65981         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65982         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65983         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65984         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65985         * manual/arith.texi (issignaling): New section.
65986         * manual/libm-err-tab.pl (@all_functions): Update comment.
65987         * math/gen-libm-test.pl (parse_args): Apply special handling for
65988         issignaling.
65989         * math/libm-test.inc (print_float, issignaling_test): New
65990         functions.
65991         (check_float_internal): Add issignaling checks.
65992         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65993         default definition.
65994         * sysdeps/powerpc/math-tests.h: New file.
65995         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65996         tests.
65997         * math/test-snan.c (TEST_FUNC): Likewise.
65999 2013-03-30  David S. Miller  <davem@davemloft.net>
66001         * po/de.po: Update from translation team.
66003 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66005         [BZ #10357]
66006         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66007         imaginary part less than 1.0 and real part less than 0.5
66008         specially.
66009         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66010         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66011         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66012         (cacos_test): Add more tests.
66013         (casin_test): Likewise.
66014         (casinh_test): Likewise.
66015         * sysdeps/i386/fpu/libm-test-ulps: Update.
66016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66018 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66020         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66021         ONE with its value.
66023         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66024         (__pow_mp): Replace ONE and MONE with their values.
66025         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66026         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66027         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66028         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66029         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66032         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66034         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66035         (__pow_mp): Replace ZERO and MZERO with their values.
66036         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66037         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66038         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66040         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66041         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66042         (__sqr): Likewise.
66044         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66046         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66048 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66050         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66051         Declare with __attribute__ ((weak)).
66052         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66053         Call __call_tls_dtors only if it's not NULL.
66055 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66057         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66058         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66059         magic __ehdr_start linker symbol if it's defined.
66060         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66061         them up here if it was already done.
66063         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66064         (_dl_aux_init): Use const in cast when setting it.
66065         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66066         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66067         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66069         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66070         Declare them here.
66071         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66072         * csu/libc-tls.c: Nor here.
66073         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66075         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66076         (__libc_message): Never call vsyslog.
66078 2013-03-28  Alan Modra  <amodra@gmail.com>
66080         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66081         Define as empty.
66082         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66083         Likewise.
66085 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66087         [BZ #15214]
66088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66089         underflow.
66090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66092 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66094         [BZ #15304]
66095         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66096         Don't add gid passed as argument.
66098         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66100 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66102         [BZ #15307]
66103         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66104         imaginary part between 1.0 and 1.5 and real part less than 0.5
66105         specially.
66106         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66107         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66108         * math/libm-test.inc (cacos_test): Add more tests.
66109         (casin_test): Likewise.
66110         (casinh_test): Likewise.
66111         * sysdeps/i386/fpu/libm-test-ulps: Update.
66112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66114 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66116         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66117         constants.
66118         (norm): Likewise.
66119         (denorm): Likewise.
66120         (__dbl_mp): Likewise.
66121         (add_magnitudes): Likewise.
66122         (sub_magnitudes): Likewise.
66123         (__add): Likewise.
66124         (__sub): Likewise.
66125         (__mul): Likewise.
66126         (__sqr): Likewise.
66127         (__inv): Likewise.
66128         (__dvd): Likewise.
66130         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66131         commented code.
66132         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66133         (__dubcos): Likewise.
66134         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66135         (__ieee754_acos): Likewise.
66136         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66137         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66138         (__exp1): Likewise.
66139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66141         (log1): Likewise.
66142         (my_log2): Likewise.
66143         (checkint): Likewise.
66144         * sysdeps/ieee754/dbl-64/e_remainder.c
66145         (__ieee754_remainder): Likewise.
66146         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66148         (bsloww): Likewise.
66149         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66151         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66152         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66153         MANTISSA_STORE_T to store computations on mantissa.  Use
66154         macros for rounding and division.
66155         (denorm): Likewise.
66156         (__dbl_mp): Likewise.
66157         (add_magnitudes): Likewise.
66158         (sub_magnitudes): Likewise.
66159         (__mul): Likewise.
66160         (__sqr): Likewise.
66161         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66162         powers of two in terms of TWOPOW macro.
66163         (mp_no): Make type of mantissa as MANTISSA_T.
66164         [!RADIXI]: Define RADIXI.
66165         [!TWO52]: Define TWO52.
66166         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66168 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66170         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66171         llroundl symbol when building for PPC32.
66173 2013-03-24  Mark H Weaver  <mhw@netris.org>
66175         * manual/arith.texi (Normalization Functions): Fix prototypes for
66176         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66178 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66180         [BZ #13889]
66181         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66182         high value to check if expl overflow.
66183         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66184         to check for underflow and overflow.
66185         * math/libm-test.inc: Add exp test.
66187 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66189         [BZ #11120]
66190         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66191         with NOT_IN_libc.
66193 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66195         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66196         symbol.
66198 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66200         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66201         wrap blocks consisting of several statements.
66203         * sysdeps/generic/math-tests.h: New file.
66204         * sysdeps/i386/fpu/math-tests.h: Likewise.
66205         * math/test-snan.c: Include it.
66206         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66208 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66210         [BZ #15285]
66211         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66212         (__ieee754_j0l): Do not improve calculations using cos of twice
66213         input for inputs above LDBL_MAX / 2.0L.
66214         (__ieee754_y0l): Likewise.
66215         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66216         (__ieee754_j1l): Do not improve calculations using cos of twice
66217         input for inputs above LDBL_MAX / 2.0L.
66218         (__ieee754_y1l): Likewise.
66219         * math/libm-test.inc (j0_test): Add another test.
66220         (j1_test): Likewise.
66221         (y0_test): Likewise.
66222         (y1_test): Likewise.
66223         * sysdeps/i386/fpu/libm-test-ulps: Update.
66225 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66227         * Rules ($(objpfx)bench-%.c): Include code from a C source
66228         file.
66230 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66232         [BZ #15287]
66233         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66234         imaginary part 1.0 and real part less than 0.5 specially.
66235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66237         * math/libm-test.inc (cacos_test): Add more tests.
66238         (casin_test): Likewise.
66239         (casinh_test): Likewise.
66240         * sysdeps/i386/fpu/libm-test-ulps: Update.
66241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66243 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66245         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66246         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66248 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66250         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66251         * config.make.in (config-cflags-sse4): Remove variable.
66252         (config-cflags-avx): Likewise.
66253         (config-cflags-sse2avx): Likewise.
66254         (config-cflags-novzeroupper): Likewise.
66255         (config-asflags-i686): Likewise.
66256         (have-mfma4): Likewise.
66257         (have-as-vis3): Likewise.
66258         (MIG): Likewise.
66259         * configure.in (MIG): Do not AC_SUBST.
66260         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66261         (libc_cv_cc_sse4): Do not AC_SUBST.
66262         (libc_cv_cc_avx): Likewise.
66263         (libc_cv_cc_sse2avx): Likewise.
66264         (libc_cv_cc_novzeroupper): Likewise.
66265         (libc_cv_cc_fma4): Likewise.
66266         (libc_cv_as_i686): Likewise.
66267         (libc_cv_sparc_as_vis3): Likewise.
66268         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66269         LIBC_CONFIG_VAR.
66270         (config-asflags-i686): Likewise.
66271         (config-cflags-avx): Likewise.
66272         (config-cflags-sse2avx): Likewise.
66273         (have-mfma4): Likewise.
66274         (config-cflags-novzeroupper): Likewise.
66275         * sysdeps/mach/configure.in (MIG): Likewise.
66276         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66277         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66278         LIBC_CONFIG_VAR.
66279         (config-cflags-avx): Likewise.
66280         (config-cflags-sse2avx): Likewise.
66281         (have-mfma4): Likewise.
66282         (config-cflags-novzeroupper): Likewise.
66283         * configure: Regenerated.
66284         * sysdeps/i386/configure: Likewise.
66285         * sysdeps/mach/configure: Likewise.
66286         * sysdeps/sparc/configure: Likewise.
66287         * sysdeps/x86_64/configure: Likewise.
66289 2013-03-20  Roland McGrath  <roland@hack.frob.com>
66291         [BZ #14812]
66292         * locale/programs/localedef.c (options): Put N_ translation marker
66293         on argument names, not just descriptions.
66295 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66297         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66299 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
66301         [BZ #14176]
66302         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66304 2013-03-19  Roland McGrath  <roland@hack.frob.com>
66306         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66307         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66308         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66309         [!BEFORE_ABORT] (before_abort): New function.
66310         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66311         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66312         (writev_for_fatal): New function.
66313         (WRITEV_FOR_FATAL): New macro; call that.
66314         (backtrace_and_maps): New function.
66315         (BEFORE_ABORT): New macro; call that.
66316         (struct str_list): Type removed.
66317         (__libc_message, __libc_fatal): Functions removed.
66318         Include <sysdeps/posix/libc_fatal.c> instead.
66320 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
66322         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66323         constants.
66324         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66325         double constants.
66327 2013-03-19  Andreas Schwab  <schwab@suse.de>
66329         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66330         * sysdeps/gnu/configure: Regenerate.
66332         * configure.in: Substitute libc_cv_rtlddir.
66333         * configure: Regenerate.
66334         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66335         * Makeconfig (rtlddir, inst_rtlddir): New variables.
66336         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66337         * elf/Makefile (install-others, CFLAGS-interp.c)
66338         (ldso_install, common-ldd-rewrite): Likewise.
66339         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66340         $(inst_slibdir)/$(rtld-installed-name).
66341         * scripts/rellns-sh: Add -p option.
66342         * Makerules (make-shlib-link): Use rellns-sh to get relative name
66343         for source.
66345 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66347         * manual/nptl.texi: Renamed to ...
66348         * manual/threads.texi: ... this.
66349         * manual/Makefile (chapters): Update.
66351 2013-03-18  Roland McGrath  <roland@hack.frob.com>
66353         [BZ #14812]
66354         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66355         on argument names, not just descriptions.
66356         * malloc/memusagestat.c (options): Likewise.
66357         * nss/getent.c (options): Likewise.
66359 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
66361         [BZ #14812]
66362         * iconv/iconv_prog.c (options): Put N_ translation marker
66363         on argument names, not just descriptions.
66364         * iconv/iconvconfig.c (options): Likewise.
66366 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
66368         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66369         implementation which is faster on all x86_64 architectures.
66370         Tested on AMD, Intel Nehalem, SNB, IVB.
66371         * sysdeps/x86_64/strnlen.S: Likewise.
66373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66374         Remove all multiarch strlen and strnlen versions.
66375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66376         Remove strlen and strnlen related parts.
66378         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66379         Inline strlen part.
66380         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66382         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66383         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66384         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66385         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66386         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66387         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66389 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66391         * manual/memory.texi (Malloc Tunable Parameters):
66392         Sort parameters alphabetically. Add comments for missing entries.
66394 2013-03-17  David S. Miller  <davem@davemloft.net>
66396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66398 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66400         [BZ #15283]
66401         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66402         for arguments at most half maximum finite value.
66403         * math/libm-test.inc (j0_test): Add more tests.
66404         (j1_test): Likewise.
66405         (y0_test): Likewise.
66406         (y1_test): Likewise.
66407         * sysdeps/i386/fpu/libm-test-ulps: Update.
66408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66410         [BZ #14155]
66411         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66412         1 / x and functions P and Q for arguments above 0x1p256L.
66413         (__ieee754_y0l): Likewise.
66414         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66415         (__ieee754_y1l): Likewise.
66416         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66417         (j1_test): Likewise.
66418         (y0_test): Likewise.
66419         (y1_test): Likewise.
66421 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66423         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66424         variable.
66426 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66428         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66429         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66430         zero since it's initialized to EXEC_PAGESIZE.
66432         * sysdeps/unix/sysv/linux/ldsodefs.h
66433         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66434         * sysdeps/generic/ldsodefs.h: ... here.
66436 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66438         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66440         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66441         math/test-snan.c.
66442         * math/test-snan.c: Renamed from
66443         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66444         * math/Makefile (tests): Add test-snan.
66445         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66446         test-powerpc-snan.
66448         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66449         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66450         functions.
66451         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66452         __builtin_nan family of functions.
66453         * math/libm-test.inc (initialize): Initialize qnan_value with
66454         __builtin_nan family of functions.
66455         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66456         Remove variables.
66457         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66458         Remove functions.
66459         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66460         storage class.  Initialize qNaN_var and sNaN_var with
66461         __builtin_nan and __builtin_nans families of functions,
66462         respectively.
66464         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66465         (sqrt_test): Remove duplicate test with qNaN input.
66466         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66467         (round_test, signbit_test, significand_test): Note missing +/-Inf
66468         as well as qNaN tests.
66470         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66471         qNaN_var.  Fix a few strings, too.
66472         * math/libm-test.inc (nan_value): Rename to qnan_value.
66473         * math/gen-libm-test.pl (%beautify): Adjust to that.
66474         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66475         * math/test-misc.c (main): Likewise.
66476         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66477         to __qnan_bytes, and __qnan_union, respectively.
66478         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66479         Likewise.
66480         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66481         and lqnanval, respectively.
66482         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66483         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66485         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66487         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66488         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66489         doubles.
66491         * math/test-misc.c (main): Fix copy'n'pastos.
66492         * misc/tst-efgcvt.c (special): Likewise.
66494         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66495         Remove declarations.
66497 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66499         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66500         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66501         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66502         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66504 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66506         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66507         macro to return vdso values correctly in IFUNC implementations.
66508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66509         Optimization by using IFUNC.
66511 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66512             Richard Henderson  <rth@redhat.com>
66513             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66515         * Makefile.in (bench): New target.
66516         * NEWS: Mention the benchmark framework.
66517         * Rules (bench): Likewise.
66518         (binaries-bench): Generate binaries for functions to
66519         benchmark.
66520         * benchtests/Makefile: New makefile for benchmark tests.
66521         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66522         programs.
66523         * benchtests/exp-inputs: New input file for EXP function.
66524         * benchtests/pow-inputs: New input file for POW function.
66525         * scripts/bench.pl: New script to generate source files for
66526         benchmark programs.
66528 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66530         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66531         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66532         computations on mantissa.  Use macros for rounding and
66533         division.
66534         (denorm): Likewise.
66535         (__dbl_mp): Likewise.
66536         (add_magnitudes): Likewise.
66537         (sub_magnitudes): Likewise.
66538         (__mul): Likewise.
66539         (__sqr): Likewise.
66540         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66541         powers of two in terms of TWOPOW macro.
66542         (mp_no): Make type of mantissa as MANTISSA_T.
66543         [!RADIXI]: Define RADIXI.
66544         [!TWO52]: Define TWO52.
66545         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66547         * manual/nptl.texi (cindex): Modify threads to pthreads.
66549 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66551         * sysdeps/x86_64/preconfigure: Regenerated.
66553 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66555         [BZ #14155]
66556         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66557         0x1p28 and above.
66558         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66559         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66560         0x1p28 and above.
66561         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66562         * math/libm-test.inc (j0_test): Do not allow one spurious
66563         underflow exception.
66564         (y1_test): Likewise.
66566 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66568         * manual/Makefile (chapters): Add nptl.
66569         * manual/debug.texi (Debugging Support): Add link to Threads
66570         chapter.
66571         * manual/nptl.texi: New file.
66573         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66575 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66577         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66578         for non-NULL pointer before the memory validity test. Pointed
66579         out by Holger Brunck <holger.brunck@keymile.com>.
66581 2013-03-13  Andreas Schwab  <schwab@suse.de>
66583         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66584         instead of .os.
66586 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66588         * timezone/zic.c: Update from tzcode 2013b.
66590 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66592         * manual/install.texi (Configuring and compiling):
66593         Mention i686 and i586.
66594         * INSTALL: Regenerate.
66596 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66598         * sysdeps/init_array/elf-init.c: New file.
66599         * csu/elf-init.c
66600         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66601         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66603         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66604         __gmon_start__ as global, but as static with a .preinit_array pointer.
66605         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66606         * sysdeps/init_array/crti.S: New file, empty except for comments.
66607         * sysdeps/init_array/crtn.S: Likewise.
66609 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66611         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66612         definining bcopy.
66613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66614         Remove Prefer_SSE_for_memop.
66615         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66616         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66617         HAS_PREFER_SSE_FOR_MEMOP.
66618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66619         memset-x86-64.
66620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66621         Remove bzero, memset ifunc support.
66622         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66623         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66624         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66625         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66627 2013-03-11  Andreas Schwab  <schwab@suse.de>
66629         [BZ #15234]
66630         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66631         by SHLIB_COMPAT.
66632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66633         (GLIBC_2.16): Remove pthread_atfork.
66635 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66637         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66638         (ptestcases.h): Likewise.
66640 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66642         * Makeconfig ($(common-objpfx)config.status): Depend on
66643         sysdeps/*/preconfigure{,.in} too.
66645 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66647         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66648         (__free_hook): Use void * instead of __malloc_ptr_t.
66649         (__malloc_hook): Likewise.
66650         (__realloc_hook): Likewise.
66651         (__memalign_hook): Likewise.
66652         (__after_morecore_hook): Likewise.
66653         * malloc/arena.c (save_malloc_hook): Likewise.
66654         (save_free_hook): Likewise.
66655         * malloc/hooks.c (malloc_hook_ini): Likewise.
66656         (realloc_hook_ini): Likewise.
66657         (memalign_hook_ini): Likewise.
66658         * malloc/malloc.c (malloc_hook_ini): Likewise.
66659         (realloc_hook_ini): Likewise.
66660         (memalign_hook_ini): Likewise.
66661         (__free_hook): Likewise.
66662         (__malloc_hook): Likewise.
66663         (__realloc_hook): Likewise.
66664         (__memalign_hook): Likewise.
66665         (__libc_malloc): Likewise.
66666         (__libc_free): Likewise.
66667         (__libc_realloc): Likewise.
66668         (__libc_memalign): Likewise.
66669         (__libc_valloc): Likewise.
66670         (__libc_pvalloc): Likewise.
66671         (__libc_calloc): Likewise.
66672         (__posix_memalign): Likewise.
66673         * malloc/morecore.c (__sbrk): Likewise.
66674         (__default_morecore): Likewise.
66676         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66678         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66679         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66680         __malloc_ptrdiff_t.
66682         * malloc/malloc.h (__malloc_size_t): Remove macro.
66683         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66684         __malloc_size_t.
66685         (old_memalign_hook): Likewise.
66686         (old_realloc_hook): Likewise.
66687         (struct hdr): Likewise.
66688         (flood): Likewise.
66689         (mallochook): Likewise.
66690         (memalignhook): Likewise.
66691         (reallochook): Likewise.
66692         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66693         (tr_old_realloc_hook): Likewise.
66694         (tr_old_memalign_hook): Likewise.
66695         (tr_mallochook): Likewise.
66696         (tr_reallochook): Likewise.
66697         (tr_memalignhook): Likewise.
66699 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66701         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66702         default_ldbl_pack and using as default implementation.
66703         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66704         implementation.
66705         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66706         redundant definition.
66707         (ldbl_insert_mantissa): Likewise.
66708         (ldbl_canonicalize): Likewise.
66709         (ldbl_nearbyint): Likewise.
66710         (ldbl_pack): Rename to ldbl_pack_ppc.
66711         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66712         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66713         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66715 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66718         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66719         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66720         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66722         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66723         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66724         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66726 2013-03-07  Andreas Jaeger  <aj@suse.de>
66728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66729         bits/mman-linux.h.
66731 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66733         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66734         Include mpa.h and declare __MPEXP.
66735         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66736         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66737         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66738         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66739         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66740         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66741         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66743         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66744         (__slowpow): Use long double EXPL and LOGL functions to
66745         compute POW.
66746         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66747         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66748         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66749         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66750         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66751         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66754         intermediate variable to calculate exponent.
66755         (__sqr): Likewise.
66756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66757         Likewise.
66758         (__sqr): Likewise.
66760         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66761         [!NO__SQR]: Define __sqr.
66762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66763         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66764         sysdeps/ieee754/dbl-64/mpa.c.
66765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66767         [BZ #12723]
66768         * posix/Makefile (tests): Add tst-pathconf.
66769         * posix/tst-pathconf.c: New test case.
66770         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66771         _PC_PIPE_BUF.
66772         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66774 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66776         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66778 2013-03-06  Andreas Jaeger  <aj@suse.de>
66780         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66781         definition via __MAP_ANONYMOUS.
66783         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66784         it's not part of Linux headers.
66786         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66787         (MAP_HUGE_MASK): Define.
66789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66790         Define.
66791         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66793         Define.
66794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66795         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66796         Define.
66797         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66799         Define.
66800         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66802         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66803         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66804         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66805         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66806         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66807         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66809         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66810         Handle f2fs.
66812         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66813         Handle f2fs and efivarfs.
66815         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66816         f2fs.
66818         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66819         (EFIVARFS_MAGIC): Add.
66820         (F2FS_LINK_MAX): Add.
66822 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66824         * stdio-common/vfprintf.c: Replace __builtin_expect with
66825         __glibc_unlikely.
66827 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66829         [BZ #13550]
66830         * sysdeps/generic/bp-sym.h: Remove file.
66831         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66832         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66833         <bp-sym.h> and <bp-asm.h>.
66834         (__longjmp): Don't use BP_SYM.
66835         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66836         and <bp-asm.h>.
66837         (memcpy): Don't use BP_SYM.
66838         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66839         <bp-sym.h> and <bp-asm.h>.
66840         (memcpy): Don't use BP_SYM.
66841         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66842         <bp-asm.h>.
66843         (memcpy): Don't use BP_SYM.
66844         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66845         <bp-asm.h>.
66846         (memset): Don't use BP_SYM.
66847         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66848         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66849         (__bzero): Don't use BP_SYM.
66850         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66851         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66852         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66853         <bp-sym.h> and <bp-asm.h>.
66854         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66855         pointers.
66856         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66857         <bp-sym.h> and <bp-asm.h>.
66858         (memcpy): Don't use BP_SYM.
66859         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66860         <bp-sym.h> and <bp-asm.h>.
66861         (memset): Don't use BP_SYM.
66862         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66863         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66864         (__bzero): Don't use BP_SYM.
66865         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66866         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66867         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66868         <bp-sym.h> and <bp-asm.h>.
66869         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66870         pointers.
66871         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66872         <bp-sym.h> and <bp-asm.h>.
66873         (memcpy): Don't use BP_SYM.
66874         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66875         <bp-sym.h> and <bp-asm.h>.
66876         (memset): Don't use BP_SYM.
66877         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66878         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66879         (__bzero): Don't use BP_SYM.
66880         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66881         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66882         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66883         <bp-sym.h> and <bp-asm.h>.
66884         (__memchr): Don't use BP_SYM.
66885         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66886         <bp-sym.h> and <bp-asm.h>.
66887         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66888         pointers.
66889         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66890         <bp-sym.h> and <bp-asm.h>.
66891         (memcpy): Don't use BP_SYM.
66892         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66893         <bp-sym.h> and <bp-asm.h>.
66894         (__mempcpy): Don't use BP_SYM.
66895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66896         <bp-sym.h> and <bp-asm.h>.
66897         (__memrchr): Don't use BP_SYM.
66898         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66899         <bp-sym.h> and <bp-asm.h>.
66900         (memset): Don't use BP_SYM.
66901         (__bzero): Likewise.
66902         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66903         <bp-sym.h> and <bp-asm.h>.
66904         (__rawmemchr): Don't use BP_SYM.
66905         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66906         <bp-sym.h> and <bp-asm.h>.
66907         (__STRCMP): Don't use BP_SYM.
66908         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66909         <bp-sym.h> and <bp-asm.h>.
66910         (strchr): Don't use BP_SYM.
66911         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66912         <bp-sym.h> and <bp-asm.h>.
66913         (__strchrnul): Don't use BP_SYM.
66914         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66915         <bp-sym.h> and <bp-asm.h>.
66916         (strlen): Don't use BP_SYM.
66917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66918         <bp-sym.h> and <bp-asm.h>.
66919         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66920         pointers.
66921         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66922         <bp-sym.h> and <bp-asm.h>.
66923         (__strnlen): Don't use BP_SYM.
66924         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66925         <bp-sym.h> and <bp-asm.h>.
66926         (__GI__setjmp): Don't use BP_SYM.
66927         (_setjmp): Likewise.
66928         (__sigsetjmp): Likewise.
66929         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66930         (L(start_addresses)): Don't use BP_SYM.
66931         (_start): Likewise.
66932         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66933         <bp-asm.h>.
66934         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66935         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66936         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66937         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66938         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66939         <bp-asm.h>.
66940         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66941         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66942         about bounded pointers.
66943         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66944         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66945         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66946         <bp-asm.h>.
66947         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66948         about bounded pointers.  Remove GKM FIXME comments.
66949         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66950         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66951         <bp-asm.h>.
66952         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66953         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66954         Remove GKM FIXME comments.
66955         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66956         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66957         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66958         <bp-asm.h>.
66959         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66960         about bounded pointers.  Remove GKM FIXME comment.
66961         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66962         and <bp-asm.h>.
66963         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66964         pointers.
66965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66966         <bp-sym.h> and <bp-asm.h>.
66967         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66969         <bp-sym.h> and <bp-asm.h>.
66970         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66971         comment.
66973 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66975         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66976         call free(NULL).
66978 2013-03-05  David S. Miller  <davem@davemloft.net>
66980         * po/es.po: Update from translation team.
66982 2013-03-05  Andreas Jaeger  <aj@suse.de>
66984         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66985         <bits/mman-linux.h>.
66986         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66987         is fine.
66988         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66989         <bits/mman-linux.h> to end of file.
66990         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66991         is fine.
66992         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66993         <bits/mman-linux.h> to end of file.
66994         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66995         is fine.
66996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66997         <bits/mman-linux.h> to end of file.
66999         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67000         (MCL_CURRENT, MCL_FUTURE): Define here.
67002 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67004         [BZ #15232]
67005         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67006         attribute_hidden.
67007         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67009 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67011         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67012         fourth parameter needed for rt_sigprocmask syscall.
67013         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67014         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67015         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67016         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67017         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67018         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67020 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67022         [BZ #13550]
67023         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67024         comment about bounded pointers.
67025         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67026         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67028 2013-03-04  Andreas Jaeger  <aj@suse.de>
67030         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67031         common definitions.
67033         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67034         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67035         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67036         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67037         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67040 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67042         [BZ #15055]
67043         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67044         __ieee754_sqrl instead of __sqrl.
67046 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67048         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67049         * sysdeps/powerpc/fpu_control.h: ... here.
67050         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67051         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67052         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67053         * sysdeps/powerpc/bits/mathinline.h: ... here.
67055 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67057         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67058         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67059         to just [NEED_DL_SYSINFO_DSO].
67060         * elf/dl-support.c: Likewise.
67061         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67062         * elf/rtld.c (dl_main): Likewise.
67063         * elf/setup-vdso.h (setup_vdso): Likewise.
67064         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67065         * sysdeps/unix/sysv/linux/dl-sysdep.c
67066         (_dl_discover_osversion): Likewise.
67068 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67070         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67071         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67073 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67075         * NEWS: Mention libm performance improvements and non-x86 PI
67076         futex support.
67078         * csu/libc-start.c (__pthread_initialize_minimal): Change
67079         function arguments.
67080         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67082 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67084         [BZ #13550]
67085         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67086         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67087         <bp-sym.h> and <bp-asm.h>.
67088         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67089         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67090         and <bp-asm.h>.
67091         (memcpy): Don't use BP_SYM.
67092         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67093         <bp-asm.h>.
67094         (__mpn_add_n): Don't use BP_SYM.
67095         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67096         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67097         and <bp-asm.h>.
67098         (__mpn_addmul_1): Don't use BP_SYM.
67099         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67100         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67101         <bp-sym.h>.
67102         (_setjmp): Don't use BP_SYM.
67103         (__novmx_setjmp): Likewise.
67104         (__GI__setjmp): Likewise.
67105         (__vmx_setjmp): Likewise.
67106         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67107         <bp-sym.h>.
67108         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67109         (__bzero): Don't use BP_SYM.
67110         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67111         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67112         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67113         <bp-sym.h> and <bp-asm.h>.
67114         (memcpy): Don't use BP_SYM.
67115         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67116         <bp-sym.h> and <bp-asm.h>.
67117         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67118         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67119         <bp-sym.h> and <bp-asm.h>.
67120         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67121         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67122         <bp-asm.h>.
67123         (__mpn_lshift): Don't use BP_SYM.
67124         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67125         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67126         <bp-asm.h>.
67127         (memset): Don't use BP_SYM.
67128         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67129         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67130         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67131         <bp-asm.h>.
67132         (__mpn_mul_1): Don't use BP_SYM.
67133         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67134         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67135         <bp-sym.h> and <bp-asm.h>.
67136         (memcmp): Don't use BP_SYM.
67137         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67138         <bp-sym.h> and <bp-asm.h>.
67139         (memcpy): Don't use BP_SYM.
67140         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67141         <bp-sym.h> and <bp-asm.h>.
67142         (memset): Don't use BP_SYM.
67143         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67144         <bp-sym.h> and <bp-asm.h>.
67145         (strncmp): Don't use BP_SYM.
67146         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67147         <bp-sym.h> and <bp-asm.h>.
67148         (memcpy): Don't use BP_SYM.
67149         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67150         <bp-sym.h> and <bp-asm.h>.
67151         (memset): Don't use BP_SYM.
67152         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67153         <bp-sym.h> and <bp-asm.h>.
67154         (__memchr): Don't use BP_SYM.
67155         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67156         <bp-sym.h> and <bp-asm.h>.
67157         (memcmp): Don't use BP_SYM.
67158         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67159         <bp-sym.h> and <bp-asm.h>.
67160         (memcpy): Don't use BP_SYM.
67161         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67162         <bp-sym.h> and <bp-asm.h>.
67163         (__mempcpy): Don't use BP_SYM.
67164         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67165         <bp-sym.h> and <bp-asm.h>.
67166         (__memrchr): Don't use BP_SYM.
67167         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67168         <bp-sym.h> and <bp-asm.h>.
67169         (memset): Don't use BP_SYM.
67170         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67171         <bp-sym.h> and <bp-asm.h>.
67172         (__rawmemchr): Don't use BP_SYM.
67173         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67174         <bp-sym.h> and <bp-asm.h>.
67175         (__STRCMP): Don't use BP_SYM.
67176         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67177         <bp-sym.h> and <bp-asm.h>.
67178         (strchr): Don't use BP_SYM.
67179         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67180         <bp-sym.h> and <bp-asm.h>.
67181         (__strchrnul): Don't use BP_SYM.
67182         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67183         <bp-sym.h> and <bp-asm.h>.
67184         (strlen): Don't use BP_SYM.
67185         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67186         <bp-sym.h> and <bp-asm.h>.
67187         (strncmp): Don't use BP_SYM.
67188         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67189         <bp-sym.h> and <bp-asm.h>.
67190         (__strnlen): Don't use BP_SYM.
67191         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67192         <bp-asm.h>.
67193         (__mpn_rshift): Don't use BP_SYM.
67194         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67195         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67196         <bp-sym.h> and <bp-asm.h>.
67197         (__sigsetjmp): Don't use BP_SYM.
67198         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67199         (L(start_addresses)): Don't use BP_SYM.
67200         (_start): Likewise.
67201         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67202         <bp-asm.h>.
67203         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67204         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67205         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67206         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67207         <bp-asm.h>.
67208         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67209         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67210         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67211         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67212         <bp-asm.h>.
67213         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67214         comments.
67215         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67216         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67217         <bp-asm.h>.
67218         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67219         FIXME comments.
67220         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67221         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67222         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67223         <bp-asm.h>.
67224         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67225         comment.
67226         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67227         and <bp-asm.h>.
67228         (strncmp): Don't use BP_SYM,
67229         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67230         <bp-asm.h>.
67231         (__mpn_sub_n): Don't use BP_SYM.
67232         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67233         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67234         and <bp-asm.h>.
67235         (__mpn_submul_1): Don't use BP_SYM.
67236         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67238         <bp-sym.h> and <bp-asm.h>.
67239         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67241         <bp-sym.h> and <bp-asm.h>.
67242         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67243         comment.
67245 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67248         Use ZK to minimize writes to Z.
67249         (sub_magnitudes): Simplify code a bit.
67250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67251         Use ZK to minimize writes to Z.
67252         (sub_magnitudes): Simplify code a bit.
67254 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67256         * csu/gmon-start.c: Add special exception to license text.
67258 2013-02-27  Richard Henderson  <rth@redhat.com>
67260         * scripts/config.guess: Update from config.git.
67261         * scripts/config.sub: Likewise.
67263 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67265         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67267         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67269         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67271         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67273         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67275 2013-02-26  Roland McGrath  <roland@hack.frob.com>
67277         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67278         [$(build-shared = yes].
67280 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67282         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67283         (__mul): Reduce iterations for calculating mantissa.
67285         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67286         MPTWO.
67287         (__mpranred): Likewise.
67289         [BZ #15160]
67290         * malloc/memusagestat.c (main): Draw graphs for heap and stack
67291         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67293 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
67295         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67296         Define __attribute__.
67298 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67300         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67301         unused.
67302         * posix/regex_internal.h (__attribute): Remove.
67303         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67304         (re_string_context_at): Likewise.
67305         (bitset_not): Use __attribute__ and mark function as possibly
67306         unused.
67307         (bitset_merge): Likewise.
67308         (bitset_mask): Likewise.
67309         (re_string_char_size_at): Likewise.
67310         (re_string_wchar_at): Likewise.
67311         (re_string_elem_size_at): Likewise.
67313 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67315         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67316         code.
67317         (cc32): Likewise.
67319         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67320         (__acr): Likewise.
67321         (__cpy): Likewise.
67322         (norm): Likewise.
67323         (denorm): Likewise.
67324         (__dbl_mp): Likewise.
67325         (add_magnitudes): Likewise.
67326         (sub_magnitudes): Likewise.
67327         (__mul): Likewise.
67328         (__inv): Likewise.
67330         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67331         style.
67333         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67334         style.
67336         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67337         code.
67339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67340         up changes with default code.
67341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67342         Likewise.
67344 2013-02-24  Allan McRae  <allan@archlinux.org>
67346         * manual/socket.texi (The Internet Namespace): Order menu items
67347         to match that in the file.
67349         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67350         node listing of the info page menu.
67352 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
67354         [BZ #13550]
67355         * sysdeps/i386/bp-asm.h: Remove file.
67356         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67357         (PARMS): Do not use macros from bp-asm.h.
67358         (S1): Likewise.
67359         (S2): Likewise.
67360         (SIZE): Likewise.
67361         (__mpn_add_n): Do not use BP_SYM
67362         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67363         "bp-asm.h".
67364         (PARMS): Do not use macros from bp-asm.h.
67365         (S1): Likewise.
67366         (SIZE): Likewise.
67367         (__mpn_addmul_1): Do not use BP_SYM
67368         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67369         "bp-asm.h".
67370         (PARMS): Do not use macros from bp-asm.h.
67371         (SIGMSK): Likewise.
67372         (_setjmp): Likewise.  Do not use BP_SYM.
67373         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67374         "bp-asm.h".
67375         (PARMS): Do not use macros from bp-asm.h.
67376         (SIGMSK): Likewise.
67377         (setjmp): Likewise.  Do not use BP_SYM.
67378         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67379         "bp-asm.h".
67380         (PARMS): Do not use macros from bp-asm.h.
67381         (__frexp): Do not use BP_SYM.
67382         (frexp): Likewise.
67383         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67384         "bp-asm.h".
67385         (PARMS): Do not use macros from bp-asm.h.
67386         (__frexpf): Do not use BP_SYM.
67387         (frexpf): Likewise.
67388         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67389         "bp-asm.h".
67390         (PARMS): Do not use macros from bp-asm.h.
67391         (__frexpl): Do not use BP_SYM.
67392         (frexpl): Likewise.
67393         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67394         "bp-asm.h".
67395         (PARMS): Do not use macros from bp-asm.h.
67396         (__remquo): Do not use BP_SYM.
67397         (remquo): Likewise.
67398         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67399         "bp-asm.h".
67400         (PARMS): Do not use macros from bp-asm.h.
67401         (__remquof): Do not use BP_SYM.
67402         (remquof): Likewise.
67403         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67404         "bp-asm.h".
67405         (PARMS): Do not use macros from bp-asm.h.
67406         (__remquol): Do not use BP_SYM.
67407         (remquol): Likewise.
67408         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67409         "bp-asm.h".
67410         (PARMS): Do not use macros from bp-asm.h.
67411         (DEST): Likewise.
67412         (SRC): Likewise.
67413         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67414         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67415         "bp-asm.h".
67416         (PARMS): Do not use macros from bp-asm.h.
67417         (strlen): Do not use BP_SYM.
67418         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67419         "bp-asm.h".
67420         (PARMS): Do not use macros from bp-asm.h.
67421         (S1): Likewise.
67422         (S2): Likewise.
67423         (SIZE): Likewise.
67424         (__mpn_add_n): Do not use BP_SYM.
67425         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67426         "bp-asm.h".
67427         (PARMS): Do not use macros from bp-asm.h.
67428         (S1): Likewise.
67429         (SIZE): Likewise.
67430         (__mpn_addmul_1): Do not use BP_SYM.
67431         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67432         weak_alias.
67433         (bzero): Likewise.
67434         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67435         "bp-asm.h".
67436         (PARMS): Do not use macros from bp-asm.h.
67437         (S): Likewise.
67438         (SIZE): Likewise.
67439         (__mpn_lshift): Do not use BP_SYM.
67440         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67441         "bp-asm.h".
67442         (PARMS): Do not use macros from bp-asm.h.
67443         (DEST): Likewise.
67444         (SRC): Likewise.
67445         (LEN): Likewise.
67446         (memcpy): Likewise.  Do not use BP_SYM.
67447         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67448         libc_hidden_def and weak_alias.
67449         (mempcpy): Do not use BP_SYM in weak_alias.
67450         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67451         "bp-asm.h".
67452         (PARMS): Do not use macros from bp-asm.h.
67453         (DEST): Likewise.
67454         (LEN): Likewise.
67455         [!BZERO_P] (CHR): Likewise.
67456         (memset): Likewise.  Do not use BP_SYM.
67457         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67458         "bp-asm.h".
67459         (PARMS): Do not use macros from bp-asm.h.
67460         (S1): Likewise.
67461         (SIZE): Likewise.
67462         (__mpn_mul_1): Do not use BP_SYM.
67463         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67464         "bp-asm.h".
67465         (PARMS): Do not use macros from bp-asm.h.
67466         (S): Likewise.
67467         (SIZE): Likewise.
67468         (__mpn_rshift): Do not use BP_SYM.
67469         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67470         "bp-asm.h".
67471         (PARMS): Do not use macros from bp-asm.h.
67472         (STR): Likewise.
67473         (CHR): Likewise.
67474         (strchr): Likewise.  Do not use BP_SYM.
67475         (index): Do not use BP_SYM in weak_alias.
67476         * sysdeps/i386/i586/strcpy.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         (SRC): Likewise.
67481         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67482         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67483         "bp-asm.h".
67484         (PARMS): Do not use macros from bp-asm.h.
67485         (strlen): Do not use BP_SYM.
67486         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67487         "bp-asm.h".
67488         (PARMS): Do not use macros from bp-asm.h.
67489         (S1): Likewise.
67490         (S2): Likewise.
67491         (SIZE): Likewise.
67492         (__mpn_sub_n): Do not use BP_SYM.
67493         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67494         "bp-asm.h".
67495         (PARMS): Do not use macros from bp-asm.h.
67496         (S1): Likewise.
67497         (SIZE): Likewise.
67498         (__mpn_submul_1): Do not use BP_SYM.
67499         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67500         "bp-asm.h".
67501         (PARMS): Do not use macros from bp-asm.h.
67502         (S1): Likewise.
67503         (S2): Likewise.
67504         (SIZE): Likewise.
67505         (__mpn_add_n): Do not use BP_SYM.
67506         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67507         weak_alias.
67508         (bzero): Likewise.
67509         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67510         "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/i686/memcpy.S: Do not include "bp-sym.h" and
67517         "bp-asm.h".
67518         (PARMS): Do not use macros from bp-asm.h.
67519         (DEST): Likewise.
67520         (SRC): Likewise.
67521         (LEN): Likewise.
67522         (memcpy): Likewise.  Do not use BP_SYM.
67523         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67524         "bp-asm.h".
67525         (PARMS): Do not use macros from bp-asm.h.
67526         (DEST): Likewise.
67527         (SRC): Likewise.
67528         (LEN): Likewise.
67529         (memmove): Likewise.  Do not use BP_SYM.
67530         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67531         "bp-asm.h".
67532         (PARMS): Do not use macros from bp-asm.h.
67533         (DEST): Likewise.
67534         (SRC): Likewise.
67535         (LEN): Likewise.
67536         (__mempcpy): Likewise.  Do not use BP_SYM.
67537         (mempcpy): Do not use BP_SYM in weak_alias.
67538         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67539         "bp-asm.h".
67540         (PARMS): Do not use macros from bp-asm.h.
67541         (DEST): Likewise.
67542         (LEN): Likewise.
67543         [!BZERO_P] (CHR): Likewise.
67544         (memset): Likewise.  Do not use BP_SYM.
67545         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67546         "bp-asm.h".
67547         (PARMS): Do not use macros from bp-asm.h.
67548         (STR2): Likewise.
67549         (strcmp): Do not use BP_SYM.
67550         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67551         "bp-asm.h".
67552         (PARMS): Do not use macros from bp-asm.h.
67553         (STR): Likewise.
67554         (DELIM): Likewise.
67555         [USE_AS_STRTOK_R] (SAVE): Likewise.
67556         (FUNCTION): Likewise.  Do not use BP_SYM.
67557         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67558         aliases.
67559         (strtok_r): Likewise.
67560         (__GI___strtok_r): Likewise.
67561         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67562         (PARMS): Do not use macros from bp-asm.h.
67563         (S): Likewise.
67564         (SIZE): Likewise.
67565         (__mpn_lshift): Do not use BP_SYM.
67566         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67567         (PARMS): Do not use macros from bp-asm.h.
67568         (STR): Likewise.
67569         (CHR): Likewise.
67570         (__memchr): Do not use BP_SYM.
67571         (memchr): Do not use BP_SYM in weak_alias.
67572         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67573         (PARMS): Do not use macros from bp-asm.h.
67574         (BLK2): Likewise.
67575         (LEN): Likewise.
67576         (memcmp): Do not use BP_SYM.
67577         (bcmp): Do not use BP_SYM in weak_alias.
67578         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67579         (PARMS): Do not use macros from bp-asm.h.
67580         (S1): Likewise.
67581         (SIZE): Likewise.
67582         (__mpn_mul_1): Do not use BP_SYM.
67583         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67584         "bp-asm.h".
67585         (PARMS): Do not use macros from bp-asm.h.
67586         (STR): Likewise.
67587         (CHR): Likewise.
67588         (__rawmemchr): Do not use BP_SYM.
67589         (rawmemchr): Do not use BP_SYM in weak_alias.
67590         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67591         (PARMS): Do not use macros from bp-asm.h.
67592         (S): Likewise.
67593         (SIZE): Likewise.
67594         (__mpn_rshift): Do not use BP_SYM.
67595         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67596         (PARMS): Do not use macros from bp-asm.h.
67597         (SIGMSK): Likewise.
67598         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67599         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67600         (_start): Do not use BP_SYM.
67601         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67602         (PARMS): Do not use macros from bp-asm.h.
67603         (DEST): Likewise.
67604         (SRC): Likewise.
67605         (__stpcpy): Likewise.  Do not use BP_SYM.
67606         (stpcpy): Do not use BP_SYM in weak_alias.
67607         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67608         "bp-asm.h".
67609         (PARMS): Do not use macros from bp-asm.h.
67610         (DEST): Likewise.
67611         (SRC): Likewise.
67612         (LEN): Likewise.
67613         (__stpncpy): Likewise.  Do not use BP_SYM.
67614         (stpncpy): Do not use BP_SYM in weak_alias.
67615         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67616         (PARMS): Do not use macros from bp-asm.h.
67617         (STR): Likewise.
67618         (CHR): Likewise.
67619         (strchr): Likewise.  Do not use BP_SYM.
67620         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67621         "bp-asm.h".
67622         (PARMS): Do not use macros from bp-asm.h.
67623         (STR): Likewise.
67624         (CHR): Likewise.
67625         (__strchrnul): Likewise.  Do not use BP_SYM.
67626         (strchrnul): Do not use BP_SYM in weak_alias.
67627         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67628         "bp-asm.h".
67629         (PARMS): Do not use macros from bp-asm.h.
67630         (STOP): Likewise.
67631         (strcspn): Do not use BP_SYM.
67632         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67633         "bp-asm.h".
67634         (PARMS): Do not use macros from bp-asm.h.
67635         (STR): Likewise.
67636         (STOP): Likewise.
67637         (strpbrk): Likewise.  Do not use BP_SYM.
67638         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67639         "bp-asm.h".
67640         (PARMS): Do not use macros from bp-asm.h.
67641         (STR): Likewise.
67642         (CHR): Likewise.
67643         (strrchr): Likewise.  Do not use BP_SYM.
67644         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67645         (PARMS): Do not use macros from bp-asm.h.
67646         (SKIP): Likewise.
67647         (strspn): Do not use BP_SYM.
67648         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67649         (PARMS): Do not use macros from bp-asm.h.
67650         (STR): Likewise.
67651         (DELIM): Likewise.
67652         (SAVE): Likewise.
67653         (FUNCTION): Likewise.  Do not use BP_SYM.
67654         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67655         aliases.
67656         (strtok_r): Likewise.
67657         (__GI___strtok_r): Likewise.
67658         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67659         (PARMS): Do not use macros from bp-asm.h.
67660         (S1): Likewise.
67661         (S2): Likewise.
67662         (SIZE): Likewise.
67663         (__mpn_sub_n): Do not use BP_SYM.
67664         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67665         "bp-asm.h".
67666         (PARMS): Do not use macros from bp-asm.h.
67667         (S1): Likewise.
67668         (SIZE): Likewise.
67669         (__mpn_submul_1): Do not use BP_SYM.
67670         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67671         <bp-sym.h>.
67672         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67673         and <bp-asm.h>.
67674         (PARMS): Do not use macros from bp-asm.h.
67675         (FLAGS): Likewise.
67676         (PTID): Likewise.
67677         (TLS): Likewise.
67678         (CTID): Likewise.
67679         (__clone): Do not use BP_SYM.
67680         (clone): Do not use BP_SYM in weak_alias.
67681         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67682         and <bp-asm.h>.
67683         (PARMS): Do not use macros from bp-asm.h.
67684         (LEN): Likewise.
67685         (__mmap64): Do not use BP_SYM.
67686         (mmap64): Do not use BP_SYM in weak_alias.
67687         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67688         <bp-sym.h> and <bp-asm.h>.
67689         (PARMS): Do not use macros from bp-asm.h.
67690         (__posix_fadvise64_l64): Do not use BP_SYM.
67691         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67692         (PARMS): Do not use macros from bp-asm.h.
67693         (NSOPS): Likewise.
67694         (semtimedop): Do not use BP_SYM.
67695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67696         and <bp-asm.h>.
67698 2013-02-21  Allan McRae  <allan@archlinux.org>
67700         * manual/message.texi (Charset conversion in gettext):
67701         Move @end statement to beginning of line.
67703 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67706         static.
67707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67708         Likewise.
67710         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67711         (denorm): Likewise.
67712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67715 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67717         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67718         tail-call to the resolved function if pltexit isn't needed.
67720 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67723         or Y being zero as being unlikely.
67724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67725         Likewise.
67727 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67729         * manual/nss.texi (System Databases and Name Service Switch):
67730         Remove frobnicate @pxref.
67732 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67734         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67735         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67737 2013-02-20  Petr Machata  <pmachata@redhat.com>
67739         * elf/elf.h (R_ARM_TARGET1): New macro.
67740         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67741         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67742         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67743         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67744         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67745         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67746         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67747         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67748         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67749         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67750         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67751         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67752         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67753         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67754         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67755         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67756         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67757         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67758         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67759         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67760         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67761         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67762         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67763         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67764         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67765         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67766         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67767         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67768         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67769         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67770         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67771         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67772         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67773         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67774         (R_ARM_THM_GOT_BREL12): Likewise.
67775         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67776         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67777         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67778         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67779         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67780         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67781         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67782         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67783         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67785 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67787         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67788         __attribute_used__ to __attribute__ ((unused)).
67790 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67792         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67793         powerpc mpa.c.
67794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67795         comment formatting.
67796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67798 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67800         [BZ #13550]
67801         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67802         Remove macro.
67803         (ENTER): Remove both macro definitions.
67804         (LEAVE): Likewise.
67805         (CHECK_BOUNDS_LOW): Likewise.
67806         (CHECK_BOUNDS_HIGH): Likewise.
67807         (CHECK_BOUNDS_BOTH): Likewise.
67808         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67809         (RETURN_BOUNDED_POINTER): Likewise.
67810         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67811         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67812         (POP_ERRNO_LOCATION_RETURN): Likewise.
67813         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67814         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67815         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67816         macros.
67817         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67818         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67819         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67820         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67821         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67822         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67823         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67824         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67825         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67826         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67827         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67828         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67829         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67830         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67831         removed macros.
67832         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67833         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67834         macros.
67835         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67836         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67837         * sysdeps/i386/i586/memset.S (memset): Likewise.
67838         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67839         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67840         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67841         macros.
67842         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67843         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67844         Change uses of L(2) to L(out).
67845         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67846         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67847         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67848         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67849         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67850         removed macros.
67851         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67852         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67853         macros.
67854         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67855         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67856         (RETURN): Do not use macro LEAVE.
67857         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67858         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67859         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67860         * sysdeps/i386/i686/memset.S (memset): Likewise.
67861         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67862         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67863         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67864         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67865         Likewise.
67866         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67867         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67868         L(1_2) and L(1_3) into L(1).
67869         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67870         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67871         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67872         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67873         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67874         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67875         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67877         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67878         macros.
67879         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67880         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67881         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67882         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67883         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67884         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67885         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67886         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67887         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67888         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67889         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67890         * sysdeps/i386/strspn.S (strspn): Likewise.
67891         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67892         conditional code.
67893         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67894         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67895         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67896         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67897         L(1_3) into L(1_1).
67898         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67899         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67900         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67901         macros.
67902         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67904 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67906         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67907         macro.
67909 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67911         * math/atest-exp.c (exp_mpn): Remove ROUND.
67912         * math/atest-exp2.c (exp_mpn): Likewise.
67913         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67915         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67916         * stdlib/tst-tls-atexit-lib.c: Likewise.
67917         * stdlib/tst-tls-atexit.c: Likewise.
67919 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67921         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67922         and __attribute_alloc_size__.
67924 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67926         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67927         __attribute_alloc_size__.
67928         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67929         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67931 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67933         * include/programs/xmalloc.h: New file.
67934         * catgets/gencat.c: Include it.
67935         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67936         * elf/pldd.c: Likewise.
67937         * iconv/iconv_charmap.c: Likewise.
67938         * iconv/iconvconfig.c: Likewise.
67939         * iconv/strtab.c: Likewise.
67940         * locale/programs/locale.c: Likewise.
67941         * locale/programs/localedef.h: Likewise.
67942         * locale/programs/simple-hash.c: Likewise.
67943         * nscd/nscd.h: Likewise.
67944         * nss/makedb.c: Likewise.
67945         * sysdeps/generic/ldconfig.h: Likewise.
67947 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67949         * Versions.def: Add GLIBC_2.18.
67950         * include/link.h (struct link_map): New member l_tls_dtor_count.
67951         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67952         (__call_tls_dtors): Likewise.
67953         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67954         __cxa_thread_atexit_impl.
67955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67956         Likewise.
67957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67958         Likewise.
67959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67960         Likewise.
67961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67962         Likewise.
67963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67965         Likewise.
67966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67967         Likewise.
67968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67970         Likewise.
67971         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67972         (tests): Add test case tst-tls-atexit.
67973         (modules-names): Add shared library for tst-tls-atexit.
67974         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67975         (GLIBC_PRIVATE): Add __call_tls_dtors.
67976         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67977         for libstdc++.
67978         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67979         * stdlib/tst-tls-atexit.c: New test case.
67980         * stdlib/tst-tls-atexit-lib.c: New test case.
67982         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67984         * elf/Versions (ld): Add _dl_find_dso_for_object.
67985         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67986         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67987         (dl_open_worker): Use _dl_find_dso_for_object.
67988         * elf/dl-sym.c (do_sym): Likewise.
67989         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67991 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67993         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67994         Syntactic changes only.
67995         (_dl_runtime_profile): Do a tail-call to the resolved function.
67997 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67999         [BZ #13550]
68000         * sysdeps/x86_64/bp-asm.h: Remove file.
68001         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68002         <bp-sym.h> and <bp-asm.h>.
68003         (__clone): Do not use BP_SYM.
68004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68005         <bp-sym.h> and <bp-asm.h>.
68006         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68007         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68008         "bp-asm.h".
68009         (_setjmp): Do not use BP_SYM.
68010         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68011         "bp-asm.h".
68012         (setjmp): Do not use BP_SYM.
68013         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68014         libc_hidden_def.
68015         (mempcpy): Do not use BP_SYM in weak_alias.
68016         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68017         "bp-asm.h".
68018         (strchr): Do not use BP_SYM.
68019         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68020         "bp-asm.h".
68021         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68022         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68023         (_start): Do not use BP_SYM.
68024         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68025         "bp-asm.h".
68026         (strcat): Do not use BP_SYM.
68027         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68028         "bp-asm.h".
68029         (STRCMP): Do not use BP_SYM.
68030         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68031         "bp-asm.h".
68032         (STRCPY): Do not use BP_SYM.
68033         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68034         "bp-asm.h".
68035         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68036         "bp-asm.h".
68037         (FUNCTION): Do not use BP_SYM.
68038         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68039         weak_alias.
68040         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68042 2013-02-17  Andreas Jaeger  <aj@suse.de>
68044         * time/Versions: Sort entries.
68045         * string/Versions: Likewise.
68046         * resolv/Versions: Likewise.
68047         * posix/Versions: Likewise.
68048         * iconv/Versions: Likewise.
68049         * elf/Versions: Likewise.
68050         * wcsmbs/Versions: Likewise.
68052 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68054         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68055         loop termination condition.
68057         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68058         variable to calculate EZ.
68059         (__sqr): Likewise.
68061         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68062         the lower precision input.
68064 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68066         [BZ #13550]
68067         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68068         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68069         (run-via-rtld-prefix): Do not handle %-bp tests.
68070         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68071         (all-object-suffixes): Remove .ob.
68072         (bppfx): Remove variable.
68073         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68074         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68075         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68076         [$(build-bounded) = yes] (libtype.ob): Likewise.
68077         * Makerules (elide-routines.ob): Remove variable.
68078         (do-tests-clean): Do not handle *-bp.out.
68079         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68080         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68081         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68082         (tests): Do not include $(tests-bp.out).
68083         (xtests): Do not include $(xtests-bp.out).
68084         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68085         [$(build-bounded) = yes] ($(addprefix
68086         $(objpfx),$(binaries-bounded))): Remove rule.
68087         ($(objpfx)%-bp.out): Remove rule.
68088         * config.make.in (build-bounded): Remove variable.
68089         * crypt/Makefile [$(build-bounded) = yes]
68090         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68091         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68092         append to variable.
68093         [$(build-bounded) = yes] (install-lib): Likewise.
68094         [$(build-bounded) = yes] (generated): Likewise.
68095         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68096         Remove rule.
68097         * intl/Makefile [$(build-bounded) = yes]
68098         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68099         * math/Makefile [$(build-bounded) = yes]
68100         ($(tests:%=$(objpfx)%-bp): Likewise.
68101         * misc/Makefile [$(build-bounded) = yes]
68102         ($(objpfx)tst-tsearch-bp): Likewise.
68103         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68104         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68105         Remove dependency.
68106         * string/Makefile (o-objects.ob): Remove variable.
68107         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68108         (CFLAGS-.ob): Remove variable.
68109         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68110         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68111         both definitions of variable.
68112         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68113         (ASFLAGS-.ob): Remove variable.
68115 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68117         [BZ #13550]
68118         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68119         Remove __BOUNDED_POINTERS__ from condition.
68120         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68121         * string/bits/string2.h [!__NO_STRING_INLINES &&
68122         !__BOUNDED_POINTERS__]: Likewise.
68123         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68124         Likewise.
68125         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68126         Remove conditional code.
68127         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68128         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68129         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68130         condition.
68132         [BZ #13550]
68133         * csu/libc-start.c: Do not include <bp-sym.h>.
68134         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68135         * elf/dl-open.c: Do not include <bp-sym.h>.
68136         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68137         * math/fegetenv.c: Do not include <bp-sym.h>.
68138         (fegetenv): Do not use BP_SYM in versioned symbols.
68139         * nptl/sysdeps/pthread/bits/libc-lockP.h
68140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68141         <bp-sym.h>.
68142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68143         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68145         (__pthread_mutex_destroy): Likewise.
68146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68147         (__pthread_mutex_lock): Likewise.
68148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68149         (__pthread_mutex_trylock): Likewise.
68150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68151         (__pthread_mutex_unlock): Likewise.
68152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68153         (__pthread_mutexattr_init): Likewise.
68154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68155         (__pthread_mutexattr_destroy): Likewise.
68156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68157         (__pthread_mutexattr_settype): Likewise.
68158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68159         (__pthread_rwlock_init): Likewise.
68160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68161         (__pthread_rwlock_destroy): Likewise.
68162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68163         (__pthread_rwlock_rdlock): Likewise.
68164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68165         (__pthread_rwlock_tryrdlock): Likewise.
68166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68167         (__pthread_rwlock_wrlock): Likewise.
68168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68169         (__pthread_rwlock_trywrlock): Likewise.
68170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68171         (__pthread_rwlock_unlock): Likewise.
68172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68173         (__pthread_key_create): Likewise.
68174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68175         (__pthread_setspecific): Likewise.
68176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68177         (__pthread_getspecific): Likewise.
68178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68179         Likewise.
68180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68181         (_pthread_cleanup_push_defer): Likewise.
68182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68183         (_pthread_cleanup_pop_restore): Likewise.
68184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68185         (pthread_setcancelstate): Likewise.
68186         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68187         <bp-sym.h>.
68188         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68189         (memchr): Do not use BP_SYM in weak_alias.
68190         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68191         (fegetenv): Do not use BP_SYM in versioned symbols.
68192         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68193         (fesetenv): Do not use BP_SYM in versioned symbols.
68194         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68195         (feupdateenv): Do not use BP_SYM in versioned symbols.
68196         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68197         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68198         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68199         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68200         (open64): Do not use BP_SYM in weak_alias.
68201         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68202         (fegetenv): Do not use BP_SYM in versioned symbols.
68203         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68204         (fesetenv): Do not use BP_SYM in versioned symbols.
68205         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68206         (feupdateenv): Do not use BP_SYM in versioned symbols.
68207         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68208         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68209         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68210         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68211         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68212         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68213         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68214         <bp-sym.h>.
68215         (__libc_start_main): Do not use BP_SYM.
68217 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68220         redundant return line.
68221         (norm): Likewise.
68222         (denorm): Likewise.
68223         (dbl_mp): Likewise.
68224         (sub_magnitudes): Likewise.
68225         (__add): Likewise.
68226         (__sub): Likewise.
68227         (__mul): Likewise.
68228         (__inv): Likewise.
68229         (__dvd): Likewise.
68230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68231         (norm): Likewise.
68232         (denorm): Likewise.
68233         (dbl_mp): Likewise.
68234         (sub_magnitudes): Likewise.
68235         (__add): Likewise.
68236         (__sub): Likewise.
68237         (__mul): Likewise.
68238         (__inv): Likewise.
68239         (__dvd): Likewise.
68241         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68242         instead of __mul.
68243         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68244         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68245         (cc32): Likewise.
68247         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68248         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68250         of __mul for squares.
68251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68252         function
68253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68254         Likewise.
68255         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68256         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68258 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68260         [BZ #13550]
68261         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68262         code.
68263         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68264         prototype or function definition.  Rename ubp_* variables and
68265         parameters.  Remove argv definitions conditional on
68266         [__BOUNDED_POINTERS__].
68267         * debug/backtrace.c (__backtrace): Do not use __unbounded.
68268         * elf/dl-runtime.c (_dl_fixup): Likewise.
68269         * include/set-hooks.h (RUN_HOOK): Likewise.
68270         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68271         definition.
68272         * string/strcpy.c (strcpy): Do not use __unbounded.
68273         * sysdeps/generic/frame.h (struct layout): Likewise.
68274         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68275         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68276         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68277         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68278         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68279         (__backtrace): Likewise.
68280         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68281         use __ptrvalue.
68282         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68283         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68284         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68285         Likewise.
68286         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68287         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68288         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68289         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68290         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68291         Do not use __unbounded.
68292         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68293         Rename __unboundedrlimits parameter to rlimits in prototype.
68294         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68295         Do not use __unbounded.
68296         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68297         not use __ptrvalue.
68298         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68299         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68300         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68301         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68302         __ptrvalue or __unbounded.
68303         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68304         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68305         use __unbounded.
68306         (__new_msgctl): Do not use __ptrvalue.
68307         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68308         __unbounded.
68309         (__libc_msgrcv): Do not use __ptrvalue.
68310         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68311         startup_info): Do not use __unbounded.
68312         (__libc_start_main): Likewise.  Rename ubp_* variables and
68313         parameters.  Remove argv definitions conditional on
68314         [__BOUNDED_POINTERS__].
68315         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68316         __ptrvalue.
68317         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68318         use __unbounded.
68319         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68320         or __ptrvalue.
68321         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68322         use __unbounded.
68323         (__new_shmctl): Do not use __ptrvalue.
68324         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68325         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68326         Likewise.
68327         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68328         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68329         (__libc_sigaction): Likewise.
68330         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68331         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68332         Likewise.
68333         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68335 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
68337         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68339         * string/mempcpy.c: Implement by calling memcpy.
68341 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
68343         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68345         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68346         evaluation.
68348         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68349         values in the mantissa.
68351         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68352         minimize writes to Z.
68353         (sub_magnitudes): Simplify code a bit.
68355 2013-02-12  Roland McGrath  <roland@hack.frob.com>
68357         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68358         from the message.  The linker prefixes all warnings with that already.
68360 2013-02-12  Andreas Schwab  <schwab@suse.de>
68362         [BZ #15078]
68363         * posix/regexec.c (extend_buffers): Add parameter min_len.
68364         (check_matching): Pass minimum needed length.
68365         (clean_state_log_if_needed): Likewise.
68366         (get_subexp): Likewise.
68367         * posix/Makefile (tests): Add bug-regex34.
68368         (bug-regex34-ENV): Define.
68369         * posix/bug-regex34.c: New file.
68371         [BZ #11561]
68372         * posix/regcomp.c (parse_bracket_exp): When looking up collating
68373         elements compare against the byte sequence of it, not its name.
68374         * posix/Makefile (tests): Add bug-regex35.
68375         (bug-regex35-ENV): Define.
68376         * posix/bug-regex35.c: New file.
68378 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68380         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68381         comment.
68382         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68383         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68384         (CHECK_EOL): Add undef.
68386 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68388         * bits/stdlib-bsearch.h: New file.
68389         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68390         * stdlib/stdlib.h: Likewise.
68392 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68394         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68395         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68396         declaration.
68397         * manual/search.texi (Array Search Function): Add missing const in
68398         lfind prototype.
68399         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68400         declaration to use rlim_t.
68401         (Basic Scheduling Functions): Remove erroneous const from
68402         sched_getparam prototype.  Remove erroneous * from
68403         sched_get_priority_max and sched_get_priority_min prototypes.
68404         (Resource Usage): Fix summary @comment on vtimes to refer to
68405         sys/vtimes.h rather than vtimes.h.
68406         Add missing *s in vtimes prototype.
68407         (Limits on Resources): Fix ulimit prototype to return long int.
68408         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68409         prototypes to use long int rather than double.
68410         (BSD Random): Fix initstate and setstate to use char *, not void *.
68411         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68412         prototype to make second argument 'struct aiocb64 *const[]'.
68413         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68414         (Status of AIO Operations): Remove erroneous const in aio_return and
68415         aio_return64 prototypes.
68416         (Synchronizing I/O): Fix sync prototype to return void.
68417         * manual/startup.texi (Suboptions): Remove an erroneous const in
68418         getsubopt prototype.
68419         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68420         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68421         use size_t rather than int.
68422         (Scanning All Users): Likewise for getpwent_r.
68423         (Setting Groups): Add missing const to setgroups prototype.
68424         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68425         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68426         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68427         'const void *' rather than 'const char *'.
68428         (Host Address Functions): Likewise for inet_ntop.
68429         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68430         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68431         ssize_t for return value.
68432         (Sending Data): Likewise for send, sendto, sendmsg.
68433         (Socket Option Functions): Add a missing const in setsockopt prototype.
68434         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68435         use wchar_t for the argument.
68436         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68437         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68438         take no arguments.
68439         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68440         double/float/long double for second argument.
68441         Fix return types of significand, significandf, significandl.
68442         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68443         argument in fchmod prototype.
68444         (File Owner): Use uid_t and gid_t in fchown prototype.
68445         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68446         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68447         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68448         use 'const struct dirent **' as argument types to CMP function pointer
68449         argument.
68450         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68451         (File Times): Fix summary magic @comment for struct utimbuf and utime
68452         to refer to utime.h, not time.h.
68453         * manual/string.texi (Argz Functions): Add missing const in
68454         argz_extract and argz_next prototypes.
68455         (Finding Tokens in a String): Likewise for basename.
68456         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68457         (Copying and Concatenation): Fix typo in wmemmove prototype.
68458         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68459         (Signal Stack): Remove erroneous const in sigstack prototype.
68460         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68461         prototype.
68462         (Simple Calendar Time): Likewise for stime.
68463         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68464         prototype.
68465         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68466         say sys/sysctl.h instead.
68467         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68468         and vsyslog prototypes.
68470 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68472         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68473         Remove.
68475 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68477         * misc/sys/mman.h: Fix typo in mremap comment.
68479 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68481         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68482         the '\0' terminator.
68484 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68486         [BZ #13550]
68487         * debug/segfault.c: Don't include <bp-checks.h>.
68488         * sysdeps/generic/bp-checks.h: Remove file.
68489         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68490         (__GETDENTS): Don't use CHECK_N.
68491         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68492         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68493         (__getgroups): Don't use CHECK_N.
68494         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68495         (setgroups): Don't use CHECK_N.
68496         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68497         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68498         (__libc_msgrcv): Don't use CHECK_N.
68499         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68500         (__libc_msgsnd): Don't use CHECK_N.
68501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68502         <bp-checks.h>.
68503         (__libc_pread): Don't use CHECK_N.
68504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68505         include <bp-checks.h>.
68506         (__libc_pread64): Don't use CHECK_N.
68507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68508         include <bp-checks.h>.
68509         (__libc_pwrite): Don't use CHECK_N.
68510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68511         include <bp-checks.h>.
68512         (__libc_pwrite64): Don't use CHECK_N.
68513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68514         <bp-checks.h>.
68515         (__libc_pread): Don't use CHECK_N.
68516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68517         include <bp-checks.h>.
68518         (__libc_pread64): Don't use CHECK_N.
68519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68520         include <bp-checks.h>.
68521         (__libc_pwrite): Don't use CHECK_N.
68522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68523         include <bp-checks.h>.
68524         (__libc_pwrite64): Don't use CHECK_N.
68525         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68526         (do_pread): Don't use CHECK_N.
68527         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68528         (do_pread64): Don't use CHECK_N.
68529         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68530         (do_pwrite): Don't use CHECK_N.
68531         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68532         (do_pwrite64): Don't use CHECK_N.
68533         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68534         (__libc_readv): Don't use CHECK_N.
68535         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68536         (semop): Don't use CHECK_N.
68537         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68538         <bp-checks.h>.
68539         (semtimedop): Don't use CHECK_N.
68540         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68541         (__libc_pread): Don't use CHECK_N.
68542         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68543         <bp-checks.h>.
68544         (__libc_pread64): Don't use CHECK_N.
68545         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68546         <bp-checks.h>.
68547         (__libc_pwrite): Don't use CHECK_N.
68548         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68549         <bp-checks.h>.
68550         (__libc_pwrite64): Don't use CHECK_N.
68551         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68552         <bp-checks.h>.
68553         (__libc_msgrcv): Don't use CHECK_N.
68554         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68555         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68556         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68557         (__libc_writev): Don't use CHECK_N.
68559 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68561         * string/strcpy.c: Removed unused variable.
68563         * Makeconfig (+sysdep-includes): Define with := rather than =.
68564         Use an existing include/ subdir of each sysdeps dir before it.
68566 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68568         * nscd/connection.c (register_traced_file): Comment function.
68569         [HAVE_INOTIFY] (union __inev): Define.
68570         [HAVE_INOTIFY] (inotify_check_files): New function.
68571         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68572         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68573         clear_db_cache.
68574         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68576 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68578         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68579         loaded if not already and that a failure is permanent.
68581 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68583         [BZ #15006]
68584         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68585         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68587 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68589         [BZ #13550]
68590         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68591         (CHECK_1_NULL_OK): Likewise.
68592         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68593         (__fxstat): Do not use CHECK_1.
68594         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68595         <bp-checks.h>.
68596         (___fxstat64): Do not use CHECK_1.
68597         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68598         <bp-checks.h>.
68599         (__fxstatat): Do not use CHECK_1.
68600         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68601         <bp-checks.h>.
68602         (__fxstatat64): Do not use CHECK_1.
68603         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68604         <bp-checks.h>.
68605         (__fxstat): Do not use CHECK_1.
68606         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68607         <bp-checks.h>.
68608         (__fxstatat): Do not use CHECK_1.
68609         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68610         <bp-checks.h>.
68611         (__getresgid): Do not use CHECK_1.
68612         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68613         <bp-checks.h>.
68614         (__getresuid): Do not use CHECK_1.
68615         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68616         <bp-checks.h>.
68617         (__lxstat): Do not use CHECK_1.
68618         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68619         <bp-checks.h>.
68620         (__old_msgctl): Do not use CHECK_1.
68621         (__new_msgctl): Likewise.
68622         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68623         <bp-checks.h>.
68624         (__new_setrlimit): Do not use CHECK_1.
68625         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68626         <bp-checks.h>.
68627         (__old_shmctl): Do not use CHECK_1.
68628         (__new_shmctl): Likewise.
68629         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68630         <bp-checks.h>.
68631         (__xstat): Do not use CHECK_1.
68632         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68633         (__lxstat): Do not use CHECK_1.
68634         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68635         <bp-checks.h>.
68636         (___lxstat64): Do not use CHECK_1.
68637         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68638         (__old_msgctl): Do not use CHECK_1.
68639         (__new_msgctl): Likewise.
68640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68641         <bp-checks.h>.
68642         (__gettimeofday): Do not use CHECK_1.
68643         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68644         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68645         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68646         <bp-checks.h>.
68647         (__gettimeofday): Do not use CHECK_1.
68648         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68649         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68650         (__new_shmctl): Do not use CHECK_1.
68651         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68652         <bp-checks.h>.
68653         (do_sigtimedwait): Do not use CHECK_1.
68654         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68655         <bp-checks.h>.
68656         (do_sigwaitinfo): Do not use CHECK_1.
68657         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68658         <bp-checks.h>.
68659         (msgctl): Do not use CHECK_1.
68660         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68661         <bp-checks.h>.
68662         (shmctl): Do not use CHECK_1.
68663         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68664         (ustat): Do not use CHECK_1.
68665         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68666         <bp-checks.h>.
68667         (__fxstat): Do not use CHECK_1.
68668         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68669         <bp-checks.h>.
68670         (__fxstatat): Do not use CHECK_1.
68671         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68672         <bp-checks.h>.
68673         (__lxstat): Do not use CHECK_1.
68674         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68675         <bp-checks.h>.
68676         (__xstat): Do not use CHECK_1.
68677         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68678         (__xstat): Do not use CHECK_1.
68679         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68680         (___xstat64): Do not use CHECK_1.
68682         [BZ #13550]
68683         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68684         definitions.
68685         (CHECK_BOUNDS_HIGH): Likewise.
68686         * string/strcpy.c: Do not include <bp-checks.h>.
68687         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68689 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68691         * nscd/nscd-client.h (__nscd_drop_map_ref):
68692         Add __attribute__ ((unused)).
68693         * nis/nss-nisplus.h (niserr2nss): Likewise.
68695         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68696         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68698         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68699         Remove inline keyword.
68700         * include/rounding-mode.h (round_away): Likewise.
68701         * libio/wfileops.c (adjust_wide_data): Likewise.
68702         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68703         (__m128i_strloadu_tolower): Likewise.
68704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68705         (__m128i_strloadu_tolower): Likewise.
68706         * time/mktime.c (ydhms_diff): Likewise.
68707         * locale/elem-hash.h (elem_hash): Likewise.
68708         * locale/setlocale.c (setdata): Likewise.
68709         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68710         (re_string_wchar_at): Likewise.
68711         (bitset_not, bitset_merge, bitset_mask): Likewise.
68712         [!(__GNUC__ > 3)] (inline): Remove macro.
68713         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68714         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68715         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68716         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68717         * string/memcmp.c (memcmp_bytes): Likewise.
68718         * locale/programs/locarchive.c (compute_hashval): Likewise.
68719         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68720         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68721         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68722         * nss/getent.c (print_rpc, print_protocols): Likewise.
68723         (print_passwd, print_group, print_aliases): Likewise.
68724         * nis/nss-nisplus.h (niserr2nss): Likewise.
68725         * nscd/connections.c (restart_p): Likewise.
68726         Change return type to bool.
68728 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68730         * Makeconfig (all-Depend-files): Add existing
68731         $(sorted-subdirs:=/Depend) files.
68732         (all-subdirs): Remove nss.
68733         * sysdeps/unix/inet/Subdirs: Add it here instead.
68734         * hesiod/Depend: New file.
68736         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68737         instead of calling alloca.
68739         * io/lseek.c (__lseek): Rename to __libc_lseek.
68740         Define __lseek as an alias.
68742         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68744 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68746         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68747         else clause and remove check for non-standard endianness.
68749 2013-02-04  David S. Miller  <davem@davemloft.net>
68751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68753 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68755         [BZ #13550]
68756         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68757         (__ubp_memchr): Remove prototype.
68758         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68759         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68760         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68761         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68762         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68763         Remove alias.
68764         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68765         (__ubp_memchr): Likewise.
68766         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68767         (__ubp_memchr): Likewise.
68768         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68769         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68770         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68771         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68772         CHECK_STRING.
68773         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68774         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68775         (__getcwd): Do not use CHECK_STRING.
68776         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68777         <bp-checks.h>.
68778         (__real_chown): Do not use CHECK_STRING.
68779         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68780         <bp-checks.h>.
68781         (fchownat): Do not use CHECK_STRING.
68782         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68783         CHECK_STRING.
68784         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68785         <bp-checks.h>.
68786         (__lchown): Do not use CHECK_STRING.
68787         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68788         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68789         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68790         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68792         include <bp-checks.h>.
68793         (truncate64): Do not use CHECK_STRING.
68794         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68795         <bp-checks.h>.
68796         (__real_chown): Do not use CHECK_STRING.
68797         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68798         <bp-checks.h>.
68799         (__lchown): Do not use CHECK_STRING.
68800         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68801         <bp-checks.h>.
68802         (__chown): Do not use CHECK_STRING.
68803         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68804         <bp-checks.h>.
68805         (truncate64): Do not use CHECK_STRING.
68806         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68807         Likewise.
68808         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68809         (__xmknod): Do not use CHECK_STRING.
68810         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68811         <bp-checks.h>.
68812         (__xmknodat): Do not use CHECK_STRING.
68813         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68814         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68816 2013-02-04  Andreas Schwab  <schwab@suse.de>
68818         [BZ #14142]
68819         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68820         * include/netdb.h: Likewise for h_errno.
68821         * elf/tst-stackguard1.c: Include <tls.h>.
68823 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68825         * elf/link.h (struct link_map): Extend the l_addr comment.
68826         * include/link.h (struct link_map): Likewise.
68828 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68830         [BZ #13550]
68831         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68832         (BOUNDED_1): Remove macro.
68833         * debug/backtrace.c: Don't include <bp-checks.h>.
68834         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68835         (__backtrace): Likewise.
68836         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68837         <bp-checks.h>.
68838         (__backtrace): Don't use BOUNDED_1.
68839         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68840         <bp-checks.h>.
68841         (__backtrace): Don't use BOUNDED_1.
68842         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68843         (__backtrace): Don't use BOUNDED_1.
68844         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68845         (shmat): Don't use BOUNDED_N.
68847 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68849         [BZ #13550]
68850         * sysdeps/generic/bp-start.h: Remove file.
68851         * csu/libc-start.c: Don't include <bp-start.h>.
68852         (LIBC_START_MAIN): Set up __environ directly instead of using
68853         INIT_ARGV_and_ENVIRON.
68854         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68855         <bp-start.h>.
68857         [BZ #13550]
68858         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68859         definitions.
68860         (CHECK_FCNTL): Likewise.
68861         (CHECK_N_PAGES): Likewise.
68863         [BZ #13550]
68864         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68865         definitions.
68866         (CHECK_SIGSET_NULL_OK): Likewise.
68867         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68868         <bp-checks.h>.
68869         (sigpending): Don't use CHECK_SIGSET.
68870         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68871         <bp-checks.h>.
68872         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68873         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68874         <bp-checks.h>.
68875         (do_sigsuspend): Don't use CHECK_SIGSET.
68876         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68877         use CHECK_SIGSET.
68878         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68879         (do_sigwait): Don't use CHECK_SIGSET.
68880         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68881         use CHECK_SIGSET.
68882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68883         include <bp-checks.h>.
68884         (sigpending): Don't use CHECK_SIGSET.
68885         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68886         include <bp-checks.h>.
68887         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68888         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68889         <bp-checks.h>.
68890         (sigpending): Don't use CHECK_SIGSET.
68891         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68892         <bp-checks.h>.
68893         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68895         [BZ #13550]
68896         * sysdeps/generic/bp-semctl.h: Remove file.
68897         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68898         <bp-checks.h> and <bp-semctl.h>.
68899         (__old_semctl): Don't use CHECK_SEMCTL.
68900         (__new_semctl): Likewise.
68901         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68902         and <bp-semctl.h>.
68903         (__old_semctl): Don't use CHECK_SEMCTL.
68904         (__new_semctl): Likewise.
68905         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68906         <bp-checks.h> and <bp-semctl.h>.
68907         (__old_semctl): Don't use CHECK_SEMCTL.
68908         (__new_semctl): Likewise.
68909         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68910         <bp-checks.h> and <bp-semctl.h>.
68911         (semctl): Don't use CHECK_SEMCTL.
68913         [BZ #13550]
68914         * Makerules (elide-bp-thunks): Remove variable.
68915         (elide-routines.oS): Don't use $(elide-bp-thunks).
68916         (elide-routines.os): Likewise.
68917         (elide-routines.o): Likewise.
68918         (elide-routines.op): Likewise.
68919         (elide-routines.og): Likewise.
68920         (objects): Don't use $(bp-thunks).
68921         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68922         include.
68923         (common-generated): Do not add s-proto-bp.d.
68924         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68925         (int): Likewise.
68926         (typ): Likewise.
68927         Do not generate makefile rules for bounded-pointer thunks.
68928         * sysdeps/generic/bp-thunks.h: Remove file.
68929         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68930         * sysdeps/unix/s-proto-bp.S: Likewise.
68932         [BZ #15062]
68933         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68934         parts of result separately when argument is not close to line from
68935         -i to i and one part of argument is small.
68936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68938         * math/libm-test.inc (cacos_test): Add more tests.
68939         (casin_test): Likewise.
68940         (casinh_test): Likewise.
68941         * sysdeps/i386/fpu/libm-test-ulps: Update.
68942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68944 2013-01-31  David S. Miller  <davem@davemloft.net>
68946         * po/de.po: Update from translation team.
68948 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68950         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68952 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68954         * configure.in (_AC_PROG_CC_C89): New definition.
68955         * configure: Regenerate.
68957         * configure.in (AC_PROG_CPP): New definition.
68958         * configure: Regenerate.
68960 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68962         * debug/tst-backtrace.h: New file.
68963         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68964         (ret): Remove variable.
68965         (x): Likewise.
68966         (FAIL): Remove macro.
68967         (NO_INLINE): Likewise.
68968         (fn1): Use match function instead of strstr.
68969         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68970         (ret): Remove variable.
68971         (x): Likewise.
68972         (FAIL): Remove macro.
68973         (NO_INLINE): Likewise.
68974         (fn): Use match function instead of strstr.
68975         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68976         (ret): Remove variable.
68977         (x): Likewise.
68978         (FAIL): Remove macro.
68979         (NO_INLINE): Likewise.
68980         (handle_signal): Use match function instead of strstr.
68981         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68982         (ret): Remove variable.
68983         (x): Likewise.
68984         (FAIL): Remove macro.
68985         (NO_INLINE): Likewise.
68986         (handle_signal): Use match function instead of strstr.
68988 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68990         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68992 2013-01-23  David S. Miller  <davem@davemloft.net>
68994         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68995         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68996         argument of CAS if possible.
68997         * sysdeps/sparc/sparc64/bits/atomic.h
68998         (__arch_compare_and_exchange_val_32_acq): Likewise.
68999         (__arch_compare_and_exchange_val_64_acq): Likewise.
69001 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69003         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69004         * sysdeps/posix/ulimit.c: ... this.
69005         Include <limits.h>.
69006         * sysdeps/unix/bsd/ulimit.c: Remove file.
69008 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69010         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69011         (LDFLAGS-tst-array5): Likewise.
69013 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69015         [BZ #15036]
69016         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69017         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69018         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69019         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69021 2013-01-21  David S. Miller  <davem@davemloft.net>
69023         * sysdeps/sparc/backtrace.c: New file.
69024         * sysdeps/sparc/sparc32/backtrace.h: New file.
69025         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69026         * sysdeps/sparc/sparc64/backtrace.h: New file.
69027         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69028         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69029         -funwind-tables.
69031 2013-01-21  Andreas Schwab  <schwab@suse.de>
69033         [BZ #15020]
69034         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69035         closed its stdout.
69037 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69040         "mpa2.h".
69041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69043 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69044             Mark Mitchell  <mark@codesourcery.com>
69045             Tom de Vries  <tom@codesourcery.com>
69046             Paul Pluzhnikov  <ppluzhnikov@google.com>
69048         * debug/tst-backtrace2.c: New file.
69049         * debug/tst-backtrace3.c: Likewise.
69050         * debug/tst-backtrace4.c: Likewise.
69051         * debug/tst-backtrace5.c: Likewise.
69052         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69053         (CFLAGS-tst-backtrace3.c): Likewise.
69054         (CFLAGS-tst-backtrace4.c): Likewise.
69055         (CFLAGS-tst-backtrace5.c): Likewise.
69056         (LDFLAGS-tst-backtrace2): Likewise.
69057         (LDFLAGS-tst-backtrace3): Likewise.
69058         (LDFLAGS-tst-backtrace4): Likewise.
69059         (LDFLAGS-tst-backtrace5): Likewise.
69060         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69061         tst-backtrace4 and tst-backtrace5.
69063 2013-01-18  Anton Blanchard  <anton@samba.org>
69064             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69066         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69067         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69068         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69069         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69071         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69072         "+r" and remove output regs list as redundant.  Add explicit inline
69073         asm to specify register of return val to work around compiler codegen
69074         bug.  Remove (int) cast on return value.  Add return type parameter to
69075         use in macro so that this macro does not truncate return value for
69076         64-bit values.
69077         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69078         pass to INTERNAL_VSYSCALL_NCS.
69079         (INLINE_VSYSCALL): Add 'long int' as return type to
69080         INTERNAL_VSYSCALL_NCS macro invocation.
69081         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69082         INTERNAL_VSYSCALL_NCS macro invocation.
69083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69085 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69087         [BZ #14496]
69088         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69089         Fix application of SIMD FP exception mask.
69091         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69092         mp_no from a power of two.
69093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69094         __mpexp_twomm1.  Use __pow_mp.
69096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69097         multiplication.
69099 2013-01-17  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69103 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69105         [BZ #15023]
69106         * include/complex.h: Condition contents on [!_COMPLEX_H].
69107         (__kernel_casinhf): New prototype.
69108         (__kernel_casinh): Likewise.
69109         (__kernel_casinhl): Likewise.
69110         * math/Makefile (libm_calls): Add k_casinh.
69111         * math/k_casinh.c: New file.
69112         * math/k_casinhf.c: Likewise.
69113         * math/k_casinhl.c: Likewise.
69114         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69115         finite nonzero arguments.
69116         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69117         finite nonzero arguments.
69118         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69119         finite nonzero arguments.
69120         * math/s_casinh.c: Do not include <float.h>.
69121         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69122         * math/s_casinhf.c: Do not include <float.h>.
69123         (__casinhf): Move code for finite nonzero arguments to
69124         k_casinhf.c.
69125         * math/s_casinhl.c: Do not include <float.h>.
69126         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69127         redefine.
69128         (__casinhl): Move code for finite nonzero arguments to
69129         k_casinhl.c.
69130         * math/libm-test.inc (cacos_test): Add more tests.
69131         * sysdeps/i386/fpu/libm-test-ulps: Update.
69132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69134 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69136         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69137         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69138         [!HAVE_MREMAP]: Remove [defined linux] case.
69139         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69141 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69143         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69145 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69147         * elf/elf.h (R_386_SIZE32): New relocation.
69148         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69149         R_386_SIZE32.
69150         (elf_machine_rela): Likewise.
69151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69152         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69154 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69156         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69157         (FP_FAST_FMA): Do not define.
69158         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69159         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69160         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69161         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69162         !_SOFT_FLOAT]: Likewise.
69163         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69164         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69165         value.
69166         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69167         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69168         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69169         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69170         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69171         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69172         file.
69174 2013-01-16  Andreas Schwab  <schwab@suse.de>
69176         [BZ #14327]
69177         * include/stdlib.h (__mktemp): Add declaration.
69178         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69179         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69181 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69183         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69184         definitions.
69185         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69186         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69187         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69188         definitions here.
69189         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69190         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69191         definitions.
69192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69193         and ONE.
69194         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69195         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69196         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69197         definitions.
69198         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69199         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69200         definitions.
69201         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69203         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69205 2013-01-15  David S. Miller  <davem@davemloft.net>
69207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69208         trunc{,f} to libm-sysdep_routes.
69209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69211         file.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69214         file.
69215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69216         file.
69217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69219         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69220         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69221         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69222         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69223         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69224         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69227         nearbyint{,f} to libm-sysdep_routes.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69230         New file.
69231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69232         file.
69233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69234         New file.
69235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69236         file.
69237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69239         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69240         file.
69241         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69242         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69243         file.
69244         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69245         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69246         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69248         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69249         libc_feholdexcept and libc_fesetenv.
69251 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69253         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69255 2013-01-14  David S. Miller  <davem@davemloft.net>
69257         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69258         (SPARC_ASM_VIS2_IFUNC): Likewise.
69259         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69261         use of 'siam' instruction.
69262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69263         Likewise.
69264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69265         Likewise.
69266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69267         Likewise.
69268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69273         file.
69274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69275         file.
69276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69277         file.
69278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69279         file.
69280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69285         new VIS2 routines.
69286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69289         Likewise.
69290         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69295         routines to libm-sysdep_routines.
69296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69299         fdim/fdimf to libm-sysdep_routines.
69300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69301         file.
69302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69304         file.
69305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69308         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69309         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69310         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69311         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69313 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69315         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69316         to optimize copies.
69318         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69323         local variable MPTWO.
69324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69325         Likewise.
69327 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69329         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69330         GLOB_NOESCAPE.
69332 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69334         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69336 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69338         * manual/pattern.texi (glob_t): Document gl_flags.
69339         (glob64_t): Likewise.
69341 2013-01-11  David S. Miller  <davem@davemloft.net>
69343         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69344         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69345         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
69346         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69347         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69348         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69349         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69350         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69351         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69352         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69353         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69354         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69355         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69357         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69358         sparc V9 rather than using V8 code.
69359         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69360         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69362         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69363         Move to...
69364         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69365         Here.
69367 2013-01-11  Roland McGrath  <roland@hack.frob.com>
69369         [BZ #14941]
69370         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69371         not in the main loop.
69372         * configure: Regenerated.
69374 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
69376         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69377         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69378         to just #else.
69379         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69380         [!__GLIBC_HAVE_LONG_LONG] case.
69381         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69382         condition to just #else.
69383         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69384         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69385         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69386         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69387         unconditional.
69388         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69389         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69390         #elif condition to just #else.
69391         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69392         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69393         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69394         #elif condition to just #else.
69396 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69398         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69399         (EF_MIPS_ARCH_64): Fix value.
69400         (EF_MIPS_ARCH_32R2): New.
69401         (EF_MIPS_ARCH_64R2): New.
69403 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69405         * Makeconfig (+link-pie-before-libc): New.
69406         (+link-pie-after-libc): Likewise.
69407         (+link-pie-tests): Likewise.
69408         (+link-pie): Rewritten.
69409         (link-before-libc): Remove $(config-LDFLAGS).
69410         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69411         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69412         (config-LDFLAGS): Renamed to ...
69413         (rtld-LDFLAGS): This.
69414         (rtld-tests-LDFLAGS): New macro.
69415         (link-libc-rpath-link): Likewise.
69416         (link-libc-tests-rpath-link): Likewise.
69417         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69418         (link-libc): Prepand $(link-libc-rpath-link).
69419         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69420         (test-program-prefix): New macro.
69421         (test-via-rtld-prefix): Likewise.
69422         (test-program-cmd): Likewise.
69423         (host-test-program-cmd): Likewise.
69424         * Makefile ($(common-objpfx)testrun.sh): Replace
69425         $(run-program-prefix) with $(test-program-prefix).
69426         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69427         $(rtld-LDFLAGS).
69428         ($(common-objpfx)shlib.lds): Likewise.
69429         (build-module-helper): Likewise.
69430         ($(common-objpfx)format.lds): Likewise.
69431         * Rules (binaries-pie-tests): New.
69432         (binaries-pie-notests): Likewise.
69433         (binaries-pie): Rewritten.
69434         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69435         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69436         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69437         (make-test-out): Replace $(host-built-program-cmd) with
69438         $(host-test-program-cmd).
69439         * config.make.in (build-hardcoded-path-in-tests): New variable.
69440         * configure.in (--enable-hardcoded-path-in-tests): New configure
69441         option.
69442         (hardcoded_path_in_tests): New AC_SUBST.
69443         * configure: Regenerated.
69444         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69445         $(built-program-cmd) with $(test-program-cmd).
69446         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69447         (test_program_cmd): This.
69448         * elf/Makefile ($(objpfx)order.out): Run test with
69449         $(test-program-prefix).
69450         ($(objpfx)order2.out): Likewise.
69451         ($(objpfx)tst-initorder.out): Likewise.
69452         ($(objpfx)tst-initorder2.out): Likewise.
69453         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69454         $(test-program-cmd).
69455         ($(objpfx)tst-array1-static.out): Likewise.
69456         ($(objpfx)tst-array2.out): Likewise.
69457         ($(objpfx)tst-array3.out): Likewise.
69458         ($(objpfx)tst-array4.out): Likewise.
69459         ($(objpfx)tst-array5.out): Likewise.
69460         ($(objpfx)tst-array5-static.out): Likewise.
69461         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69462         $(test-program-cmd).
69463         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69464         $(run-program-prefix) with $(test-program-prefix).
69465         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69466         (test_program_prefix): This.
69467         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69468         $(run-program-prefix) with $(test-program-prefix).
69469         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69470         (test_program_prefix): This.
69471         * iconvdata/tst-tables.sh: Likewise.
69472         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69473         $(run-program-prefix) with $(test-program-prefix).
69474         ($(objpfx)tst-translit.out): Likewise.
69475         ($(objpfx)tst-gettext2.out): Likewise.
69476         ($(objpfx)tst-gettext4.out): Likewise.
69477         ($(objpfx)tst-gettext6.out): Likewise.
69478         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69479         (test_program_prefix): This.
69480         * intl/tst-gettext2.sh: Likewise.
69481         * intl/tst-gettext4.sh  Likewise.
69482         * intl/tst-gettext6.sh: Likewise.
69483         * intl/tst-translit.sh: Likewise.
69484         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69485         with $(test-program-cmd).
69486         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69487         $(run-program-prefix) with $(test-program-prefix).
69488         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69489         (test_program_prefix): This.
69490         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69491         $(run-program-prefix) with $(test-program-prefix).
69492         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69493         (test_program_prefix): This.
69494         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69495         * posix/Makefile ($(objpfx)globtest.out): Replace
69496         $(run-via-rtld-prefix) and $(test-wrapper) with
69497         $(test-program-prefix) and $(test-via-rtld-prefix).
69498         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69499         $(test-program-prefix).
69500         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69501         $(host-test-program-cmd).
69502         (tst-spawn-ARGS): Likewise.
69503         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69504         $(test-program-prefix).
69505         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69506         (test_via_rtld_prefix): This.
69507         (test_wrapper): Renamed to ...
69508         (test_program_prefix): This.
69509         (run_program_prefix): Replaced by test_program_prefix.
69510         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69511         (test_program_prefix): This.
69512         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69513         with $(host-test-program-cmd).
69514         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69515         $(run-program-prefix) with $(test-program-prefix).
69516         ($(objpfx)tst-printf.out): Likewise.
69517         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69518         $(test-program-cmd).
69519         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69520         (test_program_prefix): This.
69521         * stdio-common/tst-unbputc.sh: Likewise.
69522         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69523         $(run-program-prefix) with $(test-program-prefix).
69524         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69525         (test_program_prefix): This.
69526         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69527         $(built-program-cmd) with $(test-program-cmd).
69529 2013-01-11  Andreas Jaeger  <aj@suse.de>
69531         [BZ #15003]
69532         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69533         value. Sync with Linux 3.7.
69535 2013-01-10  David S. Miller  <davem@davemloft.net>
69537         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69538         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69539         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69541 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69543         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69544         never set.
69545         * configure: Regenerated.
69547 2013-01-10  David S. Miller  <davem@davemloft.net>
69549         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69550         sparc V9 rather than using V8 code.
69551         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69552         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69554 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69556         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69557         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69558         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69559         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69560         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69561         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69562         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69563         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69564         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69565         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69566         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69567         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69568         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69569         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69570         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69571         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69572         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69573         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69574         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69575         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69576         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69577         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69578         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69579         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69580         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69581         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69582         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69584 2013-01-10  David S. Miller  <davem@davemloft.net>
69586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69588 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69590         * posix/Makefile (tests-static): New variable.
69591         (tests): Add $(tests-static).
69592         (tst-exec-static-ARGS): New variable.
69593         (tst-spawn-static-ARGS): Likewise.
69594         * posix/tst-exec-static.c: New file.
69595         * posix/tst-spawn-static.c: Likewise.
69596         * posix/tst-exec.c: Support run directly.
69597         * posix/tst-spawn.c: Likewise.
69599 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69601         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69602         long.
69603         * math/bits/mathcalls.h (llrint): Likewise.
69604         (llround): Likewise.
69605         * stdlib/stdlib.h (struct drand48_data): Likewise.
69606         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69607         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69608         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69609         Likewise.
69610         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69611         Likewise.
69612         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69613         (elf_greg_t): Likewise.
69614         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69615         (__jmp_buf): Likewise.
69616         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69617         definitions.
69618         (llrint): Likewise, for all definitions.
69619         (llrintl): Likewise.
69621         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69622         Remove [__GNUC__] condition.
69623         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69624         condition to just [__USE_ISOC99].
69625         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69627 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69629         [BZ #14200]
69630         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69631         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69632         defined.
69633         (_POSIX_V6_ILP32_OFF32): Likewise.
69634         (_XBS5_ILP32_OFF32): Likewise.
69635         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69636         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69638 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69640         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69643         doubles __mpexp_twomm1.  Adjust usage.
69644         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69645         Remove.
69647 2013-01-10  Andreas Schwab  <schwab@suse.de>
69649         [BZ #14964]
69650         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69651         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69653 2013-01-09  David S. Miller  <davem@davemloft.net>
69655         [BZ #15003]
69656         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69657         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69658         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69659         (TCP_FASTOPEN): Define.
69660         (tcp_repair_opt): New structure.
69661         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69662         enum values.
69663         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69664         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69665         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69666         (tcp_cookie_transactions): New structure.
69668 2013-01-09  Anton Blanchard  <anton@samba.org>
69670         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69671         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69672         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69673         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69675 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69677         * include/features.h (__USE_ANSI): Remove.
69679 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69681         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69683         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69685 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69687         * sysdeps/s390/fpu/libm-test-ulps: Update.
69689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69691         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69692         (__acr): Likewise.
69693         (__cpy): Likewise.
69694         (norm): Likewise.
69695         (denorm): Likewise.
69696         (__mp_dbl): Likewise.
69697         (__dbl_mp): Likewise.
69698         (add_magnitudes): Likewise.
69699         (sub_magnitudes): Likewise.
69700         (__add): Likewise.
69701         (__sub): Likewise.
69702         (__mul): Likewise.
69703         (__inv): Likewise.
69704         (__dvd): Likewise.
69705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69706         (__acr): Likewise.
69707         (__cpy): Likewise.
69708         (norm): Likewise.
69709         (denorm): Likewise.
69710         (__mp_dbl): Likewise.
69711         (__dbl_mp): Likewise.
69712         (add_magnitudes): Likewise.
69713         (sub_magnitudes): Likewise.
69714         (__add): Likewise.
69715         (__sub): Likewise.
69716         (__mul): Likewise.
69717         (__inv): Likewise.
69718         (__dvd): Likewise.
69719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69720         (__acr): Likewise.
69721         (__cpy): Likewise.
69722         (norm): Likewise.
69723         (denorm): Likewise.
69724         (__mp_dbl): Likewise.
69725         (__dbl_mp): Likewise.
69726         (add_magnitudes): Likewise.
69727         (sub_magnitudes): Likewise.
69728         (__add): Likewise.
69729         (__sub): Likewise.
69730         (__mul): Likewise.
69731         (__inv): Likewise.
69732         (__dvd): Likewise.
69734 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69736         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69737         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69738         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69739         2 && __USE_EXTERN_INLINES]: Likewise.
69741 2013-01-08  Andreas Jaeger  <aj@suse.de>
69743         [BZ #14985]
69744         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69745         Remove.
69746         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69747         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69749 2013-01-07  Anton Blanchard  <anton@samba.org>
69751         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69752         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69753         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69754         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69755         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69756         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69757         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69758         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69760         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69761         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69762         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69763         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69764         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69765         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69767         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69769         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69770         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69771         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69772         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69774         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69775         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69776         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69777         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69778         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69779         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69780         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69781         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69783         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69784         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69785         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69786         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69787         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69788         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69789         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69790         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69791         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69792         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69793         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69795 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69797         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69798         (__MALLOC_PMT): Likewise.
69799         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69800         [__GNUC__], only on [_LIBC].
69801         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69802         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69803         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69804         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69805         forward declaration.
69806         (realloc_hook_ini): Likewise.
69807         (memalign_hook_ini): Likewise.
69808         (__libc_memalign): Do not use __MALLOC_PMT in variable
69809         declaration.
69810         (__libc_valloc): Likewise.
69811         (__libc_pvalloc): Likewise.
69812         (__libc_calloc): Likewise.
69813         (__posix_memalign): Likewise.
69815         [BZ #14996]
69816         * math/s_casinh.c: Include <float.h>.
69817         (__casinh): Do not do computation with squaring and square root
69818         for large arguments.
69819         * math/s_casinhf.c: Include <float.h>.
69820         (__casinhf): Do not do computation with squaring and square root
69821         for large arguments.
69822         * math/s_casinhl.c: Include <float.h>.
69823         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69824         (__casinhl): Do not do computation with squaring and square root
69825         for large arguments.
69826         * math/libm-test.inc (casin_test): Add more tests.
69827         (casinh_test): Likewise.
69828         * sysdeps/i386/fpu/libm-test-ulps: Update.
69829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69831 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69833         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69834         (__x86_64_raw_data_cache_size): Likewise.
69835         (__x86_64_data_cache_size_half): Likewise.
69836         (__x86_64_raw_data_cache_size_half): Likewise.
69837         (__x86_64_shared_cache_size): Likewise.
69838         (__x86_64_raw_shared_cache_size): Likewise.
69839         (__x86_64_shared_cache_size_half): Likewise.
69840         (__x86_64_raw_shared_cache_size_half): Likewise.
69841         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69842         to ...
69843         (__x86_data_cache_size): This.
69844         (__x86_64_raw_data_cache_size): Renamed to ...
69845         (__x86_raw_data_cache_size): This.
69846         (__x86_64_data_cache_size_half): Renamed to ...
69847         (__x86_data_cache_size_half): This.
69848         (__x86_64_raw_data_cache_size_half): Renamed to ...
69849         (__x86_raw_data_cache_size_half): This.
69850         (__x86_64_shared_cache_size): Renamed to ...
69851         (__x86_shared_cache_size): This.
69852         (__x86_64_raw_shared_cache_size): Renamed to ...
69853         (__x86_raw_shared_cache_size): This.
69854         (__x86_64_shared_cache_size_half): Renamed to ...
69855         (__x86_shared_cache_size_half): This.
69856         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69857         (__x86_raw_shared_cache_size_half): This.
69858         * sysdeps/x86_64/memcpy.S: Updated.
69859         * sysdeps/x86_64/memset.S: Likewise.
69860         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69861         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69862         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69864 2013-01-04  David S. Miller  <davem@davemloft.net>
69866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69868 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69870         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69871         1 to avoid redefinition warning.
69872         (__USE_GNU): Don't define.
69873         (init_signaling_nan): Protoize.
69875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69877 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69879         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69881         (__cpymn): Likewise.
69882         (norm): Remove commented code.
69883         (denorm): Likewise.
69884         (__mp_dbl): Likewise.
69885         (__inv): Likewise.
69886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69887         (__cpymn): Likewise.
69888         (norm): Remove commented code.
69889         (denorm): Likewise.
69890         (__mp_dbl): Likewise.
69891         (__inv): Likewise.
69893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69894         mp_no value for 1.0 and 2.0.
69895         (norm): Use RADIXI instead of radixi.d.
69896         (denorm): Likewise.
69897         (__mul): Use 0.0 instead of zero.d.
69898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69899         mp_no value for 1.0 and 2.0.
69900         (norm): Use RADIXI instead of radixi.d.
69901         (denorm): Likewise.
69902         (__mul): Use 0.0 instead of zero.d.
69904 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69906         [BZ #14994]
69907         * math/s_casinh.c (__casinh): Reduce finite argument to first
69908         quadrant then set signs of results at the end.
69909         * math/s_casinhf.c (__casinhf): Likewise.
69910         * math/s_casinhl.c (__casinhl): Likewise.
69911         * math/libm-test.inc (casin_test): Add more tests.
69912         (casinh_test): Likewise.
69913         * sysdeps/i386/fpu/libm-test-ulps: Update.
69914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69916 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69918         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69920         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69922         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69923         declarations.
69924         (denorm): Likewise.
69925         (__mp_dbl): Likewise.
69926         (__inv): Likewise.
69928         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69929         and adjust the header comment.
69931         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69932         variable name from declaration.
69934 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69937         Initialize COMMON_CPUID_INDEX_7 element.
69938         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69939         (CPUID_RTM): Likewise.
69940         (HAS_RTM): Likewise.
69941         (COMMON_CPUID_INDEX_7): New enum.
69943 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69945         [BZ #14981]
69946         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69947         size is zero, record memory as freed.
69949 2013-01-03  Andreas Jaeger  <aj@suse.de>
69951         * po/ia.po: Add new Interlingua translation.
69953 2012-01-03  Allan McRae  <allan@archlinux.org>
69955         * locale/programs/localedef.c: Fix description of '--posix' flag.
69957 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69959         * NEWS: Update dates in second copyright notice.
69960         * README: Update copyright dates in example.
69961         * manual/libc.texinfo: Update copyright dates.
69962         * scripts/test-installation.pl: Update copyright date in --version
69963         output.
69965         * hurd/ctty-input.c: Fix copyright notice formatting.
69966         * hurd/ctty-output.c: Likewise.
69967         * hurd/dtable.c: Likewise.
69968         * hurd/hurd-raise.c: Likewise.
69969         * hurd/hurdprio.c: Likewise.
69970         * hurd/msgportdemux.c: Likewise.
69971         * misc/sys/file.h: Likewise.
69972         * misc/sys/ioctl.h: Likewise.
69973         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69974         * sysdeps/mach/hurd/chdir.c: Likewise.
69975         * sysdeps/mach/hurd/fchdir.c: Likewise.
69976         * sysdeps/mach/hurd/rename.c: Likewise.
69977         * sysdeps/mach/hurd/rmdir.c: Likewise.
69978         * sysdeps/mach/hurd/seekdir.c: Likewise.
69979         * sysdeps/mach/hurd/setsid.c: Likewise.
69980         * sysdeps/posix/wait3.c: Likewise.
69982         * All files with FSF copyright notices: Update copyright dates
69983         using scripts/update-copyrights.
69984         * intl/plural.c: Regenerated.
69985         * locale/programs/charmap-kw.h: Likewise.
69986         * locale/programs/locfile-kw.h: Likewise.
69988 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69990         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69991         four values.
69993         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69994         calculation loop and add branch prediction.
69996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69997         check access beyond bounds of m1np.
69999         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70000         MPTWO.
70001         (__inv): Remove local variable MPTWO to use the global
70002         constant.
70003         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70005         variable MPTWO.
70006         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70007         MP3HALFS static const.
70009 2013-01-01  David S. Miller  <davem@davemloft.net>
70011         * po/ca.po: Update from translation team.
70013 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70015         * scripts/update-copyrights: New file.
70016         * Makeconfig: Reformat copyright notice.
70017         * ctype/ctype.h: Likewise.
70018         * debug/swprintf_chk.c: Likewise.
70019         * elf/dl-cache.c: Likewise.
70020         * elf/dl-debug.c: Likewise.
70021         * elf/dl-object.c: Likewise.
70022         * grp/initgroups.c: Likewise.
70023         * hurd/Makefile: Likewise.
70024         * hurd/hurd/signal.h: Likewise.
70025         * hurd/hurdfault.c: Likewise.
70026         * hurd/hurdioctl.c: Likewise.
70027         * hurd/hurdlookup.c: Likewise.
70028         * hurd/intr-msg.c: Likewise.
70029         * iconv/gconv_open.c: Likewise.
70030         * libio/swprintf.c: Likewise.
70031         * locale/lc-ctype.c: Likewise.
70032         * locale/nl_langinfo.c: Likewise.
70033         * mach/Machrules: Likewise.
70034         * mach/Makefile: Likewise.
70035         * malloc/obstack.h: Likewise.
70036         * manual/Makefile: Likewise.
70037         * manual/tsort.awk: Likewise.
70038         * misc/bits/stab.def: Likewise.
70039         * nis/nis_print_group_entry.c: Likewise.
70040         * nis/nis_table.c: Likewise.
70041         * nis/nss_compat/compat-pwd.c: Likewise.
70042         * nis/nss_compat/compat-spwd.c: Likewise.
70043         * po/Makefile: Likewise.
70044         * posix/fnmatch.c: Likewise.
70045         * posix/regex.h: Likewise.
70046         * resolv/Makefile: Likewise.
70047         * resolv/nss_dns/dns-network.c: Likewise.
70048         * resolv/res_hconf.c: Likewise.
70049         * scripts/gen-sorted.awk: Likewise.
70050         * soft-fp/soft-fp.h: Likewise.
70051         * stdio-common/printf.h: Likewise.
70052         * stdlib/monetary.h: Likewise.
70053         * stdlib/random.c: Likewise.
70054         * stdlib/random_r.c: Likewise.
70055         * sysdeps/generic/Makefile: Likewise.
70056         * sysdeps/gnu/Makefile: Likewise.
70057         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70058         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70059         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70060         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70061         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70062         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70063         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70064         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70065         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70067         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70068         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70069         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70070         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70071         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70072         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70073         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70074         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70075         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70076         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70077         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70078         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70079         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70080         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70081         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70082         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70083         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70084         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70085         * sysdeps/mach/hurd/errnos.awk: Likewise.
70086         * sysdeps/mach/hurd/fork.c: Likewise.
70087         * sysdeps/mach/hurd/getcwd.c: Likewise.
70088         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70089         * sysdeps/mach/hurd/mmap.c: Likewise.
70090         * sysdeps/mach/hurd/utimes.c: Likewise.
70091         * sysdeps/mach/hurd/xmknod.c: Likewise.
70092         * sysdeps/posix/profil.c: Likewise.
70093         * sysdeps/posix/readdir_r.c: Likewise.
70094         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70095         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70096         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70097         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70099         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70100         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70101         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70103         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70104         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70105         * sysdeps/pthread/lio_listio.c: Likewise.
70106         * sysdeps/sparc/dl-procinfo.h: Likewise.
70107         * sysdeps/unix/i386/sysdep.S: Likewise.
70108         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70109         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70110         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70111         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70113         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70114         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70115         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70116         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70117         * sysdeps/wordsize-32/divdi3.c: Likewise.
70118         * time/sys/time.h: Likewise.
70119         * wcsmbs/Makefile: Likewise.
70121 2013-01-01  David S. Miller  <davem@davemloft.net>
70123         * po/fr.po: Update from translation team.
70125         * catgets/gencat.c: Update copyright year.
70126         * csu/version.c: Likewise.
70127         * debug/catchsegv.sh: Likewise.
70128         * debug/pcprofiledump.c: Likewise.
70129         * debug/xtrace.sh: Likewise.
70130         * elf/ldconfig.c: Likewise.
70131         * elf/ldd.bash.in: Likewise.
70132         * elf/pldd.c: Likewise.
70133         * elf/sotruss.ksh: Likewise.
70134         * elf/sprof.c: Likewise.
70135         * iconv/iconv_prog.c: Likewise.
70136         * iconv/iconvconfig.c: Likewise.
70137         * locale/programs/locale.c: Likewise.
70138         * locale/programs/localedef.c: Likewise.
70139         * login/programs/pt_chown.c: Likewise.
70140         * malloc/memusage.sh: Likewise.
70141         * malloc/memusagestat.c: Likewise.
70142         * malloc/mtrace.pl: Likewise.
70143         * nscd/nscd.c: Likewise.
70144         * nss/getent.c: Likewise.
70145         * nss/makedb.c: Likewise.
70146         * posix/getconf.c: Likewise.
70148 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70150         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70151         numbers.
70153 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70155         * math/bits/mathcalls.h (modf): Use __nonnull.
70157 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70159         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70160         (split): Use macro CN instead of the bare value.
70161         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70162         could be used.
70163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70164         instead of the bare value.
70165         (power1): Likewise.
70167 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70169         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70170         __ATAN_TWOM.
70171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70173         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70174         their values.
70175         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70176         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70177         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70178         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70180 2012-12-28  Andreas Jaeger  <aj@suse.de>
70182         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70183         values are from Linux 3.7.
70185         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70186         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70188 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70190         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70191         TRUE case.
70193         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70194         (norm): Likewise.
70195         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70196         variables with preprocessor constants.
70197         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70198         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70199         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70201 2012-12-27  Bruno Haible  <bruno@clisp.org>
70203         [BZ #14317]
70204         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70205         only if needed.
70207 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70209         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70210         and use variable directly.
70211         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70213         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70214         MPONE.
70215         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70216         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70217         variable MPONE.
70218         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70219         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70220         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70221         include directive.  Remove local variable MPONE.
70222         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70223         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70224         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70226 2012-12-25  David S. Miller  <davem@davemloft.net>
70228         * version.h (RELEASE): Set to "development".
70229         (VERSION): Set to "2.17.90".
70230         * NEWS: Add 2.18 section.
70232 2012-12-21  David S. Miller  <davem@davemloft.net>
70234         * po/hr.po: Update from translation team.
70236 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70238         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70240 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70242         * NEWS:  Mention new memcpy for MIPS.
70244 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70246         * manual/contrib.texi (Contributors): Spelling correction.
70248 2012-12-15  David S. Miller  <davem@davemloft.net>
70250         * po/ru.po: Update from translation team.
70252 2012-12-13  David S. Miller  <davem@davemloft.net>
70254         * NEWS: Mention IFUNC testsuite enhancements.
70256         * po/pl.po: Update from translation team.
70257         * po/bg.po: Likewise.
70259         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70260         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70262 2012-12-11  David S. Miller  <davem@davemloft.net>
70264         * po/sv.po: Update from translation team.
70266         * po/vi.po: Update from translation team.
70268         * po/cs.po: Update from translation team.
70270         * po/de.po: Update from translation team.
70271         * po/eo.po: Likewise.
70272         * po/nl.po: Likewise.
70274 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
70276         [BZ #14246]
70277         * manual/argp.texi (Argp Helper Functions): Move node to follow
70278         Argp Parsing State.
70280         [BZ #14872]
70281         * manual/conf.texi (Limits on File System Capacity): Mention if
70282         terminating null is included in the max size.
70284 2012-12-10  Andreas Jaeger  <aj@suse.de>
70286         * po/cs.po: Update from translation team.
70288 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
70290         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70291         void pointer and cast to uintptr_t.
70292         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70293         path.
70294         * sysdeps/s390/s390-64/memcpy.S: Likewise.
70295         * sysdeps/s390/s390-64/memset.S: Likewise.
70297 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
70299         [BZ #14833]
70300         * menual/message.texi (Message Translation): Fix typos.
70301         (Helper programs for gettext): Likewise.
70303 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
70305         [BZ #14898]
70306         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70307         Change to -1.
70309 2012-12-07  David S. Miller  <davem@davemloft.net>
70311         * po/libc.pot: Update.
70313 2012-12-07  Richard Henderson  <rth@redhat.com>
70315         [BZ #10114]
70316         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70317         normal/normal case to before the switch.
70318         (_FP_DIV): Likewise.
70320 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
70321             Mike Frysinger  <vapier@gentoo.org>
70323         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70324         check for __NR_fadvise64_64.
70326 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
70328         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70329         0, not just to plain "0" as a statement.
70330         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70331         with cw.
70333 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
70335         * NEWS: Use sourceware.org in Bugzilla URL.
70337 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70340         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70342         * stdio-common/tst-put-error.c (do_test): Add newline to the
70343         padded test to ensure flush.
70345 2012-12-05  Jeff Law  <law@redhat.com>
70347         * sunrpc/etc.rpc (fedfs_admin): Add entry.
70349 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
70351         * README: Don't refer to ports add-on as distributed separately.
70352         Mention AArch64 in list of systems supported in the ports add-on.
70354         * LICENSES: Add more non-FSF copyright and license notices.
70356         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70357         ((unused)).
70359         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70361         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70362         10000 as width of padded output.
70364 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70366         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70369         variable LX with __attribute__ ((unused)).
70370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70371         Likewise.
70372         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70373         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70375         with __attribute__ ((unused)).
70377 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
70379         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70381 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70383         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70384         (CFLAGS-nldbl-acos.c): New variable.
70385         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70386         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70387         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70388         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70389         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70390         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70391         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70392         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70393         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70394         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70395         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70396         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70397         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70398         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70399         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70400         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70401         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70402         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70403         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70404         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70405         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70406         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70407         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70408         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70409         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70410         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70411         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70412         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70413         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70414         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70415         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70416         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70417         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70418         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70419         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70420         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70421         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70422         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70423         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70424         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70425         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70426         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70427         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70428         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70429         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70430         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70431         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70432         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70433         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70434         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70435         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70436         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70437         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70438         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70439         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70440         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70441         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70442         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70443         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70444         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70445         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70446         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70447         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70448         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70449         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70450         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70451         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70452         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70453         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70454         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70455         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70456         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70457         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70458         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70459         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70460         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70461         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70462         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70463         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70464         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70465         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70466         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70467         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70468         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70469         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70470         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70471         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70472         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70473         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70474         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70475         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70476         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70477         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70478         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70479         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70480         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70481         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70484         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70486         [BZ #14914]
70487         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70488         whole low double instead of just low 47 bits when splitting values
70489         into two parts.
70491 2012-12-03  Allan McRae  <allan@archlinux.org>
70493         * manual/stdio.texi (Predefined Printf Handlers): Remove
70494         @hsep and @vsep usage.
70496 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70498         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70499         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70501 2012-12-03  Jeff Law  <law@redhat.com>
70503         * time/sys/time.h (settimeofday): Do not mark TV argument
70504         as __nonnull.
70506 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70508         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70509         when currently writing and seek to current position when not.
70510         * libio/Makefile (tests): Remove bug-fclose1.
70511         * libio/bug-fclose1.c: Delete.
70513 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70515         * manual/arith.texi (feenableexcept): Fix typo.
70516         (fedisableexcept): Likewise.
70518 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70520         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70521         second, differently-typed declaration, rather than a cast.
70523 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70525         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70526         * include/rpc/svc.h: ... here.
70528 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70530         [BZ #13013]
70531         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70532         depending n and resplen2 to catch cases where answer
70533         equals answerp2.
70535 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70537         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70538         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70540 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70542         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70544 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70546         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70548 2012-11-28  Jeff Law  <law@redhat.com>
70550         [BZ #13761]
70551         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70552         dataset_temporary.  Track alloca usage into alloca_used.
70553         If dataset is large allocate and release it via malloc/free.
70555 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70557         [BZ #14197]
70558         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70560 2012-11-28  David S. Miller  <davem@davemloft.net>
70562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70564 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70566         [BZ #14803]
70567         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70568         of pi/2 rounded to nearest to 64 bits.
70569         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70570         nearest to 64 bits.
70571         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70572         bits.
70574 2012-11-28  Jeff Law <law@redhat.com>
70575             Martin Osvald <mosvald@redhat.com>
70577         [BZ #14889]
70578         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70579         * sunrpc/svc.c: Include time.h.
70580         (__svc_accept_failed): New function.
70581         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70582         any reason other than EINTR, call __svc_accept_failed.
70583         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70584         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70586 2012-11-28  Andreas Schwab  <schwab@suse.de>
70588         * scripts/abilist.awk: Also handle indirect functions in .opd
70589         section.
70591 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70593         [BZ #13881]
70594         * sysdeps/x86/fpu/powl_helper.c: New file.
70595         * sysdeps/x86/fpu/Makefile: Likewise.
70596         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70597         (p3): New object.
70598         (__ieee754_powl): Use __powl_helper for finite arguments except
70599         integer exponents below 8.
70600         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70601         (p3): New object.
70602         (__ieee754_powl): Use __powl_helper for finite arguments except
70603         integer exponents below 8.
70604         * math/libm-test.inc (pow_test): Add more tests and enable some
70605         previously disabled tests.
70606         * sysdeps/i386/fpu/libm-test-ulps: Update.
70607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70609 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70610             Carlos O'Donell  <carlos_odonell@mentor.com>
70612         * nss/makedb.c (is_prime): Assert that input is odd and greater
70613         than 4.  Note that fact in a comment too.
70614         (next_prime): Add 4 to input.
70616 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70618         [BZ #11741]
70619         * libio/Makefile (tests): Add test case tst-fwrite-error.
70620         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70621         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70622         * libio/tst-fwrite-error.c: New test case.
70624 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70626         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70627         before casting to void *.
70628         * include/libc-internal.h (__pointer_type): New macro.
70629         (__integer_if_pointer_type_sub): Likewise.
70630         (__integer_if_pointer_type): Likewise.
70631         (cast_to_integer): Likewise.
70632         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70633         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70634         before casting to atomic64_t.
70635         (atomic_exchange_acq): Likewise.
70636         (__arch_exchange_and_add_body): Likewise.
70637         (__arch_add_body): Likewise.
70638         (atomic_add_negative): Likewise.
70639         (atomic_add_zero): Likewise.
70641 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70643         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70644         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70645         (add_fdes): Likewise.
70646         (linear_search_fdes): Likewise.
70647         (binary_search_unencoded_fdes): Likewise.
70649 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70651         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70653 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70655         * configure.in: Autodetect C++ header directories.
70656         * configure: Regenerated.
70658 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70660         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70662 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70666 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70668         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70669         LDBL_MANT_DIG == 106]: Disable some tests.
70670         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70671         Likewise.
70672         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70673         Likewise.
70675         [BZ #14871]
70676         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70677         input for small inputs.  Return +/- pi/2 for large inputs.
70678         * math/libm-test.inc (atan_test): Add more tests.
70680         * sysdeps/generic/unwind-dw2-fde-glibc.c
70681         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70682         __attribute__ ((unused)).
70684         [BZ #14645]
70685         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70686         x * y if x and y are nonzero and z is zero.
70688         [BZ #14811]
70689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70690         nonzero exponents with absolute value below 0x1p-117 to +/-
70691         0x1p-117.
70693         [BZ #14869]
70694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70695         up arguments below 2**-450, not just those below 2**-500.
70696         * math/libm-test.inc (hypot_test): Add another test.
70698         [BZ #14868]
70699         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70700         Return a+b for ratio over 2**120, not 2**60.
70701         * math/libm-test.inc (hypot_test): Add another test.
70703         * math/libm-test.inc (clog_test): Use
70704         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70705         (clog10_test): Likewise.
70707         [BZ #6778]
70708         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70710 2012-11-22  Andreas Schwab  <schwab@suse.de>
70712         * sysdeps/i386/fpu/libm-test-ulps: Update.
70714 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70716         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70717         printf output with newline.
70719 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70721         [BZ #14865]
70722         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70723         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70724         -z nodlopen, -z initfirst and -z execstack support.
70725         * configure: Regenerated.
70727         * elf/elf.h (DF_1_NODIRECT): New macro.
70728         (DF_1_IGNMULDEF): Likewise.
70729         (DF_1_NOKSYMS): Likewise.
70730         (DF_1_NOHDR): Likewise.
70731         (DF_1_EDITED): Likewise.
70732         (DF_1_NORELOC): Likewise.
70733         (DF_1_SYMINTPOSE): Likewise.
70734         (DF_1_GLOBAUDIT): Likewise.
70735         (DF_1_SINGLETON): Likewise.
70736         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70737         DT_1_SUPPORTED_MASK bits.
70738         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70740 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70742         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70744 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70746         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70747         macro.
70749         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70750         (sendmmsg): Move declarations...
70751         * socket/sys/socket.h: ... here.
70752         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70753         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70754         include it from...
70755         * socket/recvmmsg.c: ... this new file.
70756         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70757         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70758         definition of __sendmmsg hidden.
70759         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70760         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70761         Move ENOSYS stub into and include it from...
70762         * socket/sendmmsg.c: ... this new file.
70763         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70764         (sysdep_routines): Move recvmmsg and sendmmsg...
70765         * socket/Makefile (routines): ... here.
70766         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70767         (GLIBC_PRIVATE): Add __sendmmsg.
70768         * include/sys/socket.h (__sendmmsg): Add declarations.
70769         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70770         sendmmsg.
70772 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70775         variable I1 with __attribute__ ((unused)).
70776         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70778 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70780         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70781         DUMMY variables with __attribute__ ((unused)).
70783         * bits/byteswap.h: Include <bits/types.h>.
70784         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70786 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70788         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70789         string_t.  Do not manually set errno.
70790         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70791         length with __strnlen.  Make sure to both set errno and return it on
70792         failure.
70794 2012-11-19  David S. Miller  <davem@davemloft.net>
70796         With help from Joseph Myers.
70797         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70798         very large arguments properly.
70799         * math/libm-test.inc (atan_test): New tests.
70800         (atan2_test): New tests.
70801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70804 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70806         [BZ #14856]
70807         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70808         Define to 3.
70810         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70811         [POSIX] (EADDRNOTAVAIL): Likewise.
70812         [POSIX] (EAFNOSUPPORT): Likewise.
70813         [POSIX] (EALREADY): Likewise.
70814         [POSIX] (ECONNABORTED): Likewise.
70815         [POSIX] (ECONNREFUSED): Likewise.
70816         [POSIX] (ECONNRESET): Likewise.
70817         [POSIX] (EDESTADDRREQ): Likewise.
70818         [POSIX] (EDQUOT): Likewise.
70819         [POSIX] (EHOSTUNREACH): Likewise.
70820         [POSIX] (EIDRM): Likewise.
70821         [POSIX] (EISCONN): Likewise.
70822         [POSIX] (ELOOP): Likewise.
70823         [POSIX] (EMULTIHOP): Likewise.
70824         [POSIX] (ENETDOWN): Likewise.
70825         [POSIX] (ENETUNREACH): Likewise.
70826         [POSIX] (ENOBUFS): Likewise.
70827         [POSIX] (ENODATA): Likewise.
70828         [POSIX] (ENOLINK): Likewise.
70829         [POSIX] (ENOMSG): Likewise.
70830         [POSIX] (ENOPROTOOPT): Likewise.
70831         [POSIX] (ENOSR): Likewise.
70832         [POSIX] (ENOSTR): Likewise.
70833         [POSIX] (ENOTCONN): Likewise.
70834         [POSIX] (ENOTSOCK): Likewise.
70835         [POSIX] (EOPNOTSUPP): Likewise.
70836         [POSIX] (EOVERFLOW): Likewise.
70837         [POSIX] (EPROTO): Likewise.
70838         [POSIX] (EPROTONOSUPPORT): Likewise.
70839         [POSIX] (EPROTOTYPE): Likewise.
70840         [POSIX] (ESTALE): Likewise.
70841         [POSIX] (ETIME): Likewise.
70842         [POSIX] (ETXTBSY): Likewise.
70843         [POSIX] (EWOULDBLOCK): Likewise.
70844         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70845         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70846         [POSIX] (SEEK_CUR): Likewise.
70847         [POSIX] (SEEK_END): Likewise.
70848         [POSIX || UNIX98] (mode_t): Do not require.
70849         [POSIX] (off_t): Likewise.
70850         [POSIX] (pid_t): Likewise.
70851         [POSIX] (sys/stat.h): Do not allow header.
70852         [POSIX] (unistd.h): Likewise.
70853         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70854         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70855         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70856         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70857         require.
70858         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70859         sigevent): Specify elements.
70860         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70861         entry.
70862         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70863         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70865         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70866         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70867         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70868         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70869         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70870         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70871         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70872         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70873         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70874         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70875         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70876         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70877         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70878         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70879         Likewise.
70880         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70881         Likewise.
70882         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70883         Likewise.
70884         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70885         Likewise.
70886         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70887         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70888         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70889         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70890         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70891         Specify lower bound on value.
70892         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70893         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70894         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70895         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70896         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70897         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70898         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70899         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70900         value.
70901         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70902         as optional.
70903         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70904         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70905         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70906         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70907         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70908         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70909         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70910         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70911         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70912         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70913         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70914         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70915         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70916         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70917         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70918         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70919         entry.
70920         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70921         optional.
70922         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70923         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70924         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70925         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70926         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70927         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70928         Likewise.
70929         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70930         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70931         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70932         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70933         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70934         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70935         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70936         as optional.
70937         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70938         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70939         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70940         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70941         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70942         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70943         specify as optional.
70944         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70945         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70946         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70947         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70948         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70949         [XPG3] (NL_LANGMAX): Likewise.
70950         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70951         [POSIX || XPG3] (NL_NMAX): Likewise.
70952         [POSIX || XPG3] (NL_SETMAX): Likewise.
70953         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70954         [XPG3] (NZERO): Likewise.
70955         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70956         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70957         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70958         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70959         (REG_ERANGE): Expect.
70960         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70961         optional-constant.
70962         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70963         Use (void) in prototype.
70964         [POSIX] (*_t): Allow.
70965         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70966         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70967         (WRDE_BADVAL): Expect.
70969         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70970         expect.
70971         [XPG3 || XPG4] (O_RSYNC): Likewise.
70972         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70973         Likewise.
70974         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70975         [XPG3 || XPG4] (sigqueue): Likewise.
70976         [XPG3 || XPG4] (sigtimedwait): Likewise.
70977         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70978         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70979         [XPG3 || XPG4] (vsnprintf): Likewise.
70980         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70981         Likewise.
70982         [XPG3 || XPG4] (blksize_t): Likewise.
70983         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70984         Likewise.
70985         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70986         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70987         [XPG3 || XPG4] (struct itimerspec): Likewise.
70988         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70989         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70990         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70991         [XPG3 || XPG4] (clockid_t): Likewise.
70992         [XPG3 || XPG4] (timer_t): Likewise.
70993         [XPG3 || XPG4] (clock_getres): Likewise.
70994         [XPG3 || XPG4] (clock_gettime): Likewise.
70995         [XPG3 || XPG4] (clock_settime): Likewise.
70996         [XPG3 || XPG4] (nanosleep): Likewise.
70997         [XPG3 || XPG4] (timer_create): Likewise.
70998         [XPG3 || XPG4] (timer_delete): Likewise.
70999         [XPG3 || XPG4] (timer_gettime): Likewise.
71000         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71001         [XPG3 || XPG4] (timer_settime): Likewise.
71002         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71003         [XPG3 || XPG4] (getlogin_r): Likewise.
71004         [XPG3 || XPG4] (pread): Likewise.
71005         [XPG3 || XPG4] (pthread_atfork): Likewise.
71006         [XPG3 || XPG4] (pwrite): Likewise.
71008         [BZ #14835]
71009         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71010         <bits/siginfo.h>.
71012 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71014         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71015         finalizing MALLSTREAM.
71017         * sysdeps/mach/hurd/syncfs.c: New file.
71019 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71021         [BZ #14719]
71022         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71023         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71024         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71025         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71026         (_nss_dns_gethostbyname4_r): Likewise.
71027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71028         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71030 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71032         [BZ #13763]
71033         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71035 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71037         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71038         * elf/cache.c (print_entry): Print ",AArch64" for
71039         FLAG_AARCH64_LIB64
71041         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71042         * elf/cache.c (print_entry): Print ",hard-float" for
71043         FLAG_ARM_LIBHF.
71045 2012-11-18  David S. Miller  <davem@davemloft.net>
71047         With help from Joseph Myers.
71048         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71049         cutoff to 2**-13.
71050         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71051         cutoff to 2**-25.
71052         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71053         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71054         small.
71055         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71056         * math/libm-test.inc (y0_test): New tests.
71057         (y1_test): New tests.
71058         * sysdeps/i386/fpu/libm-test-ulps: Update.
71059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71062 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71064         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71065         64-bit targets.
71066         * configure: Regenerated.
71068 2012-11-17  David S. Miller  <davem@davemloft.net>
71070         [BZ #14811]
71071         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71072         nonzero exponents with absolute value below 0x1p-128 to +/-
71073         0x1p-128.
71075 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71077         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71079         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71081         * posix/getconf-speclist.c: New file.
71082         * posix/posix-envs.def: Likewise.
71083         * posix/confstr.c (START_ENV_GROUP): New macro.
71084         (END_ENV_GROUP): Likewise.
71085         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71086         (KNOWN_PRESENT_ENV_STRING): Likewise.
71087         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71088         (UNKNOWN_ENVIRONMENT): Likewise.
71089         (confstr): Include posix-envs.def instead of handling
71090         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71091         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71092         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71093         (END_ENV_GROUP): Likewise.
71094         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71095         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71096         (UNKNOWN_ENVIRONMENT): Likewise.
71097         (__sysconf): Include posix-envs.def instead of handling associated
71098         cases directly here.
71099         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71100         preprocessing getconf-speclist.c rather than running getconf or
71101         generating empty file.
71103 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71105         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71107 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71109         [BZ #14672]
71110         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71112 2012-11-16  David S. Miller  <davem@davemloft.net>
71114         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71115         smaller than LDBL_EPSILON/2.0L, just return xm1.
71117 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71119         * elf/tst-array1.c (init): Set constructor priority to 1000.
71120         (fini): Set destructor priority to 1000.
71121         * elf/tst-array2dep.c: Likewise.
71123 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71125         [BZ #11741]
71126         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71127         (_IO_new_file_xsputn): Also return EOF if none of the input
71128         data was written when overflow failed.
71129         * libio/iopadn.c (_IO_padn): Likewise.
71130         * libio/iowpadn.c (_IO_wpadn): Likewise.
71131         * stdio-common/tst-put-error.c: Add copyright notice.
71132         (do_test): Add case for printing padded string.
71133         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71134         _IO_padn returned error.
71135         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71136         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71137         return EOF.
71139 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71141         * libio/libioP.h: Add comment note that the references to C++
71142         bits are now obsolete.
71144 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71146         * math/libm-test.inc (check_complex): Use asprintf.
71148 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71150         * debug/pcprofiledump.c (print_version): Update copyright year.
71151         * malloc/memusagestat.c (print_version): Likewise.
71153 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71155         [BZ #14831]
71156         * elf/Makefile (tests): Add tst-audit8.
71157         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71158         ($(objpfx)tst-audit8.out): New target.
71159         (tst-audit8-ENV): New variable.
71160         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71161         audit if l_reloc_result is NULL.
71162         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71163         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71164         * elf/tst-audit8.c: New file.
71166 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71168         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71169         * misc/Makefile (CFLAGS-select.c): Define.
71170         * posix/Makefile (CFLAGS-pause.c): Define.
71172 2012-11-13  David S. Miller  <davem@davemloft.net>
71174         * crypt/Makefile: Move test targets after toplevel Rules
71175         inclusion.  Grab any necessary sysdep routines when linking.
71176         * crypt/md5.c (md5_process_block): Remove define, we will always
71177         name it __md5_process_block.
71178         (md5_finish_ctx): Update md5_process_block call.
71179         (md5_stream): Likewise.
71180         (md5_process_bytes): Likewise.
71181         (md5_process_block): Rename to __md5_process_block and move to ...
71182         * crypt/md5-block.c: ... here.
71183         * crypt/sha256.c (sha256_process_block): Move to ...
71184         * crypt/sha256-block.c: ... here.
71185         * crypt/sha512.c (sha512_process_block): Move to ...
71186         * crypt/sha512-block.c: ... here.
71187         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71188         path.
71189         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71190         * sysdeps/sparc/sparc64/multiarch/Makefile
71191         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71192         crypt subdir.
71193         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71194         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71195         multiarch changes.
71196         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71197         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71198         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71199         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71200         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71201         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71202         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71203         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71204         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71205         file.
71206         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71207         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71208         file.
71209         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71211 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71213         * timezone/tzselect.ksh: Update from tzcode git revision
71214         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71215         * timezone/zdump.c: Likewise.
71216         * timezone/zic.c: Likewise.
71217         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71218         in TZVERSION setting, not $(PKGVERSION).
71219         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71220         REPORT_BUGS_TO settings.
71222         [BZ #14838]
71223         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71224         macro.
71226 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71228         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71229         detection to immediately after _FP_ROUND().
71230         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71231         bits are 0.
71233 2012-11-11  David S. Miller  <davem@davemloft.net>
71235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71236         inttypes.h
71237         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71238         __close rather than their public counterparts.
71240 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71242         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71243         file.
71244         [UNIX98] (sem_timedwait): Do not expect.
71245         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71246         [XPG4 || UNIX98] (sockatmark): Do not expect.
71247         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71248         (clock_getcpuclockid): Do not expect.
71249         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71250         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71251         Do not expect.
71252         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71253         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71254         [UNIX98] (vwscanf): Likewise.
71255         [UNIX98] (vswscanf): Likewise.
71257 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71259         * timezone/version.h: Remove file.
71260         * timezone/README: Do not refer to version.h.
71261         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71262         $(objpfx)version.h.
71263         ($(objpfx)zdump.o): Likewise.
71264         ($(objpfx)version.h): New target.
71266         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71267         2012i.
71268         * timezone/README: Don't mention modification to tzselect.ksh.
71269         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71270         work on unmodified tzselect.ksh.  Substitute version numbers in
71271         tzselect.ksh.
71273         * Makefile (format-me): Remove.
71274         (INSTALL): Adjust indentation.  Use commands directly instead of
71275         using $(format-me).
71277         * aclocal.m4 (ACX_PKGVERSION): New macro.
71278         (ACX_BUGURL): Likewise.
71279         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71280         (PKGVERSION): New AC_DEFINE_UNQUOTED.
71281         (REPORT_BUGS_TO): Likewise.
71282         * configure: Regenerated.
71283         * config.h.in (PKGVERSION): New macro.
71284         (REPORT_BUGS_TO): Likewise.
71285         * config.make.in (PKGVERSION): New variable.
71286         (PKGVERSION_TEXI): Likewise.
71287         (REPORT_BUGS_TO): Likewise.
71288         (REPORT_BUGS_TEXI): Likewise.
71289         * Makefile (format-me): Use -I$(common-objpfx)manual.
71290         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71291         ($(common-objpfx)manual/%): New target.
71292         (manual/%): Remove target.
71293         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71294         (print_version): Use PKGVERSION.
71295         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71296         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71297         and REPORT_BUGS_TO.
71298         ($(objpfx)xtrace): Likewise.
71299         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71300         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71301         (print_version): Use PKGVERSION.
71302         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71303         (do_version): Use PKGVERSION.
71304         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71305         REPORT_BUGS_TO.
71306         (common-ldd-rewrite): Likewise.
71307         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71308         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71309         (print_version): Use PKGVERSION.
71310         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71311         * elf/pldd.c (argp_program_bug_address): Remove variable.
71312         (more_help): New function.
71313         (argp): Use more_help.
71314         (print_version): Use PKGVERSION.
71315         * elf/sln.c (main): Use PKGVERSION.
71316         (usage): Use REPORT_BUGS_TO.
71317         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71318         (top level): Use PKGVERSION.
71319         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71320         (print_version): Use PKGVERSION.
71321         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71322         (print_version): Use PKGVERSION.
71323         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71324         (print_version): Use PKGVERSION.
71325         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71326         (print_version): Use PKGVERSION.
71327         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71328         (print_version): Use PKGVERSION.
71329         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71330         (print_version): Use PKGVERSION.
71331         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71332         and BUGURL.
71333         ($(objpfx)memusage): Likewise.
71334         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71335         (do_version): Use PKGVERSION.
71336         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71337         (print_version): Use PKGVERSION.
71338         * malloc/mtrace.pl ($PACKAGE): Remove variable.
71339         ($PKGVERSION): New variable.
71340         ($REPORT_BUGS_TO): Likewise.
71341         (usage): Use $REPORT_BUGS_TO.
71342         (top level): Use $PKGVERSION.
71343         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71344         ($(objpfx)pkgvers.texi): New rule.
71345         ($(objpfx)stamp-pkgvers): Likewise.
71346         * manual/install.texi: Include pkgvers.texi.
71347         (--with-pkgversion): Document new configure option.
71348         (--with-bugurl): Likewise.
71349         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71350         than necessarily for this particular distribution.  Use
71351         REPORT_BUGS_TO for where to report bugs.
71352         * INSTALL: Regenerated.
71353         * manual/libc.texinfo: Include pkgvers.texi.
71354         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71355         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71356         (print_version): Use PKGVERSION.
71357         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71358         (print_version): Use PKGVERSION.
71359         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71360         (print_version): Use PKGVERSION.
71361         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71362         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71363         macro.
71364         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71365         (print_version): Use PKGVERSION.
71366         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71367         (print_version): Use PKGVERSION.
71368         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71369         and PKGVERSION.
71371         * timezone/checktab.awk: Update from tzcode 2012i.
71372         * timezone/ialloc.c: Likewise.
71373         * timezone/private.h: Likewise.
71374         * timezone/scheck.c: Likewise.
71375         * timezone/tzfile.h: Likewise.
71376         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71377         (TZVERSION): Hardcode tzcode version number.
71378         * timezone/zdump.c: Update from tzcode 2012i.
71379         * timezone/zic.c: Likewise.
71380         * timezone/version.h: New file.
71381         * timezone/README: Describe version.h.  Update upstream location.
71383         [BZ #14824]
71384         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71385         (mktemp): Enable declaration.
71386         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71388         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71390         Likewise.
71391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71392         Likewise.
71393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71394         Likewise.
71395         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71396         Likewise.
71397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71398         Likewise.
71399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71400         Likewise.
71402         [BZ #14821]
71403         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71404         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71405         for copies of such integer values.
71406         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71407         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71409 2012-11-09  Andreas Jaeger  <aj@suse.de>
71411         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71412         definitions and declarations that are provided by
71413         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71415 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71417         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71418         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71419         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71420         definition.
71422 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71424         * elf/elf.h: Update comment before AArch64 relocations.
71426 2012-11-07  David S. Miller  <davem@davemloft.net>
71428         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71429         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71430         (__start_context): Declare.
71431         (__makecontext_ret): Delete.
71432         (__makecontext): Hook up __start_context instead of
71433         __makecontext_ret.
71434         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71435         (sysdep_routines): Add __start_context when in stdlib.
71437 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71439         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71440         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71441         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71442         hardcoded "nm".
71443         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71444         (READELF): New variable.  Use it instead of hardcoded "readelf".
71446 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71448         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71449         * sysdeps/x86/Makefile: Here.
71450         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71451         * sysdeps/x86/tst-xmmymm.sh: This.
71453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71455         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71456         expectations.
71457         [UNIX98] (pthread_barrier_t): Do not expect.
71458         [UNIX98] (pthread_barrierattr_t): Likewise.
71459         [UNIX98] (pthread_spinlock_t): Likewise.
71460         [UNIX98] (pthread_barrier_destroy): Likewise.
71461         [UNIX98] (pthread_barrier_init): Likewise.
71462         [UNIX98] (pthread_barrier_wait): Likewise.
71463         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71464         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71465         [UNIX98] (pthread_barrierattr_init): Likewise.
71466         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71467         [UNIX98] (pthread_getcpuclockid): Likewise.
71468         [UNIX98] (pthread_mutex_timedlock): Likewise.
71469         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71470         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71471         [UNIX98] (pthread_sigmask): Likewise.
71472         [UNIX98] (pthread_spin_destroy): Likewise.
71473         [UNIX98] (pthread_spin_init): Likewise.
71474         [UNIX98] (pthread_spin_lock): Likewise.
71475         [UNIX98] (pthread_spin_trylock): Likewise.
71476         [UNIX98] (pthread_spin_unlock): Likewise.
71477         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71478         Do not expect.
71479         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71480         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71481         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71482         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71483         [XPG3 || XPG4] (pthread_key_t): Likewise.
71484         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71485         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71486         [XPG3 || XPG4] (pthread_once_t): Likewise.
71487         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71488         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71489         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71490         [XPG3 || XPG4] (pthread_t): Likewise.
71492         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71493         not expect.
71494         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71496         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71497         Change function return type to int.
71499         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71500         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71501         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71502         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71503         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71504         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71505         [!POSIX] (posix_madvise): Likewise.
71506         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71507         && !UNIX98].
71508         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71509         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71510         (mode_t): Likewise.
71511         (posix_mem_offset): Likewise.
71512         (posix_typed_mem_get_info): Likewise.
71513         (posix_typed_mem_open): Likewise.
71515         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71516         Change condition to [XOPEN2K8].
71518         * conform/conformtest.pl: Preprocess allow-header data with -x c
71519         instead of from stdin.
71520         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71521         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71522         [C99-based standards] (cerfc): Likewise.
71523         [C99-based standards] (cexp2): Likewise.
71524         [C99-based standards] (cexpm1): Likewise.
71525         [C99-based standards] (clog10): Likewise.
71526         [C99-based standards] (clog1p): Likewise.
71527         [C99-based standards] (clog2): Likewise.
71528         [C99-based standards] (clgamma): Likewise.
71529         [C99-based standards] (ctgamma): Likewise.
71530         [C99-based standards] (cerff): Likewise.
71531         [C99-based standards] (cerfcf): Likewise.
71532         [C99-based standards] (cexp2f): Likewise.
71533         [C99-based standards] (cexpm1f): Likewise.
71534         [C99-based standards] (clog10f): Likewise.
71535         [C99-based standards] (clog1pf): Likewise.
71536         [C99-based standards] (clog2f): Likewise.
71537         [C99-based standards] (clgammaf): Likewise.
71538         [C99-based standards] (ctgammaf): Likewise.
71539         [C99-based standards] (cerfl): Likewise.
71540         [C99-based standards] (cerfcl): Likewise.
71541         [C99-based standards] (cexp2l): Likewise.
71542         [C99-based standards] (cexpm1l): Likewise.
71543         [C99-based standards] (clog10l): Likewise.
71544         [C99-based standards] (clog1pl): Likewise.
71545         [C99-based standards] (clog2l): Likewise.
71546         [C99-based standards] (clgammal): Likewise.
71547         [C99-based standards] (ctgammal): Likewise.
71548         * conform/data/inttypes.h-data [C99-based standards]: Include
71549         stdint.h-data.  Remove all expectations for stdint.h contents.
71550         [C99-based standards] (PRI*): Do not allow.
71551         [C99-based standards] (SCN*): Likewise.
71552         [C99-based standards] (*_t): Likewise.
71553         [C99-based-standards] (PRId8): Expect macro.
71554         [C99-based-standards] (PRIi8): Likewise.
71555         [C99-based-standards] (PRIo8): Likewise.
71556         [C99-based-standards] (PRIu8): Likewise.
71557         [C99-based-standards] (PRIx8): Likewise.
71558         [C99-based-standards] (PRIX8): Likewise.
71559         [C99-based-standards] (SCNd8): Likewise.
71560         [C99-based-standards] (SCNi8): Likewise.
71561         [C99-based-standards] (SCNo8): Likewise.
71562         [C99-based-standards] (SCNu8): Likewise.
71563         [C99-based-standards] (SCNx8): Likewise.
71564         [C99-based-standards] (PRIdLEAST8): Likewise.
71565         [C99-based-standards] (PRIiLEAST8): Likewise.
71566         [C99-based-standards] (PRIoLEAST8): Likewise.
71567         [C99-based-standards] (PRIuLEAST8): Likewise.
71568         [C99-based-standards] (PRIxLEAST8): Likewise.
71569         [C99-based-standards] (PRIXLEAST8): Likewise.
71570         [C99-based-standards] (SCNdLEAST8): Likewise.
71571         [C99-based-standards] (SCNiLEAST8): Likewise.
71572         [C99-based-standards] (SCNoLEAST8): Likewise.
71573         [C99-based-standards] (SCNuLEAST8): Likewise.
71574         [C99-based-standards] (SCNxLEAST8): Likewise.
71575         [C99-based-standards] (PRIdFAST8): Likewise.
71576         [C99-based-standards] (PRIiFAST8): Likewise.
71577         [C99-based-standards] (PRIoFAST8): Likewise.
71578         [C99-based-standards] (PRIuFAST8): Likewise.
71579         [C99-based-standards] (PRIxFAST8): Likewise.
71580         [C99-based-standards] (PRIXFAST8): Likewise.
71581         [C99-based-standards] (SCNdFAST8): Likewise.
71582         [C99-based-standards] (SCNiFAST8): Likewise.
71583         [C99-based-standards] (SCNoFAST8): Likewise.
71584         [C99-based-standards] (SCNuFAST8): Likewise.
71585         [C99-based-standards] (SCNxFAST8): Likewise.
71586         [C99-based-standards] (PRId16): Likewise.
71587         [C99-based-standards] (PRIi16): Likewise.
71588         [C99-based-standards] (PRIo16): Likewise.
71589         [C99-based-standards] (PRIu16): Likewise.
71590         [C99-based-standards] (PRIx16): Likewise.
71591         [C99-based-standards] (PRIX16): Likewise.
71592         [C99-based-standards] (SCNd16): Likewise.
71593         [C99-based-standards] (SCNi16): Likewise.
71594         [C99-based-standards] (SCNo16): Likewise.
71595         [C99-based-standards] (SCNu16): Likewise.
71596         [C99-based-standards] (SCNx16): Likewise.
71597         [C99-based-standards] (PRIdLEAST16): Likewise.
71598         [C99-based-standards] (PRIiLEAST16): Likewise.
71599         [C99-based-standards] (PRIoLEAST16): Likewise.
71600         [C99-based-standards] (PRIuLEAST16): Likewise.
71601         [C99-based-standards] (PRIxLEAST16): Likewise.
71602         [C99-based-standards] (PRIXLEAST16): Likewise.
71603         [C99-based-standards] (SCNdLEAST16): Likewise.
71604         [C99-based-standards] (SCNiLEAST16): Likewise.
71605         [C99-based-standards] (SCNoLEAST16): Likewise.
71606         [C99-based-standards] (SCNuLEAST16): Likewise.
71607         [C99-based-standards] (SCNxLEAST16): Likewise.
71608         [C99-based-standards] (PRIdFAST16): Likewise.
71609         [C99-based-standards] (PRIiFAST16): Likewise.
71610         [C99-based-standards] (PRIoFAST16): Likewise.
71611         [C99-based-standards] (PRIuFAST16): Likewise.
71612         [C99-based-standards] (PRIxFAST16): Likewise.
71613         [C99-based-standards] (PRIXFAST16): Likewise.
71614         [C99-based-standards] (SCNdFAST16): Likewise.
71615         [C99-based-standards] (SCNiFAST16): Likewise.
71616         [C99-based-standards] (SCNoFAST16): Likewise.
71617         [C99-based-standards] (SCNuFAST16): Likewise.
71618         [C99-based-standards] (SCNxFAST16): Likewise.
71619         [C99-based-standards] (PRId32): Likewise.
71620         [C99-based-standards] (PRIi32): Likewise.
71621         [C99-based-standards] (PRIo32): Likewise.
71622         [C99-based-standards] (PRIu32): Likewise.
71623         [C99-based-standards] (PRIx32): Likewise.
71624         [C99-based-standards] (PRIX32): Likewise.
71625         [C99-based-standards] (SCNd32): Likewise.
71626         [C99-based-standards] (SCNi32): Likewise.
71627         [C99-based-standards] (SCNo32): Likewise.
71628         [C99-based-standards] (SCNu32): Likewise.
71629         [C99-based-standards] (SCNx32): Likewise.
71630         [C99-based-standards] (PRIdLEAST32): Likewise.
71631         [C99-based-standards] (PRIiLEAST32): Likewise.
71632         [C99-based-standards] (PRIoLEAST32): Likewise.
71633         [C99-based-standards] (PRIuLEAST32): Likewise.
71634         [C99-based-standards] (PRIxLEAST32): Likewise.
71635         [C99-based-standards] (PRIXLEAST32): Likewise.
71636         [C99-based-standards] (SCNdLEAST32): Likewise.
71637         [C99-based-standards] (SCNiLEAST32): Likewise.
71638         [C99-based-standards] (SCNoLEAST32): Likewise.
71639         [C99-based-standards] (SCNuLEAST32): Likewise.
71640         [C99-based-standards] (SCNxLEAST32): Likewise.
71641         [C99-based-standards] (PRIdFAST32): Likewise.
71642         [C99-based-standards] (PRIiFAST32): Likewise.
71643         [C99-based-standards] (PRIoFAST32): Likewise.
71644         [C99-based-standards] (PRIuFAST32): Likewise.
71645         [C99-based-standards] (PRIxFAST32): Likewise.
71646         [C99-based-standards] (PRIXFAST32): Likewise.
71647         [C99-based-standards] (SCNdFAST32): Likewise.
71648         [C99-based-standards] (SCNiFAST32): Likewise.
71649         [C99-based-standards] (SCNoFAST32): Likewise.
71650         [C99-based-standards] (SCNuFAST32): Likewise.
71651         [C99-based-standards] (SCNxFAST32): Likewise.
71652         [C99-based-standards] (PRId64): Likewise.
71653         [C99-based-standards] (PRIi64): Likewise.
71654         [C99-based-standards] (PRIo64): Likewise.
71655         [C99-based-standards] (PRIu64): Likewise.
71656         [C99-based-standards] (PRIx64): Likewise.
71657         [C99-based-standards] (PRIX64): Likewise.
71658         [C99-based-standards] (SCNd64): Likewise.
71659         [C99-based-standards] (SCNi64): Likewise.
71660         [C99-based-standards] (SCNo64): Likewise.
71661         [C99-based-standards] (SCNu64): Likewise.
71662         [C99-based-standards] (SCNx64): Likewise.
71663         [C99-based-standards] (PRIdLEAST64): Likewise.
71664         [C99-based-standards] (PRIiLEAST64): Likewise.
71665         [C99-based-standards] (PRIoLEAST64): Likewise.
71666         [C99-based-standards] (PRIuLEAST64): Likewise.
71667         [C99-based-standards] (PRIxLEAST64): Likewise.
71668         [C99-based-standards] (PRIXLEAST64): Likewise.
71669         [C99-based-standards] (SCNdLEAST64): Likewise.
71670         [C99-based-standards] (SCNiLEAST64): Likewise.
71671         [C99-based-standards] (SCNoLEAST64): Likewise.
71672         [C99-based-standards] (SCNuLEAST64): Likewise.
71673         [C99-based-standards] (SCNxLEAST64): Likewise.
71674         [C99-based-standards] (PRIdFAST64): Likewise.
71675         [C99-based-standards] (PRIiFAST64): Likewise.
71676         [C99-based-standards] (PRIoFAST64): Likewise.
71677         [C99-based-standards] (PRIuFAST64): Likewise.
71678         [C99-based-standards] (PRIxFAST64): Likewise.
71679         [C99-based-standards] (PRIXFAST64): Likewise.
71680         [C99-based-standards] (SCNdFAST64): Likewise.
71681         [C99-based-standards] (SCNiFAST64): Likewise.
71682         [C99-based-standards] (SCNoFAST64): Likewise.
71683         [C99-based-standards] (SCNuFAST64): Likewise.
71684         [C99-based-standards] (SCNxFAST64): Likewise.
71685         [C99-based-standards] (PRIdMAX): Likewise.
71686         [C99-based-standards] (PRIiMAX): Likewise.
71687         [C99-based-standards] (PRIoMAX): Likewise.
71688         [C99-based-standards] (PRIuMAX): Likewise.
71689         [C99-based-standards] (PRIxMAX): Likewise.
71690         [C99-based-standards] (PRIXMAX): Likewise.
71691         [C99-based-standards] (SCNdMAX): Likewise.
71692         [C99-based-standards] (SCNiMAX): Likewise.
71693         [C99-based-standards] (SCNoMAX): Likewise.
71694         [C99-based-standards] (SCNuMAX): Likewise.
71695         [C99-based-standards] (SCNxMAX): Likewise.
71696         [C99-based-standards] (PRIdPTR): Likewise.
71697         [C99-based-standards] (PRIiPTR): Likewise.
71698         [C99-based-standards] (PRIoPTR): Likewise.
71699         [C99-based-standards] (PRIuPTR): Likewise.
71700         [C99-based-standards] (PRIxPTR): Likewise.
71701         [C99-based-standards] (PRIXPTR): Likewise.
71702         [C99-based-standards] (SCNdPTR): Likewise.
71703         [C99-based-standards] (SCNiPTR): Likewise.
71704         [C99-based-standards] (SCNoPTR): Likewise.
71705         [C99-based-standards] (SCNuPTR): Likewise.
71706         [C99-based-standards] (SCNxPTR): Likewise.
71707         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71708         allow.
71709         * conform/data/stdint.h-data: Update comments to clarify
71710         requirements.
71711         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71712         type.
71713         [C99-based standards] (INT8_MAX): Likewise.
71714         [C99-based standards] (INT16_MIN): Likewise.
71715         [C99-based standards] (INT16_MAX): Likewise.
71716         [C99-based standards] (INT32_MIN): Likewise.
71717         [C99-based standards] (INT32_MAX): Likewise.
71718         [C99-based standards] (INT64_MIN): Likewise.
71719         [C99-based standards] (INT64_MAX): Likewise.
71720         [C99-based standards] (UINT8_MAX): Likewise.
71721         [C99-based standards] (UINT16_MAX): Likewise.
71722         [C99-based standards] (UINT32_MAX): Likewise.
71723         [C99-based standards] (UINT64_MAX): Likewise.
71724         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71725         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71726         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71727         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71728         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71729         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71730         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71731         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71732         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71733         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71734         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71735         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71736         [C99-based standards] (INT_FAST8_MIN): Likewise.
71737         [C99-based standards] (INT_FAST8_MAX): Likewise.
71738         [C99-based standards] (INT_FAST16_MIN): Likewise.
71739         [C99-based standards] (INT_FAST16_MAX): Likewise.
71740         [C99-based standards] (INT_FAST32_MIN): Likewise.
71741         [C99-based standards] (INT_FAST32_MAX): Likewise.
71742         [C99-based standards] (INT_FAST64_MIN): Likewise.
71743         [C99-based standards] (INT_FAST64_MAX): Likewise.
71744         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71745         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71746         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71747         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71748         [C99-based standards] (INTPTR_MIN): Likewise.
71749         [C99-based standards] (INTPTR_MAX): Likewise.
71750         [C99-based standards] (UINTPTR_MAX): Likewise.
71751         [C99-based standards] (INTMAX_MIN): Likewise.
71752         [C99-based standards] (INTMAX_MAX): Likewise.
71753         [C99-based standards] (UINTMAX_MAX): Likewise.
71754         [C99-based standards] (PTRDIFF_MIN): Likewise.
71755         [C99-based standards] (PTRDIFF_MAX): Likewise.
71756         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71757         [C99-based standards] (SIZE_MAX): Likewise.
71758         [C99-based standards] (WCHAR_MAX): Likewise.
71759         [C99-based standards] (WINT_MAX): Likewise.
71760         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71761         constraint on value.
71762         [C99-based standards] (WCHAR_MIN): Likewise.
71763         [C99-based standards] (WINT_MIN): Likewise.
71764         [C99-based standards] (*_t): Allow.
71765         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71766         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71767         Include math.h-data and complex.h-data.  Remove all expectations
71768         of math.h and complex.h contents.
71769         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71770         at end of line.
71771         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71772         (struct tm): Expect tag.
71773         [C99-based-standards] (wcstof): Expect function.
71774         [C99-based-standards] (wcstold): Likewise.
71775         [C99-based-standards] (wcstoll): Likewise.
71776         [C99-based-standards] (wcstoull): Likewise.
71777         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71778         macro-int-constant.  Specify type.
71779         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71780         constraint on value.
71781         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71782         Specify type.
71783         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71784         Specify value.
71785         [ISO C standards]: Do not allow headers.
71786         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71787         wcs[abcdefghijklmnopqrstuvwxyz]*.
71788         [ISO C standards] (*_t): Do not allow.
71789         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71790         Expect function.
71791         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71792         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71793         Specify type.
71794         [ISO C standards]: Do not allow headers.
71795         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71796         is[abcdefghijklmnopqrstuvwxyz]*.
71797         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71798         to[abcdefghijklmnopqrstuvwxyz]*.
71799         [ISO C standards] (*_t): Do not allow.
71800         * conform/data/stdalign.h-data: New file.
71801         * conform/data/stdbool.h-data: Likewise.
71802         * conform/data/stdnoreturn.h-data: Likewise.
71804 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71806         [BZ #14815]
71807         * manual/filesys.texi (Directory Entries): Typo fix.
71808         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71810 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71812         * elf/elf.h (EM_AARCH64): New macro.
71813         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71814         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71815         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71816         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71817         (R_AARCH64_TLSDESC): Likewise.
71818         (NT_ARM_TLS): Likewise.
71819         (NT_ARM_HW_BREAK): Likewise.
71820         (NT_ARM_HW_WATCH): Likewise.
71822 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71824         [BZ #14811]
71825         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71826         (__ieee754_powl): Saturate nonzero exponents with absolute value
71827         below 0x1p-79 to +/- 0x1p-79.
71828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71829         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71830         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71831         nonzero exponents with absolute value below 0x1p-32 to +/-
71832         0x1p-32.
71833         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71834         (__ieee754_powl): Saturate nonzero exponents with absolute value
71835         below 0x1p-79 to +/- 0x1p-79.
71836         * math/libm-test.inc (pow_test): Add more tests.
71838 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71840         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71841         _dl_s390_cap_flags with kernel. Increase string length.
71842         (_dl_s390_platforms): Add z196 and zEC12.
71844 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71846         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71847         Change XOPEN21K to XOPEN2K.
71849 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71851         * string/memmove.c: Use memcpy when possible.
71853 2012-11-06  Andreas Jaeger  <aj@suse.de>
71855         * po/eo.po: Update from translation team.
71857 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71859         [BZ #14793]
71860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71861         exponent and small x and y exponents, scale x or y up.  Increase
71862         by 2 the exponent used in scaling up.
71863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71865         * math/libm-test.inc (fma_test): Add more tests.
71866         (fma_test_towardzero): Likewise.
71867         (fma_test_downward): Likewise.
71868         (fma_test_upward): Likewise.
71870 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71872         [BZ #14805]
71873         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71874         fenv_t *.
71876         [BZ #14801]
71877         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71878         namespace for names of struct fields.
71879         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71880         fenv_t fields.
71881         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71882         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71884 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71886         [BZ #3665]
71887         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71889 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71891         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71892         PTR_DEMANGLE.
71894         [BZ #5246]
71895         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71896         PTR_DEMANGLE.
71898 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71900         [BZ #14797]
71901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71902         definitely overflow as x * y not x * y + z.
71903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71905         * math/libm-test.inc (fma_test): Add more tests.
71906         (fma_test_towardzero): Likewise.
71907         (fma_test_downward): Likewise.
71908         (fma_test_upward): Likewise.
71910 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71912         [BZ #157]
71914         * include/stub-tag.h: Remove file.
71915         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71916         '#include' of it.
71917         * manual/maint.texi (Porting): Don't reference it.
71918         * Makerules ($(objpfx)stubs): Likewise.
71919         * dirent/closedir.c: Don't include <stub-tag.h>.
71920         * dirent/dirfd.c: Likewise.
71921         * dirent/fdopendir.c: Likewise.
71922         * dirent/getdents.c: Likewise.
71923         * dirent/getdents64.c: Likewise.
71924         * dirent/opendir.c: Likewise.
71925         * dirent/readdir.c: Likewise.
71926         * dirent/readdir64.c: Likewise.
71927         * dirent/readdir64_r.c: Likewise.
71928         * dirent/readdir_r.c: Likewise.
71929         * dirent/rewinddir.c: Likewise.
71930         * dirent/seekdir.c: Likewise.
71931         * dirent/telldir.c: Likewise.
71932         * gmon/profil.c: Likewise.
71933         * grp/setgroups.c: Likewise.
71934         * inet/if_index.c: Likewise.
71935         * io/access.c: Likewise.
71936         * io/chdir.c: Likewise.
71937         * io/chmod.c: Likewise.
71938         * io/chown.c: Likewise.
71939         * io/close.c: Likewise.
71940         * io/dup.c: Likewise.
71941         * io/dup2.c: Likewise.
71942         * io/dup3.c: Likewise.
71943         * io/euidaccess.c: Likewise.
71944         * io/faccessat.c: Likewise.
71945         * io/fchdir.c: Likewise.
71946         * io/fchmod.c: Likewise.
71947         * io/fchmodat.c: Likewise.
71948         * io/fchown.c: Likewise.
71949         * io/fchownat.c: Likewise.
71950         * io/fcntl.c: Likewise.
71951         * io/flock.c: Likewise.
71952         * io/fstatfs.c: Likewise.
71953         * io/fstatfs64.c: Likewise.
71954         * io/fstatvfs.c: Likewise.
71955         * io/fstatvfs64.c: Likewise.
71956         * io/futimens.c: Likewise.
71957         * io/fxstat.c: Likewise.
71958         * io/fxstat64.c: Likewise.
71959         * io/fxstatat.c: Likewise.
71960         * io/fxstatat64.c: Likewise.
71961         * io/getcwd.c: Likewise.
71962         * io/isatty.c: Likewise.
71963         * io/lchmod.c: Likewise.
71964         * io/lchown.c: Likewise.
71965         * io/link.c: Likewise.
71966         * io/linkat.c: Likewise.
71967         * io/lseek.c: Likewise.
71968         * io/lseek64.c: Likewise.
71969         * io/lxstat64.c: Likewise.
71970         * io/mkdir.c: Likewise.
71971         * io/mkdirat.c: Likewise.
71972         * io/mkfifo.c: Likewise.
71973         * io/mkfifoat.c: Likewise.
71974         * io/open.c: Likewise.
71975         * io/open64.c: Likewise.
71976         * io/openat.c: Likewise.
71977         * io/openat64.c: Likewise.
71978         * io/pipe.c: Likewise.
71979         * io/pipe2.c: Likewise.
71980         * io/poll.c: Likewise.
71981         * io/posix_fadvise.c: Likewise.
71982         * io/posix_fadvise64.c: Likewise.
71983         * io/posix_fallocate.c: Likewise.
71984         * io/posix_fallocate64.c: Likewise.
71985         * io/read.c: Likewise.
71986         * io/readlink.c: Likewise.
71987         * io/readlinkat.c: Likewise.
71988         * io/rmdir.c: Likewise.
71989         * io/sendfile.c: Likewise.
71990         * io/sendfile64.c: Likewise.
71991         * io/statfs.c: Likewise.
71992         * io/statfs64.c: Likewise.
71993         * io/statvfs.c: Likewise.
71994         * io/statvfs64.c: Likewise.
71995         * io/symlink.c: Likewise.
71996         * io/symlinkat.c: Likewise.
71997         * io/ttyname.c: Likewise.
71998         * io/ttyname_r.c: Likewise.
71999         * io/umask.c: Likewise.
72000         * io/unlink.c: Likewise.
72001         * io/unlinkat.c: Likewise.
72002         * io/utime.c: Likewise.
72003         * io/utimensat.c: Likewise.
72004         * io/write.c: Likewise.
72005         * io/xmknod.c: Likewise.
72006         * io/xmknodat.c: Likewise.
72007         * io/xstat.c: Likewise.
72008         * io/xstat64.c: Likewise.
72009         * login/getpt.c: Likewise.
72010         * login/grantpt.c: Likewise.
72011         * login/unlockpt.c: Likewise.
72012         * math/e_acoshl.c: Likewise.
72013         * math/e_acosl.c: Likewise.
72014         * math/e_asinl.c: Likewise.
72015         * math/e_atan2l.c: Likewise.
72016         * math/e_atanhl.c: Likewise.
72017         * math/e_coshl.c: Likewise.
72018         * math/e_expl.c: Likewise.
72019         * math/e_fmodl.c: Likewise.
72020         * math/e_gammal_r.c: Likewise.
72021         * math/e_hypotl.c: Likewise.
72022         * math/e_j0l.c: Likewise.
72023         * math/e_j1l.c: Likewise.
72024         * math/e_jnl.c: Likewise.
72025         * math/e_lgammal_r.c: Likewise.
72026         * math/e_log10l.c: Likewise.
72027         * math/e_log2l.c: Likewise.
72028         * math/e_logl.c: Likewise.
72029         * math/e_powl.c: Likewise.
72030         * math/e_rem_pio2l.c: Likewise.
72031         * math/e_sinhl.c: Likewise.
72032         * math/e_sqrtl.c: Likewise.
72033         * math/fclrexcpt.c: Likewise.
72034         * math/fedisblxcpt.c: Likewise.
72035         * math/feenablxcpt.c: Likewise.
72036         * math/fegetenv.c: Likewise.
72037         * math/fegetexcept.c: Likewise.
72038         * math/fegetround.c: Likewise.
72039         * math/feholdexcpt.c: Likewise.
72040         * math/fesetenv.c: Likewise.
72041         * math/fesetround.c: Likewise.
72042         * math/feupdateenv.c: Likewise.
72043         * math/fgetexcptflg.c: Likewise.
72044         * math/fraiseexcpt.c: Likewise.
72045         * math/fsetexcptflg.c: Likewise.
72046         * math/ftestexcept.c: Likewise.
72047         * math/k_cosl.c: Likewise.
72048         * math/k_rem_pio2l.c: Likewise.
72049         * math/k_sinl.c: Likewise.
72050         * math/k_tanl.c: Likewise.
72051         * math/s_asinhl.c: Likewise.
72052         * math/s_atanl.c: Likewise.
72053         * math/s_cbrtl.c: Likewise.
72054         * math/s_erfl.c: Likewise.
72055         * math/s_expm1l.c: Likewise.
72056         * math/s_log1pl.c: Likewise.
72057         * math/s_tanhl.c: Likewise.
72058         * misc/acct.c: Likewise.
72059         * misc/brk.c: Likewise.
72060         * misc/chflags.c: Likewise.
72061         * misc/chroot.c: Likewise.
72062         * misc/fchflags.c: Likewise.
72063         * misc/fgetxattr.c: Likewise.
72064         * misc/flistxattr.c: Likewise.
72065         * misc/fremovexattr.c: Likewise.
72066         * misc/fsetxattr.c: Likewise.
72067         * misc/fsync.c: Likewise.
72068         * misc/ftruncate.c: Likewise.
72069         * misc/futimes.c: Likewise.
72070         * misc/futimesat.c: Likewise.
72071         * misc/getdomain.c: Likewise.
72072         * misc/getdtsz.c: Likewise.
72073         * misc/gethostid.c: Likewise.
72074         * misc/gethostname.c: Likewise.
72075         * misc/getloadavg.c: Likewise.
72076         * misc/getpagesize.c: Likewise.
72077         * misc/getsysstats.c: Likewise.
72078         * misc/getxattr.c: Likewise.
72079         * misc/gtty.c: Likewise.
72080         * misc/ioctl.c: Likewise.
72081         * misc/lgetxattr.c: Likewise.
72082         * misc/listxattr.c: Likewise.
72083         * misc/llistxattr.c: Likewise.
72084         * misc/lremovexattr.c: Likewise.
72085         * misc/lsetxattr.c: Likewise.
72086         * misc/lutimes.c: Likewise.
72087         * misc/madvise.c: Likewise.
72088         * misc/mincore.c: Likewise.
72089         * misc/mlock.c: Likewise.
72090         * misc/mlockall.c: Likewise.
72091         * misc/mmap.c: Likewise.
72092         * misc/mprotect.c: Likewise.
72093         * misc/msync.c: Likewise.
72094         * misc/munlock.c: Likewise.
72095         * misc/munlockall.c: Likewise.
72096         * misc/munmap.c: Likewise.
72097         * misc/preadv.c: Likewise.
72098         * misc/preadv64.c: Likewise.
72099         * misc/ptrace.c: Likewise.
72100         * misc/pwritev.c: Likewise.
72101         * misc/pwritev64.c: Likewise.
72102         * misc/readv.c: Likewise.
72103         * misc/reboot.c: Likewise.
72104         * misc/remap_file_pages.c: Likewise.
72105         * misc/removexattr.c: Likewise.
72106         * misc/revoke.c: Likewise.
72107         * misc/select.c: Likewise.
72108         * misc/setdomain.c: Likewise.
72109         * misc/setegid.c: Likewise.
72110         * misc/seteuid.c: Likewise.
72111         * misc/sethostid.c: Likewise.
72112         * misc/sethostname.c: Likewise.
72113         * misc/setregid.c: Likewise.
72114         * misc/setreuid.c: Likewise.
72115         * misc/setxattr.c: Likewise.
72116         * misc/sstk.c: Likewise.
72117         * misc/stty.c: Likewise.
72118         * misc/swapoff.c: Likewise.
72119         * misc/swapon.c: Likewise.
72120         * misc/sync.c: Likewise.
72121         * misc/syncfs.c: Likewise.
72122         * misc/syscall.c: Likewise.
72123         * misc/truncate.c: Likewise.
72124         * misc/ualarm.c: Likewise.
72125         * misc/usleep.c: Likewise.
72126         * misc/ustat.c: Likewise.
72127         * misc/utimes.c: Likewise.
72128         * misc/vhangup.c: Likewise.
72129         * misc/writev.c: Likewise.
72130         * posix/_exit.c: Likewise.
72131         * posix/alarm.c: Likewise.
72132         * posix/execve.c: Likewise.
72133         * posix/fexecve.c: Likewise.
72134         * posix/fork.c: Likewise.
72135         * posix/fpathconf.c: Likewise.
72136         * posix/getaddrinfo.c: Likewise.
72137         * posix/getegid.c: Likewise.
72138         * posix/geteuid.c: Likewise.
72139         * posix/getgid.c: Likewise.
72140         * posix/getgroups.c: Likewise.
72141         * posix/getlogin.c: Likewise.
72142         * posix/getlogin_r.c: Likewise.
72143         * posix/getpgid.c: Likewise.
72144         * posix/getpid.c: Likewise.
72145         * posix/getppid.c: Likewise.
72146         * posix/getresgid.c: Likewise.
72147         * posix/getresuid.c: Likewise.
72148         * posix/getsid.c: Likewise.
72149         * posix/getuid.c: Likewise.
72150         * posix/glob64.c: Likewise.
72151         * posix/nanosleep.c: Likewise.
72152         * posix/pathconf.c: Likewise.
72153         * posix/pause.c: Likewise.
72154         * posix/posix_madvise.c: Likewise.
72155         * posix/pread.c: Likewise.
72156         * posix/pread64.c: Likewise.
72157         * posix/pwrite.c: Likewise.
72158         * posix/pwrite64.c: Likewise.
72159         * posix/sched_getaffinity.c: Likewise.
72160         * posix/sched_getp.c: Likewise.
72161         * posix/sched_gets.c: Likewise.
72162         * posix/sched_primax.c: Likewise.
72163         * posix/sched_primin.c: Likewise.
72164         * posix/sched_rr_gi.c: Likewise.
72165         * posix/sched_setaffinity.c: Likewise.
72166         * posix/sched_setp.c: Likewise.
72167         * posix/sched_sets.c: Likewise.
72168         * posix/sched_yield.c: Likewise.
72169         * posix/setgid.c: Likewise.
72170         * posix/setlogin.c: Likewise.
72171         * posix/setpgid.c: Likewise.
72172         * posix/setresgid.c: Likewise.
72173         * posix/setresuid.c: Likewise.
72174         * posix/setsid.c: Likewise.
72175         * posix/setuid.c: Likewise.
72176         * posix/sleep.c: Likewise.
72177         * posix/spawni.c: Likewise.
72178         * posix/sysconf.c: Likewise.
72179         * posix/times.c: Likewise.
72180         * posix/wait.c: Likewise.
72181         * posix/wait3.c: Likewise.
72182         * posix/wait4.c: Likewise.
72183         * posix/waitpid.c: Likewise.
72184         * resolv/gai_sigqueue.c: Likewise.
72185         * resource/getpriority.c: Likewise.
72186         * resource/getrlimit.c: Likewise.
72187         * resource/getrusage.c: Likewise.
72188         * resource/nice.c: Likewise.
72189         * resource/setpriority.c: Likewise.
72190         * resource/setrlimit.c: Likewise.
72191         * resource/ulimit.c: Likewise.
72192         * rt/aio_cancel.c: Likewise.
72193         * rt/aio_fsync.c: Likewise.
72194         * rt/aio_read.c: Likewise.
72195         * rt/aio_sigqueue.c: Likewise.
72196         * rt/aio_suspend.c: Likewise.
72197         * rt/aio_write.c: Likewise.
72198         * rt/clock_getres.c: Likewise.
72199         * rt/clock_gettime.c: Likewise.
72200         * rt/clock_nanosleep.c: Likewise.
72201         * rt/clock_settime.c: Likewise.
72202         * rt/lio_listio.c: Likewise.
72203         * rt/mq_close.c: Likewise.
72204         * rt/mq_getattr.c: Likewise.
72205         * rt/mq_notify.c: Likewise.
72206         * rt/mq_open.c: Likewise.
72207         * rt/mq_receive.c: Likewise.
72208         * rt/mq_send.c: Likewise.
72209         * rt/mq_setattr.c: Likewise.
72210         * rt/mq_timedreceive.c: Likewise.
72211         * rt/mq_timedsend.c: Likewise.
72212         * rt/mq_unlink.c: Likewise.
72213         * rt/shm_open.c: Likewise.
72214         * rt/shm_unlink.c: Likewise.
72215         * rt/timer_create.c: Likewise.
72216         * rt/timer_delete.c: Likewise.
72217         * rt/timer_getoverr.c: Likewise.
72218         * rt/timer_gettime.c: Likewise.
72219         * rt/timer_settime.c: Likewise.
72220         * setjmp/__longjmp.c: Likewise.
72221         * setjmp/setjmp.c: Likewise.
72222         * signal/kill.c: Likewise.
72223         * signal/killpg.c: Likewise.
72224         * signal/raise.c: Likewise.
72225         * signal/sigaction.c: Likewise.
72226         * signal/sigaltstack.c: Likewise.
72227         * signal/sigblock.c: Likewise.
72228         * signal/sigignore.c: Likewise.
72229         * signal/sigintr.c: Likewise.
72230         * signal/signal.c: Likewise.
72231         * signal/sigpause.c: Likewise.
72232         * signal/sigpending.c: Likewise.
72233         * signal/sigqueue.c: Likewise.
72234         * signal/sigreturn.c: Likewise.
72235         * signal/sigset.c: Likewise.
72236         * signal/sigsetmask.c: Likewise.
72237         * signal/sigstack.c: Likewise.
72238         * signal/sigsuspend.c: Likewise.
72239         * signal/sigtimedwait.c: Likewise.
72240         * signal/sigvec.c: Likewise.
72241         * signal/sigwait.c: Likewise.
72242         * signal/sigwaitinfo.c: Likewise.
72243         * signal/sysv_signal.c: Likewise.
72244         * socket/accept.c: Likewise.
72245         * socket/accept4.c: Likewise.
72246         * socket/bind.c: Likewise.
72247         * socket/connect.c: Likewise.
72248         * socket/getpeername.c: Likewise.
72249         * socket/getsockname.c: Likewise.
72250         * socket/getsockopt.c: Likewise.
72251         * socket/isfdtype.c: Likewise.
72252         * socket/listen.c: Likewise.
72253         * socket/recv.c: Likewise.
72254         * socket/recvfrom.c: Likewise.
72255         * socket/recvmsg.c: Likewise.
72256         * socket/send.c: Likewise.
72257         * socket/sendmsg.c: Likewise.
72258         * socket/sendto.c: Likewise.
72259         * socket/setsockopt.c: Likewise.
72260         * socket/shutdown.c: Likewise.
72261         * socket/sockatmark.c: Likewise.
72262         * socket/socket.c: Likewise.
72263         * socket/socketpair.c: Likewise.
72264         * stdio-common/ctermid.c: Likewise.
72265         * stdio-common/cuserid.c: Likewise.
72266         * stdio-common/remove.c: Likewise.
72267         * stdio-common/rename.c: Likewise.
72268         * stdio-common/renameat.c: Likewise.
72269         * stdio-common/tempname.c: Likewise.
72270         * stdlib/getcontext.c: Likewise.
72271         * stdlib/makecontext.c: Likewise.
72272         * stdlib/setcontext.c: Likewise.
72273         * stdlib/swapcontext.c: Likewise.
72274         * stdlib/system.c: Likewise.
72275         * streams/fattach.c: Likewise.
72276         * streams/fdetach.c: Likewise.
72277         * streams/getmsg.c: Likewise.
72278         * streams/getpmsg.c: Likewise.
72279         * streams/putmsg.c: Likewise.
72280         * streams/putpmsg.c: Likewise.
72281         * sysdeps/unix/bsd/getpt.c: Likewise.
72282         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72283         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72284         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72286         Likewise.
72287         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72288         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72289         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72290         * sysvipc/msgctl.c: Likewise.
72291         * sysvipc/msgget.c: Likewise.
72292         * sysvipc/msgrcv.c: Likewise.
72293         * sysvipc/msgsnd.c: Likewise.
72294         * sysvipc/semctl.c: Likewise.
72295         * sysvipc/semget.c: Likewise.
72296         * sysvipc/semop.c: Likewise.
72297         * sysvipc/semtimedop.c: Likewise.
72298         * sysvipc/shmat.c: Likewise.
72299         * sysvipc/shmctl.c: Likewise.
72300         * sysvipc/shmdt.c: Likewise.
72301         * sysvipc/shmget.c: Likewise.
72302         * termios/tcdrain.c: Likewise.
72303         * termios/tcflow.c: Likewise.
72304         * termios/tcflush.c: Likewise.
72305         * termios/tcgetattr.c: Likewise.
72306         * termios/tcgetpgrp.c: Likewise.
72307         * termios/tcsendbrk.c: Likewise.
72308         * termios/tcsetattr.c: Likewise.
72309         * termios/tcsetpgrp.c: Likewise.
72310         * time/adjtime.c: Likewise.
72311         * time/clock.c: Likewise.
72312         * time/getitimer.c: Likewise.
72313         * time/gettimeofday.c: Likewise.
72314         * time/setitimer.c: Likewise.
72315         * time/settimeofday.c: Likewise.
72316         * time/stime.c: Likewise.
72317         * time/time.c: Likewise.
72319 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
72321         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72322         /usr/old/bin.
72324         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72325         instead of spaces.
72326         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72328 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
72330         [BZ #14796]
72331         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72332         FE_TONEAREST before applying Dekker multiplication and Knuth
72333         addition.  Clear inexact exceptions and check for exact zero
72334         results afterwards.
72335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72336         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72338         * math/libm-test.inc (fma_test): Add more tests.
72339         (fma_test_towardzero): Likewise.
72340         (fma_test_downward): Likewise.
72341         (fma_test_upward): Likewise.
72342         * sysdeps/generic/math_private.h (default_libc_fesetround): New
72343         function.
72344         (libc_fesetround): New macro.
72345         (libc_fesetroundf): Likewise.
72346         (libc_fesetroundl): Likewise.
72347         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72348         function.
72349         (libc_fesetround_387): Likewise.
72350         (libc_fesetroundf): New macro.
72351         (libc_fesetround): Likewise.
72352         (libc_fesetroundl): Likewise.
72353         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72354         function.
72355         (libc_fesetroundf): New macro.
72356         (libc_fesetround): Likewise.
72357         (libc_fesetroundl): Likewise.
72358         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72359         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72360         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72361         libm_hidden_ver.
72362         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72363         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72364         libm_hidden_def.
72365         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72366         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72367         libm_hidden_ver.
72368         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72369         libm_hidden_def.
72371         [BZ #3439]
72372         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72373         integer constant usable in #if and use that to give value to enum
72374         constant.
72375         (FE_DIVBYZERO): Likewise.
72376         (FE_UNDERFLOW): Likewise.
72377         (FE_OVERFLOW): Likewise.
72378         (FE_INVALID): Likewise.
72379         (FE_INVALID_SNAN): Likewise.
72380         (FE_INVALID_ISI): Likewise.
72381         (FE_INVALID_IDI): Likewise.
72382         (FE_INVALID_ZDZ): Likewise.
72383         (FE_INVALID_IMZ): Likewise.
72384         (FE_INVALID_COMPARE): Likewise.
72385         (FE_INVALID_SOFTWARE): Likewise.
72386         (FE_INVALID_SQRT): Likewise.
72387         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72388         (FE_TONEAREST): Likewise.
72389         (FE_TOWARDZERO): Likewise.
72390         (FE_UPWARD): Likewise.
72391         (FE_DOWNWARD): Likewise.
72392         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72393         (FE_DIVBYZERO): Likewise.
72394         (FE_OVERFLOW): Likewise.
72395         (FE_UNDERFLOW): Likewise.
72396         (FE_INEXACT): Likewise.
72397         (FE_TONEAREST): Likewise.
72398         (FE_DOWNWARD): Likewise.
72399         (FE_UPWARD): Likewise.
72400         (FE_TOWARDZERO): Likewise.
72401         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72402         (FE_UNDERFLOW): Likewise.
72403         (FE_OVERFLOW): Likewise.
72404         (FE_DIVBYZERO): Likewise.
72405         (FE_INVALID): Likewise.
72406         (FE_TONEAREST): Likewise.
72407         (FE_TOWARDZERO): Likewise.
72408         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72409         (FE_OVERFLOW): Likewise.
72410         (FE_UNDERFLOW): Likewise.
72411         (FE_DIVBYZERO): Likewise.
72412         (FE_INEXACT): Likewise.
72413         (FE_TONEAREST): Likewise.
72414         (FE_TOWARDZERO): Likewise.
72415         (FE_UPWARD): Likewise.
72416         (FE_DOWNWARD): Likewise.
72417         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72418         (FE_DIVBYZERO): Likewise.
72419         (FE_OVERFLOW): Likewise.
72420         (FE_UNDERFLOW): Likewise.
72421         (FE_INEXACT): Likewise.
72422         (FE_TONEAREST): Likewise.
72423         (FE_DOWNWARD): Likewise.
72424         (FE_UPWARD): Likewise.
72425         (FE_TOWARDZERO): Likewise.
72427 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72429         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72431 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72433         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72434         commands.  Quote $PWD.
72435         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72436         -x" by "export".
72437         (remove_newlines): Remove.
72439 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72441         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72442         * stdlib/stdlib.h (atof): Moved to ...
72443         * include/bits/stdlib-float.h: Here.  New file.
72444         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72445         * stdlib/bits/stdlib-float.h: New file.
72446         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72447         -mno-sse -mno-mmx.
72448         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72449         <xmmintrin.h>.
72451 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72453         * conform/conformtest.pl (@headers): Add fenv.h.
72454         * conform/data/fenv.h-data: New file.
72455         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72456         include of <math/fenv.h>.
72458         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72459         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72460         && !UNIX98].  Enables tests for XOPEN2K8.
72461         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72462         POSIX2008]: Likewise.
72464         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72465         (struct rusage): Do not expect type or its members.
72467         [BZ #3439]
72468         * math/math.h (FP_NAN): Define macro to integer constant usable in
72469         #if and use that to give value to enum constant.
72470         (FP_INFINITE): Likewise.
72471         (FP_ZERO): Likewise.
72472         (FP_SUBNORMAL): Likewise.
72473         (FP_NORMAL): Likewise.
72475 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72477         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72478         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72479         arguments.
72481 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72483         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72484         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72485         autoconf-time if not.
72486         * configure.in: Remove AC_PREREQ.
72488 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72490         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72491         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72492         of the internal implementation.
72494 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72496         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72497         except include of <misc/sys/syslog.h>.
72499 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72502         function returns with a NULL context exit with zero.
72504 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72506         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72508 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72510         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72511         (run_program_cmd): This.
72512         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72513         (tst_langinfo): New variable.  Use it.
72515 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72517         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72518         floating point opcodes.
72520 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72522         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72523         variable.
72525         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72527         * sysdeps/mach/hurd/powerpc: Remove directory.
72528         * sysdeps/mach/powerpc: Likewise.
72530 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72532         * scripts/check-local-headers.sh: Ignore c++ headers.
72534 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72536         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72537         __libc_cleanup_region_start argument.
72539 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72541         [BZ #14784]
72542         [BZ #14785]
72543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72544         x * y using scaling, not as x * y + z.
72545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72547         * math/libm-test.inc (fma_test): Add more tests.
72548         (fma_test_towardzero): Likewise.
72549         (fma_test_downward): Likewise.
72550         (fma_test_upward): Likewise.
72552 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72554         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72556 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72558         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72559         New variable.
72561 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72563         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72565 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72568         Fix sort order.
72569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72570         Likewise.
72572 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72575         Fix the order of the list for glibc 2.17.
72576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72577         Likewise.
72579 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72583 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72585         [BZ #14610]
72586         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72587         for low part of x being zero before using __atanl (y).
72588         * math/libm-test.inc (atan2_test): Add another test.
72590         * manual/install.texi (Configuring and compiling): Document
72591         general use of test-wrapper and test-wrapper-env.
72592         * INSTALL: Regenerated.
72594         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72595         (__fma): Do not extract and scale down low bits on after-rounding
72596         systems when result rounded to normal precision would have normal
72597         exponent.
72598         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72599         (__fmal): Do not extract and scale down low bits on after-rounding
72600         systems when result rounded to normal precision would have normal
72601         exponent.
72602         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72603         (__fmal): Do not extract and scale down low bits on after-rounding
72604         systems when result rounded to normal precision would have normal
72605         exponent.
72606         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72607         macro.
72608         (fma_test): Add more tests.
72609         (fma_test_towardzero): Likewise.
72610         (fma_test_downward): Likewise.
72611         (fma_test_upward): Likewise.
72613 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72615         * sysdeps/i386/tininess.h: Renamed to ...
72616         * sysdeps/x86/tininess.h: This.
72617         * sysdeps/x86_64/tininess.h: Removed.
72619 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72621         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72622         input.  Use $(build-program-cmd).
72623         ($(objpfx)tst-array1-static.out): Likewise.
72624         ($(objpfx)tst-array2.out): Likewise.
72625         ($(objpfx)tst-array3.out): Likewise.
72626         ($(objpfx)tst-array4.out): Likewise.
72627         ($(objpfx)tst-array5.out): Likewise.
72628         ($(objpfx)tst-array5-static.out): Likewise.
72630 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72632         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72633         if defined.
72635         * nss/nsswitch.h (nss_interface_function): Provide new
72636         macro for use with NSS functions.
72637         * grp/initgroups.c: Use new macro.
72638         * nss/getXXbyYY.c: Likewise.
72639         * nss/getXXbyYY_r.c: Likewise.
72640         * nss/getXXent.c: Likewise.
72641         * nss/getXXent_r.c: Likewise.
72642         * sysdeps/posix/getaddrinfo.c: Likewise.
72644 2012-10-30  Andreas Jaeger  <aj@suse.de>
72646         * po/ru.po: Update Russion translation from translation project.
72648 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72650         [BZ #14152]
72651         [BZ #14783]
72652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72653         result and shift together with sticky bit instead of replicating
72654         round-to-nearest rounding.
72655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72657         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72658         missing underflow exceptions.
72659         (fma_test_towardzero): Add more tests.
72660         (fma_test_downward): Likewise.
72661         (fma_test_upward): Likewise.
72663         [BZ #14047]
72664         * sysdeps/generic/tininess.h: New file.
72665         * sysdeps/i386/tininess.h: Likewise.
72666         * sysdeps/sh/tininess.h: Likewise.
72667         * sysdeps/x86_64/tininess.h: Likewise.
72668         * stdlib/tst-strtod-underflow.c: Likewise.
72669         * stdlib/tst-tininess.c: Likewise.
72670         * stdlib/strtod_l.c: Include <tininess.h>.
72671         (round_and_return): Do not set errno for exact underflow cases.
72672         Force an underflow exception when setting errno for underflow.
72673         Determine underflow based on rounding to normal precision if
72674         TININESS_AFTER_ROUNDING.
72675         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72676         ERANGE for exact underflow cases.
72677         * stdlib/Makefile (tests): Add tst-tininess and
72678         tst-strtod-underflow.
72679         ($(objpfx)tst-tininess): Use $(link-libm).
72680         ($(objpfx)tst-strtod-underflow): Likewise.
72682 2012-10-30  Andreas Jaeger  <aj@suse.de>
72684         [BZ #14767]
72685         * elf/Makefile (tests): Remove conditional for have-initfini-array
72686         since this is now always required and the variable does not exist
72687         anymore.
72688         (tests-static): Likewise.
72689         (modules-names): Likewise.
72691         * po/eo.po: Add Esperanto translation from translation project.
72693         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72694         merged with constructor/destructor.
72695         (init_array): Likewise.
72696         * elf/tst-array2dep.c (fini_array): Likewise.
72697         (init_array): Likewise.
72699 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72701         * manual/message.texi: Delete @cartouche tags.
72703 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72705         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72706         EOPNOTSUPP.
72707         * sysdeps/mach/hurd/fsync.c: Likewise.
72709         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72710         [_POSIX_REALTIME_SIGNALS]: Change condition to
72711         [_POSIX_REALTIME_SIGNALS > 0].
72713 2012-10-27  Andreas Jaeger  <aj@suse.de>
72715         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72716         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72718         [__WORDSIZE != 64]: Likewise.
72720 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72722         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72723         *  iconvdata/tst-tables.sh: Likewise.
72725 2012-10-25  David S. Miller  <davem@davemloft.net>
72727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72728         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72729         of strtoull.
72731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72732         ifunc-impl-list.c
72733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72734         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72735         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72736         file.
72738 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72740         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72741         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72742         __getdirentries.
72744 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72745             Jim Blandy  <jimb@codesourcery.com>
72747         * scripts/cross-test-ssh.sh: New file.
72748         * manual/install.texi (Configuring and compiling): Document use of
72749         cross-test-ssh.sh.
72750         * INSTALL: Regenerated.
72752 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72754         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72755         EOPNOTSUPP.
72757 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72759         * Makeconfig (run-program-prefix): Fix comment.
72761 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72762             Jim Blandy  <jimb@codesourcery.com>
72764         * Makeconfig (test-wrapper): New variable,
72765         (test-wrapper-env): Likewise.
72766         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72767         (run-built-tests): Define to yes.
72768         (run-program-prefix): Use $(test-wrapper).
72769         (built-program-cmd): Likewise.
72770         * Rules (make-test-out): Use $(test-wrapper-env) and
72771         $(host-built-program-cmd).
72772         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72773         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72774         tst-pathopt.sh.
72775         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72776         $(test-wrapper-env) to tst-rtld-load-self.sh.
72777         ($(objpfx)order2.out): Use $(test-wrapper).
72778         ($(objpfx)tst-initorder.out): Likewise.
72779         ($(objpfx)tst-initorder2.out): Likewise.
72780         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72781         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72782         (test_wrapper_env): New variable.  Use it to run ld.so.
72783         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72784         Use it to run ld.so.
72785         (test_wrapper_env): Likewise.
72786         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72787         $(test-wrapper) to run-iconv-test.sh.
72788         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72789         (ICONV): Use $test_wrapper.
72790         * posix/Makefile ($(objpfx)globtest.out): Pass
72791         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72792         globtest.sh, not $(run-program-prefix).
72793         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72794         (test_wrapper): Likewise.
72795         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72796         set together with run_via_rtld_prefix.
72797         (run_program_prefix): Define in terms of test_wrapper and
72798         run_via_rtld_prefix.
72800 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72802         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72803         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72804         Targets removed.
72806         [BZ #14743]
72807         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72808         Declare __clock_getres, __clock_gettime, __clock_settime,
72809         __clock_nanosleep, and __clock_getcpuclockid.
72810         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72811         Remove librt_hidden_def (clock_gettime).
72812         * sysdeps/unix/clock_gettime.c: Likewise.
72813         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72814         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72815         * rt/clock_getres.c: Define __clock_getres as an alias.
72816         * sysdeps/posix/clock_getres.c: Likewise.
72817         * rt/clock_settime.c: Define __clock_settime as an alias.
72818         * sysdeps/unix/clock_settime.c: Likewise.
72819         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72820         * sysdeps/unix/clock_nanosleep.c: Likewise.
72821         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72822         * rt/clock-compat.c: New file.
72823         * rt/Makefile (librt-routines): Add clock-compat and move
72824         $(clock-routines) to ...
72825         (routines): ... here, new variable.
72826         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72827         Don't add get_clockfreq here.
72828         * rt/Versions (libc: GLIBC_2.17): New version set.
72829         Add clock_* symbols here.
72830         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72832         (GLIBC_2.17): Add clock_* symbols.
72833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72837         Likewise.
72838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72839         Likewise.
72840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72844         * NEWS: Mention the move.
72846         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72847         Use __open, __read, __close rather than their public counterparts.
72848         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72849         (__get_clockfreq_via_cpuinfo): Likewise.
72850         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72851         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72853         * config.h.in (HAVE_IFUNC): New #undef.
72854         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72855         was successful.
72856         * configure: Regenerated.
72858 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72860         * configure.in: Move READELF check to start of file.
72861         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72862         libc_cv_asm_gnu_indirect_function in the process.
72863         * configure: Regenerated.
72865 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72867         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72868         send the output to /dev/null.
72869         (libc_cv_cc_with_libunwind): Likewise.
72870         (libc_cv_as_noexecstack): Likewise.
72871         * configure: Regenerate.
72873 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72875         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72877         * posix/globtest.sh (TMPDIR): Do not set.
72878         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72879         (testout): Likewise.
72881 2012-10-24  Andreas Jaeger  <aj@suse.de>
72883         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72884         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72885         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72886         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72887         posix_fadvise64, posix_fallocate64.
72889         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72890         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72891         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72892         Likewise.
72893         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72894         Likewise.
72895         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72898         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72899         <bits/fcntl-linux.h>.
72900         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72902         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72903         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72904         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72905         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72906         [__WORDSIZE != 64]: Likewise.
72908 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72910         * Makeconfig (run-built-tests): New variable.
72911         * Rules [$(cross-compiling) = yes]: Change condition to
72912         [$(run-built-tests) = no].
72913         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72914         to [$(run-built-tests) = yes].
72915         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72916         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72917         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72918         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72919         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72920         * io/Makefile [$(cross-compiling) = no]: Likewise.
72921         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72922         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72923         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72924         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72925         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72926         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72927         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72928         * string/Makefile [$(cross-compiling) = no]: Likewise.
72930         * posix/Makefile ($(objpfx)globtest.out): Pass
72931         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72932         $(rtld-installed-name).
72933         * posix/globtest.sh (elf_objpfx): Remove variable.
72934         (rtld_installed_name): Likewise.
72935         (library_path): Likewise.
72936         (run_program_prefix): New variable.  Use for running globtest
72937         binary.
72939 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72940             Joseph Myers  <joseph@codesourcery.com>
72942         * Makeconfig (host-built-program-cmd): New variable.
72943         * elf/Makefile (tst-stackguard1-ARGS): Use
72944         $(host-built-program-cmd).
72945         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72946         (tst-spawn-ARGS): Likewise.
72947         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72949 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72950             Jim Blandy  <jimb@codesourcery.com>
72952         * Makeconfig (run-via-rtld-prefix): New variable.
72953         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72954         (built-program-cmd): Likewise.
72956 2012-10-22  Andreas Jaeger  <aj@suse.de>
72958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72959         __O_RSYNC if it exists, otherwise to O_SYNC.
72961 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72962             Joseph Myers  <joseph@codesourcery.com>
72964         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72965         /dev/null.
72966         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72967         from /dev/null
72968         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72969         /dev/null.
72971 2012-10-22  Andreas Jaeger  <aj@suse.de>
72973         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72974         Define always.
72975         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72978         bits/fcntl-linux.h.
72980         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72981         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72984         to __O_LARGEFILE.
72985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72986         to __O_LARGEFILE.
72988 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72989             Joseph Myers  <joseph@codesourcery.com>
72991         * config.make.in (NM): New variable.
72993 2012-10-21  Andreas Jaeger  <aj@suse.de>
72995         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72996         definitions and declarations that are provided by
72997         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72999 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73001         [BZ #14683]
73002         * elf/Makefile (tests-static): Add tst-leaks1-static.
73003         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73004         ($(objpfx)tst-leaks1-static): New rule.
73005         ($(objpfx)tst-leaks1-static-mem): Likewise.
73006         (tst-leaks1-static-ENV): New macro.
73007         * elf/dl-open.c (dl_open_worker): Check the main application
73008         only if SHARED is defined.
73009         * elf/tst-leaks1-static.c: New file.
73011 2012-10-20  Andreas Jaeger  <aj@suse.de>
73013         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73014         generic values for Linux.
73015         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73016         and declarations that are provided by <bits/fcntl-linux.h> and
73017         include <bits/fcntl-linux.h>.
73018         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73019         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73021 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73023         * io/fcntl.h: Move include of <bits/types.h> to the top and
73024         include it unconditionally.
73026 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73028         * wcsmbs/Makefile (tests-ifunc): New variable.
73029         (tests): Add $(tests-ifunc).
73030         * wcsmbs/test-wcschr-ifunc.c: New file.
73031         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73032         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73033         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73034         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73035         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73037         * string/Makefile (tests-ifunc): New variable.
73038         (tests): Add $(tests-ifunc).
73039         * string/test-memccpy.c (TEST_NAME): New macro.
73040         * string/test-memchr.c (TEST_NAME): Likewise.
73041         * string/test-memcmp.c (TEST_NAME): Likewise.
73042         * string/test-memcpy.c (TEST_NAME): Likewise.
73043         * string/test-memmem.c (TEST_NAME): Likewise.
73044         * string/test-memmove.c (TEST_NAME): Likewise.
73045         * string/test-memset.c (TEST_NAME): Likewise.
73046         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73047         * string/test-stpcpy.c (TEST_NAME): Likewise.
73048         * string/test-stpncpy.c (TEST_NAME): Likewise.
73049         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73050         * string/test-strcasestr.c (TEST_NAME): Likewise.
73051         * string/test-strcat.c (TEST_NAME): Likewise.
73052         * string/test-strchr.c (TEST_NAME): Likewise.
73053         * string/test-strcmp.c(TEST_NAME): Likewise.
73054         * string/test-strcpy.c (TEST_NAME): Likewise.
73055         * string/test-strcspn.c (TEST_NAME): Likewise.
73056         * string/test-strlen.c (TEST_NAME): Likewise.
73057         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73058         * string/test-strncmp.c (TEST_NAME): Likewise.
73059         * string/test-strncpy.c (TEST_NAME): Likewise.
73060         * string/test-strnlen.c (TEST_NAME): Likewise.
73061         * string/test-strpbrk.c (TEST_NAME): Likewise.
73062         * string/test-strrchr.c (TEST_NAME): Likewise.
73063         * string/test-strspn.c (TEST_NAME): Likewise.
73064         * string/test-strstr.c (TEST_NAME): Likewise.
73065         * string/test-bcopy-ifunc.c: New file.
73066         * string/test-bzero-ifunc.c: Likewise.
73067         * string/test-memccpy-ifunc.c: Likewise.
73068         * string/test-memchr-ifunc.c: Likewise.
73069         * string/test-memcmp-ifunc.c: Likewise.
73070         * string/test-memcpy-ifunc.c: Likewise.
73071         * string/test-memmem-ifunc.c: Likewise.
73072         * string/test-memmove-ifunc.c: Likewise.
73073         * string/test-mempcpy-ifunc.c: Likewise.
73074         * string/test-memset-ifunc.c: Likewise.
73075         * string/test-rawmemchr-ifunc.c: Likewise.
73076         * string/test-stpcpy-ifunc.c: Likewise.
73077         * string/test-stpncpy-ifunc.c: Likewise.
73078         * string/test-strcasecmp-ifunc.c: Likewise.
73079         * string/test-strcasestr-ifunc.c: Likewise.
73080         * string/test-strcat-ifunc.c: Likewise.
73081         * string/test-strchr-ifunc.c: Likewise.
73082         * string/test-strchrnul-ifunc.c: Likewise.
73083         * string/test-strcmp-ifunc.c: Likewise.
73084         * string/test-strcpy-ifunc.c: Likewise.
73085         * string/test-strcspn-ifunc.c: Likewise.
73086         * string/test-strlen-ifunc.c: Likewise.
73087         * string/test-strncasecmp-ifunc.c: Likewise.
73088         * string/test-strncat-ifunc.c: Likewise.
73089         * string/test-strncmp-ifunc.c: Likewise.
73090         * string/test-strncpy-ifunc.c: Likewise.
73091         * string/test-strnlen-ifunc.c: Likewise.
73092         * string/test-strpbrk-ifunc.c: Likewise.
73093         * string/test-strrchr-ifunc.c: Likewise.
73094         * string/test-strspn-ifunc.c: Likewise.
73095         * string/test-strstr-ifunc.c: Likewise.
73097         * debug/Makefile (tests-ifunc): New variable.
73098         (tests): Add $(tests-ifunc).
73099         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73100         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73101         * debug/test-stpcpy_chk-ifunc.c: New file.
73102         * debug/test-strcpy_chk-ifunc.c: Likewise.
73104 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73106         [BZ #13601]
73107         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73108         header is not read in.
73110 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73112         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73113         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73114         directly.  Pass built executable to script as
73115         $(built-program-cmd).
73116         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73117         $testprogram without using LD_LIBRARY_PATH and $ldso.
73119         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73120         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73121         $(rtld-installed-name).
73122         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73123         (rtld_installed_name): Likewise.
73124         (library_path): Likewise.
73125         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73126         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73127         $(run-program-prefix) to tst-tables.sh.
73128         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73129         it to run tst-table-from and tst-table-to.
73130         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73131         Pass it to tst-table.sh.
73132         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73133         $(run-program-prefix) to tst-gettext.sh.
73134         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73135         tst-translit.sh.
73136         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73137         tst-gettext2.sh.
73138         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73139         to run tst-gettext.
73140         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73141         to run tst-gettext2.
73142         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73143         to run tst-translit.
73144         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73145         $(run-program-prefix) to tst-mtrace.sh.
73146         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73147         to run tst-mtrace.
73148         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73149         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73150         $(rtld-installed-name).
73151         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73152         (rtld_installed_name): Likewise.
73153         (run_program_prefix): New variable.  Use it to run wordexp-test.
73155         * Makeconfig (ARCH): Remove all definitions.
73156         (machine): Likewise.
73157         [ARCH]: Remove conditional code.
73158         [!objdir]: Give error.
73159         [!objdir] (objpfx): Remove.
73160         [!objdir] (common-objpfx): Likewise.
73161         [!objdir] (common-objdir): Likewise.
73162         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73163         AC_CONFIG_FILES call.
73164         * configure: Regenerated.
73166         [BZ #13888]
73167         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73168         or TMPDIR.
73169         (testout): Likewise.
73171         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73172         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73173         $(rtld-installed-name).
73174         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73175         (rtld_installed_name): Likewise.
73176         (runit): Remove function.
73177         (run_getconf): New variable,  Use it for running getconf binary.
73179 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73181         [BZ #14716]
73182         * string/test-memmem.c (check_result): New function.
73183         (do_one_test): Use it.
73184         (check1): New function.
73185         (test_main): Use it.
73187 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73189         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73191 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73193         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73194         (_G_LSEEK64): Likewise.
73195         (_G_MMAP64): Likewise.
73196         (_G_FSTAT64): Likewise.
73197         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73198         (_G_LSEEK64): Likewise.
73199         (_G_MMAP64): Likewise.
73200         (_G_FSTAT64): Likewise.
73201         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73202         unconditional.  Call __mmap64 directly.
73203         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73204         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73205         __lseek64 directly.
73206         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73207         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73208         __mmap64 directly.
73209         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73210         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73211         __lseek64 directly.
73212         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73213         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73214         __lseek64 directly.
73215         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73216         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73217         __lseek64 directly.
73218         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73219         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73220         __fxstat64 directly.
73221         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73222         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73223         unconditional.
73224         (freopen64) [!_G_OPEN64]: Remove conditional code.
73225         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73226         unconditional.
73227         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73228         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73229         unconditional.
73230         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73231         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73232         unconditional.
73233         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73234         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73235         unconditional.
73236         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73237         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73238         unconditional.
73239         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73240         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73241         unconditional.
73242         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73243         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73244         unconditional.
73245         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73247 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73249         [BZ #12140]
73250         * manual/memory.texi (Malloc Tunable Parameters): Add note
73251         about free list pointers overwriting some perturb bytes.
73252         Wording suggested by Roland McGrath.
73254 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73256         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73257         (lgamma_test): Likewise.
73258         (tgamma_test): Likewise.
73260 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73262         [BZ #14700]
73263         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73264         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73266 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
73268         * NEWS: Mention BZ #14716.
73269         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73270         when removing AVAILABLE1_USES_J macro.
73272 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
73274         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73275         (__bswap_64): __uint64_t for unsigned 64-bit int.
73277 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
73279         * include/string.h (memmem): Declare libc hidden alias.
73280         * string/memmem.c (memmem): Define libc hidden alias.
73281         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73282         __read, __close instead of open, read, close.
73284 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
73286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73287         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73288         global and hidden.
73289         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73290         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73291         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73292         Likewise.
73293         (__rawmemchr_sse2): Likewise.
73294         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73295         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73296         (__strchr_sse2): Likewise.
73297         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73298         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73299         (__strcasecmp_sse2): Likewise.
73300         (__strncasecmp_sse2): Likewise.
73301         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73302         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73303         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73304         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73305         (__strrchr_sse2): Likewise.
73306         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73307         ifunc-impl-list.c.
73308         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73309         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73310         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73311         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73312         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73313         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73314         * sysdeps/x86_64/multiarch/memset.S: Likewise.
73315         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73316         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73317         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73318         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73319         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73320         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73321         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73322         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73323         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73324         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73325         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73326         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73327         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73328         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73329         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73330         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73331         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73332         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73333         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73334         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73335         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73336         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73337         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73339         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73340         global and hidden.
73341         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73342         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73343         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73344         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73345         Likewise.
73346         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73347         Likewise.
73348         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73349         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73350         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73351         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73352         ifunc-impl-list.c.
73353         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73354         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73355         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73356         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73357         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73358         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73359         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73360         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73361         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73362         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73363         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73364         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73365         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73366         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73367         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73368         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73369         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73370         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73371         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73372         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73373         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73374         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73375         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73376         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73377         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73378         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73379         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73380         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73381         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73382         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73383         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73384         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73385         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73386         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73387         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73388         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73389         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73390         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73391         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73392         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73393         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73395         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73396         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73397         * include/ifunc-impl-list.h: New file.
73398         * misc/ifunc-impl-list.c: Likewise.
73399         * misc/Makefile (routines): Add ifunc-impl-list.
73400         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73401         * string/test-string.h: Include <ifunc-impl-list.h>.
73402         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73403         TEST_NAME]: New variables.
73404         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73405         are defined.
73406         (test_init): Call __libc_ifunc_impl_list to initialize
73407         func_list if TEST_IFUNC and TEST_NAME are defined.
73409         * string/Makefile (strop-tests): Add bcopy and bzero.
73410         * string/test-bcopy.c: New file.
73411         * string/test-bzero.c: Likewise.
73412         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73413         defined.
73414         * string/test-memset.c: Support bzero test if TEST_BZERO is
73415         defined.
73416         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73417         __libc_memmove.
73418         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73419         __libc_memset.
73420         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73421         of memset.
73423 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73425         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73426         * configure: Regenerated.
73428         * Makeconfig (+link-static-before-libc): Don't include
73429         $(link-static-libc).
73431         * libio/libio.h (_IO_pos_t): Remove.
73433 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73435         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73436         McGrath.
73438 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73440         * crypt/crypt-entry.c: Include fips-private.h.
73441         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73442         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73443         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73444         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73446 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73448         * crypt/crypt-private.h: Include stdbool.h.
73449         (_ufc_setup_salt_r): Return bool.
73450         * crypt/crypt-entry.c: Include errno.h.
73451         (__crypt_r): Return NULL with EINVAL for bad salt.
73452         * crypt/crypt_util.c (bad_for_salt): New.
73453         (_ufc_setup_salt_r): Check that salt is long enough and within
73454         the specified alphabet.
73455         * crypt/badsalttest.c: New file.
73456         * crypt/Makefile (tests): Add it.
73457         ($(objpfx)badsalttest): New.
73459 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73461         * NEWS: Add entry for BZ #14602.
73463 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73465         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73466         type-generic.
73467         * math/libm-test.inc: Update comment listing what functions and
73468         macros are tested.
73469         (isgreater_test): New function.
73470         (isgreaterequal_test): Likewise.
73471         (isless_test): Likewise.
73472         (islessequal_test): Likewise.
73473         (islessgreater_test): Likewise.
73474         (isunordered_test): Likewise.
73475         (main): Call the new functions.
73477 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73479         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73480         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73481         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73482         * sysdeps/i386/configure: Regenerated.
73483         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73484         * sysdeps/mach/configure: Regenerated.
73485         * sysdeps/mach/hurd/configure: Regenerated.
73486         * sysdeps/powerpc/configure: Regenerated.
73487         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73488         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73489         * sysdeps/s390/s390-32/configure: Regenerated.
73490         * sysdeps/s390/s390-64/configure: Regenerated.
73491         * sysdeps/sh/configure: Regenerated.
73492         * sysdeps/sparc/configure: Regenerated.
73493         * sysdeps/unix/sysv/linux/configure: Regenerated.
73494         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73495         * sysdeps/x86_64/configure: Regenerated.
73497         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73498         defined.  Don't check if MAP is NULL.
73500 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73502         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73503         (_G_stat64): Likewise.
73504         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73505         (_G_stat64): Likewise.
73506         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73507         instead of struct _G_stat64.
73508         * libio/fileops.c (mmap_remap_check): Likewise.
73509         (decide_maybe_mmap): Likewise.
73510         (_IO_new_file_seekoff): Likewise.
73511         (_IO_file_stat): Likewise.
73512         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73513         _G_off64_t.
73514         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73515         instead of struct _G_stat64.
73516         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73518 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73520         [BZ #14602]
73521         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73522         Replace with ...
73523         (CHECK_EOL): New macro.
73524         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73525         CHECK_EOL.
73526         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73527         Replace with CHECK_EOL.
73528         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73529         Replace with CHECK_EOL.
73531 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73533         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73534         type-generic.
73535         * math/libm-test.inc: Update comment listing what functions and
73536         macros are tested.
73537         (finite_test): New function.
73538         (isinf_test): Likewise.
73539         (isnan_test): Likewise.
73540         (fpclassify_test): Test subnormal input.
73541         (isfinite_test): Likewise.
73542         (isnormal_test): Likewise.
73543         (main): Call the new functions.
73545 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73547         [BZ #14660]
73548         * Makerules (%.dynsym): Force C locale when running
73549         $(OBJDUMP) --dynamic-syms.
73551 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73553         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73554         <stdint.h>.
73556 2012-10-06  David S. Miller  <davem@davemloft.net>
73558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73559         upper 32-bits of the length value in %o2 since we use branch-on-register
73560         tests which consider the entire 64-bit register.
73562 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73564         * string/test-strstr.c (check2): Add a test for page boundary.
73566 2012-10-05  David S. Miller  <davem@davemloft.net>
73568         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73569         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73570         file.
73571         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73572         sysdep_routines.
73573         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73574         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73575         and bzero when HWCAP_SPARC_CRYPTO is present.
73577 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73579         [BZ #14602]
73580         * string/test-strstr.c (check2): New function.
73581         (test_main): Call check2.
73583         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73584         and bug-strchr1.
73585         * string/bug-strcasestr1.c (do_test): Moved to ...
73586         * string/test-strcasestr.c (check1): Here.  New function.
73587         (do_one_test): Break out result checking code into ...
73588         (check_result): This.  New function.
73589         (do_one_test): Call check_result.
73590         (test_main): Call check1.
73591         * string/bug-strchr1.c (do_test): Moved to ...
73592         * string/test-strchr.c (check1): Here.  New function.
73593         (do_one_test): Break out result checking code into ...
73594         (check_result): This.  New function.
73595         (do_one_test): Call check_result.
73596         (test_main): Call check1.
73597         * string/bug-strstr1.c (main): Moved to ...
73598         * string/test-strstr.c (check1): Here.  New function.
73599         (do_one_test): Break out result checking code into ...
73600         (check_result): This.  New function.
73601         (do_one_test): Call check_result.
73602         (test_main): Call check1.
73603         * string/bug-strcasestr1.c: Removed.
73604         * string/bug-strchr1.c: Likewise.
73605         * string/bug-strstr1.c: Likewise.
73607         * elf/Makefile (dl-routines): Add hwcaps.
73608         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73609         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73610         (_dl_important_hwcaps): Moved to ...
73611         * elf/dl-hwcaps.c: Here.  New file.
73612         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73614         [BZ #14557]
73615         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73616         if IS_IN_rtld isn't defined.
73618         * elf/dl-support.c (_dl_sysinfo_map): New.
73619         Include "get-dynamic-info.h" and "setup-vdso.h".
73620         (_dl_non_dynamic_init): Call setup_vdso.
73621         * elf/dynamic-link.h: Don't include <assert.h>.
73622         (elf_get_dynamic_info): Moved to ...
73623         * elf/get-dynamic-info.h: Here.  New file.
73624         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73625         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73626         * elf/setup-vdso.h: Here.  New file.
73627         * elf/rtld.c: Include "setup-vdso.h".
73628         (dl_main): Call setup_vdso.
73630 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73632         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73633         creal in comment listing functions tested.  List finite, isinf,
73634         isnan, isless, islessequal, isgreater, isgreaterequal,
73635         islessgreater, isunordered, lgamma_r and pow10 as functions and
73636         macros not tested.  Mention which functions not tested are aliases
73637         for other functions.  Fix typo.  Note that signs of NaNs are not
73638         tested.
73640         * scripts/config.guess: Update from config.git.
73641         * scripts/config.sub: Likewise.
73643 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73645         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73646         * misc/madvise.c (madvise): Renamed to __madvise.
73647         Make madvise a weak alias.
73648         * include/sys/mman.h: Declare __madvise.
73649         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73650         * sysdeps/unix/syscalls.list
73651         (madvise): Make __madvise the strong name, and madvise a weak alias.
73652         * sysdeps/unix/sysv/linux/syscalls.list
73653         (madvise, mmap): Remove redundant entries.
73654         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73655         * malloc/malloc.c (mtrim): Likewise.
73656         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73658 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73660         * sysdeps/mach/hurd/dl-cache.c: File removed.
73661         * config.h.in (USE_LDCONFIG): New #undef.
73662         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73663         * configure: Regenerated.
73664         * elf/Makefile (dl-routines): Add dl-cache only under
73665         [$(use-ldconfig) = yes].
73666         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73667         cache on [USE_LDCONFIG].
73668         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73669         [USE_LDCONFIG].
73670         * elf/rtld.c (dl_main): Likewise.
73672 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73674         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73675         _SC_LEVEL4_CACHE_LINESIZE.
73677 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73679         * sysdeps/unix/bsd/confstr.h: File removed.
73681 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73683         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73684         sys/sdt-config.h.
73686 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73688         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73689         Make 'mapoff' field ElfW(Off) rather than off_t.
73691 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73693         * nscd/Makefile: Remove nscd-cflags and all its users.
73694         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73695         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73697         [BZ #10631]
73698         * malloc.c (malloc_printerr): Clarify error message.
73700 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73702         [BZ #14648]
73703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73704         Set bit_FMA_Usable if FMA is supported.
73705         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73706         macro.
73707         (bit_FMA4_Usable): Updated.
73708         (index_FMA_Usable): New macro.
73709         (CPUID_FMA): Likewise.
73710         (HAS_FMA): Defined with bit_FMA_Usable.
73712 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73714         * bits/types.h (__swblk_t): Type removed.
73715         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73716         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73717         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73718         (__SWBLK_T_TYPE): Likewise.
73719         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73720         (__SWBLK_T_TYPE): Likewise.
73721         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73722         (__SWBLK_T_TYPE): Likewise.
73723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73724         (__SWBLK_T_TYPE): Likewise.
73726 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73727             Honza Horak <hhorak@redhat.com>
73729         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73730         (xdr_mapname): Use YPMAXMAP as maxsize.
73731         (xdr_peername): Use YPMAXPEER as maxsize.
73732         (xdr_keydat): Use YPAXRECORD as maxsize.
73733         (xdr_valdat): Use YPMAXRECORD as maxsize.
73735 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73737         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73739         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73740         * csu/init-first.c: ... here.
73741         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73742         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73743         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73744         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73745         * sysdeps/i386/init-first.c: File removed.
73746         * sysdeps/sh/init-first.c: File removed.
73748 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73750         [BZ #14645]
73751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73752         if x * y might underflow to zero and z is zero.
73753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73755         * math/libm-test.inc (min_subnorm_value): New variable.
73756         (fma_test): Add more tests.
73757         (fma_test_towardzero): Likewise.
73758         (fma_test_downward): Likewise.
73759         (fma_test_upward): Likewise.
73760         (initialize): Set min_subnorm_value.
73762 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73764         [BZ #14638]
73765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73766         0 + 0.
73767         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73768         mode for addition resulting in exact zero.
73769         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73771         exact 0 + 0.
73772         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73774         * math/libm-test.inc (fma_test): Add more tests.
73775         (fma_test_towardzero): New function.
73776         (fma_test_downward): Likewise.
73777         (fma_test_upward): Likewise.
73778         (main): Call the new functions.
73780 2012-09-28  David S. Miller  <davem@davemloft.net>
73782         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73784 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73786         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73787         instead of SIGALRM.
73789         * sysdeps/gnu/_G_config.h: Moved to ...
73790         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73791         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73792         * sysdeps/generic/_G_config.h: ... here.
73794         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73796         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73798         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73799         Conditionalize target on [libnss_test1.so-version].
73801         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73803         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73804         (elfobjdir): Move out of conditionals.
73806         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73807         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73808         (__nss_lookup_function): Conditionalize label remove_from_tree on
73809         [!DO_STATIC_NSS || SHARED], matching its only use.
73811 2012-09-28  David S. Miller  <davem@davemloft.net>
73813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73814         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73815         file.
73816         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73817         sysdep_routines.
73818         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73819         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73820         when HWCAP_SPARC_CRYPTO is present.
73822 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73824         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73826 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73828         [BZ #6530]
73829         * stdio-common/vfprintf.c (process_string_arg): Revert
73830         2000-07-22 change.
73832 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73834         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73835         for testcase.
73836         * stdio-common/tst-sprintf.c: Include <locale.h>
73837         (main): Test sprintf's handling of incomplete multibyte
73838         characters.
73840 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73842         * elf/dl-runtime.c (VERSYMIDX): Removed.
73843         * elf/dl-version.c (VERSYMIDX): Likewise.
73844         * elf/do-rel.h (VERSYMIDX): Likewise.
73845         (VALIDX): Likewise.
73846         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73847         * elf/rtld.c (VALIDX): Likewise.
73848         (ADDRIDX): Likewise.
73849         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73850         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73851         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73852         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73853         (VALIDX): Likewise.
73854         (ADDRIDX): Likewise.
73856 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73858         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73860 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73862         [BZ #11438]
73863         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73864         to global scope.
73865         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73866         addresses are in the same scope as 192.0.2/24.
73867         * posix/gai.conf: Document new scope table defaults.
73869 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73871         [BZ #5298]
73872         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73873         for ftell.  Compute offsets from write pointers instead.
73874         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73876 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73878         [BZ #14543]
73879         * libio/Makefile (tests): New test case tst-fseek.
73880         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73881         combination works in wide mode.
73882         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73883         state when the external buffer state changes.
73885 2012-09-27  David S. Miller  <davem@davemloft.net>
73887         [BZ #14376]
73888         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73889         pass reloc->r_addend in as the 'high' argument to
73890         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73894 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73896         * rt/tst-aio2.c: Include <pthread.h>.
73897         * rt/tst-aio3.c: Likewise.
73899 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73901         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73903 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73905         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73906         contents on [SHARED].
73908 2012-09-26  Marek Polacek  <polacek@redhat.com>
73910         [BZ #14530]
73911         [BZ #13741]
73912         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73913         for C++ and GCC <4.3 as well as for non GCC compilers.
73915 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73919 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73921         * Makefile.in (all, install): Declare with .PHONY.
73922         Reported by Michael Hope <michael.hope@linaro.org>.
73924 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73926         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73927         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73928         system header.
73929         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73930         Likewise.
73931         (sydep_routines): Add the new and the internal functions.
73932         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73933         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73935         (GLIBC_2.17): Add the new function.
73936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73937         (GLIBC_2.17): Likewise.
73938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73939         (GLIBC_2.17): Likewise.
73940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73941         (GLIBC_2.17): Likewise.
73942         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73944 2012-09-25  Alan Modra  <amodra@gmail.com>
73946         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73947         Add release barrier before setting once_control to say
73948         initialisation is done.  Add hints on lwarx.  Use macro in
73949         place of isync.
73950         (clear_once_control): Add release barrier.
73952 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73954         [BZ #13629]
73955         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73956         specially.
73957         * math/s_clog10.c (__clog10): Likewise.
73958         * math/s_clog10f.c (__clog10f): Likewise.
73959         * math/s_clog10l.c (__clog10l): Likewise.
73960         * math/s_clogf.c (__clogf): Likewise.
73961         * math/s_clogl.c (__clogl): Likewise.
73962         * math/Makefile (libm-calls): Add x2y2m1.
73963         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73964         (__x2y2m1): Likewise.
73965         (__x2y2m1l): Likewise.
73966         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73967         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73970         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73971         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73972         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73973         * sysdeps/i386/fpu/libm-test-ulps: Update.
73974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73976         [BZ #14621]
73977         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73978         int as type of variable DEPTH.
73979         (glob): Use size_t instead of int as type of variables NEWCOUNT
73980         and OLD_PATHC.
73982 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73984         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73985         Add s_sincosf-sse2.
73986         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73987         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73988         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73989         macros for using routine as __sincosf_ia32.
73990         Use macro for function declaration and weak_alias.
73991         * sysdeps/i386/fpu/libm-test-ulps: Update.
73993         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73996         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73997         subnormal argument.
73998         * math/s_cexpf.c (__cexpf): Likewise.
73999         * math/s_csinf.c (__csinf): Likewise.
74000         * math/s_csinhf.c (__csinhf): Likewise.
74001         * math/s_ctanf.c (__ctanf): Likewise.
74002         * math/s_ctanhf.c (__ctanhf): Likewise.
74003         * math/s_ccosh.c (__ccoshf): Likewise.
74004         * math/s_cexp.c (__cexpl): Likewise.
74005         * math/s_csin.c (__csin): Likewise.
74006         * math/s_csinh.c (__csinh): Likewise.
74007         * math/s_ctan.c (__ctan): Likewise.
74008         * math/s_ctanh.c (ctanh): Likewise.
74009         * math/s_ccoshl.c (__ccoshl): Likewise.
74010         * math/s_cexpl.c (__cexpl): Likewise.
74011         * math/s_csinl.c (__csinl): Likewise.
74012         * math/s_csinhl.c (__csinhl): Likewise.
74013         * math/s_ctanl.c (__ctanl): Likewise.
74014         * math/s_ctanhl.c (__ctanhl): Likewise.
74016 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74018         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74019         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74020         (_IO_off_t): Define to __off_t, not _G_off_t.
74021         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74022         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74023         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74024         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74025         type of __dummy and __dummy2 fields.
74026         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74027         (_G_ssize_t): Likewise.
74028         (_G_off_t): Likewise.
74029         (_G_pid_t): Likewise.
74030         (_G_uid_t): Likewise.
74031         (_G_wchar_t): Likewise.
74032         (_G_wint_t): Likewise.
74033         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74034         (_G_ssize_t): Likewise.
74035         (_G_off_t): Likewise.
74036         (_G_pid_t): Likewise.
74037         (_G_uid_t): Likewise.
74038         (_G_wchar_t): Likewise.
74039         (_G_wint_t): Likewise.
74040         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74041         (_G_ssize_t): Likewise.
74042         (_G_off_t): Likewise.
74043         (_G_pid_t): Likewise.
74044         (_G_uid_t): Likewise.
74045         (_G_wchar_t): Likewise.
74046         (_G_wint_t): Likewise.
74048 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74050         * malloc/arena.c: Include malloc-sysdep.h.
74051         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74052         is sufficient to shrink the heap or an unmap is needed.
74053         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74054         new function check_may_shrink_heap.
74055         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74056         new function check_may_shrink_heap.
74058 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74060         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74061         comments.
74063 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74065         * catgets/test-gencat.sh: Add "set -e".
74066         * elf/tst-pathopt.sh: Likewise.
74067         * grp/tst_fgetgrent.sh: Likewise.
74068         * iconvdata/run-iconv-test.sh: Likewise.
74069         * intl/tst-gettext.sh: Likewise.
74070         * intl/tst-gettext2.sh: Likewise.
74071         * intl/tst-gettext4.sh: Likewise.
74072         * intl/tst-gettext6.sh: Likewise.
74073         * intl/tst-translit.sh: Likewise.
74074         * io/ftwtest-sh: Likewise.
74075         * libio/test-freopen.sh: Likewise.
74076         * malloc/tst-mtrace.sh: Likewise.
74077         * posix/globtest.sh: Likewise.
74078         * posix/tst-getconf.sh: Likewise.
74079         * posix/wordexp-tst.sh: Likewise.
74080         * stdio-common/tst-printf.sh: Likewise.
74081         * stdio-common/tst-unbputc.sh: Likewise.
74082         * stdlib/tst-fmtmsg.sh: Likewise.
74083         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74084         * catgets/Makefile: Do not specify -e option when running
74085         testsuite shell scripts.
74086         * elf/Makefile: Likewise.
74087         * grp/Makefile: Likewise.
74088         * iconvdata/Makefile: Likewise.
74089         * intl/Makefile: Likewise.
74090         * io/Makefile: Likewise.
74091         * libio/Makefile: Likewise.
74092         * malloc/Makefile: Likewise.
74093         * posix/Makefile: Likewise.
74094         * stdio-common/Makefile: Likewise.
74095         * stdlib/Makefile: Likewise.
74096         * sysdeps/x86_64/Makefile: Likewise.
74098         * io/ftwtest-sh: Add copyright header.
74099         * posix/globtest.sh: Likewise.
74100         * posix/tst-getconf.sh: Likewise.
74101         * posix/wordexp-tst.sh: Likewise.
74102         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74104 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74106         [BZ #13679]
74107         * Makeconfig (+link): Defined as $(+link-static) if
74108         $(build-shared) isn't yes.
74109         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74110         isn't yes.
74111         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74113         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74115         [BZ #14562]
74116         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74117         new chunk size with MALLOC_ALIGN_MASK.
74119 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74121         [BZ #5044]
74122         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74123         <rounding-mode.h>.
74124         (__printf_fphex): Determine rounding using get_rounding_mode and
74125         round_away.
74126         * stdio-common/tst-printf-round.c (struct hex_test): New
74127         structure.
74128         (hex_tests): New variable.
74129         (test_hex_in_one_mode): New function.
74130         (do_test): Also run tests for hex float output.
74132 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74134         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74135         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74136         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74137         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74138         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74139         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74140         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74141         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74143 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74145         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74146         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74147         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74148         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74150 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74152         [BZ #14579]
74153         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74154         mode only.
74155         * elf/tst-rtld-load-self.sh: New test.
74156         * elf/Makefile: Run it.
74158 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74160         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74161         (tst-writev-ENV): Remove.
74162         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74164 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74166         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74168 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74170         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74171         unconditional.
74172         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74173         Likewise.
74174         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74175         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74176         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74177         Likewise.
74179 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74181         [BZ #14587]
74182         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74183         * config.make.in (have-cpp-asm-debuginfo): Removed.
74184         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74185         * configure: Regenerated.
74187 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74189         [BZ #5044]
74190         * stdio-common/printf_fp.c: Include <stdbool.h> and
74191         <rounding-mode.h>.
74192         (___printf_fp): Determine rounding using get_rounding_mode and
74193         round_away.
74194         * stdio-common/tst-printf-round.c: New file.
74195         * stdio-common/Makefile (tests): Add tst-printf-round.
74196         (link-libm): New variable.
74197         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74199 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74201         [BZ #14576]
74202         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74203         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74204         Likewise.
74205         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74206         Likewise.
74208 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74210         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74211         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74212         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74213         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74215 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74217         [BZ #14518]
74218         * include/rounding-mode.h: New file.
74219         * sysdeps/generic/get-rounding-mode.h: Likewise.
74220         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74221         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74222         (MAX_VALUE): New macro.
74223         (MIN_VALUE): Likewise.
74224         (overflow_value): New function.
74225         (underflow_value): Likewise.
74226         (round_and_return): Use overflow_value and underflow_value to
74227         determine return values in overflow and underflow cases.  Use
74228         round_away to determine rounding depending on rounding mode.
74229         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74230         determine return values in overflow and underflow cases.
74231         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74232         (struct test_results): New structure.
74233         (struct test): Use struct test_results to store expected results
74234         for all rounding modes.
74235         (TEST): Include expected results for all rounding modes.
74236         (test_in_one_mode): New function.
74237         (do_test): Use test_in_one_mode to compute and check results.
74238         Check results for all rounding modes.
74239         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74240         $(link-libm).
74242 2012-12-09  Allan McRae  <allan@archlinux.org>
74244         * sysdeps/i386/fpu/libm-test-ulps: Update
74246 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74248         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74249         (_G_int32_t): Likewise.
74250         (_G_uint16_t): Likewise.
74251         (_G_uint32_t): Likewise.
74252         (_G_HAVE_BOOL): Likewise.
74253         (_G_HAVE_ATEXIT): Likewise.
74254         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74255         (_G_HAVE_IO_FILE_OPEN): Likewise.
74256         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74257         (_G_int32_t): Likewise.
74258         (_G_uint16_t): Likewise.
74259         (_G_uint32_t): Likewise.
74260         (_G_HAVE_BOOL): Likewise.
74261         (_G_HAVE_ATEXIT): Likewise.
74262         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74263         (_G_HAVE_IO_FILE_OPEN): Likewise.
74264         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74265         (_G_int32_t): Likewise.
74266         (_G_uint16_t): Likewise.
74267         (_G_uint32_t): Likewise.
74268         (_G_HAVE_BOOL): Likewise.
74269         (_G_HAVE_ATEXIT): Likewise.
74270         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74271         (_G_HAVE_IO_FILE_OPEN): Likewise.
74273 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
74275         * csu/libc-tls.c: Update copyright years.
74277 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
74279         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74280         [!_G_USING_THUNKS]: Remove conditional code.
74281         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74282         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74284         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74285         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74286         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74287         (_G_VTABLE_LABEL_PREFIX): Likewise.
74288         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74289         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74290         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74291         (_G_VTABLE_LABEL_PREFIX): Likewise.
74292         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74293         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74294         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74295         (_G_VTABLE_LABEL_PREFIX): Likewise.
74296         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74298 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
74300         * libio/Makefile: Include ../Makeconfig before tests.
74301         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74302         only if $(build-shared) is yes.
74304         * iconv/gconv_db.c: Update copyright years.
74306 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74308         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74309         unwind info if defined PIC. Fix special cases description.
74310         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74312         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74313         DP_HI_MASK entry.
74314         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74316 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
74318         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74320         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74321         is NULL.
74323         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74324         (LDLIBS-tst-chk4): This.
74325         (LDFLAGS-tst-chk5): Renamed to ...
74326         (LDLIBS-tst-chk5): This.
74327         (LDFLAGS-tst-chk6): Renamed to ...
74328         (LDLIBS-tst-chk6): This.
74329         (LDFLAGS-tst-lfschk4): Renamed to ...
74330         (LDLIBS-tst-lfschk4): This.
74331         (LDFLAGS-tst-lfschk5): Renamed to ...
74332         (LDLIBS-tst-lfschk5): This.
74333         (LDFLAGS-tst-lfschk6): Renamed to ...
74334         (LDLIBS-tst-lfschk6): This.
74336         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74337         on $(common-objpfx)soversions.mk.
74339 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
74341         [BZ #10014]
74342         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74343         example host name.
74345 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
74347         * malloc/arena.c (arena_get_retry): New function that gets
74348         another arena for the caller to try its request on.
74349         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74350         current arena cannot fulfill the request.
74351         (__libc_memalign): Likewise.
74352         (__libc_memalign): Likewise.
74353         (__libc_pvalloc): Likewise.
74354         (__libc_calloc): Likewise.
74356 2012-09-05  John Tobey  <john.tobey@gmail.com>
74358         [BZ #13542]
74359         * manual/arith.texi (Operations on Complex): Fix description
74360         of carg branch cut.
74362 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74364         [BZ #10014]
74365         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74366         host name.
74368         [BZ #10038]
74369         * manual/memory.texi (Memory): Make order of menu items match
74370         order of sections.
74372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74374         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74375         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
74376         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74378 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74380         * csu/libc-tls.c (static_dtv): Renamed to ...
74381         (_dl_static_dtv): This.  Make it global.
74382         (_dl_initial_dtv): Removed.
74383         (__libc_setup_tls): Updated.
74384         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74385         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74386         DL_INITIAL_DTV.
74388 2012-09-06  Petr Machata  <pmachata@redhat.com>
74390         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74391         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74392         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74393         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74395 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74397         [BZ #14545]
74398         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74399         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74400         freeing dtv[-1].
74402 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74404         [BZ #14544]
74405         * Makeconfig (link-static-before-libc): Replace $(+prector)
74406         with $(+prectorT).
74407         (link-static-after-libc): Replace $(+postctor) with
74408         $(+postctorT).
74409         (link-bounded): Replace $(+prector)/$(+postctor) with
74410         $(+prectorT)/$(+postctorT).
74411         (+prectorT): New macro.
74412         (+postctorT): Likewise.
74414 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74416         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74417         (round_str): Handle values above the maximum for IBM long double
74418         as inexact.
74419         * stdlib/tst-strtod-round.c (tests): Regenerated.
74421 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74423         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74424         assembler flag.
74425         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74426         zarch_nohighgprs around the zarch optimized routines.
74427         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74428         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74429         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74430         for zarch.
74432 2012-09-05  David S. Miller  <davem@davemloft.net>
74434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74436         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74437         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74438         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74439         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74440         entries.
74442 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74444         * malloc/arena.c: Fold copyright years.
74445         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74447 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74449         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74451 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74453         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74455 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74457         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74458         change internal state upon failure.
74460 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74462         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74463         * malloc/memusage.c (mmap): Likewise.
74464         (mmap64, mremap): Likewise.  Adjust name in comment.
74466 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74468         * libio/fileops.c: Fix typos in comments.
74469         * libio/oldfileops.c: Likewise.
74470         * libio/wfileops.c: Likewise.
74472 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74474         [BZ #1349]
74475         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74476         (tst-malloc-usable-ENV): Set environment for test case.
74477         * malloc/hooks.c (malloc_check_get_size): New function to get
74478         requested size.
74479         * malloc/malloc.c (musable): Use malloc_check_get_size.
74480         * malloc/tst-malloc-usable.c: New test case.
74482 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74484         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74486 2012-09-05  Allan McRae  <allan@archlinux.org>
74488         [BZ #13966]
74489         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74490         determine header location.
74491         * configure: Regenerated.
74493 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74495         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74496         float format.
74497         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74498         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74499         format.
74500         (test): Regenerate.
74502 2012-09-04  David S. Miller  <davem@davemloft.net>
74504         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74505         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74508 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74510         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74511         failures.
74513         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74515 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74517         [BZ #9914]
74518         * libio/iogetdelim.c: Include <limits.h>.
74519         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74520         + len + 1 would overflow.
74522 2012-09-03  Andreas Jaeger  <aj@suse.de>
74524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74525         * sysdeps/i386/fpu/libm-test-ulps: Update.
74527 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74529         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74530         Add s_sinf-sse2, s_conf-sse2.
74532         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74533         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74534         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74535         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74537         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74538         for using routine as __sinf_ia32.
74539         Use macro for function declaration and weak_alias.
74540         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74541         for using routine as __cosf_ia32.
74542         Use macro for function declaration and weak_alias.
74544         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74545         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74547         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74548         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74551         * math/libm-test.inc (cos_test): Add more test cases.
74552         (sin_test): Likewise.
74553         (sincos_test): Likewise.
74555 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74558         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74559         hidden.
74560         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74562 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74564         [BZ #14538]
74565         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74566         first element of the GOT.
74567         (elf_machine_load_address): Return the difference between
74568         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74570 2012-09-01  Allan McRae  <allan@archlinux.org>
74572         [BZ #13412]
74573         * configure.in (AWK): Require gawk version 3.0 or later.
74574         * configure: Regenerated.
74576 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74578         * sysdeps/unix/sysv/linux/kernel-features.h
74579         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74580         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74581         [__NR_clock_getres]: Make code unconditional.
74582         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74583         (clock_getcpuclockid): Remove code left unreachable by removal of
74584         conditionals.
74585         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74586         code unconditional.
74587         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74588         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74589         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74590         Make code unconditional.
74591         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74592         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74593         * sysdeps/unix/sysv/linux/clock_settime.c
74594         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74595         conditional code.
74596         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74597         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74599 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74601         [BZ #14476]
74602         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74603         scripts/test-installation.pl.
74605         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74606         and $ld_so_version if it is set.
74608 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74610         [BZ #14516]
74611         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74612         failure if reading from procfs failed.
74613         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74615 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74617         * sysdeps/unix/sysv/linux/kernel-features.h
74618         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74619         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74620         Remove conditional code.
74621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74622         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74623         Remove conditional code.
74624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74625         * sysdeps/unix/sysv/linux/i386/fxstat.c
74626         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74628         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74629         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74630         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74631         * sysdeps/unix/sysv/linux/i386/lxstat.c
74632         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74633         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74634         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74635         Remove conditional code.
74636         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74637         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74638         Remove conditional code.
74639         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74640         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74641         <kernel-features.h>.
74642         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74643         Remove.
74644         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74645         Remove conditional code.
74646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74647         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74648         Remove conditional.
74650 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74652         [BZ #5400]
74653         * NEWS: Add fixed bug number.
74655 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74657         [BZ #14519]
74658         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74659         underflowing exponent in case of negative sign.
74660         * stdlib/tst-strtod-round-data: Add more tests.
74661         * stdlib/tst-strtod-round.c (tests): Regenerated.
74663         [BZ #3479]
74664         * stdlib/strtod_l.c (NDIG): Remove.
74665         (HEXNDIG): Likewise.
74666         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74667         smallest representable value.
74668         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74669         lie within an exact representation of 1/2 ulp of the result.
74670         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74671         unconditionally.
74672         (TENS_P9_IDX): Define unconditionally.
74673         (TENS_P9_SIZE): Likewise.
74674         (TENS_P10_IDX): Likewise.
74675         (TENS_P10_SIZE): Likewise.
74676         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74677         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74678         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74679         entries for 10^2^13 and 10^2^14.
74680         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74681         (TENS_P13_IDX): Define.
74682         (TENS_P13_SIZE): Likewise.
74683         (TENS_P14_IDX): Likewise.
74684         (TENS_P14_SIZE): Likewise.
74685         (_fpioconst_pow10): Change array size to
74686         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74687         unconditional.
74688         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74689         1024]: Add entries for 10^2^13 and 10^2^14.
74690         [LAST_POW10 > _LAST_POW10]: Remove #error.
74691         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74692         (_fpioconst_pow10): Change array size to
74693         FPIOCONST_POW10_ARRAY_SIZE.
74694         * stdlib/gen-fpioconst.c: New file.
74695         * stdlib/gen-tst-strtod-round.c: Likewise.
74696         * stdlib/tst-strtod-round-data: Likewise.
74697         * stdlib/tst-strtod-round.c: Likewise.
74698         * stdlib/Makefile (tests): Add tst-strtod-round.
74700         [BZ #14459]
74701         * stdlib/strtod_l.c: Include <stdint.h>.
74702         (NDEBUG): Do not define.
74703         (round_and_return): Change EXPONENT parameter to type intmax_t.
74704         Rearrange calculations to avoid internal overflow possibilities.
74705         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74706         Rearrange calculations to avoid internal overflow possibilities.
74707         Assert that number fits inside MPNSIZE limbs.
74708         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74709         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74710         calculations and add assertions to avoid internal overflow
74711         possibilities.  Add casts to avoid signed/unsigned operations.
74712         * stdlib/tst-strtod-overflow.c: New file.
74713         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74715 2012-08-25  Marek Polacek  <polacek@redhat.com>
74717         * time/time.h: Fix some typos in comments.
74719 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74721         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74722         * posix/tst-rfc3484-2.c: Likewise.
74723         * posix/tst-rfc3484-3.c: Likewise.
74725 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74727         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74728         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74730 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74732         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74733         #include of fxstatat64.c.
74735 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74737         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74738         * shadow/getspent_r.c: Likewise.
74739         * shadow/getspnam.c: Likewise.
74740         * shadow/getspnam_r.c: Likewise.
74741         * gshadow/getsgent.c: Likewise.
74742         * gshadow/getsgent_r.c: Likewise.
74743         * gshadow/getsgnam.c: Likewise.
74744         * gshadow/getsgnam_r.c: Likewise.
74745         * inet/getnetbyad.c: Likewise.
74746         * inet/getnetbyad_r.c: Likewise.
74747         * inet/getnetbynm.c: Likewise.
74748         * inet/getnetbynm_r.c: Likewise.
74749         * inet/getnetent.c: Likewise.
74750         * inet/getnetent_r.c: Likewise.
74751         * inet/getproto.c: Likewise.
74752         * inet/getproto_r.c: Likewise.
74753         * inet/getprtent.c: Likewise.
74754         * inet/getprtent_r.c: Likewise.
74755         * inet/getprtname.c: Likewise.
74756         * inet/getprtname_r.c: Likewise.
74757         * inet/getrpcbyname.c: Likewise.
74758         * inet/getrpcbyname_r.c: Likewise.
74759         * inet/getrpcbynumber.c: Likewise.
74760         * inet/getrpcbynumber_r.c: Likewise.
74761         * inet/getrpcent.c: Likewise.
74762         * inet/getrpcent_r.c: Likewise.
74763         * inet/getaliasent.c: Likewise.
74764         * inet/getaliasent_r.c: Likewise.
74765         * inet/getaliasname.c: Likewise.
74766         * inet/getaliasname_r.c: Likewise.
74767         * nscd/getgrgid_r.c: Likewise.
74768         * nscd/getgrnam_r.c: Likewise.
74769         * nscd/gethstbyad_r.c: Likewise.
74770         * nscd/gethstbynm3_r.c: Likewise.
74771         * nscd/getpwnam_r.c: Likewise.
74772         * nscd/getpwuid_r.c: Likewise.
74773         * nscd/getsrvbynm_r.c: Likewise.
74774         * nscd/getsrvbypt_r.c: Likewise.
74775         * nscd/gai.c: Likewise.
74777         * configure.in (build_nscd): New substituted variable, set
74778         by --disable-build-nscd and defaults to $use_nscd.
74779         * configure: Regenerated.
74780         * config.make.in (build-nscd): New substituted variable.
74781         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74782         Change conditional to require [$(build-nscd) = yes] as well.
74783         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74785         [BZ #13696]
74786         * configure.in (use_nscd): New substituted variable, set by
74787         --disable-nscd.  If enabled, define USE_NSCD.
74788         * configure: Regenerated.
74789         * config.h.in: Add USE_NSCD.
74790         * config.make.in (use-nscd): New substituted variable.
74791         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74792         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74793         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74794         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74795         (CFLAGS-getgrnam_r.c): Likewise.
74796         (CFLAGS-initgroups.c): Likewise.
74797         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74798         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74799         Variables removed.
74800         * inet/getnetgrent_r.c
74801         (nscd_setnetgrent): New function, broken out of ...
74802         (setnetgrent): ... here.  Call it.
74803         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74804         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74805         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74806         * nscd/Makefile (routines, aux): Move definitions after include of
74807         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74808         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74809         Conditionalize on [USE_NSCD].
74810         (is_nscd, nscd_init_cb): Likewise.
74811         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74812         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74813         * nss/nss_db/db-init.c: Likewise.
74814         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74815         [USE_NSCD].
74816         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74817         (make_request): Use it.
74818         (cache_valid_p): New function.
74819         (__check_pf): Use it.
74820         * NEWS: Add item for --disable-nscd.
74822 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74824         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74825         to support sed >= 4.2.1-20-ga9bf076.
74826         * configure: Regenerated.
74828 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74830         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74831         Conditionalize whole body on [IREL].
74833 2012-08-22  Jeff Law <law@redhat.com>
74835         [BZ #14505]
74836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74837         if the family is PF_UNSPEC.
74839 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74841         * Makerules (lib-version): Rename from V.
74842         (install-lib-nosubdir): Change V to lib-version.
74844 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74846         [BZ #14252]
74847         * powerpc32/power6/wcschr.c: New file.
74848         * powerpc32/power6/wcscpy.c: New file.
74849         * powerpc32/power6/wcsrchr.c: New file.
74850         * powerpc64/power6/wcschr.c: New file.
74851         * powerpc64/power6/wcscpy.c: New file.
74852         * powerpc64/power6/wcsrchr.c: New file.
74854 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74856         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74857         (two_way_short_needle): Use it.
74858         * string/strstr.c (AVAILABLE1_USES_J): Define.
74859         * string/strcasestr.c: Likewise.
74861         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74862         array references.
74863         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74865         [BZ #11607]
74866         * NEWS: Add an entry.
74867         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74868         define their defaults.
74869         (two_way_short_needle): Detect end-of-string on-the-fly.
74870         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74871         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74872         * string/bug-strcasestr1.c: New test.
74873         * string/Makefile: Run it.
74875 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74877         [BZ #11607]
74878         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74879         the first character.
74881 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74883         * csu/elf-init.c (__libc_csu_irel): Function removed.
74884         * csu/libc-start.c (apply_irel): New function.
74885         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74887 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74889         * sysdeps/unix/sysv/linux/kernel-features.h
74890         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74891         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74892         <kernel-features.h>.
74893         [__NR_fadvise64_64]: Make code unconditional.
74894         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74895         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74896         !__NR_fadvise64_64)]: Likewise.
74897         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74898         !__NR_fadvise64_64))]: Likewise.
74899         [__NR_fadvise64]: Make code unconditional.
74900         [!__NR_fadvise64]: Remove conditional code.
74901         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74902         <kernel-features.h>.
74903         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74904         unconditional.
74905         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74906         conditional code.
74907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74908         not include <kernel-features.h>.
74909         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74910         unconditional.
74911         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74912         conditional code.
74913         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74914         include <kernel-features.h>.
74915         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74916         unconditional.
74917         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74918         conditional code.
74920 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74922         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74923         slight instruction rearrangements per scrollpipe analysis.
74924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74926 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74928         * manual/syslog.texi (syslog; vsyslog, closelog):
74929         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74930         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74932         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74933         DSOCAPS to match condition on defining it.
74935 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74937         * sysdeps/unix/sysv/linux/kernel-features.h
74938         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74940         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74941         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74943         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74944         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74946         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74947         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74949         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74950         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74952         * sysdeps/unix/sysv/linux/kernel-features.h
74953         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74954         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74955         unconditional.
74956         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74957         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74958         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74959         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74960         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74961         Make code unconditional.
74962         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74963         (__mmap64) [!__NR_mmap2]: Likewise.
74964         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74965         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74966         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74967         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74968         [__NR_mmap2]: Make code unconditional.
74969         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74970         (__mmap64) [!__NR_mmap2]: Likewise.
74972 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74974         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74976 2012-08-18  Andreas Jaeger  <aj@suse.de>
74978         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74980 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74982         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74983         * include/unistd.h (__have_sock_cloexec): Likewise.
74984         (__have_pipe2): Likewise.
74985         (__have_dup3): Likewise.
74987 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74989         [BZ #9685]
74990         * include/unistd.h (__have_pipe2): Change define into an extern int.
74991         (__have_dup3): Likewise.
74992         * socket/have_sock_cloexec.c: Include fcntl.h.
74993         (__have_pipe2): New variable.
74994         (__have_dup3): Likewise.
74996 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74998         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75000 2012-08-17  Marek Polacek  <polacek@redhat.com>
75002         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75003         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75005 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75007         * configure.in: Add AC_SUBST for sysheaders.
75008         * configure: Regenerated.
75009         * config.make.in (sysheaders): New substituted variable.
75011         * sysdeps/unix/mkfifo.c: Moved ...
75012         * sysdeps/posix/mkfifo.c: ... here.
75013         * sysdeps/unix/mkfifoat.c: Moved ...
75014         * sysdeps/posix/mkfifoat.c: ... here.
75016         * sysdeps/unix/utime.c: Moved ...
75017         * sysdeps/posix/utime.c: ... here.
75019         * sysdeps/unix/time.c: Moved ...
75020         * sysdeps/posix/time.c: ... here.
75021         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75022         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75024         * sysdeps/unix/nice.c: Moved ...
75025         * sysdeps/posix/nice.c: ... here.
75027         * sysdeps/unix/alarm.c: Moved ...
75028         * sysdeps/posix/alarm.c: ... here.
75030         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75032 2012-08-17  Jeff Law <law@redhat.com>
75034         * intl/Makefile (codeset_mo): New variable.
75035         ($(codeset_mo)): New target.
75036         (tst-codeset.out): Depend on that.  Remove explicit rule.
75037         (tst-gettext3.out, tst-gettext5.out): Likewise.
75038         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75039         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75040         * intl/tst-codeset.sh: Remove.
75041         * intl/tst-gettext3.sh: Likewise.
75042         * intl/tst-gettext5.sh: Likewise.
75044 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75046         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75047         * sysdeps/unix/syscalls.list: ... here.
75049         * sysdeps/posix/getaddrinfo.c
75050         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75051         (gaiconf_init, gaiconf_reload): Use them.
75052         [!_STATBUF_ST_NSEC]
75053         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75054         Define using time_t rather than struct timespec.
75056         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75057         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75058         Macros removed.
75059         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75060         [!NO_THREADS].
75061         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75062         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75063         Likewise.
75065         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75066         __libc_cleanup_push argument.
75068         * bits/param.h: New file.
75069         * misc/sys/param.h: New file.
75070         * include/sys/param.h: New file.
75071         * misc/Makefile (headers): Add bits/param.h.
75072         * sysdeps/generic/sys/param.h: File removed.
75073         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75074         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75075         * sysdeps/mach/hurd/bits/param.h: New file.
75076         * sysdeps/mach/hurd/sys/param.h: File removed.
75078         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75079         last change.
75081         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75082         [_IO_MTSAFE_IO].
75083         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75084         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75085         New macros.
75087         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75088         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75089         rather than -D_IO_MTSAFE_IO conditionally.
75090         * stdio-common/Makefile (CPPFLAGS): Likewise.
75091         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75092         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75093         Use $(libio-mtsafe).
75094         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75095         of -D_IO_MTSAFE_IO.
75096         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75097         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75098         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75099         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75100         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75101         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75102         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75103         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75104         (CFLAGS-fread_u_chk.c): Likewise.
75105         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75106         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75107         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75108         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75109         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75110         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75111         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75112         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75113         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75115         * libio/Makefile: Test [$(libc-reentrant) = yes]
75116         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75118         * Makeconfig
75119         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75120         * sysdeps/pthread/configure: File removed.
75121         * sysdeps/pthread/Makeconfig: New file.
75122         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75123         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75125 2012-08-16  Gary Benson  <gbenson@redhat.com>
75127         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75128         unmapping the first object in a namespace.
75130 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75132         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75133         (__internal_setnetgrent): ... this.  Add internal_function to
75134         definition.  Add libc_hidden_def.
75135         (setnetgrent): Update caller.
75136         (internal_endnetgrent): Renamed to ...
75137         (__internal_endnetgrent): ... this.  Add internal_function to
75138         definition.  Add libc_hidden_def.
75139         (endnetgrent): Update caller.
75140         (internal_getnetgrent_r): Renamed to ...
75141         (__internal_getnetgrent_r): ... this.  Add internal_function to
75142         definition.  Add libc_hidden_def.
75143         (__getnetgrent_r): Update caller.
75144         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75146 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75148         * stdlib/longlong.h: Update from GCC.
75150 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75152         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75153         on _QL, which is set by umul_ppmm but never used.
75154         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75155         variables, which are set by GMP macros but never used.
75156         * stdio-common/_itowa.c (_itowa): Likewise.
75157         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75158         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75160 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75162         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75163         struct La_sh_regs is not constant.
75164         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75165         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75166         and struct La_sparc64_regs are not constant.
75168 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75170         * sysdeps/unix/sysv/linux/kernel-features.h
75171         (__ASSUME_POSIX_TIMERS): Remove.
75172         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75173         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75174         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75175         Make code unconditional.
75176         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75177         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75178         Make code unconditional.
75179         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75180         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75181         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75182         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75183         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75184         Make code unconditional.
75185         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75186         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75187         (__libc_missing_posix_timers): Remove.
75189 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75191         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75192         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75194         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75196         * elf/dl-sym.c: Include <stdlib.h>.
75198         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75199         constants, which avoids warnings in 32-bit builds.
75201         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75202         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75204         * misc/lseek.c: File moved to ...
75205         * io/lseek.c: ... here.
75207         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75209         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75210         shifting LEN more than 31 bits at once.
75212 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75214         [BZ #14195]
75215         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75216         segmentation fault for a case of two empty input strings.
75217         * string/test-strncasecmp.c (check1): Renamed to...
75218         (bz12205): ...this.
75219         (bz14195): Add new testcase for two empty input strings and N > 0.
75220         (test_main): Call new testcase, adapt for renamed function.
75222 2012-08-15  Andreas Jaeger  <aj@suse.de>
75224         [BZ #14090]
75225         * crypt/md5test2.c: New test, based on test supplied by Serge
75226         Belyshev <belyshev@depni.sinp.msu.ru>.
75227         * crypt/Makefile (xtests): Add md5test-giant..
75228         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75230 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75232         [BZ #14090]
75233         * crypt/md5.c (md5_process_block): Don't assume the buffer
75234         length is less than 2**32.
75235         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75236         length is less than 2**64.
75238 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75240         * string/str-two-way.h: Include <sys/param.h>.
75241         (MAX): Macro removed.
75243         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75244         Move #define and #undef of memmove to just before and after
75245         including <string.h>.
75247         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75248         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75249         and after including <string.h>.  Move declarations of
75250         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75251         to before #include "string/memmove.c".
75253         * include/dirent.h: Declare __getdirentries.
75255         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75256         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75258 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75260         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75261         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75262         * sysdeps/i386/configure: Regenerated.
75263         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75264         STABS_CURRENT_FILE, and STABS_FUN.
75265         (END): Remove call to STABS_FUN_END.
75266         (STABS_CURRENT_FILE1): Delete.
75267         (STABS_CURRENT_FILE): Likewise.
75268         (STABS_FUN): Likewise.
75269         (STABS_FUN_END): Likewise.
75270         (STABS_FUN2): Likewise.
75271         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75272         * sysdeps/x86_64/configure: Regenerated.
75274 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75276         * elf/dl-open.c: Include <atomic.h>.
75277         * elf/dl-lookup.c: Likewise.
75279 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
75281         * sysdeps/unix/sysv/linux/kernel-features.h
75282         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75283         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75284         unconditionally.
75285         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75286         unconditionally.
75287         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75288         condition on __ASSUME_CLONE_THREAD_FLAGS.
75290 2012-08-14  Andreas Jaeger  <aj@suse.de>
75292         * sysdeps/i386/fpu/libm-test-ulps: Update.
75294 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
75296         * include/atomic.h (atomic_exchange_and_add): Split into ...
75297         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75298         New atomic macros.
75300 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
75302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75304 2012-08-13  Jeff Law <law@redhat.com>
75306         * manual/stdio.texi (snprintf): Clarify handling of the trailing
75307         null byte in the output string.
75309 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
75311         * sysdeps/unix/sysv/linux/kernel-features.h
75312         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75313         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75314         (__ASSUME_ARG_MAX_STACK_BASED): Define.
75315         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75316         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75317         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
75318         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75320 2012-08-09  Jeff Law <law@redhat.com>
75322         [BZ #13939]
75323         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75324         When avoid_arena is set, don't retry in the that arena.  Pick the
75325         next one, whatever it might be.
75326         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75327         (arena_lock): Pass in new parameter to arena_get2.
75328         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75329         arena_get2.
75330         (__libc_malloc): Unify retrying after main arena failure with
75331         __libc_memalign version.
75332         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75334 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
75336         [BZ #14166]
75337         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75338         to __redirect_strstr.
75339         (__strstr_sse42): Use typeof __redirect_strstr.
75340         (__strstr_ia32): Likewise.
75341         (__libc_strstr): New prototype.
75342         (strstr): Renamed to ...
75343         (__libc_strstr): This.
75344         (strstr): New strong alias of __libc_strstr.
75345         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75346         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75347         __redirect_time.
75348         Include <time.h>.
75349         (__libc_time): New prototype.
75350         (time_ifunc): Replace time with __libc_time.
75351         (time): New strong alias and hidden definition of __libc_time.
75352         (__GI_time): Remove strong alias.
75353         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75354         Include <stddef.h>.
75355         (memmove): Redefined to __redirect_memmove.
75356         (__memmove_sse2): Use typeof __redirect_memmove.
75357         (__memmove_ssse3): Likewise.
75358         (__memmove_ssse3_back): Likewise.
75359         (__libc_memmove): New prototype.
75360         (memmove): Renamed to ...
75361         (__libc_memmove): This.
75362         (memmove): New strong alias of __libc_memmove.
75364 2012-08-08  Mark Salter  <msalter@redhat.com>
75366         * elf/elf.h
75367         (R_MN10300_TLS_GD): Define.
75368         (R_MN10300_TLS_LD): Likewise.
75369         (R_MN10300_TLS_LDO): Likewise.
75370         (R_MN10300_TLS_GOTIE): Likewise.
75371         (R_MN10300_TLS_IE): Likewise.
75372         (R_MN10300_TLS_LE): Likewise.
75373         (R_MN10300_TLS_DTPMOD): Likewise.
75374         (R_MN10300_TLS_DTPOFF): Likewise.
75375         (R_MN10300_TLS_TPOFF): Likewise.
75376         (R_MN10300_SYM_DIFF): Likewise.
75377         (R_MN10300_ALIGN): Likewise.
75378         (R_MN10300_NUM): Update.
75380 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75383         Remove.
75385 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75387         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75389         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75390         sysdeps/unix -> sysdeps/posix move.
75391         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75393 2012-08-07      Allan McRae     <allan@archlinux.org>
75395         [BZ #14303]
75396         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75397         (SUNOS_CPP): Likewise.
75398         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75399         not found.
75400         (open_input): Call CPP using execvp.
75402 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75404         * sysdeps/unix/sysv/linux/kernel-features.h
75405         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75406         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75407         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75408         (__ASSUME_WAITID_SYSCALL): Likewise.
75409         * sysdeps/unix/sysv/linux/dl-execstack.c
75410         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75411         code unconditional.
75412         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75413         conditional code.
75414         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75415         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75416         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75417         code.
75418         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75419         unconditional.
75420         [__ASSUME_WAITID_SYSCALL]: Likewise.
75421         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75423 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75425         * sysdeps/unix/closedir.c: Renamed to ...
75426         * sysdeps/posix/closedir.c: ... here.
75427         * sysdeps/unix/dirfd.c: Renamed to ...
75428         * sysdeps/posix/dirfd.c: ... here.
75429         * sysdeps/unix/dirstream.h: Renamed to ...
75430         * sysdeps/posix/dirstream.h: ... here.
75431         * sysdeps/unix/fdopendir.c: Renamed to ...
75432         * sysdeps/posix/fdopendir.c: ... here.
75433         * sysdeps/unix/opendir.c: Renamed to ...
75434         * sysdeps/posix/opendir.c: ... here.
75435         * sysdeps/unix/readdir.c: Renamed to ...
75436         * sysdeps/posix/readdir.c: ... here.
75437         * sysdeps/unix/readdir_r.c: Renamed to ...
75438         * sysdeps/posix/readdir_r.c: ... here.
75439         * sysdeps/unix/rewinddir.c: Renamed to ...
75440         * sysdeps/posix/rewinddir.c: ... here.
75441         * sysdeps/unix/seekdir.c: Renamed to ...
75442         * sysdeps/posix/seekdir.c: ... here.
75443         * sysdeps/unix/telldir.c: Renamed to ...
75444         * sysdeps/posix/telldir.c: ... here.
75445         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75446         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75447         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75448         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75450         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75451         * bits/fcntl.h: ... here.
75453         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75454         not 0.
75455         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75456         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75457         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75458         (struct flock): Move l_start, l_len to the beginning.
75459         Use __pid_t for l_pid.
75460         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75461         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75462         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75463         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75464         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75465         [__USE_LARGEFILE64] (struct flock64): New type.
75466         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75468         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75469         * bits/dirent.h: ... here.
75471         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75472         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75474 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75476         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75477         Change from 2.6.0 to 2.6.16.
75478         * sysdeps/unix/sysv/linux/configure: Regenerated.
75479         * sysdeps/unix/sysv/linux/kernel-features.h
75480         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75481         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75482         version.
75483         (__ASSUME_UTIMES): Likewise.
75484         (__ASSUME_CLONE_STOPPED): Remove.
75485         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75486         architectures, not kernel version.
75487         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75488         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75489         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75490         (__ASSUME_WAITID_SYSCALL): Likewise.
75491         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75492         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75493         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75494         refer to older versions.
75496 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75498         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75499         Define alphasort64 as an alias.
75500         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75501         Define versionsort64 as an alias.
75502         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75503         Define scandir64 as an alias.
75504         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75505         Define scandirat64 as an alias.
75506         * dirent/alphasort64.c (alphasort64):
75507         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75508         * dirent/versionsort64.c: Likewise.
75509         * dirent/scandir64.c: Likewise.
75510         * dirent/scandirat64.c: Likewise.
75511         * sysdeps/wordsize-64/alphasort.c: File removed.
75512         * sysdeps/wordsize-64/alphasort64.c: File removed.
75513         * sysdeps/wordsize-64/scandir.c: File removed.
75514         * sysdeps/wordsize-64/scandir64.c: File removed.
75515         * sysdeps/wordsize-64/scandirat.c: File removed.
75516         * sysdeps/wordsize-64/scandirat64.c: File removed.
75517         * sysdeps/wordsize-64/versionsort.c: File removed.
75518         * sysdeps/wordsize-64/versionsort64.c: File removed.
75519         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75520         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75521         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75522         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75523         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75524         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75525         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75526         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75528         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75529         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75530         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75531         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75532         [defined __arch64__ || defined __sparcv9]
75533         (__INO_T_MATCHES_INO64_T): New macro.
75534         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75535         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75536         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75537         * sysdeps/unix/sysv/linux/bits/dirent.h
75538         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75539         (_DIRENT_MATCHES_DIRENT64): New macro.
75541         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75542         Define lockf64 as an alias.
75543         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75544         Define fseeko64 as an alias.
75545         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75546         Define ftello64 as an alias.
75547         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75548         Define _IO_fgetpos64 and fgetpos64 as aliases.
75549         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75550         Define _IO_fsetpos64 and fsetpos64 as aliases.
75551         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75552         Conditionalize body on this.
75553         * libio/fseeko64.c: Likewise.
75554         * libio/ftello64.c: Likewise.
75555         * libio/iofgetpos64.c: Likewise.
75556         * libio/iofsetpos64.c: Likewise.
75557         * sysdeps/wordsize-64/lockf.c: File removed.
75558         * sysdeps/wordsize-64/lockf64.c: File removed.
75559         * sysdeps/wordsize-64/fseeko.c: File removed.
75560         * sysdeps/wordsize-64/fseeko64.c: File removed.
75561         * sysdeps/wordsize-64/ftello.c: File removed.
75562         * sysdeps/wordsize-64/ftello64.c: File removed.
75563         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75564         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75565         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75566         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75567         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75568         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75569         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75570         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75571         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75572         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75573         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75574         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75575         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75576         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75578         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75579         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75580         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75581         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75582         [defined __arch64__ || defined __sparcv9]
75583         (__OFF_T_MATCHES_OFF64_T): New macro.
75584         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75585         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75587         (__OFF_T_MATCHES_OFF64_T): New macro.
75589 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75591         * stdlib/secure-getenv.c (__secure_getenv): Replace
75592         GLIBC_2_16 with GLIBC_2_17.
75594 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75596         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75597         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75599 2012-08-03  David S. Miller  <davem@davemloft.net>
75601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75603 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75605         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75606         Remove.
75607         (__ASSUME_CORRECT_SI_PID): Likewise.
75608         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75609         (__ASSUME_TMPFS_NAME): Likewise.
75610         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75611         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75612         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75613         (HAVE_AUX_SECURE): Make definition unconditional.
75614         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75615         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75617 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75619         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75620         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75621         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75622         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75623         __eloop_threshold instead of SYMLOOP_MAX.
75625         * sysdeps/generic/eloop-threshold.h: New file.
75626         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75627         of MAXSYMLINKS.
75628         * elf/chroot_canon.c (chroot_canon): Likewise.
75630 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75632         [BZ #13717]
75633         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75634         Change to 2.6.0 everywhere.
75635         * sysdeps/unix/sysv/linux/configure: Regenerated.
75636         * sysdeps/unix/sysv/linux/kernel-features.h
75637         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75638         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75639         kernel versions.
75640         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75641         (__ASSUME_FUTEX_REQUEUE): Remove.
75642         (__ASSUME_STATFS64): Define unconditionally.
75643         (__ASSUME_AT_SECURE): Likewise.
75644         (__ASSUME_CORRECT_SI_PID): Likewise.
75645         (__ASSUME_TGKILL): Define without depending on kernel version for
75646         i386.
75647         (__ASSUME_UTIMES): Likewise.
75648         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75649         kernel version.
75650         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75651         (__ASSUME_TMPFS_NAME): Likewise.
75652         * README: Update reference to Linux kernel versions.
75654 2012-08-02  Marek Polacek  <polacek@redhat.com>
75656         [BZ #14150]
75657         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75658         libc_cv_asm_type_prefix with %.
75659         * configure: Regenerated.
75660         * include/libc-symbols.h: Remove comment about
75661         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75662         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75663         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75664         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75665         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75666         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75667         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75668         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75669         * elf/tst-unique2mod1.c: Likewise.
75670         * elf/tst-unique1mod2.c: Likewise.
75671         * elf/tst-unique1mod1.c: Likewise.
75672         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75673         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75674         Replace ASM_TYPE_DIRECTIVE with .type.
75675         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75676         * sysdeps/i386/sysdep.h: Likewise.
75677         * sysdeps/x86_64/sysdep.h: Likewise.
75678         * sysdeps/sh/sysdep.h: Likewise.
75679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75680         Do not define ASM_TYPE_DIRECTIVE.
75681         * sysdeps/powerpc/sysdep.h: Likewise.
75682         * sysdeps/powerpc/powerpc32/sysdep.h:
75683         Replace ASM_TYPE_DIRECTIVE with .type.
75684         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75685         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75686         * sysdeps/i386/fpu/e_powf.S: Likewise.
75687         * sysdeps/i386/fpu/e_expl.S: Likewise.
75688         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75689         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75690         * sysdeps/i386/fpu/e_pow.S: Likewise.
75691         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75692         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75693         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75694         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75695         * sysdeps/i386/fpu/e_log2.S: Likewise.
75696         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75697         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75698         * sysdeps/i386/fpu/e_powl.S: Likewise.
75699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75700         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75701         * sysdeps/i386/fpu/e_logl.S: Likewise.
75702         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75703         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75704         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75705         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75706         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75707         * sysdeps/i386/fpu/e_log.S: Likewise.
75708         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75709         * sysdeps/i386/fpu/e_logf.S: Likewise.
75710         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75711         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75712         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75713         * sysdeps/i386/fpu/e_log10.S: Likewise.
75714         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75715         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75716         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75717         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75718         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75719         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75720         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75721         * sysdeps/i386/i686/strtok.S: Likewise.
75722         * sysdeps/i386/i386-mcount.S: Likewise.
75723         * sysdeps/i386/strtok.S: Likewise.
75724         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75725         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75727         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75728         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75729         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75730         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75731         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75732         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75733         * sysdeps/x86_64/_mcount.S: Likewise.
75734         * sysdeps/x86_64/strtok.S: Likewise.
75735         * sysdeps/sh/_mcount.S: Likewise.
75737 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75739         * libio/iofopen.c: Include <fcntl.h>.
75740         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75741         (_IO_fopen64, fopen64): Define as aliases.
75742         * libio/iofopen64.c: Include <fcntl.h>.
75743         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75744         Conditionalize body on this.
75745         * sysdeps/wordsize-64/iofopen.c: File removed.
75746         * sysdeps/wordsize-64/iofopen64.c: File removed.
75748 2012-08-01  Marek Polacek  <polacek@redhat.com>
75750         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75751         Use dlfcn directly instead of a variable.
75752         (binfmt-subdir): Do not define.
75753         (dlfcn): Likewise.
75755 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75757         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75758         Remove all definitions.
75759         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75760         <kernel-features.h>.
75761         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75762         (miss_F_GETOWN_EX): Remove all definitions.
75763         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75764         macro definition.
75765         [!__ASSUME_FCNTL64]: Remove conditional code.
75766         [__ASSUME_FCNTL64]: Make code unconditional.
75767         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75768         <kernel-features.h>.
75769         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75770         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75771         (lockf64) [__NR_fcntl64]: Make code unconditional.
75772         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75774         * sysdeps/unix/sysv/linux/kernel-features.h
75775         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75776         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75777         Make code unconditional.
75778         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75779         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75781         [__NR_vfork]: Make code unconditional.
75782         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75783         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75785         [__NR_vfork]: Make code unconditional.
75786         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75787         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75789 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75791         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75792         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75794         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75795         Define mkstemp64 as an alias.
75796         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75797         Define mkstemps64 as an alias.
75798         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75799         Define mkostemp64 as an alias.
75800         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75801         Define mkostemps64 as an alias.
75802         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75803         Conditionalize body on this.
75804         * misc/mkostemp64.c: Likewise.
75805         * misc/mkostemps64.c: Likewise.
75806         * misc/mkstemps64.c: Likewise.
75807         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75808         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75809         * sysdeps/wordsize-64/mkostemp.c: File removed.
75810         * sysdeps/wordsize-64/mkstemp.c: File removed.
75811         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75812         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75813         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75814         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75816         [BZ #14138]
75817         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75818         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75819         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75820         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75822         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75823         compat_symbol macros from <shlib-compat.h> rather than the underlying
75824         default_symbol_version and symbol_version macros, so that DEFAULT
75825         lines in shlib-versions are respected.
75826         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75828 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75830         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75831         Declare with warn_unused_result.
75832         (setgid, setregid, setegid, setresgid): Likewise.
75833         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75834         Likewise.
75835         * WUR-REPORT: Remove set*id functions.
75837 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75839         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75841 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75843         [BZ #10191]
75844         * include/sys/socket.h (__libc_accept, __libc_accept4):
75845         Add attribute_hidden.
75846         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75848         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75849         use of PTR_MANGLE.
75850         * inet/getnetgrent_r.c (setup): Likewise.
75852         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75854 2012-07-31  David S. Miller  <davem@davemloft.net>
75856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75858 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75860         [BZ #13629]
75861         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75862         value between 1.0 and 2.0 and smaller part has absolute value less
75863         than 1.0.
75864         * math/s_clog10.c (__clog10): Likewise.
75865         * math/s_clog10f.c (__clog10f): Likewise.
75866         * math/s_clog10l.c (__clog10l): Likewise.
75867         * math/s_clogf.c (__clogf): Likewise.
75868         * math/s_clogl.c (__clogl): Likewise.
75869         * math/libm-test.inc (clog_test): Add more tests.
75870         (clog10_test): Likewise.
75871         * sysdeps/i386/fpu/libm-test-ulps: Update.
75872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75874 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75876         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75877         Exit with zero in case no suitable GID is found, and write a
75878         message to standard error.
75880 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75882         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75883         rather than to 1.
75884         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75885         (MAXPATHLEN): Removed.
75886         (NOGROUP, NODEV): New macros.
75887         (setbit, clrbit, isset, isclr): New macros.
75888         (howmany, roundup, powerof2): New macros.
75889         (DEV_BSIZE): New macro.
75891         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75892         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75894         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75895         definition on [!__NO_LONG_DOUBLE_MATH].
75897         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75898         PTR_MANGLE and PTR_DEMANGLE.
75900         * socket/accept4.c (accept4): Rename to __libc_accept4.
75901         Define accept4 as a weak alias.
75903         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75904         on [_DIRENT_HAVE_D_TYPE].
75905         * io/ftw.c (ftw_dir): Likewise.
75907         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75909         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75911         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75912         Use the BSD numbers rather than the arbitrary ones we had.
75913         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75914         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75915         (SIGXCPU, SIGXFSZ): New macros.
75916         (_NSIG): Now 32.
75918         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75919         initializer on [_LIBC_REENTRANT].
75921         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75922         definitions inside [_POSIX_MAPPED_FILES].
75924         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75926         * dirent/opendir.c: Include <fcntl.h>.
75928         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75929         (__libc_getspecific): Likewise.
75930         (__libc_key_create): Likewise.
75932         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75933         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75934         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75935         (tmpfile64): Define as alias.
75936         * sysdeps/wordsize-64/tmpfile.c: File removed.
75937         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75938         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75939         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75941         * stdio-common/vfscanf.c: Include <stdbool.h>.
75942         * nss/makedb.c: Likewise.
75943         * stdio-common/_i18n_number.h: Likewise.
75944         * argp/argp-help.c: Likewise.
75945         * posix/wordexp.c: Likewise.
75946         * sysdeps/posix/spawni.c: Likewise.
75947         * nss/nss_files/files-initgroups.c: Likewise.
75948         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75949         * nss/nss_files/files-initgroups.c: Likewise.
75950         * nss/nss_db/db-netgrp.c: Likewise.
75951         * nss/nss_db/db-initgroups.c: Likewise.
75952         * io/fchmodat.c: Include <sys/stat.h>.
75954         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75955         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75957         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75958         [HAVE_MMAP].
75960         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75961         Add multiple inclusion protection.
75963 2012-07-27  David S. Miller  <davem@davemloft.net>
75965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75967 2012-07-27  Gary Benson  <gbenson@redhat.com>
75969         [BZ #14298]
75970         * elf/rtld.c: Include <stap-probe.h>.
75971         (dl_main): Added static probes "init_start" and "init_complete".
75972         * elf/dl-load.c: Include <stap-probe.h>.
75973         (lose): Take new parameter "nsid".
75974         Added static probe "map_failed".
75975         (_dl_map_object_from_fd): Pass namespace id to lose.
75976         Added static probe "map_start".
75977         (open_verify): Pass namespace id to lose.
75978         * elf/dl-open.c: Include <stap-probe.h>.
75979         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75980         and "reloc_complete".
75981         * elf/dl-close.c: Include <stap-probe.h>.
75982         (_dl_close_worker): Added static probes "unmap_start" and
75983         "unmap_complete".
75984         * elf/rtld-debugger-interface.txt: New file documenting the above.
75986 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75988         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75989         rather than a string variable.
75990         * sunrpc/rpc_main.c (h_output): Likewise.
75991         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75993 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75995         * inet/check_native.c: New file.
75997 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75999         [BZ #13629]
76000         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76001         if larger part has absolute value 1.0.
76002         * math/s_clog10.c (__clog10): Likewise.
76003         * math/s_clog10f.c (__clog10f): Likewise.
76004         * math/s_clog10l.c (__clog10l): Likewise.
76005         * math/s_clogf.c (__clogf): Likewise.
76006         * math/s_clogl.c (__clogl): Likewise.
76007         * math/libm-test.inc (clog_test): Add more tests.
76008         (clog10_test): Likewise.
76009         * sysdeps/i386/fpu/libm-test-ulps: Update.
76010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76012         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76013         (pltexit): Likewise.
76014         (La_regs): Likewise.
76015         (La_retval): Likewise.
76016         (int_retval): Likewise.
76017         Update #error for removed macros to refer only to definitions in
76018         tst-audit.h.
76019         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76020         macro.
76021         (pltexit): Likewise.
76022         (La_regs): Likewise.
76023         (La_retval): Likewise.
76024         (int_retval): Likewise.
76025         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76026         macro.
76027         (pltexit): Likewise.
76028         (La_regs): Likewise.
76029         (La_retval): Likewise.
76030         (int_retval): Likewise.
76031         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76032         macro.
76033         (pltexit): Likewise.
76034         (La_regs): Likewise.
76035         (La_retval): Likewise.
76036         (int_retval): Likewise.
76037         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76038         macro.
76039         (pltexit): Likewise.
76040         (La_regs): Likewise.
76041         (La_retval): Likewise.
76042         (int_retval): Likewise.
76043         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76044         macro.
76045         (pltexit): Likewise.
76046         (La_regs): Likewise.
76047         (La_retval): Likewise.
76048         (int_retval): Likewise.
76049         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76050         macro.
76051         (pltexit): Likewise.
76052         (La_regs): Likewise.
76053         (La_retval): Likewise.
76054         (int_retval): Likewise.
76055         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76056         macro definitions in tst-audit.h.
76057         * sysdeps/i386/tst-audit.h: New file.
76058         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76059         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76060         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76061         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76062         * sysdeps/sh/tst-audit.h: Likewise.
76063         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76064         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76065         * sysdeps/x86_64/tst-audit.h: Likewise.
76067 2012-07-26  Andreas Jaeger  <aj@suse.de>
76069         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76070         ptrace.
76072         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76073         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76074         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76075         PTRACE_O_MASK.
76076         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76077         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76078         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76080         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76081         value.
76083         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76084         _sigsys.
76085         (si_call_addr, si_syscall, si_arch): Define new macro.
76086         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76087         _sigsys.
76088         (si_call_addr, si_syscall, si_arch): Define new marcro.
76089         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76090         _sigsys.
76091         (si_call_addr, si_syscall, si_arch): Define new macro.
76092         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76093         _sigsys.
76094         (si_call_addr, si_syscall, si_arch): Define new macro.
76096 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76098         [BZ #13717]
76099         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76100         Change to 2.4.21 where previously 2.4.1.
76101         * sysdeps/unix/sysv/linux/configure: Regenerated.
76102         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76103         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76104         Linux kernel version.
76105         (__ASSUME_STD_AUXV): Remove.
76106         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76107         kernel version.
76108         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76109         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76110         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76111         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76112         (__ASSUME_NETLINK_SUPPORT): Likewise.
76113         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76114         (__no_netlink_support): Remove conditional definition.
76115         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76116         Remove.
76117         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76118         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76119         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76120         (if_nameindex_ioctl): Remove.
76121         (if_nameindex_netlink): Do not handle __no_netlink_support.
76122         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76123         code.
76124         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76125         Remove conditional code.
76126         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76127         code.
76128         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76129         unconditional.
76130         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76131         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76132         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76133         Remove.
76134         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76135         [!__ASSUME_STD_AUXV]: Remove conditional code.
76136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76137         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76138         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76140         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76141         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76142         code.
76143         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76145         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76146         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76147         conditional code.
76148         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76150         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76151         code.
76152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76153         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76154         conditional code.
76155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76156         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76157         code unconditional.
76158         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76159         conditional code.
76160         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76161         unconditional.
76162         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76163         conditional code.
76164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76165         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76166         unconditional.
76167         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76168         conditional code.
76169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76170         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76171         code unconditional.
76172         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76173         conditional code.
76174         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76175         unconditional.
76176         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76177         conditional code.
76178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76179         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76180         code unconditional.
76181         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76182         conditional code.
76183         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76184         unconditional.
76185         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76186         conditional code.
76188 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76190         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76191         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76192         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76193         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76194         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76195         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76196         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76197         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76198         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76199         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76200         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76201         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76202         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76203         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76204         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76205         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76206         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76207         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76208         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76210         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76211         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76212         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76214 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76216         * Versions.def: Add GLIBC_2.17.
76217         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76218         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76219         Introduce __libc_secure_getenv.
76220         * stdlib/Versions (2.17): Add secure_getenv
76221         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76222         * stdlib/secure-getenv.c: Rename __secure_getenv to
76223         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76224         symbol __secure_getenv for GLIBC_2.0.
76225         * stdlib/tst-secure-getenv.c: New.
76226         * stdlib/Makefile (tests): Add testcase.
76227         * manual/startup.texi (Environment Access): Document
76228         secure_getenv.
76229         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76230         __libc_secure_getenv.
76231         * inet/ruserpass.c (ruserpass): Likewise.
76232         * malloc/mtrace.c (mtrace): Likewise.
76233         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76234         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76235         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76236         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76237         HAVE_SECURE_GETENV.
76238         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76239         __secure_getenv to __libc_secure_getenv.
76240         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76242         Likewise.
76243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76244         Likewise.
76245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76247         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76253 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76255         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76256         (struct La_i86_retval): Likewise.
76257         (struct La_x86_64_regs): Likewise.
76258         (struct La_x86_64_retval): Likewise.
76259         (struct La_x32_regs): Likewise.
76260         (struct La_x32_retval): Likewise.
76261         (struct La_ppc32_regs): Likewise.
76262         (struct La_ppc32_retval): Likewise.
76263         (struct La_ppc64_regs): Likewise.
76264         (struct La_ppc64_retval): Likewise.
76265         (struct La_sh_regs): Likewise.
76266         (struct La_sh_retval): Likewise.
76267         (struct La_s390_32_regs): Likewise.
76268         (struct La_s390_32_retval): Likewise.
76269         (struct La_s390_64_regs): Likewise.
76270         (struct La_s390_64_retval): Likewise.
76271         (struct La_sparc32_regs): Likewise.
76272         (struct La_sparc32_retval): Likewise.
76273         (struct La_sparc64_regs): Likewise.
76274         (struct La_sparc64_retval): Likewise.
76275         (struct audit_ifaces): Remove architecture-specific pltenter and
76276         pltexit members.
76277         * sysdeps/i386/ldsodefs.h: New file.
76278         * sysdeps/powerpc/ldsodefs.h: Likewise.
76279         * sysdeps/s390/ldsodefs.h: Likewise.
76280         * sysdeps/sh/ldsodefs.h: Likewise.
76281         * sysdeps/sparc/ldsodefs.h: Likewise.
76282         * sysdeps/x86_64/ldsodefs.h: Likewise.
76284 2012-07-25  Marek Polacek  <polacek@redhat.com>
76286         [BZ #6808]
76287         * math/libm-test.inc (yn_test): Add another test.
76288         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76289         to ERANGE when the result is +-Inf.
76290         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76291         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76292         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76293         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76295 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
76297         * conform/data/time.h-data (NULL): Use macro-constant.  Require
76298         equal to 0.
76299         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
76300         clock_t.
76301         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
76303 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
76305         * configure.in <sysdeps resolving>: Correct printing
76306         Implies_before.
76307         * configure: Regenerate.
76309 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
76311         * math/w_ilogb.c: Include <limits.h>.
76312         * math/w_ilogbl.c: Likewise.
76314 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76316         * manual/lang.texi (__va_copy): Document primarily as ISO C99
76317         va_copy.  Document allowing for unavailable va_copy only as
76318         pre-C99 compatibility.
76319         * manual/string.texi (Copying and Concatenation): Use va_copy
76320         instead of __va_copy in concat example.
76322 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
76324         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76325         (__sendto): Use create_address_port.  Initialize APORT and deallocate
76326         it if not null.
76328         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76329         with O_NOLINK passed to __file_name_lookup.
76331         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76332         with O_NOLINK passed to __file_name_lookup.
76334         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76335         negative N or less than NGIDS.
76337         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76338         type to string_t.  Set ERANGE as errno and return it if NAME is not big
76339         enough.  Use memcpy instead of strncpy.
76341 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76343         * elf/Makefile (check-data): Remove.
76344         (localplt.data): New vpath directive.
76345         ($(objpfx)check-localplt.out): Use localplt.data from vpath
76346         instead of $(check-data).
76347         * scripts/data/localplt-generic.data: Move to ...
76348         * sysdeps/generic/localplt.data: ... here.
76349         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76350         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76351         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76353         ... here.
76354         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76356         ... here.
76357         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76359         ... here.
76360         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76362         ... here.
76363         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76365         ... here.
76366         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76368         ... here.
76370 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76372         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76373         PPC32 and PPC64 files.
76374         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76375         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76377 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76379         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76380         __makecontext_ret to ...
76381         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76382         ... here and call exit if uc_link is NULL.  New file.
76383         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76384         __makecontext_ret.S.
76385         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76386         __makecontext_ret to ...
76387         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76388         ... here and call exit if uc_link is NULL.  New file.
76389         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76390         __makecontext_ret.S.
76392 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76394         * elf/elf.h (R_390_IRELATIVE): New definition.
76395         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76396         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76397         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76398         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76399         (elf_machine_lazy_rel): Likewise.
76400         * sysdeps/s390/dl-irel.h: New file.
76401         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76402         * sysdeps/s390/s390-64/memset.S: New asm code.
76403         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76404         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76405         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76406         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76407         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76408         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76409         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76410         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76411         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76412         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76413         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76414         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76415         * sysdeps/s390/s390-32/memset.S: New asm code.
76416         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76418 2012-07-17  Marek Polacek  <polacek@redhat.com>
76420         [BZ #14349]
76421         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76422         * sysdeps/s390/s390-64/configure.in: Likewise.
76423         * sysdeps/sparc/configure.in: Likewise.
76424         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76425         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76426         * sysdeps/i386/configure.in: Likewise.
76427         * sysdeps/x86_64/configure.in: Likewise.
76428         * sysdeps/sh/configure.in: Likewise.
76429         * sysdeps/s390/s390-32/configure: Regenerated.
76430         * sysdeps/s390/s390-64/configure: Likewise.
76431         * sysdeps/x86_64/configure: Likewise.
76432         * sysdeps/sh/configure: Likewise.
76433         * sysdeps/powerpc/powerpc64/configure: Likewise.
76434         * sysdeps/powerpc/powerpc32/configure: Likewise.
76435         * sysdeps/sparc/configure: Likewise.
76436         * sysdeps/i386/configure: Likewise.
76438         * elf/dl-open.c: Comment fixes.
76440 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76442         * Makefile [CXX] (check-data): Remove.
76443         [CXX] (c++-types.data): New vpath directive.
76444         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76445         vpath.  Do not allow for C++ type data being missing.
76446         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76447         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76448         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76449         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76450         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76451         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76452         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76454         ... here.
76455         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76457         ... here.
76458         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76460         ... here.
76461         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76463         ... here.
76464         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76466         ... here.
76467         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76469         ... here.
76470         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76472         ... here.
76473         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76476         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76477         definitions to architecture-specific files.
76478         (TLS_IE): Likewise.
76479         (TLS_LD): Likewise.
76480         (TLS_GD): Likewise.
76481         * sysdeps/i386/tls-macros.h: New file.
76482         * sysdeps/powerpc/tls-macros.h: Likewise.
76483         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76484         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76485         * sysdeps/sh/tls-macros.h: Likewise.
76486         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76487         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76488         * sysdeps/x86_64/tls-macros.h: Likewise.
76490 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76492         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76493         zero value for regular exit case.
76495         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76496         (__start_context): Preserve zero value for regular exit case.
76498 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76499             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76501         * manual/setjmp.texi (setcontext): Clarify normal process
76502         termination when uc_link is the null pointer.
76503         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76504         exit call.
76506 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76508         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76509         preprocessor.  Test for each exception mask separately.
76511 2012-07-16  Andreas Jaeger  <aj@suse.de>
76513         * po/ru.po: Update from translation team.
76515 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76517         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76518         equal to 0.
76519         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76520         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76521         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76522         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76525 2012-07-13  Andreas Jaeger  <aj@suse.de>
76527         * po/fr.po: Update from translation team.
76529 2012-07-12  Marek Polacek  <polacek@redhat.com>
76531         [BZ #14173]
76532         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76533         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76534         loop condition.
76536 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76538         [BZ #13717]
76539         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76540         Change to 2.4.1 where previously 2.4.0.
76541         * sysdeps/unix/sysv/linux/configure: Regenerated.
76542         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76543         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76544         version.
76545         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76546         (__ASSUME_AT_CLKTCK): Remove.
76547         (__ASSUME_AT_PAGESIZE): Likewise.
76548         (__ASSUME_AT_XID): Likewise.
76549         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76550         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76551         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76552         unconditionally.
76553         (HAVE_AUX_PAGESIZE): Likewise.
76554         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76555         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76556         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76558 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76560         [BZ #14307]
76561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76562         the temporary buffer used to invoke __gethostbyname2_r,
76563         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76564         host_data / struct gaih_addrtuple.
76565         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76566         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76567         header file nss/nsswitch.h.
76568         * nss/nsswitch.h (global scope): Add definition of implementation
76569         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76570         resolv/nss_dns/dns-host.c).
76572 2012-07-11  Andreas Jaeger  <aj@suse.de>
76574         * po/fr.po: Update from translation team.
76576         * po/sv.po: Update from translation team
76577         * po/fr.po: Another update from translation team.
76579 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76581         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76582         for subnormals or multiply small sinh result by itself.
76583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76586 2012-07-11  David S. Miller  <davem@davemloft.net>
76588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76590 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76592         [BZ #14347]
76593         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76594         (INTERNAL_MARK): Shift it here.
76596 2012-07-10  Marek Polacek  <polacek@redhat.com>
76598         [BZ #14151]
76599         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76600         libc_cv_asm_global_directive with .globl.
76601         * configure: Regenerated.
76602         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76603         with .globl.
76604         * sysdeps/i386/configure: Regenerated.
76605         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76606         with .globl.
76607         * sysdeps/x86_64/configure: Regenerated.
76608         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76609         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76610         * elf/tst-unique2mod2.c: Likewise.
76611         * elf/tst-unique2mod1.c: Likewise.
76612         * elf/tst-unique1mod2.c: Likewise.
76613         * elf/tst-unique1mod1.c: Likewise.
76614         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76615         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76616         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76617         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76618         * sysdeps/mach/sysdep.h: Likewise.
76619         * sysdeps/i386/sysdep.h: Likewise.
76620         * sysdeps/i386/i386-mcount.S: Likewise.
76621         * sysdeps/x86_64/_mcount.S: Likewise.
76622         * sysdeps/x86_64/sysdep.h: Likewise.
76623         * sysdeps/sh/_mcount.S: Likewise.
76624         * sysdeps/sh/sysdep.h: Likewise.
76625         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76626         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76627         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76628         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76629         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76630         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76631         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76632         * locale/localeinfo.h: Likewise.
76633         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76634         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76636 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76638         [BZ #14336]
76639         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76640         system".
76641         * manual/message.texi (The Uniforum approach): Likewise.
76642         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76643         (glibc iconv Implementation): Likewise.
76645 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76647         [BZ #14337]
76648         * math/s_clog.c (__clog): Avoid scaling a value down where that
76649         could result in underflow.
76650         * math/s_clog10.c (__clog10): Likewise.
76651         * math/s_clog10f.c (__clog10f): Likewise.
76652         * math/s_clog10l.c (__clog10l): Likewise.
76653         * math/s_clogf.c (__clogf): Likewise.
76654         * math/s_clogl.c (__clogl): Likewise.
76655         * math/libm-test.inc (clog_test): Add more tests.
76656         (clog10_test): Likewise.
76657         * sysdeps/i386/fpu/libm-test-ulps: Update.
76658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76660 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76662         [BZ #14283]
76663         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76664         by 7 not 8 to examine high bit of fractional part.
76666         [BZ #14042]
76667         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76668         for call to __mcount_internal.
76669         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76670         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76671         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76673 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76675         [BZ #14154]
76676         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76677         approximation for values within 0x1p-13f of an odd multiple of
76678         pi/4.
76679         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76680         exception.  Add more tests.
76681         * sysdeps/i386/fpu/libm-test-ulps: Update.
76683         [BZ #6778]
76684         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76685         inputs and return -1 for them.  Do not check for +Inf in case not
76686         reachable for +Inf.
76687         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76688         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76689         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76690         and return -1 for them.  Do not check for +Inf in case not
76691         reachable for +Inf.
76692         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76693         define.
76694         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76695         and return -1 for them.  Do not check for +Inf in case not
76696         reachable for +Inf.
76697         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76698         spurious underflow.
76699         * sysdeps/i386/fpu/libm-test-ulps: Update.
76700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76702 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76704         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76706 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76708         [BZ #14157]
76709         [BZ #14331]
76710         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76711         could result in spurious underflow.  Scale down values above
76712         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76713         * math/s_csqrtf.c (__csqrtf): Likewise.
76714         * math/s_csqrtl.c (__csqrtl): Likewise.
76715         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76716         spurious underflow.
76717         * sysdeps/i386/fpu/libm-test-ulps: Update.
76718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76720 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76722         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76723         xopen-msg.sed.
76724         * catgets/xopen-msg.awk: New file.
76725         * catgets/xopen-msg.sed: Removed.
76727         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76728         po2text.sed.
76729         * intl/po2test.awk: New file.
76730         * intl/po2test.sed: Removed.
76732 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76734         [BZ #14328]
76735         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76736         or multiply small sinh result by itself.
76737         * math/s_ctanf.c (__ctanf): Likewise.
76738         * math/s_ctanh.c (__ctanh): Likewise.
76739         * math/s_ctanhf.c (__ctanhf): Likewise.
76740         * math/s_ctanhl.c (__ctanhl): Likewise.
76741         * math/s_ctanl.c (__ctanl): Likewise.
76742         * math/libm-test.inc (ctan_test_tonearest): New function.
76743         (ctan_test_towardzero): Likewise.
76744         (ctan_test_downward): Likewise.
76745         (ctan_test_upward): Likewise.
76746         (ctanh_test_tonearest): Likewise.
76747         (ctanh_test_towardzero): Likewise.
76748         (ctanh_test_downward): Likewise.
76749         (ctanh_test_upward): Likewise.
76750         (main): Call these new functions.
76751         * sysdeps/i386/fpu/libm-test-ulps: Update.
76752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76754 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76756         * .gitignore: Delete /ports entry.
76758 2012-07-03  Andreas Jaeger  <aj@suse.de>
76760         * po/bg.po: Update from translation team.
76761         * po/cs.po: Likewise.
76762         * po/de.po: Likewise.
76763         * po/hr.po: Likewise.
76764         * po/nl.pl: Likewise.
76765         * po/pl.po: Likewise.
76766         * po/vi.po: Likewise.
76768 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76770         * Makeconfig [!+link] (+link-before-libc): New variable.
76771         [!+link] (+link-after-libc): Likewise.
76772         [!+link] (+link-tests): Likewise.
76773         [!+link] (+link): Define in terms of $(+link-before-libc) and
76774         $(+link-after-libc).
76775         [!+link-static] (+link-static-before-libc): New variable.
76776         [!+link-static] (+link-static-after-libc): Likewise.
76777         [!+link-static] (+link-static-tests): Likewise.
76778         [!+link-static] (+link-static): Define in terms of
76779         $(+link-static-before-libc) and $(+link-static-after-libc).
76780         [build-shared] (link-libc-before-gnulib): New variable.
76781         [build-shared] (link-libc-tests): Likewise.
76782         [build-shared] (link-libc): Define in terms of
76783         $(link-libc-before-gnulib).
76784         [!build-shared] (link-libc-tests): New variable.
76785         (link-libc-static-tests): New variable.
76786         [!gnulib] (gnulib-arch): New variable.
76787         [!gnulib] (gnulib-tests): Likewise.
76788         [!gnulib] (static-gnulib-arch): Likewise.
76789         [!gnulib] (static-gnulib-tests): Likewise.
76790         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76791         Define with "=" instead of ":=".
76792         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76793         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76794         * Rules (binaries-all-notests): New variable.
76795         (binaries-all-tests): Likewise.
76796         (binaries-static-notests): Likewise.
76797         (binaries-static-tests): Likewise.
76798         (binaries-all): Define using $(binaries-all-notests) and
76799         $(binaries-all-tests).
76800         (binaries-static): Define using $(binaries-static-notests) and
76801         $(binaries-static-tests).
76802         (binaries-shared-tests): New variable.
76803         (binaries-shared-notests): Likewise.
76804         (binaries-shared): Remove variable.
76805         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76806         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76807         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76808         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76809         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76810         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76811         * elf/Makefile (sln-modules): New variable.
76812         (extra-objs): Add $(sln-modules:=.o).
76813         (ldconfig-modules): Add static-stubs.
76814         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76815         * elf/static-stubs.c: New file.
76817         [BZ #14283]
76818         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76819         by 7 not 8 to examine high bit of fractional part.  Use volatile
76820         variables when splitting into final array of floats if
76821         __FLT_EVAL_METHOD__ != 0.
76822         * math/libm-test.inc (cos_test): Add another test.
76823         (sin_test): Likewise.
76824         * sysdeps/i386/fpu/libm-test-ulps: Update.
76826         [BZ #14273]
76827         * math/libm-test.inc (cosh_test): Add more tests.
76829         * version.h (RELEASE): Set to "development".
76830         (VERSION): Set to "2.16.90".
76832 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76834         * NEWS: Update copyright. Remove last-updated date.
76835         Mention math library bug fixes and timezone data changes.
76836         * README: Mention GNU/Hurd, x32, and HPPA support status.
76838 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76840         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76842 2012-06-27  Andreas Jaeger  <aj@suse.de>
76844         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76846 2012-06-25  Andreas Jaeger  <aj@suse.de>
76848         * sysdeps/s390/fpu/libm-test-ulps: Update.
76850 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76851             Thomas Schwinge  <thomas@codesourcery.com>
76853         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76854         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76855         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76856         fanotify_mark.
76858 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76860         * sysdeps/mach/start.c: Remove file.
76861         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76862         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76863         * sysdeps/sh/init-first.c: Likewise.
76865         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76866         registers for frame unwinding purposes, add CFI directives.
76867         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76868         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76869         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76870         Likewise.
76872         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76873         __fortify_fail returning.
76874         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76876         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76877         sysdeps/sh/____longjmp_chk.S.
76878         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76879         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76880         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76881         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76883         * sysdeps/sh/abort-instr.h: New file.
76884         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76885         process in case exit returns.
76887         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76888         initialize the GOT register before use.
76890         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76891         calculation of ARGC > 4.
76893         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76894         meaningful names to some local labels.
76896 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76897             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76899         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76900         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76901         (__arch_compare_and_exchange_val_16_acq): Likewise.
76902         (__arch_compare_and_exchange_val_32_acq): Likewise.
76903         (atomic_exchange_and_add): Fix gUSA sequence.
76904         (atomic_add): Likewise.
76905         (atomic_add_negative): Likewise.
76906         (atomic_add_zero): Likewise.
76907         (atomic_bit_test_set): Likewise.
76909 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76911         [BZ #13579]
76912         * include/link.h (struct link_map): Add l_free_initfini.
76913         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76914         l_initfini.
76915         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76916         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76917         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76918         set.
76920 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76922         * configure.in: Use AC_LANG_SOURCE.
76923         * configure: Regenerate.
76925 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76927         * configure.in (libc_cv_localstatedir): New substituted variable.
76928         * configure: Regenerated.
76929         * config.make.in (localstatedir): New variable, substituted from
76930         libc_cv_localstatedir.
76931         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76932         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76933         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76934         * sysdeps/gnu/configure: Regenerated.
76936 2012-06-21  Jeff Law  <law@redhat.com>
76938         [BZ #14277]
76939         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76940         free.  Simplify list management for _LIBC case.
76942 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76944         [BZ #14273]
76945         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76946         Clear sign bit of 64-bit integer value before comparing against
76947         overflow value.
76949         * sysdeps/mach/configure: Regenerated.
76951 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76953         [BZ #14278]
76954         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76956 2012-06-21  Jeff Law  <law@redhat.com>
76958         [BZ #13882]
76959         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76960         uint16_t for elements in the "seen" array to avoid char overflows.
76961         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76962         * elf/dl-open.c (dl_open_worker): Likewise.
76964 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76966         * scripts/list-sources.sh: Scan PORTS for translations.
76967         * po/libc.pot: Regenerated.
76969 2012-06-21  Andreas Jaeger  <aj@suse.de>
76971         [BZ #12194]
76972         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76973         warning.
76974         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76975         * bits/byteswap-16.h (__bswap_16): Likewise.
76976         * bits/byteswap.h (__bswap_constant_16): Likewise.
76978 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76980         [BZ #14117]
76981         * sysdeps/i386/fpu_control.h: Removed.
76982         * sysdeps/x86_64/fpu_control.h: Moved to ...
76983         * sysdeps/x86/fpu_control.h: Here.
76985         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76986         (_FPU_SETCW): Likewise.
76988 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76990         [BZ #14117]
76991         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76992         * sysdeps/x86/fpu/bits/mathinline.h: This.
76993         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76995         [BZ #14050]
76996         [BZ #14117]
76997         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76998         functions if __x86_64__ is defined.
77000 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77002         * string/endian.h: Add !__ASSEMBLER__ condition for including
77003         conversion interfaces.
77005 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77007         [BZ #14241]
77008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77009         of ABS(x) in calculating zero to negative powers other than odd
77010         integers.
77011         * math/libm-test.inc (pow_test): Add more tests.
77013 2012-06-15  Andreas Jaeger  <aj@suse.de>
77015         * manual/contrib.texi (Contributors): Update entry of Liubov
77016         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77017         Machado Filho.
77019 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77021         * string/string.h: Add __wur to GNU version of strerror_r.
77023 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77025         [BZ #14229]
77026         * string/Makefile (tests): Add tst-strtok_r.
77027         * string/tst-strtok_r.c: New file.
77028         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77029         RAX_LP/RDX_LP on SAVE_PTR.
77031 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77033         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77035 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77037         * libm_test.inc (csqrt_test): Allow more spurious underflow
77038         exceptions.
77039         (j0_test): Likewise.
77040         (j1_test): Likewise.
77041         (y0_test): Likewise.
77042         (y1_test): Likewise.
77044 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77046         * po/Makefile (libc.pot): Use UTF-8 charset.
77048 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77050         [BZ #14210]
77051         Suppress sign-conversion warning from FD_SET.
77052         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77053         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77054         not unsigned long int.
77055         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77057 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77059         [BZ #14050]
77060         [BZ #14117]
77061         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77062         __extern_always_inline instead of __extern_inline.
77063         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77064         (__signbit): Likewise.
77065         (__signbitl): Support C++ namespace.
77066         (lrintf): New inline function.
77067         (lrint): Likewise.
77068         (llrintf): Likewise.
77069         (llrint): Likewise.
77070         (fmaxf): Likewise.
77071         (fmax): Likewise.
77072         (fminf): Likewise.
77073         (fmin): Likewise.
77074         (rint): Likewise.
77075         (rintf): Likewise.
77076         (ceil): Likewise.
77077         (ceilf): Likewise.
77078         (floor): Likewise.
77079         (floorf): Likewise.
77080         (nearbyint): Likewise.
77081         (nearbyintf): Likewise.
77083 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77086         non-default versions.
77088 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77090         [BZ #14218]
77091         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77093 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77095         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77096         (FE_UPWARD, FE_DOWNWARD): Don't define.
77097         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77098         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77100         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77101         reading it.
77102         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77103         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77105 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77107         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77109         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77110         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77112 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77114         [BZ #14117]
77115         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77116         * sysdeps/i386/fpu/Implies: New file.
77117         * sysdeps/x86_64/fpu/Implies: Likewise.
77118         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77119         * sysdeps/x86/fpu/bits/fenv.h: This.
77121         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77122         __SSE_MATH__.
77124 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77126         [BZ #14134]
77127         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77128         character 0xffff that matches the last element of the
77129         conversion table.
77131 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77133         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77134         fmodl commit.
77136 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77138         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77139         values higher than 25.6283.
77141 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77143         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77144         subnormal exponent extraction and add some __builtin_expect.
77145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77146         Fix for subnormal mantissa calculation.
77148 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77150         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77151         cpu2 is -1 and errno is not ENOSYS.
77153 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77155         [BZ #14117]
77156         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77157         * sysdeps/x86/bits/string.h: This.
77158         * sysdeps/x86_64/bits/string.h: Removed.
77160         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77161         if not compiling for x86-64, but compiling for >= i486.
77163         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77164         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77166         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77167         New macro from Linux kernel 3.4.0.
77168         (FP_XSTATE_MAGIC2): Likewise.
77169         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77170         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77171         (struct _fpx_sw_bytes): New struct.
77172         (struct _xsave_hdr): Likewise.
77173         (struct _ymmh_state): Likewise.
77174         (struct _xstate): Likewise.
77176         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77177         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77178         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77179         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77180         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77181         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77183         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77184         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77185         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77186         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77187         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77188         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77190 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77192         [BZ #13743]
77193         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77194         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77195         (sysdep_headers): Include sys/platform/ppc.h.
77196         * sysdeps/powerpc/test-gettimebase.c: Test for
77197         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77198         * manual/Makefile (appendices): Include platform.texi.
77199         * manual/contrib.texi (Contributors): Update @node pointers.
77200         * manual/maint.texi (Maintenance): Likewise.
77201         (Platform): New node.
77202         * manual/platform.texi: New file.  Document the new features.
77204 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77205             Jakub Jelinek  <jakub@redhat.com>
77207         [BZ #14188]
77208         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77209         where __builtin_expect is unavailable.
77211 2012-06-03  David S. Miller  <davem@davemloft.net>
77213         * stdlib/longlong.h: Updated from GCC.
77215 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77217         [BZ #14042]
77218         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77219         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77220         __mcount_internal.
77221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77222         (GLIBC_2.16): Likewise.
77224 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77226         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77228 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77231         (default-abi): New variable.
77232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77233         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77234         variable.
77235         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77236         Likewise.
77237         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77238         Likewise.
77239         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77240         Likewise.
77242         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77243         definition.  Document in comment.
77245 2012-06-01  David S. Miller  <davem@davemloft.net>
77247         * stdlib/longlong.h: Updated from GCC.
77249 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77251         [BZ #14117]
77252         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77253         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77254         sys/debugreg.h sys/io.h here.
77255         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77256         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77257         sys/io.h.
77258         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77259         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77260         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77261         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77262         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77263         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77265         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77266         Define only if __x86_64__ is defined.
77268 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77270         [BZ #14048]
77271         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77272         Use int64_t for variable i.
77273         * math/libm-test.inc (fmod_test): Add more tests.
77275         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77276         z computation is not scheduled after fetestexcept.
77277         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77278         Use math_force_eval instead of asm to ensure calculation scheduled
77279         before exception test.
77280         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77281         Ensure a1 + u.d computation is not scheduled after fetestexcept.
77283 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
77285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77286         computation is not scheduled after fetestexcept.
77288 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77290         [BZ #14117]
77291         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77292         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77294 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77296         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77297         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77299 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77301         [BZ #14117]
77302         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77303         <bits/wordsize.h>.
77304         (__WCHAR_MIN): Support __WORDSIZE == 64.
77305         (__WCHAR_MAX): Likewise.
77307         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77308         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77310         [BZ #14183]
77311         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77312         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77314         [BZ #14117]
77315         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77316         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77318         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77319         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77321         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77322         Defined to 1 if __x86_64__ isn't defined.
77323         (_STAT_VER_LINUX_OLD): New.
77324         (st_atime): Remove duplicate.
77325         (st_mtime): Likewise.
77326         (st_ctime): Likewise.
77328 2012-05-31  David S. Miller  <davem@davemloft.net>
77330         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77331         entries.
77333 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
77335         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77336         gen-libm-test.pl.
77338         [BZ #14132]
77339         * elf/dl-reloc.c: Include <_itoa.h>.
77340         (_dl_reloc_bad_type): Remove use of INTUSE.
77341         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77342         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77343         * stdio-common/psiginfo.c (psiginfo): Likewise.
77344         * stdio-common/psignal.c (psignal): Likewise.
77345         * string/strsignal.c (strsignal): Likewise.
77346         * include/signal.h (_sys_siglist): Declare hidden proto.
77347         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
77348         INTVARDEF with libc_hidden_data_def.
77349         * stdio-common/itoa-udigits.c: Likewise.
77350         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77351         (_itoa_lower_digits_internal): Remove declaration.
77352         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77353         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77354         (_sys_sigabbrev_internal): Remove aliases.
77355         (_sys_siglist): Define hidden alias.
77357 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
77359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77360         bits/sysctl.h.
77362 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77364         [BZ #14117]
77365         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77366         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77368         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77369         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77370         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77371         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77372         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77373         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77375         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77376         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77377         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77379         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77380         with __addr.
77381         (insw): Likewise.
77382         (insl): Likewise.
77383         (outsb): Likewise.
77384         (outsw): Likewise.
77385         (outsl): Likewise.
77387         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77388         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77389         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77391         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77392         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77394         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77395         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77396         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77398         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77399         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77401         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77402         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77404         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77405         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77406         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77408         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77409         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77410         to ...
77411         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77413         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77414         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77415         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77417         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77418         for x86-64.
77419         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77421 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77423         * math/math.h (M_El): Use two more decimal places.
77424         (M_LOG2El): Likewise.
77425         (M_LOG10El): Likewise.
77426         (M_LN2l): Likewise.
77427         (M_LN10l): Likewise.
77428         (M_PIl): Likewise.
77429         (M_PI_2l): Likewise.
77430         (M_PI_4l): Likewise.
77431         (M_1_PIl): Likewise.
77432         (M_2_PIl): Likewise.
77433         (M_2_SQRTPIl): Likewise.
77434         (M_SQRT2l): Likewise.
77435         (M_SQRT1_2l): Likewise.
77437 2012-05-31  David S. Miller  <davem@davemloft.net>
77439         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77440         values between float registers.
77441         * sysdeps/sparc/sparc64/memset.S: Likewise.
77442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77444 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77446         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77447         -D_FORTIFY_SOURCE=1.
77448         (CPPFLAGS-tst-longjmp_chk.c): Define.
77449         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77450         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77451         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77452         CFLAGS-tst-wchar-h.c.
77454 2012-05-31  Marek Polacek  <polacek@redhat.com>
77456         [BZ #14132]
77457         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77458         __endmntent_internal): Remove declaration.
77459         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77460         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77461         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77463 2012-05-30  David S. Miller  <davem@davemloft.net>
77465         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77466         (___Q_simulate_exceptions): Use real FP ops rather than writing
77467         into the %fsr.
77468         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77469         Likewise.
77471 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77473         [BZ #14117]
77474         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77475         * sysdeps/x86/bits/xtitypes.h: This.
77477         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77478         * sysdeps/x86/bits/wordsize.h: This.
77480         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77481         * sysdeps/x86/bits/huge_vall.h: This.
77483         * sysdeps/i386/bits/select.h: Removed.
77484         * sysdeps/x86_64/bits/select.h: Renamed to ...
77485         * sysdeps/x86/bits/select.h: This.
77487         * sysdeps/i386/bits/setjmp.h: Removed.
77488         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77489         * sysdeps/x86/bits/setjmp.h: This.
77491         * sysdeps/i386/bits/mathdef.h: Removed.
77492         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77493         * sysdeps/x86/bits/mathdef.h: This.
77495 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77497         [BZ #14132]
77498         * include/sys/socket.h (__connect_internal)
77499         (__libc_sa_len_internal): Remove declaration.
77500         (__connect, __libc_sa_len): Declare hidden_proto.
77501         (SA_LEN): Remove use of INTUSE.
77502         * socket/connect.c: Add libc_hidden_def.
77503         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77504         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77505         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77506         alias.
77507         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77509         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77510         of adding _internal alias.
77512 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77514         [BZ #14117]
77515         * sysdeps/i386/bits/link.h: Removed.
77516         * sysdeps/i386/bits/linkmap.h: Likewise.
77517         * sysdeps/x86_64/bits/link.h: Renamed to ...
77518         * sysdeps/x86/bits/link.h: This.
77519         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77520         * sysdeps/x86/bits/linkmap.h: This.
77522         * sysdeps/i386/bits/endian.h: Removed.
77523         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77524         * sysdeps/x86/bits/endian.h: This.
77526         * sysdeps/i386/bits/byteswap.h: Removed.
77527         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77528         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77529         * sysdeps/x86/bits/byteswap.h: This.
77530         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77531         * sysdeps/x86/bits/byteswap-16.h: This.
77532         * sysdeps/i386/Implies: Add x86.
77533         * sysdeps/x86_64/Implies: Likewise.
77535 2012-05-30  David S. Miller  <davem@davemloft.net>
77537         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77538         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77539         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77540         (FP_TRAPPING_EXCEPTIONS): Define.
77541         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77542         (FP_TRAPPING_EXCEPTIONS): Define.
77543         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77544         subnormals only when inexact has been signalled or underflow
77545         exceptions are enabled.
77546         (_FP_PACK_CANONICAL): Likewise.
77548 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77550         [BZ #14183]
77551         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77552         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77554 2012-05-30  Richard Henderson  <rth@twiddle.net>
77556         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77557         with #ifndef NOT_IN_libc.
77559         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77560         marked to avoid plt entry.
77562 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77564         [BZ #14112]
77565         * Makeconfig (default-abi): New macro.
77566         (abi-includes): Likewise.
77567         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77568         $(abi-$(default-abi)-lib-soname) for soname if defined.
77569         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77570         abi-variants.
77571         * Makefile (installed-stubs): Likewise.
77572         * include/stubs-biarch.h: Removed.
77573         * scripts/lib-names.awk: Only handle one library at a time.
77574         * scripts/soversions.awk: Remove WORDSIZE support.
77575         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77576         entries.
77577         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77578         Removed.
77579         (syscall-list-default-condition): Likewise.
77580         (syscall-list-default-condition): Likewise.
77581         (syscall-list-includes): Likewise.
77582         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77583         syscall-list-* with abi-*.  Handle undefined abi-variants.
77584         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77585         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77586         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77587         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77588         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77589         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77590         Removed.
77591         (syscall-list-32-options): Likewise.
77592         (syscall-list-32-condition): Likewise.
77593         (syscall-list-64-options): Likewise.
77594         (syscall-list-64-condition): Likewise.
77595         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77596         macro.
77597         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77598         Renamed to ...
77599         (abi-*): This.
77600         (abi-64-ld-soname): New macro.
77601         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77602         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77603         Renamed to ...
77604         (abi-*): This.
77605         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77606         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77608 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77610         * sysdeps/unix/sysv/linux/kernel-features.h
77611         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77612         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77613         include <kernel-features.h>.
77614         [!__NR_ftruncate64]: Remove conditional code.
77615         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77616         [__NR_ftruncate64]: Make code unconditional.
77617         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77618         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77619         include <kernel-features.h>.
77620         [!__NR_ftruncate64]: Remove conditional code.
77621         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77622         [__NR_ftruncate64]: Make code unconditional.
77623         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77625         include <kernel-features.h>.
77626         [!__NR_ftruncate64]: Remove conditional code.
77627         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77628         [__NR_ftruncate64]: Make code unconditional.
77629         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77631         include <kernel-features.h>.
77632         [!__NR_ftruncate64]: Remove conditional code.
77633         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77634         [__NR_ftruncate64]: Make code unconditional.
77635         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77637         * configure.in (libc_cv_fpie): Weaken to a compile test using
77638         LIBC_TRY_CC_OPTION.
77639         * configure: Regenerated.
77641 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77647         Refreshed.
77648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77654         Refreshed.
77656 2012-05-27  David S. Miller  <davem@davemloft.net>
77658         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77659         (___Q_zero): New.
77660         (__Q_simulate_exceptions): Return void.  Change to simulate
77661         exceptions by writing into the %fsr.
77662         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77663         (__Qp_handle_exceptions): Likewise.
77664         (numbers): Delete.
77665         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77666         __Qp_handle_exceptions.
77667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77668         __Qp_handle_exceptions.
77669         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77670         as unused and give dummy FP_RND_NEAREST initializer.
77671         (FP_INHIBIT_RESULTS): Define.
77672         (___Q_simulate_exceptions): Update declaration.
77673         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77674         formatting.
77675         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77676         as unused and give dummy FP_RND_NEAREST initializer.
77677         (__Qp_handle_exceptions): Update declaration.
77678         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77679         formatting.
77681 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77683         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77684         the temporary FPU control word.
77685         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77686         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77687         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77688         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77689         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77690         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77691         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77692         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77693         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77694         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77695         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77697 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77699         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77700         fields.
77702 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77704         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77705         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77706         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77707         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77708         Likewise.
77709         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77710         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77711         Likewise.
77713 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77715         * po/h.po: Update from translation team.
77717 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77719         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77721         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77722         handling of denormals.
77723         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77724         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77725         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77726         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77727         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77728         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77730         Likewise.
77732 2012-05-26  Marek Polacek  <polacek@redhat.com>
77734         [BZ #14152]
77735         * math/libm-test.inc (fma_test): Don't always expect underflow
77736         exception.
77738 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77740         [BZ #12416]
77741         * elf/tst-execstack.c: Include stackinfo.h.
77742         (do_test): Adjust test case to ensure that pthread_getattr_np
77743         behaviour remains the same after marking stack executable.
77745 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77747         * sysdeps/unix/sysv/linux/kernel-features.h
77748         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77749         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77750         kernel-features.h.
77751         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77752         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77753         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77754         kernel-features.h.
77755         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77756         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77758 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77760         * configure.in: Define the default includes to being none.
77761         * configure: Regenerated.
77763 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77765         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77766         * sysdeps/x86_64/setjmp.S: Likewise.
77767         * sysdeps/i386/bsd-setjmp.S: Likewise.
77768         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77769         * sysdeps/i386/setjmp.S: Likewise.
77770         * sysdeps/i386/__longjmp.S: Likewise.
77771         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77772         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77774         * include/stap-probe.h: New file.
77775         * configure.in: Handle --enable-systemtap.
77776         * configure: Regenerated.
77777         * config.h.in (USE_STAP_PROBE): New #undef.
77778         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77779         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77780         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77782 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77784         [BZ #13717]
77785         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77786         to 2.4.0 where earlier.
77787         * sysdeps/unix/sysv/linux/configure: Regenerated.
77788         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77789         <kernel-features.h>.
77790         [__ASSUME_32BITUIDS]: Make code unconditional.
77791         [!__ASSUME_32BITUIDS]: Remove conditional code.
77792         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77793         <kernel-features.h>.
77794         [__ASSUME_32BITUIDS]: Make code unconditional.
77795         [!__ASSUME_32BITUIDS]: Remove conditional code.
77796         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77797         [__ASSUME_32BITUIDS]: Make code unconditional.
77798         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77799         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/i386/lchown.c: Do not include
77828         <kernel-features.h>.
77829         [__ASSUME_32BITUIDS]: Make code unconditional.
77830         [!__ASSUME_32BITUIDS]: Remove conditional code.
77831         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77832         <kernel-features.h>.
77833         [__ASSUME_32BITUIDS]: Make code unconditional.
77834         [!__ASSUME_32BITUIDS]: Remove conditional code.
77835         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77836         <kernel-features.h>.
77837         [__ASSUME_32BITUIDS]: Make code unconditional.
77838         [!__ASSUME_32BITUIDS]: Remove conditional code.
77839         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77840         <kernel-features.h>.
77841         [__NR_setresgid] (__setresgid): Do not declare.
77842         [__ASSUME_32BITUIDS]: Make code unconditional.
77843         [!__ASSUME_32BITUIDS]: Remove conditional code.
77844         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77845         <kernel-features.h>.
77846         [__NR_setresuid] (__setresuid): Do not declare.
77847         [__ASSUME_32BITUIDS]: Make code unconditional.
77848         [!__ASSUME_32BITUIDS]: Remove conditional code.
77849         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.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/i386/setgid.c: Do not include
77858         <kernel-features.h>.
77859         [__ASSUME_32BITUIDS]: Make code unconditional.
77860         [!__ASSUME_32BITUIDS]: Remove conditional code.
77861         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77862         <kernel-features.h>.
77863         [__ASSUME_32BITUIDS]: Make code unconditional.
77864         [!__ASSUME_32BITUIDS]: Remove conditional code.
77865         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77866         <kernel-features.h>.
77867         [__ASSUME_32BITUIDS]: Make code unconditional.
77868         [!__ASSUME_32BITUIDS]: Remove conditional code.
77869         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77870         <kernel-features.h>.
77871         [__ASSUME_32BITUIDS]: Make code unconditional.
77872         [!__ASSUME_32BITUIDS]: Remove conditional code.
77873         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77874         <kernel-features.h>.
77875         [__ASSUME_32BITUIDS]: Make code unconditional.
77876         [!__ASSUME_32BITUIDS]: Remove conditional code.
77877         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77878         <kernel-features.h>.
77879         [__ASSUME_32BITUIDS]: Make code unconditional.
77880         [!__ASSUME_32BITUIDS]: Remove conditional code.
77881         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77882         <kernel-features.h>.
77883         [__ASSUME_32BITUIDS]: Make code unconditional.
77884         [!__ASSUME_32BITUIDS]: Remove conditional code.
77885         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77886         <kernel-features.h>.
77887         [__ASSUME_32BITUIDS]: Make code unconditional.
77888         [!__ASSUME_32BITUIDS]: Remove conditional code.
77889         * sysdeps/unix/sysv/linux/kernel-features.h
77890         (__ASSUME_SETRESUID_SYSCALL): Remove.
77891         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77892         (__ASSUME_32BITUIDS): Likewise.
77893         (__ASSUME_LDT_WORKS): Likewise.
77894         (__ASSUME_O_DIRECTORY): Likewise.
77895         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77896         architecture but not kernel version.
77897         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77898         (__ASSUME_MMAP2_SYSCALL): Likewise.
77899         (__ASSUME_STAT64_SYSCALL): Likewise.
77900         (__ASSUME_IPC64): Likewise.
77901         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77902         <kernel-features.h>.
77903         [__ASSUME_32BITUIDS]: Make code unconditional.
77904         [!__ASSUME_32BITUIDS]: Remove conditional code.
77905         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77906         <kernel-features.h>.
77907         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77908         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77909         132096]: Remove conditional code.
77910         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77911         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77912         <kernel-features.h>.
77913         [__ASSUME_32BITUIDS]: Make code unconditional.
77914         [!__ASSUME_32BITUIDS]: Remove conditional code.
77915         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77916         <kernel-features.h>.
77917         [__ASSUME_32BITUIDS]: Make code unconditional.
77918         [!__ASSUME_32BITUIDS]: Remove conditional code.
77919         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77920         <kernel-features.h>.
77921         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77922         unconditional.
77923         (__setresgid): Do not declare.
77924         [__ASSUME_32BITUIDS]: Make code unconditional.
77925         [!__ASSUME_32BITUIDS]: Remove conditional code.
77926         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77927         <kernel-features.h>.
77928         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77929         unconditional.
77930         (__setresuid): Do not declare.
77931         [__ASSUME_32BITUIDS]: Make code unconditional.
77932         [!__ASSUME_32BITUIDS]: Remove conditional code.
77933         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77934         <kernel-features.h>.
77935         [__ASSUME_32BITUIDS]: Make code unconditional.
77936         [!__ASSUME_32BITUIDS]: Remove conditional code.
77937         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77938         <kernel-features.h>.
77939         [__ASSUME_32BITUIDS]: Make code unconditional.
77940         [!__ASSUME_32BITUIDS]: Remove conditional code.
77942 2012-05-25  Richard Henderson  <rth@twiddle.net>
77944         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77945         dl_hwcap to ifunc resolver.
77946         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77947         elf_ifunc_invoke.
77948         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77949         dl_hwcap to ifunc resolver.
77950         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77952 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77954         [BZ #14153]
77955         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77956         for |x| <= 2**-26, not 2**-57.
77957         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77958         exception.
77960 2012-05-24  Jeff Law  <law@redhat.com>
77962         * stdio-common/Makefile (tests): Add bug25.
77963         * stdio-common/bug25.c: New test.
77965 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77967         [BZ #13576]
77968         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77969         multiple of MALLOC_ALIGNMENT in size.
77970         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77972 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77974         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77975         Require >= 256.
77976         (FILENAME_MAX): Use macro-int-constant.
77977         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77978         (_IOFBF): Use macro-int-constant.
77979         (_IOLBF): Likewise.
77980         (_IONBF): Likewise.
77981         (SEEK_CUR): Likewise.
77982         (SEEK_END): Likewise.
77983         (SEEK_SET): Likewise.
77984         (TMP_MAX): Likewise.
77985         (EOF): Use macro-int-constant.  Require < 0.
77986         (NULL): Use macro-constant.  Require == 0.
77987         (stdin): Require type to be FILE *.
77988         (stdout): Likewise.
77989         (stderr): Likewise.
77990         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77991         macro-int-constant.
77992         (EXIT_SUCCESS): Likewise.
77993         (NULL): Use macro-constant.  Require == 0.
77994         (RAND_MAX): Use macro-int-constant.
77995         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77996         [C99-based standards] (strtof): Require function.
77997         [C99-based standards] (strtold): Likewise.
77998         [C99-based standards] (strtoll): Likewise.
77999         [C99-based standards] (strtoull): Likewise.
78000         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78001         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78002         [ISO || ISO99 || ISO11] (math.h): Likewise.
78003         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78004         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78007 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78009         [BZ #14132]
78010         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78011         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78012         * intl/dgettext.c (DCGETTEXT): Likewise.
78013         * intl/gettext.c (DCGETTEXT): Likewise.
78014         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78015         * posix/regex_internal.h (gettext): Likewise.
78016         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78017         Remove declaration.
78018         * include/argz.h (__argz_count_internal)
78019         (__argz_stringify_internal): Remove declaration.
78020         (__argz_count, __argz_stringify): Declare hidden proto.
78021         * intl/dcgettext.c: Remove use of INTDEF.
78022         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78023         * string/argz-stringify.c: Likewise.
78024         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78025         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78026         Declare hidden proto.
78027         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78028         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78029         Declare hidden proto.
78030         * include/stdio.h (__asprintf_internal): Don't declare.
78031         (__asprintf): Don't define as macro.  Declare hidden proto.
78032         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78033         (__fsetlocking): Declare hidden proto.
78034         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78035         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78036         hidden proto.
78037         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78038         (_IO_setlinebuf): Remove use of INTUSE.
78039         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78040         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78041         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78042         Remove declaration.
78043         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78044         (_IO_do_flush): Remove use of INTUSE.
78045         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78046         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78047         (_IO_adjust_column, _IO_least_wmarker)
78048         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78049         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78050         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78051         (_IO_default_doallocate, _IO_wdefault_doallocate)
78052         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78053         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78054         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78055         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78056         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78057         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78058         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78059         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78060         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78061         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78062         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78063         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78064         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78065         proto.
78066         (_IO_flush_all_internal, _IO_adjust_column_internal)
78067         (_IO_default_uflow_internal, _IO_default_finish_internal)
78068         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78069         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78070         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78071         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78072         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78073         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78074         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78075         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78076         (_IO_file_close_internal, _IO_file_close_it_internal)
78077         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78078         (_IO_file_init_internal, _IO_file_attach_internal)
78079         (_IO_file_fopen_internal, _IO_file_read_internal)
78080         (_IO_file_sync_internal, _IO_file_seek_internal)
78081         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78082         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78083         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78084         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78085         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78086         (_IO_list_all_internal, _IO_link_in_internal)
78087         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78088         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78089         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78090         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78091         (_IO_do_write_internal, _IO_padn_internal)
78092         (_IO_getline_info_internal, _IO_getline_internal)
78093         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78094         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78095         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78096         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78097         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78098         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78099         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78100         with libc_hidden_ver, remove use of INTUSE.
78101         * libio/genops.c: Likewise.
78102         * libio/freopen.c: Likewise.
78103         * libio/freopen64.c: Likewise.
78104         * libio/iofclose.c: Likewise.
78105         * libio/iofdopen.c: Likewise.
78106         * libio/iofflush.c: Likewise.
78107         * libio/iofflush_u.c: Likewise.
78108         * libio/iofgets.c: Likewise.
78109         * libio/iofgets_u.c: Likewise.
78110         * libio/iofopen.c: Likewise.
78111         * libio/iofopncook.c: Likewise.
78112         * libio/iofread.c: Likewise.
78113         * libio/iofread_u.c: Likewise.
78114         * libio/ioftell.c: Likewise.
78115         * libio/iofwrite.c: Likewise.
78116         * libio/iogetline.c: Likewise.
78117         * libio/iogets.c: Likewise.
78118         * libio/iogetwline.c: Likewise.
78119         * libio/iopadn.c: Likewise.
78120         * libio/iopopen.c: Likewise.
78121         * libio/ioseekoff.c: Likewise.
78122         * libio/ioseekpos.c: Likewise.
78123         * libio/iosetbuffer.c: Likewise.
78124         * libio/iosetvbuf.c: Likewise.
78125         * libio/ioungetc.c: Likewise.
78126         * libio/ioungetwc.c: Likewise.
78127         * libio/iovdprintf.c: Likewise.
78128         * libio/iovsprintf.c: Likewise.
78129         * libio/iovsscanf.c: Likewise.
78130         * libio/memstream.c: Likewise.
78131         * libio/obprintf.c: Likewise.
78132         * libio/oldfileops.c: Likewise.
78133         * libio/oldiofclose.c: Likewise.
78134         * libio/oldiofdopen.c: Likewise.
78135         * libio/oldiofopen.c: Likewise.
78136         * libio/oldiopopen.c: Likewise.
78137         * libio/oldstdfiles.c: Likewise.
78138         * libio/putc.c: Likewise.
78139         * libio/setbuf.c: Likewise.
78140         * libio/setlinebuf.c: Likewise.
78141         * libio/stdfiles.c: Likewise.
78142         * libio/strops.c: Likewise.
78143         * libio/vasprintf.c: Likewise.
78144         * libio/vscanf.c: Likewise.
78145         * libio/vsnprintf.c: Likewise.
78146         * libio/vswprintf.c: Likewise.
78147         * libio/wfiledoalloc.c: Likewise.
78148         * libio/wfileops.c: Likewise.
78149         * libio/wgenops.c: Likewise.
78150         * libio/wmemstream.c: Likewise.
78151         * libio/wstrops.c: Likewise.
78152         * libio/__fpurge.c: Likewise.
78153         * libio/__fsetlocking.c: Likewise.
78154         * assert/assert.c: Likewise.
78155         * debug/fgets_chk.c: Likewise.
78156         * debug/fgets_u_chk.c: Likewise.
78157         * debug/fread_chk.c: Likewise.
78158         * debug/fread_u_chk.c: Likewise.
78159         * debug/gets_chk.c: Likewise.
78160         * debug/obprintf_chk.c: Likewise.
78161         * debug/vasprintf_chk.c: Likewise.
78162         * debug/vdprintf_chk.c: Likewise.
78163         * debug/vsnprintf_chk.c: Likewise.
78164         * debug/vsprintf_chk.c: Likewise.
78165         * malloc/mtrace.c: Likewise.
78166         * misc/error.c: Likewise.
78167         * misc/syslog.c: Likewise.
78168         * stdio-common/asprintf.c: Likewise.
78169         * stdio-common/fxprintf.c: Likewise.
78170         * stdio-common/getw.c: Likewise.
78171         * stdio-common/isoc99_fscanf.c: Likewise.
78172         * stdio-common/isoc99_scanf.c: Likewise.
78173         * stdio-common/isoc99_vfscanf.c: Likewise.
78174         * stdio-common/isoc99_vscanf.c: Likewise.
78175         * stdio-common/isoc99_vsscanf.c: Likewise.
78176         * stdio-common/printf-prs.c: Likewise.
78177         * stdio-common/printf_fp.c: Likewise.
78178         * stdio-common/printf_fphex.c: Likewise.
78179         * stdio-common/printf_size.c: Likewise.
78180         * stdio-common/putw.c: Likewise.
78181         * stdio-common/scanf.c: Likewise.
78182         * stdio-common/sprintf.c: Likewise.
78183         * stdio-common/tmpfile.c: Likewise.
78184         * stdio-common/vfprintf.c: Likewise.
78185         * stdio-common/vfscanf.c: Likewise.
78186         * stdlib/strfmon_l.c: Likewise.
78187         * sunrpc/openchild.c: Likewise.
78188         * sunrpc/xdr_stdio.c: Likewise.
78189         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78190         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78192 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78194         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78196         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78197         in the third column, to generate for the shared library an IFUNC
78198         that uses _dl_vdso_vsym.
78199         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78200         * Makeconfig (object-suffixes-noshared): New variable.
78202         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78203         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78204         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78205         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78207         [BZ #14132]
78208         * include/sys/time.h (__gettimeofday): Remove macro.
78209         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78210         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78211         Remove INTDEF.
78212         (__gettimeofday): Add libc_hidden_def.
78213         (gettimeofday): Add libc_hidden_weak.
78214         * sysdeps/mach/gettimeofday.c: Likewise.
78215         * sysdeps/posix/gettimeofday.c: Likewise.
78216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78217         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78219         (__gettimeofday_internal): Remove strong_alias.
78220         (__gettimeofday): Add libc_hidden_def.
78221         (gettimeofday): Add libc_hidden_weak.
78222         * sysdeps/unix/syscalls.list (gettimeofday):
78223         Remove __gettimeofday_internal alias.
78225 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78226             H.J. Lu  <hongjiu.lu@intel.com>
78228         [BZ #12495]
78229         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78230         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78231         (largebin_index_32_big): New.
78232         (largebin_index): Use it for 16-byte alignment.
78233         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78234         correction with front_misalign.
78236 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78240         Likewise.
78241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78242         Likewise.
78243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78244         Likewise.
78245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78246         Likewise.
78247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78248         Likewise.
78249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78250         Likewise.
78251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78252         Likewise.
78253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78254         Likewise.
78255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78256         Likewise.
78257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78258         Likewise.
78259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78260         Likewise.
78261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78262         Likewise.
78264         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78265         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78267 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78269         [BZ #10846]
78270         [BZ #14036]
78271         * math/libm-test.inc (exp_test): Add test from bug 14036.
78272         (pow_test): Add test from bug 10846.
78274         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78275         and other flags.
78276         (special_function): Do not include flags in test name.
78277         (parse_args): Likewise.
78278         * sysdeps/i386/fpu/libm-test-ulps: Update.
78279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78284         * math/gen-libm-test.pl (%beautify): Add entries for underflow
78285         exceptions.
78286         * math/libm-test.inc ("Philosophy"): Update comment about
78287         exception testing.
78288         (UNDERFLOW_EXCEPTION): New macro.
78289         (UNDERFLOW_EXCEPTION_OK): Likewise.
78290         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78291         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78292         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78293         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78294         (INVALID_EXCEPTION_OK): Update value.
78295         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78296         (OVERFLOW_EXCEPTION_OK): Likewise.
78297         (IGNORE_ZERO_INF_SIGN): Likewise.
78298         (test_exceptions): Handle underflow exceptions.
78299         (acos_test): Update for underflow exception expectations.
78300         (cexp_test): Likewise.
78301         (clog_test): Likewise.
78302         (clog10_test): Likewise.
78303         (csqrt_test): Likewise.
78304         (ctan_test): Likewise.
78305         (ctanh_test): Likewise.
78306         (exp_test): Likewise.
78307         (exp10_test): Likewise.
78308         (exp2_test): Likewise.
78309         (expm1_test): Likewise.
78310         (fma_test): Likewise.
78311         (j0_test): Likewise.
78312         (jn_test): Likewise.
78313         (nexttoward_test): Likewise.
78314         (pow_test): Likewise.
78315         (scalbn_test): Likewise.
78316         (scalbln_test): Likewise.
78317         (tan_test): Likewise.
78318         (y1_test): Likewise.
78319         * sysdeps/i386/fpu/libm-test-ulps: Update.
78320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78322 2012-05-23  David S. Miller  <davem@davemloft.net>
78324         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78325         (__libc_sigaction): Remove unused local variables.
78327 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78329         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78331 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
78333         mktime: avoid signed integer overflow
78334         * time/mktime.c (__mktime_internal): Do not mishandle the case
78335         where diff == INT_MIN.
78337         mktime: simplify computation of average
78338         * time/mktime.c (ranged_convert): Use new time_t_avg function
78339         instead of rolling our own (probably-slower) code.
78341         mktime: do not assume signed right shift propagates sign bit
78342         * time/mktime.c (isdst_differ): New static function.
78343         (__mktime_internal): No need to normalize tm_isdst now.
78344         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78345         tm_isdst values.
78347         mktime: merge another wrapv change from gnulib
78348         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78349         from some compilers.
78351         mktime: remove incorrect attempt at unusual arithmetics
78352         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78353         The code didn't really work on such machines anyway.
78354         (TYPE_MINIMUM): Assume two's complement.
78355         (twos_complement_arithmetic): Verify that long_int and time_t
78356         are two's complement (or unsigned, in the latter case).
78358         mktime: check signed shifts on long_int and time_t, too
78359         * time/mktime.c (SHR): Check that shifts work as desired
78360         on the types long_int and time_t too, as SHR is used on
78361         such types.
78363         mktime: do not assume 'long' is wide enough
78364         * time/mktime.c (verify): Move decl up.
78365         (long_int): New type.
78366         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78367         to remove assumption in the code that 'long' is wide enough to
78368         store year values.  This assumption is not true on x32 and on
78369         some non-glibc platforms.
78371         mktime: merge wrapv change from gnulib
78372         * time/mktime.c (WRAPV): New macro.
78373         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78374         (guess_time_tm, __mktime_internal): Do not assume that signed
78375         integer overflow wraps around; modern compilers generate code
78376         where this assumption is no longer valid.
78378 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78380         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78381         Replace "jmp L(pseudo_end)" with "ret".
78382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78383         Likewise.
78385 2012-05-23  Andreas Jaeger  <aj@suse.de>
78387         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78388         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78390 2012-05-23  Andreas Jaeger  <aj@suse.de>
78391             Maximilian Attems  <max@stro.at>
78393         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78394         New macros.
78396 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78398         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78399         code so that pseudo_end is just ret and the stack pointer is
78400         correct also for static library in error case.
78402 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78404         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78405         move to syscalls.list.
78406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78411         * manual/install.texi (Running make install): Do not mention Linux
78412         kernel version for which pt_chown is not needed.
78413         (Linux): Do not mention problems with nscd with 2.0 kernels.
78414         * INSTALL: Regenerated.
78416 2012-05-23  Andreas Jaeger  <aj@suse.de>
78418         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78419         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78420         macro.
78421         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78423         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78425         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78426         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78427         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78428         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78429         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78430         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78431         * sysdeps/unix/sysv/linux/bits/in.h
78432         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78434 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78436         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78437         (PREPARE_VERSION): Just use assert instead, it will be elided
78438         under [NDEBUG] anyway.
78440 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78442         * sysdeps/unix/sysv/linux/Makefile: Include
78443         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78444         (sysdep_routines): Remove sysctl.
78445         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78446         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78447         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78448         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78449         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78451 2012-05-22  Andreas Jaeger  <aj@suse.de>
78453         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78454         that pseudo_end is just ret and the stack pointer is correct also
78455         for static library in error case.
78457 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78459         [BZ #14122]
78460         * nss/nsswitch.c (defconfig_entries): New variable.
78461         (__nss_database_lookup): Don't leak defconfig entries.
78462         (nss_parse_service_list): Don't leak on error paths.
78463         (free_database_entries): New function.
78464         (free_defconfig): New function.
78465         (free_mem): Move common code to free_database_entries.
78467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78469         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78470         Add arch_prctl.
78471         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78474         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78476         New macro.
78477         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78478         (INTERNAL_SYSCALL_TYPES): Likewise.
78479         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78480         (LOAD_REGS_TYPES_[1-6]): Likewise.
78481         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78482         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78484 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78486         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78487         copysignl for GLIBC_2_0.
78488         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78489         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78490         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78491         logbl for GLIBC_2_0.
78492         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78493         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78495 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78497         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78498         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78500         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78501         Use "neg %eax".
78503         * time/mktime.c: Update copyright years.
78505 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78507         mktime: merge comment-quoting-style change from gnulib
78508         * time/mktime.c: Quote 'like this' in comments.
78509         The GNU coding standards suggest that we no longer quote `like this',
78510         as "`" and "'" are typically rendered asymmetrically nowadays.
78511         The typical gnulib style is to quote 'like this' when quoting
78512         code, and "like this" when quoting English.
78514         * time/mktime.c (compile-command): Add "-I.".
78516         mktime: merge mktime-internal.h change from gnulib
78517         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78519         mktime: merge time_r change from gnulib
78520         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78522         mktime: merge DEBUG change from gnulib
78523         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78524         case system <time.h> has a #define.
78526         mktime: merge <sys/types.h> change from gnulib
78527         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78528         since <time.t> is now guaranteed to define time_t.
78530         mktime: merge HAVE_CONFIG_H change from gnulib
78531         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78533 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78536         Use "neg %eax".
78538         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78539         __rlim_t cast.
78540         (struct rusage): Use anonymous union to pad each field to
78541         __syscall_slong_t.
78543 2012-05-21  David S. Miller  <davem@davemloft.net>
78545         * Makefules (o-iterator): Remove .s cases.
78546         (compile-command.s): Delete.
78547         (COMPILE.s): Delete.
78548         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78550 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78552         * configure.in (libc_cv_predef_stack_protector): Only consider
78553         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78554         * configure: Regenerated.
78556 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78558         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78559         New macro.  Use R*LP on int and pointer.
78560         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78561         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78562         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78563         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78565         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78566         [__WORDSIZE_TIME64_COMPAT32] instead of
78567         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78568         (struct utmp): Likewise.
78569         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78570         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78571         Renamed to ...
78572         (__WORDSIZE_TIME64_COMPAT32): This.
78573         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78574         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78575         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78576         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78577         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78578         (__WORDSIZE_TIME64_COMPAT32): New macro.
78580 2012-05-21  Andreas Jaeger  <aj@suse.de>
78582         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78583         only if [SHARED]. Add prototype for __wcschr_ia32.
78585 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78587         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78588         of %rbp unmolested in the jmp_buf while mangling the low bits.
78589         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78590         unmolested high bits of %rbp while demangling the low bits.
78591         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78593 2012-05-21  Andreas Jaeger  <aj@suse.de>
78595         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78596         * sunrpc/svc_simple.c: Use it for registerrpc.
78597         * sunrpc/xcrypt.c: Use it for passwd2des.
78599         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78601 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78603         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78604         Don't define if [__SYSCALL_WORDSIZE != 32].
78605         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78606         New macro.
78608 2012-05-21  Bruno Haible  <bruno@clisp.org>
78609             Andreas Jaeger  <aj@suse.de>
78611         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78612         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78613         inptr and inend for must_buffer_ch.
78614         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78615         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78616         * stdio-common/Makefile (tests): Remove bug15.
78617         (bug15-ENV): Remove macro.
78618         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78619         anymore.
78621 2012-05-19  Andreas Jaeger  <aj@suse.de>
78622             Roland McGrath  <roland@hack.frob.com>
78624         * manual/contrib.texi: Completely rewritten. It contains now an
78625         alphabetical list of contributors and their contributions.
78627 2012-05-21  Richard Henderson  <rth@twiddle.net>
78629         * misc/getauxval.c (__getauxval): Use unsigned long int.
78630         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78631         (getauxval): Use unsigned long int.
78633 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78635         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78637 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78639         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78640         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78641         __alignof__ (long double).
78643 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78647 2012-05-20  Richard Henderson  <rth@twiddle.net>
78649         * misc/getauxval.c: New file.
78650         * misc/sys/auxv.h: New file.
78651         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78652         (routines): Add getauxval.
78653         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78654         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78655         * elf/dl-sysdep.c (_dl_auxv): Remove.
78656         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78657         * elf/dl-support.c (_dl_auxv): New variable.
78658         (_dl_aux_init): Initialize it.
78659         * manual/startup.texi (Auxiliary Vector): New node.
78660         * sysdeps/generic/bits/hwcap.h: New file.
78661         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78662         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78663         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78664         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78665         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78668         Update.
78669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78672         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78678 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78682 2012-05-19  David S. Miller  <davem@davemloft.net>
78684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78686 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78688         [BZ #14123]
78689         * math/s_ccosh.c: Include <float.h>
78690         (__ccosh): Avoid internal overflow calculating sinh and cosh
78691         values before multiplying by sin and cos values.
78692         * math/s_ccoshf.c: Likewise.
78693         * math/s_ccoshl.c: Likewise.
78694         * math/s_csin.c: Likewise.
78695         * math/s_csinf.c: Likewise.
78696         * math/s_csinl.c: Likewise.
78697         * math/s_csinh.c: Likewise.
78698         * math/s_csinhf.c: Likewise.
78699         * math/s_csinhl.c: Likewise.
78700         * math/libm-test.inc (ccos_test): Add more tests.
78701         (ccosh_test): Likewise.
78702         (csin_test): Likewise.
78703         (csinh_test): Likewise.
78704         * sysdeps/i386/fpu/libm-test-ulps: Update.
78705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78707 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78709         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78710         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78712         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78714 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78716         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78717         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78718         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78719         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78720         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78721         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78722         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78723         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78724         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78725         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78726         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78727         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78728         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78729         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78730         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78731         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78732         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78733         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78734         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78735         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78736         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78737         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78738         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78739         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78740         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78741         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78742         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78743         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78744         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78745         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78746         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78748 2012-05-18  Andreas Jaeger  <aj@suse.de>
78750         * csu/.gitignore: Delete.
78752 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78754         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78755         (timex): Use __syscall_slong_t.
78757 2012-05-18  Andreas Jaeger  <aj@suse.de>
78758             Carlos O'Donell  <carlos_odonell@mentor.com>
78760         * manual/install.texi (Configuring and compiling): Update
78761         description about files modified in the source directory.
78762         * INSTALL: Regenerated.
78764 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78766         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78767         value.  Use "or" to set return value to -1.
78768         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78769         negate return value.
78771 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78773         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78774         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78775         failure if the compiler has Graphite support disabled.
78776         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78777         Likewise.
78778         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78779         (CFLAGS-memmove.c): Likewise.
78780         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78781         Likewise.
78783 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78785         * sysdeps/x86_64/x32/_itoa.h: New file.
78787         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78788         getdents system call only if kernel and user dirents have the
78789         same d_ino and d_off.
78791         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78792         LLONG_MAX != LONG_MAX.
78793         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78794         (_fitoa_word): Likewise.
78796         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78797         years.
78798         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78799         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78800         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78802         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78803         include <bits/wordsize.h>.  Check __x86_64__ instead of
78804         __WORDSIZE.
78805         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78806         if __x86_64__ is defined.  Use anonymous union on fpstate.
78808         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78809         anonymous union.
78811 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78813         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78814         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78815         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78816         Refer to _rtld_local_ro instead of _rtld_global_ro.
78817         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78818         Likewise.
78819         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78820         Likewise.
78821         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78822         Likewise.
78823         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78824         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78825         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78827         [BZ #10882]
78828         * sysdeps/powerpc/powerpc32/dl-machine.c
78829         (__elf_machine_runtime_setup) [PROF]: Don't reference
78830         _dl_prof_resolve.
78832 2012-05-18  Andreas Jaeger  <aj@suse.de>
78834         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78835         function only available for GCCs before 3.4 since GCC 3.4
78836         introduced a builtin.
78837         (lrint): Likewise.
78838         (llrintf): Likewise.
78839         (llrint): Likewise.
78840         (fmaxf): Likewise.
78841         (fmax): Likewise.
78842         (fminf): Likewise.
78843         (fmin): Likewise.
78844         (rint): Likewise.
78845         (rintf): Likewise.
78846         (nearbyint): Likewise.
78847         (nearbyintf): Likewise.
78848         (ceil): Likewise.
78849         (ceilf): Likewise.
78850         (floor): Likewise.
78851         (floorf): Likewise.
78853 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78855         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78856         on both fields and cast pointer to __syscall_ulong_t.
78858         * bits/types.h (__fsword_t): New type.
78859         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78860         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78862         (__FSWORD_T_TYPE): Likewise.
78863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78864         (__FSWORD_T_TYPE): Likewise.
78865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78866         (__FSWORD_T_TYPE): Likewise.
78867         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78868         (__FSWORD_T_TYPE): Likewise.
78869         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78870         __SWORD_TYPE with __fsword_t.
78871         (statfs64): Likewise.
78873 2012-05-17  David S. Miller  <davem@davemloft.net>
78875         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78877 2012-05-17  Andreas Jaeger  <aj@suse.de>
78879         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78880         warning.
78882 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78884         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78886 2012-05-17  Andreas Jaeger  <aj@suse.de>
78888         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78889         when it is used.
78891 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78893         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78895 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78897         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78898         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78900 2012-05-17  Andreas Jaeger  <aj@suse.de>
78901             Carlos O'Donell  <carlos_odonell@mentor.com>
78903         [BZ #14059]
78904         * sysdeps/x86_64/multiarch/init-arch.h
78905         (bit_YMM_Usable): Rename to...
78906         (bit_AVX_Usable): ... this.
78907         (bit_FMA4_Usable): New macro.
78908         (bit_XMM_state): New macro.
78909         (bit_YMM_state): New macro.
78910         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78911         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78912         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78913         (CPUID_OSXSAVE): New macro.
78914         (CPUID_AVX): New macro.
78915         (CPUID_FMA4): New macro.
78916         (index_YMM_Usable): Rename to...
78917         (index_AVX_Usable): ... this.
78918         (HAS_AVX): Use HAS_ARCH_FEATURE.
78919         (HAS_FMA4): Likewise.
78920         (HAS_YMM_USABLE): Remove.
78921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78922         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78923         are present.
78924         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78925         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78926         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78927         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78928         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78930 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78932         * math/libm-test.c: Support platforms without multiple rounding modes.
78933         * math/bug-nextafter.c: Support platforms without FP exceptions.
78934         * math/bug-nexttoward.c: Likewise.
78935         * math/test-fenv.c: Likewise.
78936         * math/test-misc.c: Likewise.
78937         * stdlib/bug-getcontext.c: Likewise.
78939 2012-05-17  Andreas Jaeger  <aj@suse.de>
78941         * manual/examples/search.c (critter_cmp): Change signature to
78942         avoid warnings.
78943         * manual/string.texi (Collation Functions): Likewise.
78945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78947         * bits/types.h: Fold copyright years.
78948         * bits/typesizes.h: Likewise.
78949         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78950         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78953         * time/time.h: Likewise.
78955 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78957         [BZ #208]
78958         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78959         in instead of returning them.  Return void.
78960         (__libc_mallinfo): Accumulate over all arenas.
78961         (__malloc_stats): Adjust for change in int_mallinfo interface.
78963 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78965         [BZ #10375]
78966         * configure.in (NM): Add AC_CHECK_TOOL for it.
78967         (libc_extra_cflags): New substituted variable.
78968         Check for -fstack-protector being used implicitly.
78969         * configure: Regenerated.
78970         * config.make.in (config-extra-cflags): New variable,
78971         gets @libc_extra_cflags@.
78972         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78974         [BZ #10375]
78975         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78976         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78977         * configure: Regenerated.
78978         * config.make.in (CPPUNDEFS): New substituted variable.
78979         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78980         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78981         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78983 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78985         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78986         (mq_attr): Use __syscall_slong_t.
78988 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78990         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78991         Check __x86_64__ instead of __WORDSIZE.
78992         (_STAT_VER_LINUX): Likewise.
78993         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78994         __syscall_ulong_t and __syscall_slong_t.
78995         (stat64): Likewise.
78997 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78999         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79003         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79005 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79007         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79008         __syscall_ulong_t.
79010         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79011         include <bits/wordsize.h>.  Check __x86_64__ instead of
79012         __WORDSIZE.
79013         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79014         defined.
79015         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79017         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79018         include <bits/wordsize.h>.  Check __x86_64__ instead of
79019         __WORDSIZE.
79020         (user_regs_struct): Use "__extension__ unsigned long long"
79021         instead of "unsigned long" if __x86_64__ is defined.
79022         (user): Likewise.  Pad after pointer field if __ILP32__ is
79023         defined.
79025 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79027         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79028         versions 5 to 9.
79029         * configure: Regenerated.
79030         * manual/install.texi (texinfo): Increase version requirement to
79031         4.5 or later.
79032         * INSTALL: Regenerated.
79034         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79036 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79038         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79040         * sysdeps/x86_64/x32/ffs.c: New file.
79042         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79043         __syscall_ulong_t.
79044         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79045         defined.  Use __syscall_ulong_t.
79046         (shminfo): Use __syscall_ulong_t.
79047         (shm_info): Likewise.
79049         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79050         __syscall_ulong_t.
79052         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79053         <bits/wordsize.h>.
79054         (msgqnum_t): Use __syscall_ulong_t.
79055         (msglen_t): Likewise.
79056         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79057         __syscall_ulong_t.
79059         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79060         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79062         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79064         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79065         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79067         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79068         __syscall_slong_t.
79070         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79071         include <bits/wordsize.h>.  Check __x86_64__ instead of
79072         __WORDSIZE.
79074         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79075         "unsigned long long int" if __x86_64__ is defined.
79076         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79078         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79079         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79080         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79082         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79083         <stdint.h>.
79084         (GET_PC): Cast to uintptr_t first.
79085         (GET_FRAME): Likewise.
79086         (GET_STACK): Likewise.
79088         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79090         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79092         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79094         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79095         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79096         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79097         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79099         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79100         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79101         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79103         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79104         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79105         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79107         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79108         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79109         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79111         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79113         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79114         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79115         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79116         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79118 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79120         * Makerules (+depfiles): Also collect depfiles from .oS in
79121         $(extra-objs).
79122         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79123         .oS, $(libnldbl-routines)).
79125         * Makerules (native-compile-mkdep-flags): Define.
79126         * sunrpc/Makefile (extra-objs): Add $(addprefix
79127         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79128         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79129         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79130         calling $(make-target-directory).
79132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79134         * bits/types.h (__snseconds_t): Removed.
79135         * time/time.h (struct timespec): Replace __snseconds_t with
79136         __syscall_slong_t.
79137         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79138         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79139         Likewise.
79140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79141         (__SNSECONDS_T_TYPE): Likewise.
79142         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79143         (__SNSECONDS_T_TYPE): Likewise.
79144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79145         (__SNSECONDS_T_TYPE): Likewise.
79147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79149         * sysdeps/mach/hurd/bits/typesizes.h
79150         (__SYSCALL_SLONG_TYPE): New macro.
79151         (__SYSCALL_ULONG_TYPE): Likewise.
79153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79155         * bits/types.h (__syscall_slong_t): New type.
79156         (__syscall_ulong_t): Likewise.
79158         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79159         (__SYSCALL_ULONG_TYPE): Likewise.
79160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79161         (__SYSCALL_SLONG_TYPE): Likewise.
79162         (__SYSCALL_ULONG_TYPE): Likewise.
79163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79164         (__SYSCALL_SLONG_TYPE): Likewise.
79165         (__SYSCALL_ULONG_TYPE): Likewise.
79166         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79167         (__SYSCALL_SLONG_TYPE): Likewise.
79168         (__SYSCALL_ULONG_TYPE): Likewise.
79170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79172         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79173         Add sigaltstack-offsets.sym.
79174         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79175         <sigaltstack-offsets.h>.
79176         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79177         longjmp_msg pointer.
79178         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79179         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79180         signal stack.
79181         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79183 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79185         * elf/stackguard-macros.h: Remove file.
79186         * sysdeps/generic/stackguard-macros.h: New file.
79187         * sysdeps/i386/stackguard-macros.h: Likewise.
79188         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79189         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79190         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79191         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79192         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79193         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79194         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79195         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79196         <elf/stackguard-macros.h>.
79198         [BZ #14109]
79199         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79200         __aligned__ in attribute.
79201         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79202         (gregset_t): Likewise.
79204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79206         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79207         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79208         * sysdeps/x86_64/x32/Implies-after: New file.
79210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79212         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79213         and access return value for _dl_profile_fixup.  Use R10_LP to
79214         load frame size.
79216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79218         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79222         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79223         * sysdeps/x86_64/x32/sysdep.h: New file.
79225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79227         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79228         * sysdeps/x86_64/setjmp.S: Likewise.
79230 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79232         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79234         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79235         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79236         remove unused global constant.
79238 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79240         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79241         include of <not-cancel.h>.
79243 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79245         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79247 2012-05-15  Jeff Law  <law@redhat.com>
79248             Andreas Jaeger  <aj@suse.de>
79250         [BZ #13594]
79251         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79252         out from...
79253         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79254         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79255         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79256         code changing __hst_map_handle.map.
79258 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79260         * configure.in (sysnames): Look for Implies-before and Implies-after
79261         files.
79262         * configure: Regenerated.
79264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79266         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79267         8-byte data alignment with LP_SIZE alignment.
79269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79271         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79272         into R10_LP.
79274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79276         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79280         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79281         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79282         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79283         Likewise.
79284         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79288         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79289         (stackinfo_sub_sp): Likewise.
79291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79294         RAX_LP.
79296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79298         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79299         into R*_LP.
79301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79303         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79304         sizes into R*_LP.
79306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79308         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79312         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79313         into R11_LP and load __x86_64_shared_cache_size_half into
79314         R8_LP.
79316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79318         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79319         R8_LP.
79321 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79323         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79324         logb for POWER7.
79325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79326         logbf for POWER7.
79327         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79328         logbl for POWER7.
79329         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79330         powerpc32/power7/fpu/s_logb.c via #include.
79331         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79332         powerpc32/power7/fpu/s_logbf.c via #include.
79333         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79334         powerpc32/power7/fpu/s_logbl.c via #include.
79336 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79338         * README.libm: Remove file.
79340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79342         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79343         count for x32.  Use R*_LP and omit operand-size suffix.
79345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79347         * shlib-versions: Move x86_64-.*-linux.* entries to ...
79348         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
79349         * sysdeps/x86_64/x32/shlib-versions: New file.
79351 2012-05-14  Roland McGrath  <roland@hack.frob.com>
79353         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79354         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79355         Use _dl_fatal_printf instead.
79357 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79359         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79360         set if not set by the user.  Do not allow for being unset.
79361         * sysdeps/unix/sysv/linux/configure: Regenerated.
79363 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79365         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79366         the `q' suffix from lea and replace .quad with ASM_ADDR.
79368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79371         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
79372         instead of $17.
79373         (PTR_DEMANGLE): Likewise.
79375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79377         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79378         (LP_OP): Likewise.
79379         (ASM_ADDR): Likewise.
79380         (RAX_LP): Likewise.
79381         (RBP_LP): Likewise.
79382         (RBX_LP): Likewise.
79383         (RCX_LP): Likewise.
79384         (RDI_LP): Likewise.
79385         (RSI_LP): Likewise.
79386         (RSP_LP): Likewise.
79387         (R8_LP): Likewise.
79388         (R9_LP): Likewise.
79389         (R10_LP): Likewise.
79390         (R10_LP): Likewise.
79391         (R11_LP): Likewise.
79392         (R12_LP): Likewise.
79393         (R13_LP): Likewise.
79394         (R14_LP): Likewise.
79395         (R15_LP): Likewise.
79397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79399         * sysdeps/x86_64/x32/dl-machine.h: New file.
79401 2012-05-14  Andreas Jaeger  <aj@suse.de>
79403         * manual/Makefile (subdir): Remove export of subdir.
79404         (all): Remove target.
79405         (.PHONY): Remove all from list.
79406         (mkinstalldirs): Remove.
79407         (.PHONY): Remove installdirs from list.
79408         ($(inst_infodir)/libc.info): Use make-target-directory.
79409         (installdirs): Remove.
79410         (subdir_%): Remove.
79411         (glibc-targets): Remove.
79412         (lib): Remove.
79413         (stubs): Remove.
79414         ($(objpfx)stubs ../po/manual.pot): Remove.
79415         ($(objpfx)stamp%): Remove.
79416         (make-target-directory): Remove.
79417         (subdir_install): Remove.
79418         (routines): Remove.
79419         (aux): Remove.
79420         (sources): Remove.
79421         (objects): Remove.
79422         (headers): Remove.
79424         [BZ #13750]
79425         * manual/.gitignore: Remove, it's not needed anymore.
79426         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79427         all files in it.
79428         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79429         directory.
79430         (texis): Renamed to $(objpfx)texis.
79431         (texis-path): New, contains path to generated files.
79432         (chapters.%): Use texis-path for complete path, add extra argument
79433         libc-texinfo.sh.
79434         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79435         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79436         (summary,texi, stamp-summary): Use complete path of
79437         files. Generate files in build dir.
79438         (dir-add.texi): Build in build dir.
79439         (libm-err.texi,stamp-libm-err): Likewise.
79440         (version.texi, stamp-version): Likewise.
79441         (.%c.texi): Likewise.
79442         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79443         (mostlyclean): Remove target.
79444         (realclean): Remove target.
79445         (generated): Add new variable with contents from mostlyclean and
79446         realclean, remove entries duplicated in common-mostlyclean, add
79447         stamp-libm-err and stamp-version.
79448         (generated-dirs): Add libc directory.
79449         ($(inst_infodir)/libc.info): Install files from build dir.
79451         * manual/install.texi (Configuring and compiling): Adjust since
79452         the info files are not part of the tar ball anymore.
79454 2012-05-14  Andreas Jaeger  <aj@suse.de>
79456         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79457         variable.
79459 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79461         [BZ #13717]
79462         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79463         to 2.2.0 where earlier.
79464         * sysdeps/unix/sysv/linux/configure: Regenerated.
79465         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79466         Remove conditional code.
79467         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79468         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79469         Remove conditional code.
79470         [!__NR_lchown]: Likewise.
79471         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79472         [__NR_lchown]: Likewise.
79473         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79474         comment referencing __ASSUME_LCHOWN_SYSCALL.
79475         * sysdeps/unix/sysv/linux/i386/sigaction.c
79476         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79477         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79478         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79479         Remove conditional code.
79480         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79481         (__protocol_available): Remove #if 0 code.
79482         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79483         conditional code.
79484         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79485         * sysdeps/unix/sysv/linux/kernel-features.h
79486         (__ASSUME_GETCWD_SYSCALL): Don't define.
79487         (__ASSUME_REALTIME_SIGNALS): Likewise.
79488         (__ASSUME_PREAD_SYSCALL): Likewise.
79489         (__ASSUME_PWRITE_SYSCALL): Likewise.
79490         (__ASSUME_POLL_SYSCALL): Likewise.
79491         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79492         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79493         non-SPARC.
79494         (__ASSUME_SIOCGIFNAME): Don't define.
79495         (__ASSUME_MSG_NOSIGNAL): Likewise.
79496         (__ASSUME_SENDFILE): Define unconditionally.
79497         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79498         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79499         conditional code.
79500         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79501         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79502         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79503         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79504         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79505         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79506         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79508         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79509         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79511         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79514         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79515         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79517         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79520         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79521         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79523         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79526         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79527         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79531         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79532         Remove conditional code.
79533         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79534         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79535         Remove conditional code.
79536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79537         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79538         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79539         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79540         Remove conditional code.
79541         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79542         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79543         Remove conditional code.
79544         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79545         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79546         Remove conditional code.
79547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79548         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79549         Remove conditional code.
79550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79551         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79552         Remove conditional code.
79553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79554         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79557         * sysdeps/unix/sysv/linux/sigaction.c
79558         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79559         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79560         * sysdeps/unix/sysv/linux/sigpending.c
79561         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79562         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79563         * sysdeps/unix/sysv/linux/sigprocmask.c
79564         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79565         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79566         * sysdeps/unix/sysv/linux/sigsuspend.c
79567         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79568         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79570         (__libc_missing_rt_sigs): Remove.
79571         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79572         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79573         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79574         Remove conditional code.
79575         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79576         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79577         return 1.
79578         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79579         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79580         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79581         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79583 2012-05-14  Andreas Jaeger  <aj@suse.de>
79585         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79586         it's not used in glibc.
79587         (__coshm1): Likewise.
79588         (__acosh1p): Likewise.
79589         (__sgn): Likewise.
79591         * manual/string.texi (Copying and Concatenation): Add missing
79592         variable in concat example.
79593         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79597         [BZ #14103]
79598         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79599         __builtin_clzl with __builtin_clzll.
79601 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79603         [BZ #14104]
79604         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79605         libc_freeres_ptr.
79607 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79609         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79610         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79611         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79612         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79614 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79616         * NEWS: Update ia64 info.
79618 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79620         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79621         used as bcopy.
79623 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79625         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79626         * sysdeps/unix/syscalls.list (dup3): Likewise.
79627         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79628         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79630 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79632         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79633         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79635 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79637         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79638         thread pointer.
79639         (TLS_IE): Use mov/add instead of movq/addq to load thread
79640         pointer.
79641         (TLS_GD_PREFIX): New.
79642         (TLS_GD): Use it.
79644 2012-05-11  David S. Miller  <davem@davemloft.net>
79646         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79647         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79648         (_FPU_SETCW): Likewise.
79650 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79652         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79653         is 32-byte aligned.
79655 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79657         [BZ #11837]
79658         * iconvdata/gb18030.c: Update tables.
79659         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79660         characters specially.
79661         (BODY for TO_LOOP): Add encoding of missing ranges.
79663 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79665         [BZ #13673]
79666         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79667         * sysdeps/mach/hurd/dup3.c: Likewise.
79668         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79669         * sysdeps/powerpc/memmove.c:: Likewise.
79671 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79674         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79678         * elf/elf.h (R_X86_64_RELATIVE64): New.
79679         (R_X86_64_NUM): Updated.
79680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79681         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79682         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79683         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79684         tst-quad1pie tst-quad2pie
79685         (modules-names): Add tst-quadmod1 tst-quadmod2.
79686         ($(objpfx)tst-quad1): New dependency.
79687         ($(objpfx)tst-quad2): Likewise.
79688         ($(objpfx)tst-quad1pie): Likewise.
79689         ($(objpfx)tst-quad2pie): Likewise.
79690         * sysdeps/x86_64/tst-quad1.c: New file.
79691         * sysdeps/x86_64/tst-quad1pie.c: New file.
79692         * sysdeps/x86_64/tst-quad2.c: Likewise.
79693         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79694         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79695         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79696         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79697         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79701         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79702         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79703         * streams/stropts.h (t_scalar_t): Define type.
79705         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79706         (_PATH_PRESERVE): Set to "/var/lib".
79707         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79709         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79710         instead of int.
79712         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79713         if __dir_mkfile succeeded.
79715         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79716         checking for _hurd_dtablesize.  Unlock it right after having
79717         finished _hurd_dtable allocation.
79719 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79721         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79722         * sysdeps/mach/hurd/configure: Regenerated.
79723         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79724         special-casing to...
79725         * sysdeps/gnu/configure.in: ... this new file.
79726         * sysdeps/unix/sysv/linux/configure: Regenerated.
79727         * sysdeps/gnu/configure: New generated file.
79729         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79730         for Linux: use nsec instead of usec, as well as:
79731         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79732         members of type struct timespec.
79733         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79734         New macros.
79735         (struct stat64): Likewise.
79736         (_STATBUF_ST_NSEC): New macro.
79737         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79739         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79740         __strtoul_internal rather than strtoul.
79742 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79744         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79745         and reject them.
79747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79749         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79750         which preserves existing values.
79751         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79753 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79755         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79756         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79757         greater than FD_SETSIZE.
79759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79761         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79762         allocated, call __vm_protect to finish enabling the existing space, and
79763         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79764         allocate the remainder.
79766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79768         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79769         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79773         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79774         sysdeps/mach/hurd/readlink.c.
79776         * posix/tst-sysconf.c (posix_options): Only use
79777         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79778         _POSIX_SYNCHRONIZED_IO when they are defined
79779         * sysdeps/mach/hurd/bits/posix_opt.h:
79780         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79781         (_XOPEN_REALTIME): Undefine macro.
79782         (_XOPEN_REALTIME_THREADS): Undefine macro.
79783         (_XOPEN_SHM): Undefine macro.
79784         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79785         macro to -1.
79786         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79787         macro to -1.
79788         (_POSIX_ASYNC_IO): Undefine macro.
79789         (_POSIX_PRIORITIZED_IO): Undefine macro.
79790         (_POSIX_SPIN_LOCKS): Define macro to -1.
79792         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79793         SA_NODEFER, SA_RESETHAND.
79794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79795         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79796         F_DUPFD_CLOEXEC.
79798 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79800         * elf/Makefile (pldd-modules): Define unconditionally.
79802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79804         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79808         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79809         Return ENOENT when name is empty.
79810         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79814         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79816         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79820         Fix mlock in all cases except non-readable pages.
79821         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79822         instead of VM_PROT_ALL as parameter to __vm_wire function.
79824         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79825         (__mkdir): When path is `/', just fail with EEXIST.
79826         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79830         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79831         <sys/uio.h> (for writev).
79832         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79833         and <sys/param.h> (for MIN).
79835 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79837         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79838         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79839         if interrupted.
79841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79843         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79844         Depend on against $(link-rpcuserlibs).
79846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79848         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79849         (__libc_stack_end): Do not use attribute_relro.
79850         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79851         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79852         to libthread-provided value.
79853         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79854         attribute_relro.
79856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79858         [BZ #3748]
79859         * bits/libc-lock.h (__libc_once_get): New macro.
79860         * sysdeps/mach/bits/libc-lock.h: Likewise.
79861         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79862         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79863         instead of using implementation details.
79865         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79866         * libio/freopen.c: Likewise.
79867         * libio/freopen64.c: Likewise.
79868         * misc/syslog.c: Likewise.
79869         * nscd/connections.c: Likewise.
79870         * nscd/netgroupcache.c: Likewise.
79871         * sysdeps/posix/getcwd.c: Likewise.
79873 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79875         * math/w_ilogbf.c: Add #include <limits.h>.
79877 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79879         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79880         path instead of returning without unlocking.
79882         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79883         immediate-write ioctls.
79884         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79888         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79889         __builtin_frame_address instead of making assumptions about the
79890         location of the return address relative to DATA.  Force early load of
79891         the return address.
79892         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79893         __builtin_frame_address.
79895         dup3 for GNU Hurd.
79896         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79897         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79898         implement dup3 and do some further code clean-ups.
79899         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79900         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79904         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79906         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79907         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79908         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79909         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79910         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79911         d->port.lock.
79913         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79914         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79915         when handler == SIG_ERR, not when handler != SIG_ERR.
79917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79919         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79920         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79921         definitions.
79923         accept4 for GNU Hurd.
79924         * include/sys/socket.h (__libc_accept4): New prototype.
79925         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79926         to implement __libc_accept4.
79927         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79928         __libc_accept4.
79929         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79931         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79932         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79933         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79934         signal-defines.sym.
79936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79938         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79942         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79943         assertion on O_CLOEXEC flag.
79944         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79945         * hurd/intern-fd.c: Likewise.
79946         * hurd/port2fd.c: Likewise.
79948 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79950         [BZ #3906]
79951         * bits/in.h (IPV6_PKTINFO): Define new macro.
79952         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79954 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79956         [BZ #13954]
79957         [BZ #13955]
79958         [BZ #13956]
79959         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79960         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79961         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79962         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79964         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79965         * math/libm-test.inc (logb_test) : Additional logb tests.
79967 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79968             Andreas Jaeger  <aj@suse.de>
79970         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79971         * configure: Regenerated.
79972         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79973         * config.make.in (link-obsolete-rpc): New substituted variable.
79974         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79975         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79976         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79977         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79978         so that libc.a contains the symbols.
79979         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79980         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79981         * sunrpc/auth_none.c: Likewise.
79982         * sunrpc/auth_unix.c: Likewise.
79983         * sunrpc/authdes_prot.c: Likewise.
79984         * sunrpc/authuxprot.c: Likewise.
79985         * sunrpc/clnt_gen.c: Likewise.
79986         * sunrpc/clnt_perr.c: Likewise.
79987         * sunrpc/clnt_raw.c: Likewise.
79988         * sunrpc/clnt_simp.c: Likewise.
79989         * sunrpc/clnt_tcp.c: Likewise.
79990         * sunrpc/clnt_udp.c: Likewise.
79991         * sunrpc/clnt_unix.c: Likewise.
79992         * sunrpc/des_crypt.c: Likewise.
79993         * sunrpc/des_soft.c: Likewise.
79994         * sunrpc/get_myaddr.c: Likewise.
79995         * sunrpc/key_call.c: Likewise.
79996         * sunrpc/key_prot.c: Likewise.
79997         * sunrpc/netname.c: Likewise.
79998         * sunrpc/pm_getmaps.c: Likewise.
79999         * sunrpc/pm_getport.c: Likewise.
80000         * sunrpc/pmap_clnt.c: Likewise.
80001         * sunrpc/pmap_prot.c: Likewise.
80002         * sunrpc/pmap_prot2.c: Likewise.
80003         * sunrpc/pmap_rmt.c: Likewise.
80004         * sunrpc/publickey.c: Likewise.
80005         * sunrpc/rpc_cmsg.c: Likewise.
80006         * sunrpc/rpc_common.c: Likewise.
80007         * sunrpc/rpc_dtable.c: Likewise.
80008         * sunrpc/rpc_prot.c: Likewise.
80009         * sunrpc/rpc_thread.c: Likewise.
80010         * sunrpc/rtime.c: Likewise.
80011         * sunrpc/svc.c: Likewise.
80012         * sunrpc/svc_auth.c: Likewise.
80013         * sunrpc/svc_raw.c: Likewise.
80014         * sunrpc/svc_run.c: Likewise.
80015         * sunrpc/svc_tcp.c: Likewise.
80016         * sunrpc/svc_udp.c: Likewise.
80017         * sunrpc/svc_unix.c: Likewise.
80018         * sunrpc/svcauth_des.c: Likewise.
80019         * sunrpc/xcrypt.c: Likewise.
80020         * sunrpc/xdr.c: Likewise.
80021         * sunrpc/xdr_array.c: Likewise.
80022         * sunrpc/xdr_float.c: Likewise.
80023         * sunrpc/xdr_intXX_t.c: Likewise.
80024         * sunrpc/xdr_mem.c: Likewise.
80025         * sunrpc/xdr_rec.c: Likewise.
80026         * sunrpc/xdr_ref.c: Likewise.
80027         * sunrpc/xdr_sizeof.c: Likewise.
80028         * sunrpc/xdr_stdio.c: Likewise.
80030 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80033         change.  Update copyright years.
80035 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80037         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80039 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80040             Joseph Myers  <joseph@codesourcery.com>
80041             Paul Pluzhnikov  <ppluzhnikov@google.com>
80043         [BZ #14012]
80044         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80045         requiring rpcgen.
80046         [cross-compiling] (extra-libs): Likewise.
80047         [cross-compiling] (extra-libs-others): Likewise.
80048         [cross-compiling] (librpcsvc-routines): Likewise.
80049         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80050         [cross-compiling] (omit-deps): Likewise.
80051         (sunrpc-CPPFLAGS): New variable.
80052         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80053         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80054         (cross-rpcgen-objs): New variable.
80055         (extra-objs): Append $(cross-rpcgen-objs).
80056         ($(cross-rpcgen-objs)): New rule.
80057         ($(objpfx)cross-rpcgen): Likewise.
80058         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80059         comment.
80060         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80061         ($(objpfx)x%.stmp): Likewise.
80062         * sunrpc/proto.h [IS_IN_build] (_): Define.
80063         [IS_IN_build] (_libc_intl_domainname): Likewise.
80065 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80067         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80068         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80069         and R_X86_64_TPOFF64.
80071 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80073         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80074         sysdeps/unix/sysv/syscalls.list.
80075         (stime): Likewise.
80076         (utime): Likewise.
80077         * sysdeps/unix/sysv/syscalls.list: Remove file.
80079 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80081         [BZ #3440]
80082         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80083         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80084         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80085         (__LC_IDENTIFICATION): Make these macros useful in #if
80086         expressions, as required by C99.
80088 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80090         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80091         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80092         after this.
80094 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80096         * stdlib/longlong.h: Updated from GCC.
80098 2012-05-09  Andreas Jaeger  <aj@suse.de>
80100         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80101         default is first entry.
80102         (run_mode): Set type.
80103         (main): Remove informal message about syslog.
80104         (options): Fix typo.
80106         [BZ #14053]
80107         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80108         to asm.
80109         (lrint): Likewise.
80110         (llrintf): Likewise.
80111         (llrint): Likewise.
80112         (rint): Likewise.
80113         (rintf): Likewise.
80114         (nearbyint): Likewise.
80115         (nearbyintf): Likewise.
80117 2012-05-09  Andreas Jaeger  <aj@suse.de>
80118             Pedro Alves  <palves@redhat.com>
80120         * nscd/nscd.c (run_mode): Use enum.
80121         (main): Cleanup coding style issue.
80123 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80124             Andreas Jaeger  <aj@suse.de>
80126         * nscd/nscd.c (go_background): Replaced with...
80127         (run_mode): ... this.
80128         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80129         (options): Add -F --foreground.
80130         (main): Implement it.
80131         (parse_opt): Parse it.
80133 2012-05-09  Andreas Jaeger  <aj@suse.de>
80135         [BZ #14083]
80136         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80137         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80138         -Wconversion warning.
80139         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80140         Likewise.
80142 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80144         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80145         == 0.
80146         (LC_ALL): Use macro-int-constant.
80147         (LC_COLLATE): Likewise.
80148         (LC_CTYPE): Likewise.
80149         (LC_MESSAGES): Likewise.
80150         (LC_MONETARY): Likewise.
80151         (LC_NUMERIC): Likewise.
80152         (LC_TIME): Likewise.
80153         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80154         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80156         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80157         Specify type.
80158         [C99-based standards] (float_t): Expect type.
80159         [C99-based standards] (double_t): Expect type.
80160         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80161         type.
80162         [C99-based standards] (HUGE_VALL): Likewise.
80163         [C99-based standards] (INFINITY): Likewise.
80164         [C99-based standards] (NAN): Likewise.
80165         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80166         [C99-based standards] (FP_NAN): Likewise.
80167         [C99-based standards] (FP_NORMAL): Likewise.
80168         [C99-based standards] (FP_SUBNORMAL): Likewise.
80169         [C99-based standards] (FP_ZERO): Likewise.
80170         [C99-based standards] (FP_FAST_FMA): Use
80171         optional-macro-int-constant.  Specify type.  Require == 1.
80172         [C99-based standards] (FP_FAST_FMAF): Likewise.
80173         [C99-based standards] (FP_FAST_FMAL): Likewise.
80174         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80175         [C99-based standards] (FP_ILOGBNAN): Likewise.
80176         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80177         Specify type.
80178         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80179         [C99-based standards] (math_errhandling): Specify type.
80180         [ISO99 || ISO11] (signgam): Do not allow.
80181         [non-C99-based standards] (copysignf): Do not allow.
80182         [non-C99-based standards] (exp2f): Likewise.
80183         [non-C99-based standards] (log2f): Likewise.
80184         [non-C99-based standards] (modff): Allow.
80185         [non-C99-based standards] (erff): Do not allow.
80186         [non-C99-based standards] (erfcf): Likewise.
80187         [non-C99-based standards] (gammaf): Likewise.
80188         [non-C99-based standards] (hypotf): Likewise.
80189         [non-C99-based standards] (j0f): Likewise.
80190         [non-C99-based standards] (j1f): Likewise.
80191         [non-C99-based standards] (jnf): Likewise.
80192         [non-C99-based standards] (lgammaf): Likewise.
80193         [non-C99-based standards] (tgammaf): Likewise.
80194         [non-C99-based standards] (y0f): Likewise.
80195         [non-C99-based standards] (y1f): Likewise.
80196         [non-C99-based standards] (ynf): Likewise.
80197         [non-C99-based standards] (isnanf): Likewise.
80198         [non-C99-based standards] (acoshf): Likewise.
80199         [non-C99-based standards] (asinhf): Likewise.
80200         [non-C99-based standards] (atanhf): Likewise.
80201         [non-C99-based standards] (cbrtf): Likewise.
80202         [non-C99-based standards] (expm1f): Likewise.
80203         [non-C99-based standards] (ilogbf): Likewise.
80204         [non-C99-based standards] (log1pf): Likewise.
80205         [non-C99-based standards] (logbf): Likewise.
80206         [non-C99-based standards] (nextafterf): Likewise.
80207         [non-C99-based standards] (remainderf): Likewise.
80208         [non-C99-based standards] (rintf): Likewise.
80209         [non-C99-based standards] (scalbf): Likewise.
80210         [non-C99-based standards] (copysignl): Likewise.
80211         [non-C99-based standards] (exp2l): Likewise.
80212         [non-C99-based standards] (log2l): Likewise.
80213         [non-C99-based standards] (modfl): Allow.
80214         [non-C99-based standards] (erfl): Do not allow.
80215         [non-C99-based standards] (erfcl): Likewise.
80216         [non-C99-based standards] (gammal): Likewise.
80217         [non-C99-based standards] (hypotl): Likewise.
80218         [non-C99-based standards] (j0l): Likewise.
80219         [non-C99-based standards] (j1l): Likewise.
80220         [non-C99-based standards] (jnl): Likewise.
80221         [non-C99-based standards] (lgammal): Likewise.
80222         [non-C99-based standards] (tgammal): Likewise.
80223         [non-C99-based standards] (y0l): Likewise.
80224         [non-C99-based standards] (y1l): Likewise.
80225         [non-C99-based standards] (ynl): Likewise.
80226         [non-C99-based standards] (isnanl): Likewise.
80227         [non-C99-based standards] (acoshl): Likewise.
80228         [non-C99-based standards] (asinhl): Likewise.
80229         [non-C99-based standards] (atanhl): Likewise.
80230         [non-C99-based standards] (cbrtl): Likewise.
80231         [non-C99-based standards] (expm1l): Likewise.
80232         [non-C99-based standards] (ilogbl): Likewise.
80233         [non-C99-based standards] (log1pl): Likewise.
80234         [non-C99-based standards] (logbl): Likewise.
80235         [non-C99-based standards] (nextafterl): Likewise.
80236         [non-C99-based standards] (remainderl): Likewise.
80237         [non-C99-based standards] (rintl): Likewise.
80238         [non-C99-based standards] (scalbl): Likewise.
80239         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80240         [non-C99-based standards] (FP_*): Do not allow.
80241         [C99-based standards] (FP_*): Change to
80242         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80243         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80244         allow.
80245         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80246         (SIG_ERR): Likewise.
80247         [X/Open-based standards] (SIG_HOLD): Likewise.
80248         (SIG_IGN): Likewise.
80249         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80250         positive value.
80251         (SIGFPE): Likewise.
80252         (SIGILL): Likewise.
80253         (SIGINT): Likewise.
80254         (SIGSEGV): Likewise.
80255         (SIGTER): Likewise.
80256         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80257         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80258         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80259         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80260         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80261         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80262         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80263         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80264         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80265         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80266         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80267         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80268         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80269         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80270         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80271         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80272         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80273         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80274         [X/Open-based standards] (SIGTRAP): Likewise.
80275         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80276         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80277         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80278         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80279         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80280         allow.
80282 2012-05-08  Ian Wienand  <ianw@vmware.com>
80284         [BZ #14080]
80285         * time/tzset.c (__tzset_parse_tz): Update default rules for
80286         daylight time changes in the Energy Policy Act of 2005.
80288 2012-05-09  Andreas Jaeger  <aj@suse.de>
80290         [BZ #13983]
80291         * elf/ldconfig.c (parse_conf): Change string to make clear that
80292         ldconfig only issued a warning if ld.so.conf does not exist.
80294 2012-05-08  David S. Miller  <davem@davemloft.net>
80296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80297         movxtod instead of popping the value on the stack.
80299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80301 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
80303         * config.h.in: Add HAVE_ARM_PCS_VFP.
80305 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
80307         [BZ #13979]
80308         * include/features.h: Warn if user requests __FORTIFY_SOURCE
80309         checking but the checks are disabled for any reason.
80311 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
80313         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80314         and ELF64_R_TYPE with ELFW(R_TYPE).
80316 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
80318         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80319         (ulimit): Likewise.
80321         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80322         (settimeofday): Likewise.
80324 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
80326         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
80327         a struct th_u2 inside the union, and move tu_block/tu_code into
80328         a new th_u3 union of tu_block/tu_code inside of that.  Move
80329         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
80330         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
80331         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80332         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80333         (th_stuff): Change to th_u1.tu_stuff.
80334         (th_data): Define.
80335         (th_msg): Change to th_u1.th_u2.tu_data.
80337 2012-05-07  David S. Miller  <davem@davemloft.net>
80339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80341         [BZ #14074]
80342         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80343         (SETUP_PIC_REG): Use it.
80344         (SETUP_PIC_REG_LEAF): Use it.
80346 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
80348         [BZ #13885]
80349         [BZ #13923]
80350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80351         USE_AS_EXPM1L.
80352         (EXPL_FINITE): Likewise.
80353         (FLDLOG): Likewise.
80354         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80355         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80356         e_expl.S.
80357         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80358         USE_AS_EXPM1L.
80359         (EXPL_FINITE): Likewise.
80360         (FLDLOG): Likewise.
80361         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80362         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80363         e_expl.S.
80364         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
80365         test of -max_value argument for long double.
80366         * sysdeps/i386/fpu/libm-test-ulps: Update.
80367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80369 2012-05-06  David S. Miller  <davem@davemloft.net>
80371         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80372         quad soft-float symbols whose references which are compiler
80373         generated.
80374         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80376 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
80378         [BZ #13884]
80379         [BZ #13914]
80380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80381         USE_AS_EXP10L.
80382         (EXPL_FINITE): Likewise.
80383         (FLDLOG): Likewise.
80384         (c0): Likewise.
80385         (c1): Likewise.
80386         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80387         Adjust comments for base varying.
80388         (__expl_finite): Change alias to EXPL_FINITE.
80389         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80390         e_expl.S.
80391         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80392         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80394         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80395         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80396         USE_AS_EXP10L.
80397         (EXPL_FINITE): Likewise.
80398         (FLDLOG): Likewise.
80399         (c0): Likewise.
80400         (c1): Likewise.
80401         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80402         Adjust comments for base varying.
80403         (__expl_finite): Change alias to EXPL_FINITE.
80404         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80405         tests for bugs.
80406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80408         [BZ #14064]
80409         * math/libm-test.inc (check_float_internal): Correct ulp
80410         calculation for subnormal expected results.
80412 2012-05-06  Andreas Jaeger  <aj@suse.de>
80414         * Makeconfig (+math-flags): New, set to -frounding-math.
80415         (+cflags): Add +math-flags so that all of glibc gets compiled with
80416         it.
80418         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80420 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80422         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80423         Disable one test.
80425         [BZ #13787]
80426         [BZ #13922]
80427         [BZ #14036]
80428         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80429         (__ieee754_expl): Allow for and saturate large arguments.
80430         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80431         (u_threshold): Likewise.
80432         (__exp): Call __ieee754_exp before checking for overflow and
80433         underflow.
80434         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80435         (u_threshold): Likewise.
80436         (__expf): Call __ieee754_expf before checking for overflow and
80437         underflow.
80438         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80439         (u_threshold): Likewise.
80440         (__expl): Call __ieee754_expl before checking for overflow and
80441         underflow.
80442         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80443         (__ieee754_expl): Allow for and saturate large arguments.
80444         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80445         missing overflow exception on overflow.
80446         (expm1_test): Do not allow missing overflow exception on overflow.
80448         * sysdeps/i386/fpu/e_expl.c: Move to ...
80449         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80450         rather than using inline asm.
80451         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80452         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80453         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80455         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80456         (nice): Likewise.
80457         (poll): Likewise.
80458         (signal): Likewise.
80459         (time): Likewise.
80460         (times): Likewise.
80462 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80464         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80465         sysdeps/unix/common/syscalls.list.
80466         (fchmod): Likewise.
80467         (fchown): Likewise.
80468         (ftruncate): Likewise.
80469         (getrusage): Likewise.
80470         (gettimeofday): Likewise.
80471         (setpgid): Likewise.
80472         (setregid): Likewise.
80473         (setreuid): Likewise.
80474         (sigaction): Likewise.
80475         (truncate): Likewise.
80476         (vhangup): Likewise.
80477         * sysdeps/unix/common/syscalls.list: Remove file.
80478         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80479         * sysdeps/unix/sysv/linux/Implies: Likewise.
80481 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80483         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80485         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80486         Moved to ...
80487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80488         Here.
80489         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80490         to ...
80491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80492         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80493         to ...
80494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80495         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80496         to ...
80497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80498         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80499         to ...
80500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80501         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80502         to ...
80503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80504         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80505         to ...
80506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80507         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80508         to ...
80509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80510         Here.
80511         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80512         to ...
80513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80514         Here.
80515         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80516         to ...
80517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80518         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80519         Moved to ...
80520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80521         Here.
80522         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80523         to ...
80524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80526 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80528         * sysdeps/unix/common/bits/dirent.h: Remove file.
80529         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80531         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80532         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80533         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80534         * sysdeps/unix/bsd/isatty.c: Likewise.
80535         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80536         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80537         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80539 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80541         [BZ #13563]
80542         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80543         long double comparison inaccuracies.
80544         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80547 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80549         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80550         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80552 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80554         [BZ #14049]
80555         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80556         nonzero digits before rounding a hex value.
80557         * stdlib/tst-strtod.c (tests): Add another test.
80559 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80561         * sysdeps/s390/fpu/libm-test-ulps: Update.
80563 2012-05-03  Andreas Jaeger  <aj@suse.de>
80565         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80566         does not get optimized out.
80567         (malloc_opt_barrier): New.
80569 2012-05-03  Andreas Jaeger  <aj@suse.de>
80570             Roland McGrath  <roland@hack.frob.com>
80572         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80573         intermediate file deletion.
80574         (generated): Add .symlist files.
80576 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80578         [BZ #13775]
80579         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80580         Redirect under this condition.
80581         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80582         [__USE_GNU] (__dprintf_chk): Not under this condition.
80583         [__USE_GNU] (__vdprintf_chk): Likewise.
80584         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80585         under this condition.
80586         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80587         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80588         [__USE_XOPEN2K8] (vdprintf): Likewise.
80589         [__USE_GNU] (__dprintf_chk): Not under this condition.
80590         [__USE_GNU] (__vdprintf_chk): Likewise.
80591         [__USE_GNU] (dprintf): Likewise.
80592         [__USE_GNU] (vdprintf): Likewise.
80594 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80596         * elf/Makefile (common-generated): Set this instead of generated for
80597         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80598         $(all-built-dso)-derived lists.
80600 2012-05-03  Andreas Jaeger  <aj@suse.de>
80602         * sysdeps/i386/fpu/libm-test-ulps: Update.
80604         * FAQ: Removed.
80605         * FAQ.in: Likewise.
80606         * scripts/gen-FAQ.pl: Likewise.
80607         * manual/install.texi (Installation): Point to online location of
80608         FAQ.
80609         * Makefile (files-for-dist): Remove FAQ.
80610         (FAQ): Remove.
80612 2012-05-02  Allan McRae  <allan@archlinux.org>
80614         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80615         (LDFLAGS-reldepmod5.so): Likewise.
80616         (LDFLAGS-reldep6mod1.so): Likewise.
80617         (LDFLAGS-reldep6mod4.so): Likewise.
80618         (LDFLAGS-reldep8mod3.so): Likewise.
80619         (LDFLAGS-unload4mod1.so): Likewise.
80620         (LDFLAGS-unload4mod2.so): Likewise.
80621         (LDFLAGS-tst-initorder): Likewise.
80622         (LDFLAGS-tst-initordera2.so): Likewise.
80623         (LDFLAGS-tst-initordera3.so): Likewise.
80624         (LDFLAGS-tst-initordera4.so): Likewise.
80625         (LDFLAGS-tst-initorderb2.so): Likewise.
80626         (LDFLAGS-noload): Likewise.
80627         (LDFLAGS-next): Likewise.
80628         (LDFLAGS-order2mod1.so): Likewise.
80629         (LDFLAGS-order2mod2.so): Likewise.
80630         (LDFLAGS-tst-initorder2): Likewise.
80631         (LDFLAGS-tst-initorder2a.so): Likewise.
80632         (LDFLAGS-tst-initorder2b.so): Likewise.
80633         (LDFLAGS-tst-initorder2c.so): Likewise.
80634         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80636 2012-05-02  David S. Miller  <davem@davemloft.net>
80638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80640 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80642         [BZ #14055]
80643         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80645 2012-05-02  Andreas Jaeger  <aj@suse.de>
80647         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80648         since we manipulate rounding mode.
80649         (CPPFLAGS-test-idouble.c): Likewise.
80650         (CPPFLAGS-test-ifloat.c): Likewise.
80651         (CFLAGS-test-ldouble.c): Likewise.
80652         (CFLAGS-test-double.c): Likewise.
80653         (CFLAGS-test-float.c): Likewise.
80654         (CFLAGS-test-misc.c): Likewise.
80655         (CFLAGS-test-test-fenv.c): Likewise.
80657 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80659         [BZ #2550]
80660         [BZ #2570]
80661         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80662         comparisons to determine direction to adjust input.
80664 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80666         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80667         output to the target.
80669         * scripts/localplt.awk: New file.
80670         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80671         (check-localplt-CFLAGS): Variable removed.
80672         ($(all-built-dso:=.jmprel)): New static pattern rule.
80673         (generated): Add those targets.
80674         (localplt-built-dso): New variable.
80675         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80677         * elf/check-localplt.c: File removed.
80679         * scripts/check-execstack.awk: New file.
80680         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80681         (check-execstack-CFLAGS): Variable removed.
80682         ($(objpfx)check-execstack.h): Target removed.
80683         ($(objpfx)execstack-default): New target.
80684         (generated): Add that instead of check-execstack.h.
80685         ($(all-built-dso:=.phdr)): New static pattern rule.
80686         (generated): Add those targets.
80687         * elf/check-execstack.c: File removed.
80689         * scripts/check-textrel.awk: New file.
80690         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80691         (check-textrel-CFLAGS): Variable removed.
80692         (all-built-dso): Use := to define.o
80693         ($(all-built-dso:=.dyn)): New static pattern rule.
80694         (generated): Add those targets.
80695         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80696         * config.make.in (READELF): New substituted variable.
80697         * elf/check-textrel.c: File removed.
80699 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80701         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80702         allow.
80703         * conform/data/ctype.h-data [C99-based standards] (isblank):
80704         Expect function.
80705         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80706         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80708         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80709         Specify type.  Require positive value.
80710         (EILSEQ): Likewise.
80711         (ERANGE): Likewise.
80712         [ISO || POSIX] (EILSEQ): Do not expect.
80713         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80714         Specify type.  Require positive value.
80715         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80716         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80717         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80718         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80719         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80720         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80721         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80722         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80723         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80724         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80725         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80726         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80727         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80728         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80729         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80730         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80731         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80732         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80733         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80734         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80735         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80736         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80737         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80738         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80739         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80740         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80741         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80742         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80743         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80744         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80745         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80746         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80747         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80748         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80749         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80750         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80751         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80752         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80753         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80754         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80755         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80756         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80757         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80758         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80759         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80760         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80761         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80762         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80763         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80764         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80765         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80766         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80767         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80768         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80769         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80770         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80771         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80772         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80773         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80774         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80775         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80776         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80777         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80778         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80779         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80780         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80781         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80782         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80783         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80784         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80785         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80786         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80787         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80788         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80789         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80790         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80791         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80792         Require >= 2.
80793         (FLT_ROUNDS): Expect as macro, not constant.
80794         (FLT_MANT_DIG): Use macro-int-constant.
80795         (DBL_MANT_DIG): Likewise.
80796         (LDBL_MANT_DIG): Likewise.
80797         (FLT_DIG): Likewise.
80798         (DBL_DIG): Likewise.
80799         (LDBL_DIG): Likewise.
80800         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80801         (DBL_MIN_EXP): Likewise.
80802         (LDBL_MIN_EXP): Likewise.
80803         (FLT_MAX_EXP): Use macro-int-constant.
80804         (DBL_MAX_EXP): Likewise.
80805         (LDBL_MAX_EXP): Likewise.
80806         (FLT_MAX_10_EXP): Likewise.
80807         (DBL_MAX_10_EXP): Likewise.
80808         (LDBL_MAX_10_EXP): Likewise.
80809         (FLT_MAX): Use macro-constant.
80810         (DBL_MAX): Likewise.
80811         (LDBL_MAX): Likewise.
80812         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80813         (DBL_EPSILON): Likewise.
80814         (LDBL_EPSILON): Likewise.
80815         (FLT_MIN): Likewise.
80816         (DBL_MIN): Likewise.
80817         (LDBL_MIN): Likewise.
80818         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80819         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80820         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80821         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80822         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80823         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80824         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80825         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80826         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80827         [ISO11] (FLT_TRUE_MIN): Likewise.
80828         [ISO11] (LDBL_TRUE_MIN): Likewise.
80829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80830         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80831         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80832         (SCHAR_MAX): Likewise.
80833         (UCHAR_MAX): Likewise.
80834         (CHAR_MIN): Likewise.
80835         (CHAR_MAX): Likewise.
80836         (MB_LEN_MAX): Use macro-int-constant.
80837         (SHRT_MIN): Use macro-int-constant.  Specify type.
80838         (SHRT_MAX): Likewise.
80839         (USHRT_MAX): Likewise.
80840         (INT_MAX): Likewise.
80841         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80842         bound negative.
80843         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80844         bound with "U".
80845         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80846         bound with "L".
80847         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80848         bound negative.  Suffix upper bound with "L".
80849         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80850         bound with "UL".
80851         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80852         Specify type.
80853         [C99-based standards] (LLONG_MAX): Likewise.
80854         [C99-based standards] (ULLONG_MAX): Likewise.
80855         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80856         == 0.
80857         [ISO11] (max_align_t): Require type.
80858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80860         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80861         from $CFLAGS, without defining away __attribute__ calls.
80862         (checknamespace): Use $CFLAGS_namespace.
80864         * conform/conformtest.pl (@keywords): Only include C99 keywords
80865         for standards based on C99 or C11.
80867         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80868         Disable tests.
80869         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80870         UNIX98]: Likewise.
80872         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80873         usability of symbols in #if.
80875         * conform/conformtest.pl: If macro or constant types start
80876         "promoted:", expect the symbol to be of the following type
80877         promoted by the integer promotions.
80879         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80880         in one place.  Also handle "macro-constant".
80882         * conform/conformtest.pl: Only accept expected macro values with
80883         "==".  Parse all "macro" lines in one place.
80884         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80886         * conform/conformtest.pl: Handle braced types on "constant" lines
80887         instead of handling "typed-constant".
80888         * conform/data/signal.h-data: Use "constant" instead of
80889         "typed-constant".
80891         * conform/conformtest.pl: Handle "optional-" at start of lines in
80892         one place rather than duplicating several cases.  Handle each
80893         format of "macro" line with initial "optional-".
80895         * conform/conformtest.pl: Only accept expected constant or
80896         optional-constant values with "==".  Parse all "constant" lines in
80897         one place.  Parse all "optional-constant" lines in one place.
80898         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80899         * conform/data/fmtmsg.h-data: Likewise.
80900         * conform/data/netinet/in.h-data: Likewise.
80901         * conform/data/tar.h-data: Likewise.
80902         * conform/data/limits.h-data: Use "==" form on "constant" and
80903         "optional-constant" lines.
80905         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80906         Use -std=c99 for XOPEN2K.
80907         (@knownproblems): Remove.
80908         (newtoken): Don't check %isknown.
80910         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80911         Do not expect macro.
80912         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80913         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80914         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80915         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80916         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80917         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80918         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80919         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80920         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80921         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80922         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80923         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80924         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80925         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80926         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80927         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80928         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80929         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80930         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80931         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80932         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80933         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80934         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80935         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80936         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80937         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80938         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80939         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80940         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80941         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80942         [XPG3] (acosh): Likewise.
80943         [XPG3] (asinh): Likewise.
80944         [XPG3] (atanh): Likewise.
80945         [XPG3] (cbrt): Likewise.
80946         [XPG3] (expm1): Likewise.
80947         [XPG3] (ilogb): Likewise.
80948         [XPG3] (log1p): Likewise.
80949         [XPG3] (logb): Likewise.
80950         [XPG3] (nextafter): Likewise.
80951         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80952         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80953         [XPG3] (remainder): Likewise.
80954         [XPG3] (rint): Likewise.
80955         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80956         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80957         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80958         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80959         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80960         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80961         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80962         [UNIX98 || XOPEN2K] (scalb): Expect.
80963         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80964         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80965         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80966         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80967         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80968         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80969         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80970         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80971         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80972         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80973         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80974         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80975         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80976         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80977         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80978         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80979         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80980         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80981         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80982         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80983         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80984         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80985         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80986         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80987         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80988         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80989         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80990         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80991         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80992         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80993         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80994         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80995         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80996         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80997         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80998         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80999         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81000         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81001         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81002         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81003         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81004         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81005         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81006         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81007         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81008         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81009         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81010         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81011         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81012         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81013         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81014         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81015         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81016         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81017         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81018         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81019         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81020         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81021         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81022         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81023         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81024         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81025         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81026         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81027         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81028         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81029         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81030         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81031         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81032         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81033         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81034         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81035         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81036         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81037         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81038         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81039         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81040         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81041         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81042         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81043         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81044         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81045         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81046         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81047         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81048         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81049         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81050         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81051         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81052         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81053         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81054         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81055         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81056         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81057         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81058         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81059         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81060         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81061         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81062         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81063         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81064         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81065         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81066         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81067         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81068         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81069         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81070         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81071         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81072         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81073         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81074         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81075         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81076         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81077         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81078         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81079         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81080         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81081         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81082         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81083         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81084         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81085         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81086         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81087         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81088         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81089         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81090         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81091         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81092         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81093         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81094         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81095         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81096         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81097         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81098         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81099         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81101         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81102         _XOPEN_SOURCE_EXTENDED for XPG4.
81104         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81106         * Makeconfig (localtime): Remove variable.
81107         (inst_localtime-file): Likewise.
81109 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81112         Update.
81113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81114         Update.
81115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81116         Update.
81117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81118         Update.
81119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81120         Update.
81121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81122         Update.
81123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81124         Update.
81125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81126         Update.
81127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81128         Update.
81130 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81132         [BZ #2550]
81133         [BZ #2570]
81134         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81135         comparisons to determine direction to adjust input.
81136         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81137         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81138         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81139         Likewise.
81140         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81141         Likewise.
81142         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81143         Likewise.
81144         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81145         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81146         Likewise.
81147         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81148         Likewise.
81149         * math/libm-test.inc (nexttoward_test): Add more tests.
81151 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81153         [BZ #14040]
81154         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81155         in version GLIBC_2.1, not GLIBC_2.0.
81156         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81157         Likewise.
81159 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81161         [BZ #13942]
81162         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81163         (1 - x) * (1 + x).
81164         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81165         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81166         * math/libm-test.inc (acos_test): Add more tests.
81167         (asin_test): Likewise.
81168         * sysdeps/i386/fpu/libm-test-ulps: Update.
81169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81171         [BZ #14034]
81172         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81173         of square root.
81174         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81175         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81176         * math/libm-test.inc (acos_test_tonearest): New function.
81177         (acos_test_towardzero): Likewise.
81178         (acos_test_downward): Likewise.
81179         (acos_test_upward): Likewise.
81180         (asin_test_tonearest): Likewise.
81181         (asin_test_towardzero): Likewise.
81182         (asin_test_downward): Likewise.
81183         (asin_test_upward): Likewise.
81184         (main): Call the new functions.
81185         * sysdeps/i386/fpu/libm-test-ulps: Update.
81186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81188         [BZ #13884]
81189         [BZ #13924]
81190         * math/e_exp10.c: Include <float.h>.
81191         (__ieee754_exp10): Handle underflow here rather than multiplying
81192         large negative argument by M_LN10.
81193         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81194         of __ieee754_expf.
81195         * math/e_exp10l.c: Include <float.h>.
81196         (__ieee754_exp10l): Handle underflow here rather than multiplying
81197         large negative argument by M_LN10l.
81198         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81199         spurious overflow exception on underflow.
81201 2012-04-29  Marek Polacek  <polacek@redhat.com>
81203         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81204         (__fortify_function): New macro.
81205         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81206         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81207         __extern_always_inline.
81208         * libio/bits/stdio2.h: Likewise.
81209         * libio/bits/stdio.h: Likewise.
81210         * string/string.h: Likewise.
81211         * string/bits/string3.h: Likewise.
81212         * include/stdio.h: Likewise.
81213         * stdlib/bits/stdlib.h: Likewise.
81214         * stdlib/stdlib.h: Likewise.
81215         * rt/bits/mqueue2.h: Likewise.
81216         * rt/mqueue.h: Likewise.
81217         * posix/bits/unistd.h: Likewise.
81218         * posix/unistd.h: Likewise.
81219         * io/bits/poll2.h: Likewise.
81220         * io/bits/fcntl2.h: Likewise.
81221         * io/fcntl.h: Likewise.
81222         * io/sys/poll.h: Likewise.
81223         * misc/bits/syslog.h: Likewise.
81224         * misc/bits/syslog-ldbl.h: Likewise.
81225         * misc/sys/syslog.h: Likewise.
81226         * socket/bits/socket2.h: Likewise.
81227         * socket/sys/socket.h: Likewise.
81228         * debug/tst-chk1.c: Likewise.
81229         * wcsmbs/bits/wchar2.h: Likewise.
81230         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81231         * wcsmbs/wchar.h: Likewise.
81233 2012-04-29  Andreas Jaeger  <aj@suse.de>
81235         * Makerules (tests): Remove enable-check-abi protection.
81236         (check-abi-warn): Remove.
81237         (check-abi-%): Remove check-abi-warn usage.
81239         * configure.in: Remove check-abi configure option.
81240         * configure: Regenerated.
81241         * config.make.in (enable-check-abi): Remove.
81243 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81245         [BZ #14033]
81246         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81247         double functions to double *_finite functions.
81249         [BZ #13941]
81250         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81251         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81252         LDBL_MIN_EXP.
81253         * stdio-common/Makefile (tests): Add tst-sprintf3.
81254         * stdio-common/tst-sprintf3.c: New file.
81256         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81257         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81259 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81261         * conform/conformtest.pl: Remove duplicate typed-constant
81262         handling.
81264 2012-04-28  David S. Miller  <davem@davemloft.net>
81266         * Makerules (%.abilist): Add vpath on sysdep_dirs.
81267         (check-abi-%): Remove AWK script prerequisite and explicit
81268         abilist directory.
81269         (check-abi): Rewrite to just diff the symlist with the abilist.
81270         (config-tls, config-abi-config): Delete, no longer used.
81271         (update-abi-%): Remove AWK script and explicit abilist directory.
81272         (update-abi): Rewrite to simply compare and conditionally copy the
81273         symlist and the sysdep abilist file.  Remove update-abi-config
81274         checks.
81275         * abilist/ld.abilist: Remove.
81276         * abilist/libBrokenLocale.abilist: Remove.
81277         * abilist/libanl.abilist: Remove.
81278         * abilist/libcrypt.abilist: Remove.
81279         * abilist/libdl.abilist: Remove.
81280         * abilist/librt.abilist: Remove.
81281         * abilist/libthread_db.abilist: Remove.
81282         * abilist/libutil.abilist: Remove.
81283         * scripts/extract-abilist.awk: Remove.
81284         * scripts/merge-abilist.awk: Remove.
81285         * sysdeps/generic/libcidn.abilist: New file.
81286         * sysdeps/generic/libnss_compat.abilist: New file.
81287         * sysdeps/generic/libnss_db.abilist: New file.
81288         * sysdeps/generic/libnss_dns.abilist: New file.
81289         * sysdeps/generic/libnss_files.abilist: New file.
81290         * sysdeps/generic/libnss_hesiod.abilist: New file.
81291         * sysdeps/generic/libnss_nis.abilist: New file.
81292         * sysdeps/generic/libnss_nisplus.abilist: New file.
81293         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81294         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81295         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81296         file.
81297         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81298         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81299         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81300         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81301         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81302         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81303         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81304         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81305         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81306         file.
81307         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81308         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81309         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81310         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81311         file.
81312         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81313         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81314         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81315         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81316         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81317         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81318         file.
81319         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81320         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81321         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81322         file.
81323         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81325         New file.
81326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81327         New file.
81328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81329         New file.
81330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81331         New file.
81332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81333         New file.
81334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81335         New file.
81336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81337         New file.
81338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81339         New file.
81340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81341         New file.
81342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81343         New file.
81344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81345         New file.
81346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81347         New file.
81348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81349         New file.
81350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81351         file.
81352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81353         New file.
81354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81355         New file.
81356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81357         file.
81358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81359         New file.
81360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81361         New file.
81362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81363         file.
81364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81365         New file.
81366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81367         New file.
81368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81369         New file.
81370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81371         New file.
81372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81373         New file.
81374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81375         New file.
81376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81378         file.
81379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81380         New file.
81381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81382         file.
81383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81384         file.
81385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81386         file.
81387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81388         file.
81389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81390         file.
81391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81392         New file.
81393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81394         file.
81395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81396         file.
81397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81398         New file.
81399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81400         file.
81401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81403         file.
81404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81405         New file.
81406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81407         file.
81408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81409         file.
81410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81411         file.
81412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81413         file.
81414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81415         file.
81416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81417         New file.
81418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81419         file.
81420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81421         file.
81422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81423         New file.
81424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81425         file.
81426         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81427         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81428         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81429         file.
81430         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81431         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81432         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81433         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81434         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81435         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81436         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81437         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81438         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81439         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81442         file.
81443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81444         New file.
81445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81446         file.
81447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81448         file.
81449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81450         file.
81451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81452         file.
81453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81454         file.
81455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81456         New file.
81457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81458         New file.
81459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81460         file.
81461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81462         New file.
81463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81464         file.
81465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81467         file.
81468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81469         New file.
81470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81471         file.
81472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81473         file.
81474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81475         file.
81476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81477         file.
81478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81479         file.
81480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81481         New file.
81482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81483         New file.
81484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81485         file.
81486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81487         New file.
81488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81489         file.
81491 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81493         * conform/conformtest.pl: Fix typo in handling typed-constant from
81494         allow-header.
81496 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81498         * README: Cut down references to pre-2.6 Linux kernels and
81499         Linuxthreads.  Update lists of configurations in libc and ports
81500         and sort alphabetically.  Say "or newer" with Linux kernel version
81501         requirements.
81503         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81505 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81507         [BZ #887]
81508         * math/libm-test.inc (logb_test_downward): New test to expose
81509         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81510         rounding mode.
81512 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81514         [BZ #14027]
81515         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81516         to be done.
81517         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81518         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81520 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81522         * sysdeps/unix/i386/brk.S: Remove file.
81523         * sysdeps/unix/i386/dl-brk.S: Likewise.
81524         * sysdeps/unix/i386/pipe.S: Likewise.
81525         * sysdeps/unix/i386/sigreturn.S: Likewise.
81526         * sysdeps/unix/i386/syscall.S: Likewise.
81527         * sysdeps/unix/i386/vfork.S: Likewise.
81528         * sysdeps/unix/i386/wait.S: Likewise.
81530         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81531         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81533         * configure.in (arm*-none*): Do not allow without
81534         --enable-hacker-mode.
81535         (netbsd*): Remove case setting base_os.
81536         (386bsd*): Likewise.
81537         (freebsd*): Likewise.
81538         (bsdi*): Likewise.
81539         (osf*): Likewise.
81540         (sunos*): Likewise.
81541         (ultrix*): Likewise.
81542         (newsos*): Likewise.
81543         (dynix*): Likewise.
81544         (*bsd*): Likewise.
81545         (sysv*): Likewise.
81546         (isc*): Likewise.
81547         (esix*): Likewise.
81548         (sco*): Likewise.
81549         (minix*): Likewise.
81550         (irix4*): Likewise.
81551         (irix6*): Likewise.
81552         (solaris[2-9]*): Likewise.
81553         (none): Likewise.
81554         * configure: Regenerated.
81556 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81558         [BZ #11521]
81559         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81560         overflow or cancellation in calculating denominator.
81561         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81563         down expression to avoid unexpected rounding in newer GCCs.
81564         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81566 2012-04-26  David S. Miller  <davem@davemloft.net>
81568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81569         long-double compat symbols.
81570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81584 2012-04-25  David S. Miller  <davem@davemloft.net>
81586         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81587         HWCAP_* values only after the memory barriers have been defined.
81588         (atomic_full_barrier): Define.
81589         (atomic_read_barrier): Define.
81590         (atomic_write_barrier): Define.
81592 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81594         * shlib-versions: Add libgcc_s version information.
81595         * sysdeps/generic/libgcc_s.h: Remove.
81596         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81597         libgcc_s.h.
81598         * sysdeps/gnu/unwind-resume.c: Likewise.
81599         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81601 2012-04-25  David S. Miller  <davem@davemloft.net>
81603         * sysdeps/unix/sparc/brk.S: Delete.
81604         * sysdeps/unix/sparc/dl-brk.S: Delete.
81605         * sysdeps/unix/sparc/pipe.S: Delete.
81606         * sysdeps/unix/sparc/sysdep.S: Delete.
81607         * sysdeps/unix/sparc/sysdep.h: Delete.
81608         * sysdeps/unix/sparc/vfork.S: Delete.
81609         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81610         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81611         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81612         (ret_ERRVAL, r0, r1, MOVE): Define.
81613         (JUMPTARGET): Remove.
81614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81615         sysdeps/unix/sparc/sysdep.h
81616         (ENTRY, END): Remove.
81617         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81619 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81621         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81622         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81623         -DIS_IN_build.
81625         * timezone/README: Update upstream location and email address for
81626         tzcode and tzdata.
81627         * timezone/zdump.c: Update from tzcode 2012b.
81628         * timezone/zic.c: Likewise.
81630         * configure.in (libc_cv_as_needed): Remove test.
81631         * configure: Regenerated.
81632         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81633         conditional definition.
81634         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81635         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81636         * config.make.in (have-as-needed): Remove variable.
81638 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81639             Paul Pluzhnikov  <ppluzhnikov@google.com>
81641         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81642         strings correctly.
81644 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81646         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81647         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81648         * sysdeps/sh/strlen.S: Likewise.
81650 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81652         * sysdeps/unix/fork.S: Remove file.
81653         * sysdeps/unix/i386/fork.S: Likewise.
81654         * sysdeps/unix/sparc/fork.S: Likewise.
81656         * sysdeps/unix/system.c: Remove file.
81657         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81659         * sysdeps/unix/getegid.S: Remove file.
81660         * sysdeps/unix/geteuid.S: Likewise.
81662 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81664         * scripts/check-localplt.awk: New file.
81665         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81666         of diff.
81667         * scripts/data/localplt-generic.data: Add a comment.
81669         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81670         NODE when __dir_mkfile failed.
81671         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81672         Reported by Ludovic Courtès <ludo@gnu.org>.
81674 2012-04-24  Andreas Jaeger  <aj@suse.de>
81676         * Makerules (common-clean): Also remove gen-as-const-headers
81677         files.
81679 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81681         * Makerules (native-compile): Do not change working directory for
81682         build.  Use $(OUTPUT_OPTION) in command.
81683         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81685 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81687         [BZ #13886]
81688         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81689         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81690         * math/libm-test.inc (floor_test): Add more tests.
81691         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81693 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81695         * sysdeps/unix/getdents.c: Remove file.
81696         * sysdeps/unix/sysv/getdents.c: Likewise.
81697         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81699         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81700         sysdeps/unix/mman/syscalls.list.
81701         (mmap): Likewise.
81702         (mprotect): Likewise.
81703         (msync): Likewise.
81704         (munmap): Likewise.
81705         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81706         * sysdeps/unix/mman/syscalls.list: Remove.
81707         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81709         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81710         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81711         * configure: Regenerated.
81712         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81713         $(libgcc_s_suffix).
81714         * config.make.in (libgcc_s_suffix): Remove variable.
81716 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81718         * sysdeps/unix/sysv/gethostname.c: Move to ...
81719         * sysdeps/posix/gethostname.c: ... here.
81721         * sysdeps/unix/execve.S: Remove file.
81723         * sysdeps/unix/_exit.S: Remove file.
81725 2012-04-23  Andreas Jaeger  <aj@suse.de>
81727         [BZ #13739]
81728         * manual/Makefile: Remove make dist support, there's no
81729         need for a stand-alone documentation tar ball.
81730         (TEXI2DVI): Define always, it's not in Makeconfig.
81731         (dist): Removed.
81732         (tar-it): Removed.
81733         (edition): Removed.
81734         (glibc-doc-$(edition).tar): Removed
81735         (%.Z): Removed.
81736         (%.gz): Removed.
81737         (%.uu): Removed.
81738         (ETAGS): Remove, it's in Makeconfig.
81739         (move-if-change): Remove, it's in Makeconfig.
81741 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81743         [BZ #13970]
81744         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81745         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81746         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81747         (strtod_l, strtof_l, strtold_l): Remove __wur.
81748         It is not necessarily an error to ignore strtol's return value.
81749         One can reliably look at the stored endptr to decide whether
81750         the number had valid syntax.
81752 2012-04-21  Andreas Jaeger  <aj@suse.de>
81754         [BZ #13739]
81755         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81757 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81759         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81760         * sysdeps/unix/sysv/Versions: Remove file.
81762 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81764         [BZ #13927]
81765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81767 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81769         [BZ #7064]
81770         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81771         version from __vm86.
81773 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81775         * sysdeps/unix/common/lxstat.c: Remove file.
81776         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81778         * sysdeps/unix/sysv/Makefile: Remove file.
81780         * sysdeps/unix/sysv/direct.h: Remove file.
81782         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81783         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81784         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81785         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81786         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81787         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81788         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81790         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81792         * sysdeps/unix/xmknod.c: Remove file.
81793         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81795         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81797         * sysdeps/unix/sysv/i386/time.S: Remove file.
81799         * sysdeps/unix/fxstat.c: Remove file.
81800         * sysdeps/unix/xstat.c: Likewise.
81801         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81803         * sysdeps/unix/sysv/sigaction.c: Remove file.
81805         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81806         (sysdep_headers): Remove variable.
81807         [termio.h not in sysdep_headers] (generated): Likewise.
81808         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81809         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81810         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81811         * sysdeps/unix/sysv/tcflow.c: Likewise.
81812         * sysdeps/unix/sysv/tcflush.c: Likewise.
81813         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81814         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81815         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81816         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81817         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81819         * sysdeps/unix/siglist.c: Remove file.
81821         * sysdeps/unix/getppid.S: Remove file.
81823         * sysdeps/unix/mkdir.c: Remove file.
81824         * sysdeps/unix/rmdir.c: Likewise.
81826 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81828         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81829         ERR_MAX value.
81830         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81831         errlist-compat value.
81833 2012-04-18  David S. Miller  <davem@davemloft.net>
81835         * sysdeps/generic/memcopy.h (reg_char): Delete.
81836         * debug/strcat_chk.c: Use char, not reg_char.
81837         * debug/strcpy_chk.c: Likewise.
81838         * debug/strncat_chk.c: Likewise.
81839         * debug/strncpy_chk.c: Likewise.
81840         * string/memchr.c: Likewise.
81841         * string/memrchr.c: Likewise.
81842         * string/rawmemchr.c: Likewise.
81843         * string/strcat.c: Likewise.
81844         * string/strchr.c: Likewise.
81845         * string/strchrnul.c: Likewise.
81846         * string/strcmp.c: Likewise.
81847         * string/strcpy.c: Likewise.
81848         * string/strncat.c: Likewise.
81849         * string/strncmp.c: Likewise.
81850         * string/strncpy.c: Likewise.
81852 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81854         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81855         __builtin_memcopy is called when src and dest ranges are known to not
81856         overlap.
81858 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81860         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81861         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81862         fwd_align_merge macro call.
81863         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81864         bwd_align_merge macro call.
81865         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81867 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81869         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81870         bwd_align_merge macros.
81871         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81872         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81873         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81875 2012-04-18  David S. Miller  <davem@davemloft.net>
81877         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81879 2012-04-18  Andreas Jaeger  <aj@suse.de>
81881         [BZ #6794]
81882         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81883         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81884         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81886         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81887         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81888         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81890         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81891         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81892         Adjust for changed ldbl-128 files.
81894         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81895         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81896         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81898 2012-04-17  David S. Miller  <davem@davemloft.net>
81900         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81902 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81904         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81905         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81906         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81907         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81908         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81909         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81911 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81913         [BZ #6794]
81914         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81915         * math/libm-test.inc: Add ilogb errno and exception tests.
81916         * math/w_ilogb.c: New file: ilogb wrapper.
81917         * math/w_ilogbf.c: New file: ilogbf wrapper.
81918         * math/w_ilogbl.c: New file: ilogbl wrapper.
81919         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81920         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81921         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81922         exception being thrown with 0.0 as argument.
81923         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81924         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81925         exception being thrown with 0.0 as argument.
81926         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81927         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81928         exception being thrown with 0.0 as argument.
81929         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81930         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81931         exception being thrown with 0.0 as argument.
81932         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81933         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81934         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81935         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81936         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81937         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81938         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81939         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81940         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81942 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81944         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81945         with altivec.
81947 2012-04-16  Marek Polacek  <polacek@redhat.com>
81949         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81951 2012-04-16  Marek Polacek  <polacek@redhat.com>
81953         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81954         operands of fdivp instruction.
81956 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81958         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81959         * elf/tst-auditmod3b.c: Likewise.
81960         * elf/tst-auditmod4b.c: Likewise.
81961         * elf/tst-auditmod5b.c: Likewise.
81962         * elf/tst-auditmod6b.c: Likewise.
81963         * elf/tst-auditmod6c.c: Likewise.
81964         * elf/tst-auditmod7b.c: Likewise.
81965         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81966         * sysdeps/x86_64/preconfigure.in: Likewise.
81967         * sysdeps/x86_64/preconfigure: Regenerated.
81969 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81971         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81972         __ILP32__.
81974 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81976         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81977         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81979 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81981         [BZ #13973]
81982         * locale/iso-639.def: Fix gl language name. Spotted by
81983         Yaron Shahrabani.
81985 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81987         [BZ #2074]
81988         * libio/libio.h (__io_write_fn): Update comment.
81990 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81992         [BZ #2074]
81993         * stdio.texi (Hook Functions): The user provided writer function
81994         is not allowed to return -1.
81996 2012-04-11  David S. Miller  <davem@davemloft.net>
81998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82000 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82002         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82003         Add a leading slash to rtkaio.
82005 2012-04-11  Jim Meyering  <meyering@redhat.com>
82007         [BZ #11959]
82008         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82009         It is not necessarily an error to ignore fwrite's return
82010         value.  One can reliably use ferror to test for errors after
82011         the fact.
82013 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82015         * bits/types.h (__snseconds_t): New type.
82016         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82018         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82020         (__SNSECONDS_T_TYPE): Likewise.
82021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82022         (__SNSECONDS_T_TYPE): Likewise.
82023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82024         (__SNSECONDS_T_TYPE): Likewise.
82026 2012-04-10  Andreas Jaeger  <aj@suse.de>
82028         [BZ #2636]
82029         * manual/time.texi (Processor Time): Return type of times is
82030         elapsed real time since an arbitrary point in the past.
82031         (CPU Time): Move CLK_TCK from here...
82032         (Processor Time): ...to here.  Correct description.
82033         * manual/conf.texi (Constants for Sysconf): Correct description of
82034         _SC_CLK_TCK.
82036 2012-04-10  David S. Miller  <davem@davemloft.net>
82038         [BZ #13967]
82039         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82040         where the is a gap between DT_REL(A) and DT_JMPREL.
82042 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82044         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82045         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82046         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82048 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82050         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82051         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82052         (dl_main): Handle --inhibit-cache.
82053         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82054         _dl_inhibit_cache.
82055         * elf/dl-load.c (_dl_map_object): Use it.
82056         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82058 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82060         [BZ #13872]
82061         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82062         (__ieee754_powl): Saturate large exponents rather than testing for
82063         overflow of y*log2(x).
82064         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82065         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82066         exceptions.
82068         [BZ #11521]
82069         * math/s_ctan.c: Include <float.h>.
82070         (__ctan): Avoid internal overflow or cancellation in calculating
82071         denominator.
82072         * math/s_ctanf.c: Likewise.
82073         * math/s_ctanl.c: Likewise.
82074         * math/s_ctanh.c: Likewise.
82075         * math/s_ctanhf.c: Likewise.
82076         * math/s_ctanhl.c: Likewise.
82077         * math/libm-test.inc (ctan_test): Add more tests.
82078         (ctanh_test): Likewise.
82079         * sysdeps/i386/fpu/libm-test-ulps: Update.
82080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82082 2012-04-09  Andreas Jaeger  <aj@suse.de>
82084         [BZ #6894]
82085         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82086         is an optional BSD extension.
82088         [BZ #10254]
82089         * manual/stdio.texi (Opening Streams): Document additional fopen
82090         parameters.
82092 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82094         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82095         %eax without telling the compiler.
82097 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82099         [BZ # 13963]
82100         * manual/install.texi: Use sourceware.org.
82102 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82104         [BZ #13873]
82105         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82106         (__ieee754_pow): Generate overflow and underflow using huge*huge
82107         and tiny*tiny rather than just returning constant infinity or zero
82108         for large exponents.
82109         * math/libm-test.inc (pow_test): Require overflow exceptions for
82110         applicable cases of large exponents.
82112         [BZ #706]
82113         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82114         (__ieee754_pow): Use iterative multiplication algorithm only for
82115         integer exponents with absolute value below 1024.  Check for odd
82116         integer exponents when using algorithm for real exponents.
82117         * math/libm-test.inc (pow_test): Add more tests.
82118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82120 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82122         [BZ #13705]
82123         * math/libm-test.inc (exp_test): Do not allow overflow exception
82124         on underflow test.
82126 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82128         [BZ #13705]
82129         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82130         instead of __kernel_standard_f.
82132 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82134         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82135         * sysdeps/x86_64/memset_chk.S: Likewise.
82137 2012-04-08  Andreas Jaeger  <aj@suse.de>
82139         [BZ #10153]
82140         * manual/startup.texi (Environment Access): Describe return value
82141         for putenv and setenv.
82143         [BZ #6895]
82144         * manual/filesys.texi (Directory Entries): Add description for
82145         DT_LNK.
82147         [BZ #6890]
82148         * manual/filesys.texi (Directory Entries): Clarify that it's file
82149         system not operating system in the description of DT_UNKNOWN.
82151         [BZ #6578]
82152         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82154 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82156         [BZ #6649]
82157         * manual/llio.texi (Opening and Closing Files): Add cross
82158         reference to explain mode argument.
82160 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82162         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82163         * sysdeps/x86_64/memset_chk.S: Likewise.
82165 2012-04-07  David S. Miller  <davem@davemloft.net>
82167         * elf/elf.h (R_SPARC_WDISP10): Define.
82168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82169         R_SPARC_SIZE32.
82170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82171         R_SPARC_SIZE64 and R_SPARC_H34.
82173 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82175         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82176         conditions and remove no longer applicable assertion.
82178 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82180         * bits/byteswap.h: Include <features.h>.
82181         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82182         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82184 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82186         * bits/byteswap.h (__bswap_16): Removed.
82187         Include <bits/byteswap-16.h> to get __bswap_16.
82188         * sysdeps/i386/bits/byteswap.h: Likewise.
82189         * sysdeps/s390/bits/byteswap.h: Likewise.
82190         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82191         * bits/byteswap-16.h: New file.
82192         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82193         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82194         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82195         * string/Makefile (headers): Add bits/byteswap-16.h.
82197 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82199         [BZ #13895]
82200         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82201         extra indirection.
82202         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82203         * nss/tst-nss-static.c: New.
82205 2012-04-06  Robert Millan  <rmh@gnu.org>
82207         [BZ #6486]
82208         * manual/llio.texi (File Position Primitive): lseek
82209         refers to WHENCE when it really means OFFSET.
82211 2012-04-06  Andreas Jaeger  <aj@suse.de>
82213         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82214         strncmp declarations.
82216         * abilist/libc.abilist: Add __poll and __ppoll.
82218 2012-04-05  David S. Miller  <davem@davemloft.net>
82220         * scripts/check-local-headers.sh: Accept a host triplet in the
82221         path matched by the exclude regexp.
82223         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82224         definition.
82225         * sysdeps/powerpc/powerpc32/dl-machine.h
82226         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82227         * sysdeps/s390/s390-32/dl-machine.h
82228         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82229         * sysdeps/sparc/sparc32/dl-machine.h
82230         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82231         * sysdeps/sparc/sparc64/dl-machine.h
82232         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82234         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82235         lazy binding.
82236         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82237         undefined symbol errors.
82239         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82240         DT_NEEDED entries.
82242 2012-04-05  Michael Matz  <matz@suse.de>
82244         [BZ #13592]
82245         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82247 2012-04-05  Andreas Jaeger  <aj@suse.de>
82249         [BZ #13908]
82250         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82251         comment.
82253 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82255         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82256         which ROUND is no valid rounding mode.
82258 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82260         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82261         read again.
82262         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82264 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82266         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82267         an exception using FPU order intentionally.
82269 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82271         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82272         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82273         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82274         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82276 2012-04-05  Simon Josefsson  <simon@josefsson.org>
82278         [BZ #12340]
82279         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82280         EINVAL when BUFLEN is too smal.
82282 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
82284         [BZ #13553]
82285         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82286         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82288 2012-04-03  Andreas Jaeger  <aj@suse.de>
82290         [BZ #13938]
82291         * manual/setjmp.texi (System V contexts): Fix sentence.
82293         [BZ #13926]
82294         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82295         New macro for this case.
82296         [!__GNUC__] (__bswap_64): New inline function for this case.
82297         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82298         * bits/byteswap.h: Likewise.
82299         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82300         ull, guard with __GLIBC_HAVE_LONG_LONG.
82302         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82303         __GLIBC_HAVE_LONG_LONG.
82305         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82306         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82308 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82310         [BZ #13691]
82311         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82312         inptr and inend, rather than using last_ch.
82314 2012-04-02  David S. Miller  <davem@davemloft.net>
82316         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82317         * stdio-common/printf-parse.h (read_int): Change return type to
82318         'int', return -1 on INT_MAX overflow.
82319         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82320         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
82321         overflows INT_MAX.  Check for overflow of in-format-string precision
82322         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
82323         SIZE_MAX not INT_MAX for integer overflow test.
82324         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82325         skip the construct in the format string but do not record anything.
82326         * stdio-common/bug22.c: Adjust to test both width/prevision
82327         INT_MAX overflow as well as total length INT_MAX overflow.  Check
82328         explicitly for proper errno values.
82330 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
82332         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82333         CHAR_MAX.
82334         * string/test-strcmp.c [! WIDE]: Likewise.
82335         * time/tst-mktime2.c: Likewise for INT_MAX.
82336         * string/test-string.h: #include <sys/param.h> for MIN.
82338         * csu/init-first.c (__libc_init_first): Call __ctype_init.
82339         * sysdeps/i386/init-first.c (init): Likewise.
82340         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82341         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82342         * sysdeps/sh/init-first.c (init): Likewise.
82344 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
82346         * po/ru.po: Update from translation team.
82347         * po/vi.po: Likewise.
82349 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
82351         * resolv/nss_dns/dns-host.c: Merge copyright years.
82353 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82355         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82356         Optimize memcpy with prefetch if
82357         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
82358         src, dst pointers have unequal 16 byte alignments.
82360 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
82362         [BZ #13928]
82363         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82364         from a CNAME entry and return the minimum ttl for the query.
82365         (gaih_getanswer_slice): Likewise.
82367 2012-03-30  Jeff Law  <law@redhat.com>
82369         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82370         due to long keys.
82371         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82372         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82374         * resolv/nss_dns/dns-host.c: Update copyright year.
82376 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
82378         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82379         requests to save a system call.  Fix check that all bytes are sent.
82381         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82382         comments for sendmmsg.
82384 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82386         [BZ #13691]
82387         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82388         with only 1 character between 0x0041 and 0x01b0.
82389         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82390         * wcsmbs/tst-mbsnrtowcs.c: New file.
82392 2012-03-29  David S. Miller  <davem@davemloft.net>
82394         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82395         small copies by hand.
82397 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82399         [BZ #13761]
82400         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82401         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82402         group memberships.
82404 2012-03-28  David S. Miller  <davem@davemloft.net>
82406         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82407         that branches into memcpy.
82408         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82409         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82411         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82413         bits.
82414         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82415         implementation too.
82416         * sysdeps/sparc/mempcpy.S: New file.
82418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82419         the IFUNC routine in the libc case.
82420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82422         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82423         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82424         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82425         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82426         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82427         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82428         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82429         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82431         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82432         loop to 256 bytes instead of 64 bytes and fix test signedness.
82434         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82435         * sysdeps/sparc/sparc32/Makefile: rather than here...
82436         * sysdeps/sparc/sparc64/Makefile: and here.
82438 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82440         * malloc/mallocbug.c: Avoid warnings about unused variables.
82442 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82444         [BZ #13760]
82445         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82446         in the right place. Discard and retry query if response is
82447         larger than input buffer size.
82449 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82451         [BZ #369]
82452         [BZ #2678]
82453         [BZ #3866]
82454         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82455         x for large integer exponent.
82456         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82457         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82458         sign of result as needed afterwards.
82459         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82460         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82461         result for underflowing pow the same as for overflow.
82462         (__kernel_standard_l): Handle powl overflow and underflow here
82463         rather than calling __kernel_standard.
82464         * math/libm-test.inc (pow_test): Add more tests.
82466         [BZ #3868]
82467         [BZ #13879]
82468         [BZ #13910]
82469         [BZ #13911]
82470         [BZ #13912]
82471         [BZ #13913]
82472         [BZ #13915]
82473         [BZ #13916]
82474         [BZ #13917]
82475         [BZ #13918]
82476         [BZ #13919]
82477         [BZ #13920]
82478         [BZ #13921]
82479         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82480         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82481         (__kernel_standard_l): New function.
82482         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82483         __kernel_standard.
82484         * math/w_acosl.c (__acosl): Likewise.
82485         * math/w_asinl.c (__asinl): Likewise.
82486         * math/w_atan2l.c (__atan2l): Likewise.
82487         * math/w_atanhl.c (__atanhl): Likewise.
82488         * math/w_coshl.c (__coshl): Likewise.
82489         * math/w_exp10l.c (__exp10l): Likewise.
82490         * math/w_exp2l.c (__exp2l): Likewise.
82491         * math/w_fmodl.c (__fmodl): Likewise.
82492         * math/w_hypotl.c (__hypotl): Likewise.
82493         * math/w_j0l.c (__j0l, __y0l): Likewise.
82494         * math/w_j1l.c (__j1l, __y1l): Likewise.
82495         * math/w_jnl.c (__jnl, __ynl): Likewise.
82496         * math/w_lgammal.c (__lgammal): Likewise.
82497         * math/w_log10l.c (__log10l): Likewise.
82498         * math/w_log2l.c (__log2l): Likewise.
82499         * math/w_logl.c (__logl): Likewise.
82500         * math/w_powl.c (__powl): Likewise.
82501         * math/w_remainderl.c (__remainderl): Likewise.
82502         * math/w_scalbl.c (sysv_scalbl): Likewise.
82503         * math/w_sinhl.c (__sinhl): Likewise.
82504         * math/w_sqrtl.c (__sqrtl): Likewise.
82505         * math/w_tgammal.c (__tgammal): Likewise.
82506         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82507         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82508         * math/libm-test.inc (acos_test): Add more tests.
82509         (acosh_test): Likewise.
82510         (asin_test): Likewise.
82511         (atanh_test): Likewise.
82512         (exp_test): Likewise.
82513         (exp10_test): Likewise.
82514         (exp2_test): Likewise.
82515         (expm1_test): Likewise.
82516         (lgamma_test): Likewise.
82517         (log_test): Likewise.
82518         (log10_test): Likewise.
82519         (log1p_test): Likewise.
82520         (log2_test): Likewise.
82521         (pow_test): Do not allow some spurious overflow exceptions.
82522         (sqrt_test): Add more tests.
82523         (tgamma_test): Likewise.
82524         (y0_test): Likewise.
82525         (y1_test): Likewise.
82526         (yn_test): Likewise.
82528 2012-03-27  Anton Blanchard  <anton@samba.org>
82530         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82531         MAP_HUGETLB.
82532         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82533         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82534         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82536 2012-03-27  David S. Miller  <davem@davemloft.net>
82538         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82540         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82541         have-as-vis3 check.
82543 2012-03-27  Andreas Jaeger  <aj@suse.de>
82545         * sysdeps/x86_64/elf/configure.in: Moved to ...
82546         * sysdeps/x86_64/configure.in: ... here.
82547         * sysdeps/x86_64/elf/start.S: Moved to ...
82548         * sysdeps/x86_64/start.S: ... here.
82549         * sysdeps/x86_64/elf/configure: Delete.
82551         * sysdeps/x86_64/configure.in: Merge contents from
82552         sysdeps/i386/configure.in (without i686 check).
82554         * sysdeps/i386/elf/Versions: Merge into ...
82555         * sysdeps/i386/Versions: ... this.
82556         * sysdeps/i386/elf/Versions: Delete file.
82557         * sysdeps/i386/elf/start.S: Moved to ...
82558         * sysdeps/i386/start.S: ...here.
82559         * sysdeps/i386/elf/configure.in: Merge into...
82560         * sysdeps/i386/configure.in: ...here.
82561         * sysdeps/i386/elf/configure.in: Delete file.
82562         * sysdeps/i386/elf/configure: Delete file.
82564         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82565         * debug/backtracesyms.c: ... here.
82566         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82567         * debug/backtracesymsfd.c: ... here.
82568         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82569         * sysdeps/generic/ifunc-sel.h: ... here.
82571         * sysdeps/unix/i386/start.c: Delete file.
82572         * sysdeps/unix/sparc/start.c: Delete file.
82573         * sysdeps/unix/start.c: Delete file.
82575         * sysdeps/sh/elf/configure.in: Moved to ...
82576         * sysdeps/sh/configure.in: ... here.
82577         * sysdeps/sh/elf/start.S: Moved to ...
82578         * sysdeps/sh/start.S: ... here.
82579         * sysdeps/sh/elf/configure: Delete file.
82581         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82582         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82583         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82584         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82585         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82586         * sysdeps/powerpc/powerpc64/start.S: here.
82587         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82588         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82589         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82590         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82591         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82593         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82594         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82595         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82596         * sysdeps/powerpc/powerpc32/start.S: ... here.
82597         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82598         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82599         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82601         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82602         * sysdeps/powerpc/ifunc-sel.h: ... here.
82603         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82604         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82606         * sysdeps/sparc/elf/configure.in: Moved to ...
82607         * sysdeps/sparc/configure.in: ... here.
82608         * sysdeps/sparc/elf/configure: Delete file.
82609         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82610         * sysdeps/sparc/sparc32/start.S: ... here.
82611         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82612         * sysdeps/sparc/sparc64/start.S: ... here.
82613         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82614         * sysdeps/sparc/sparc32/Makefile: ... this.
82615         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82616         * sysdeps/sparc/sparc64/Makefile: ... this.
82618         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82619         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82620         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82621         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82622         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82623         * sysdeps/s390/s390-32/setjmp.S: ... here.
82624         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82625         * sysdeps/s390/s390-32/configure.in: ... here.
82626         * sysdeps/s390/s390-32/elf/configure: Delete file.
82627         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82628         * sysdeps/s390/s390-32/start.S: ... here.
82630         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82631         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82632         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82633         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82634         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82635         * sysdeps/s390/s390-64/setjmp.S: ... here.
82636         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82637         * sysdeps/s390/s390-64/configure.in: ... here
82638         * sysdeps/s390/s390-64/elf/configure: Delete file.
82639         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82640         * sysdeps/s390/s390-64/start.S: ... here.
82641         * sysdeps/s390/s390-64/elf/configure: Delete.
82643         * configure.in: Remove support for elf directories in sysdeps.
82645         * configure: Regenerated.
82646         * sysdeps/i386/configure: Regenerated.
82647         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82648         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82649         * sysdeps/s390/s390-32/configure: Regenerated.
82650         * sysdeps/s390/s390-64/configure: Regenerated.
82651         * sysdeps/sh/configure: Regenerated.
82652         * sysdeps/sparc/configure: Regenerated.
82653         * sysdeps/x86_64/configure: Regenerated.
82655 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82659         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82660         denormal result into account.
82662 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82664         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82665         Reported by Allan McRae <allan@archlinux.org>.
82667 2012-03-23  Jeff Law  <law@redhat.com>
82669         * nss/getnssent.c (__nss_getent): Fix typo.
82671 2012-03-23  David S. Miller  <davem@davemloft.net>
82673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82675 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82677         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82678         to pad to uint64_t for each field.
82679         (dl_tls_index): Replace unsigned long with uint64_t.
82681 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82682         Paul Pluzhnikov  <ppluzhnikov@google.com>
82684         [BZ #6528]
82685         * grp/Makefile (otherlibs): Don't set it.
82686         * inet/Makefile (otherlibs): Likewise.
82687         * login/Makefile (otherlibs): Likewise.
82688         * nscd/Makefile (otherlibs): Likewise.
82689         * posix/Makefile (otherlibs): Likewise.
82690         * pwd/Makefile (otherlibs): Likewise.
82691         * rt/Makefile (otherlibs): Likewise.
82692         * sunrpc/Makefile (otherlibs): Likewise.
82693         * nss/Makefile (otherlibs): Likewise.
82694         Add libnss_files to routines and static-only-routines.
82695         ($(objpfx)getent): Remove rule.
82696         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82697         static-only-routines.
82699 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82701         [BZ #13892]
82702         * math/s_cexp.c: Include <float.h>.
82703         (__cexp): Handle exp result overflowing not necessarily
82704         overflowing both real and imaginary parts of result.
82705         * math/s_cexpf.c: Likewise.
82706         * math/s_cexpl.c: Likewise.
82707         * math/libm-test.inc (cexp_test): Add more tests.
82708         * sysdeps/i386/fpu/libm-test-ulps: Update.
82709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82711 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82713         * include/link.h (ELFW): New macro.
82714         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82715         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82717 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82719         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82720         with uint64_t.
82722 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82724         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82725         declaration.
82726         (struct La_x32_retval): Likewise.
82728 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82730         * sysdeps/x86_64/preconfigure.in: New file.
82731         * sysdeps/x86_64/preconfigure: New generated file.
82733 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82735         [BZ #13824]
82736         * math/e_exp2l.c: Include <float.h>.
82737         (__ieee754_exp2l): Handle overflow and underflow cases
82738         separately.  Only pass fractional part of argument to
82739         __ieee754_expl.
82740         * math/libm-test.inc (exp2_test): Add more tests.
82742         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82743         negating x to take absolute value.
82744         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82745         Likewise.
82746         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82748         Likewise.
82749         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82750         computing low part if x was negated.
82751         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82753 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82755         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82756         la_x32_gnu_pltexit.
82757         (pltexit): Cast int_retval to ptrdiff_t.
82758         * elf/tst-auditmod3b.c: Likewise.
82759         * elf/tst-auditmod4b.c: Likewise.
82760         * elf/tst-auditmod5b.c: Likewise.
82761         * elf/tst-auditmod6b.c: Likewise.
82762         * elf/tst-auditmod6c.c: Likewise.
82763         * elf/tst-auditmod7b.c: Likewise.
82765         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82766         and x32_gnu_pltexit.
82768         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82769         __ELF_NATIVE_CLASS.
82770         (La_x32_regs): New macro.
82771         (La_x32_retval): Likewise.
82772         (la_x32_gnu_pltenter): New function prototype.
82773         (la_x32_gnu_pltexit): Likewise.
82775 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82777         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82778         exponent.
82780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82782         * configure.in (libc_cv_cc_nofma): Check for option to disable
82783         generation of FMA instructions.
82784         * configure: Regenerate.
82785         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82786         * sysdeps/ieee754/dbl-64/Makefile: New file.
82787         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82788         Remove brandred-fma4.
82789         (CFLAGS-brandred-fma4.c): Remove.
82790         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82791         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82792         define.
82793         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82794         define.
82796 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82798         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82799         LLONG_MAX != LONG_MAX.
82800         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82801         (_fitoa_word): Likewise.
82802         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82803         LLONG_MAX != LONG_MAX.
82804         * stdio-common/_itowa.h: Include <_itoa.h>.
82805         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82806         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82807         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82808         only if not defined.
82809         (_ITOA_WORD_TYPE): Likewise.
82810         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82811         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82813 2012-03-21  David S. Miller  <davem@davemloft.net>
82815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82817 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82819         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82820         of x86_64 when setting libc_cv_slibdir, libdir and
82821         libc_cv_localedir.
82822         * sysdeps/unix/sysv/linux/configure: Regenerated.
82824 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82826         * manual/lang.texi (Old Varargs): Remove section.
82827         (How Variadic): Update menu.
82828         (va_start): Do not mention varargs.h.
82830 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82831             Joseph Myers  <joseph@codesourcery.com>
82833         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82834         link test.
82835         * configure: Regenerated.
82837 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82839         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82840         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82841         conformtest.pl
82843 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82845         * NOTES: Remove.
82846         * Makefile (files-for-dist): Remove NOTES.
82847         (NOTES): Remove rule.
82848         * README: Don't refer to NOTES.
82849         * manual/creature.texi: Don't include macros.texi.
82850         * manual/intro.texi (creature.texi): Remove comment referring to
82851         NOTES.
82853         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82854         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82855         * configure: Regenerated.
82856         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82857         LIBC_TRY_CC_OPTION.
82858         (libc_cv_as_i686): Likewise.
82859         (libc_cv_cc_avx): Likewise.
82860         (libc_cv_cc_sse2avx): Likewise.
82861         (libc_cv_cc_fma4): Likewise.
82862         (libc_cv_cc_novzeroupper): Likewise.
82863         * sysdeps/i386/configure: Regenerated.
82865         [BZ #13883]
82866         * sysdeps/i386/fpu/s_cexp.S: Remove.
82867         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82868         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82869         * math/libm-test.inc (cexp_test): Add more tests.
82870         * sysdeps/i386/fpu/libm-test-ulps: Update.
82871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82873 2012-03-21  Allan McRae  <allan@archlinux.org>
82875         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82877 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82879         [BZ #13871]
82880         * math/w_exp2.c: Do not include <float.h>.
82881         (o_threshold, u_threshold): Remove.
82882         (__exp2): Calculate result before checking finiteness and calling
82883         __kernel_standard.
82884         * math/w_exp2f.c: Likewise.
82885         * math/w_exp2l.c: Likewise.
82886         * math/libm-test.inc (exp2_test): Require overflow exception for
82887         1e6 input.
82889         [BZ #3866]
82890         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82891         range of signed 64-bit integers before using fistpll.  Remove
82892         checks for whether integers fit in mantissa bits.
82893         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82894         the range of signed 32-bit integers before using fistpl.  Remove
82895         checks for whether integers fit in mantissa bits.
82896         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82897         (__ieee754_powl): Test for y outside the range of signed 64-bit
82898         integers before using fistpll.  Reduce 64-bit values to 63-bit
82899         ones as needed.
82900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82901         divide-by-zero is raised for zero to large negative powers.
82902         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82903         (__ieee754_powl): Test for y outside the range of signed 64-bit
82904         integers before using fistpll.  Reduce 64-bit values to 63-bit
82905         ones as needed.
82906         * math/libm-test.inc (pow_test): Add more tests.
82908 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82910         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82911         <stdio-common/_itoa.h>.
82912         * debug/segfault.c: Likewise.
82913         * elf/dl-cache.c: Likewise.
82914         * elf/dl-minimal.c: Likewise.
82915         * elf/dl-misc.c: Likewise.
82916         * elf/dl-sysdep.c: Likewise.
82917         * elf/dl-version.c: Likewise.
82918         * elf/rtld.c: Likewise.
82919         * hurd/hurdsock.c: Likewise.
82920         * hurd/lookup-retry.c: Likewise.
82921         * malloc/malloc.c: Likewise.
82922         * malloc/mtrace.c: Likewise.
82923         * nscd/nscd_getgr_r.c: Likewise.
82924         * nscd/nscd_getpw_r.c: Likewise.
82925         * nscd/nscd_getserv_r.c: Likewise.
82926         * posix/getopt_init.c: Likewise.
82927         * posix/wordexp.c: Likewise.
82928         * stdio-common/_itoa.c: Likewise.
82929         * stdio-common/printf_fphex.c: Likewise.
82930         * stdio-common/vfprintf.c: Likewise.
82931         * string/_strerror.c: Likewise.
82932         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82933         * sysdeps/i386/i686/hp-timing.h: Likewise.
82934         * sysdeps/mach/_strerror.c: Likewise.
82935         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82936         * sysdeps/mach/hurd/sethostid.c: Likewise.
82937         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82938         * sysdeps/mach/xpg-strerror.c: Likewise.
82939         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82940         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82941         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82942         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82943         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82944         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82945         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82946         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82947         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82948         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82949         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82950         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82951         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82952         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82953         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82954         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82955         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82956         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82957         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82958         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82959         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82961         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82963         * stdio-common/_itoa.h: Moved to ...
82964         * sysdeps/generic/_itoa.h: Here.
82966         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82968         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82969         instead of "_itoa.h" and "_itowa.h".
82970         * stdio-common/vfprintf.: Likewise.
82972 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82974         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82975         <bits/wordsize.h>.
82976         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82977         (__signbit): Likewise.
82978         (llrintf): Likewise.
82979         (llrint): Likewise.
82981 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82983         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82984         __WORDSIZE != 64.
82986 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82988         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82989         OVERFLOW_EXCEPTION_OK.
82990         * math/libm-test.inc ("Philosophy"): Update comment about
82991         exception testing.
82992         (OVERFLOW_EXCEPTION): Define.
82993         (OVERFLOW_EXCEPTION_OK): Likewise.
82994         (INVALID_EXCEPTION_OK): Renumber.
82995         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82996         (IGNORE_ZERO_INF_SIGN): Likewise.
82997         (test_exceptions): Handle FE_OVERFLOW.
82998         (exp10_test): Expect overflow exceptions.
82999         (exp2_test): Likewise.
83000         (expm1_test): Likewise.
83001         (nextafter_test): Likewise.
83002         (pow_test): Likewise.
83003         (scalbn_test): Likewise.
83004         (scalbln_test): Likewise.
83006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83008         * sysdeps/x86_64/bits/atomic.h
83009         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83010         64bit integer.
83011         (atomic_exchange_acq): Likewise.
83012         (__arch_exchange_and_add_body): Likewise.
83013         (__arch_add_body): Likewise.
83014         (atomic_add_negative): Likewise.
83015         (atomic_add_zero): Likewise.
83017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83019         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83020         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83024         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83025         Check __x86_64__ instead of __WORDSIZE.
83027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83029         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83031 2012-03-19  David S. Miller  <davem@davemloft.net>
83033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83035         * sysdeps/sparc/fpu/fenv_private.h: New file.
83036         * sysdeps/sparc/fpu/math_private.h: Use it.
83037         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83038         Remove.
83039         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83040         (libc_feholdexcept_setroundl): Remove.
83041         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83042         Remove.
83043         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83044         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83048         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83049         int64_t instead of long int.
83050         (INSERT_WORDS64): Likewise.
83052 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83054         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83055         _Unwind_GetCFA return to _Unwind_Ptr first.
83057 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83059         [BZ #13629]
83060         * math/s_clog.c: Include <float.h>.
83061         (__clog): Scale large or subnormal inputs.
83062         * math/s_clogf.c: Likewise.
83063         * math/s_clogl.c: Likewise.
83064         * math/s_clog10.c: Include <float.h>.
83065         (M_LOG10_2): Define.
83066         (__clog10): Scale large or subnormal inputs.
83067         * math/s_clog10f.c: Likewise.
83068         * math/s_clog10l.c: Likewise.
83069         * math/libm-test.inc (clog_test): Add more tests.
83070         (clog10_test): Likewise.
83071         * sysdeps/i386/fpu/libm-test-ulps: Update.
83072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83074         [BZ #11451]
83075         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83076         x and y.
83077         * math/libm-test.inc (atan2_test): Add another test.
83079         * Makerules (common-objdir-compile): Remove.
83080         * sysdeps/unix/Makefile (config-generated): Do not add
83081         $(unix-generated) to variable.
83082         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83083         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83084         Remove rule.
83085         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83086         Likewise.
83087         [generic bits/local_lim.h] (before-compile): Do not append to
83088         variable.
83089         [generic bits/local_lim.h] (common-generated): Likewise.
83090         [generic sys/param.h] (before-compile): Do not append to variable.
83091         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83092         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83093         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83094         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83095         include.
83096         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83097         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83098         [generic sys/param.h] ($(addprefix
83099         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83100         [generic sys/param.h] (common-generated): Do not append to
83101         variable.
83102         [generic sys/param.h] (sysdep_headers): Likewise.
83103         [generic bits/errno.h] (before-compile): Do not append to
83104         variable.
83105         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83106         rule.
83107         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83108         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83109         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83110         [generic bits/errno.h] (common-generated): Do not append to
83111         variable.
83112         [generic bits/ioctls.h] (before-compile): Do not append to
83113         variable.
83114         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83115         rule.
83116         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83117         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83118         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83119         rule.
83120         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83121         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83122         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83123         [generic bits/ioctls.h] (common-generated): Do not append to
83124         variable.
83125         [generic sys/syscall.h] (syscall.h): Remove variable.
83126         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83127         rule.
83128         [generic sys/syscall.h] (before-compile): Do not append to
83129         variable.
83130         [generic sys/syscall.h] (common-generated): Likewise.
83131         * sysdeps/unix/errnos-tmpl.c: Remove file.
83132         * sysdeps/unix/errnos.awk: Likewise.
83133         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83134         * sysdeps/unix/ioctls.awk: Likewise.
83135         * sysdeps/unix/mk-local_lim.c: Likewise.
83136         * sysdeps/unix/snarf-ioctls: Likewise.
83138 2012-03-19  Richard Henderson  <rth@twiddle.net>
83140         * sysdeps/i386/fpu/fenv_private.h: New file.
83141         * sysdeps/i386/fpu/math_private.h: Use it.
83142         (math_opt_barrier, math_force_eval): Remove.
83143         (libc_feholdexcept_setround_53bit): Remove.
83144         (libc_feupdateenv_53bit): Remove.
83145         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83146         (math_opt_barrier, math_force_eval): Remove.
83147         (libc_feholdexcept): Remove.
83148         (libc_feholdexcept_setround): Remove.
83149         (libc_fetestexcept, libc_fesetenv): Remove.
83150         (libc_feupdateenv_test): Remove.
83151         (libc_feupdateenv, libc_feholdsetround): Remove.
83152         (libc_feresetround): Remove.
83154         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83155         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83157         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83158         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83159         (libc_feupdateenv_testl): New.
83160         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83161         (libc_feupdateenv_testf): New.
83162         (libc_feupdateenv): Use libc_feupdateenv_test.
83163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83164         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83166         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83167         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83168         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83169         (libc_feresetround_noex): New.
83170         (libc_feresetround_noexf): New.
83171         (libc_feresetround_noexl): New.
83172         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83173         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83174         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83175         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83176         SET_RESTORE_ROUND.
83177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83179         (__cos): Likewise.
83180         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83181         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83182         SET_RESTORE_ROUND_NOEX.
83183         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83184         SET_RESTORE_ROUND_NOEXF.
83185         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83186         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83187         (libc_feholdsetroundf): New.
83188         (libc_feresetround, libc_feresetroundf): New.
83190         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83191         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83192         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83194         * sysdeps/generic/math_private.h: Include <fenv.h>.
83195         (default_libc_feholdexcept): New.
83196         (default_libc_feholdexcept_setround): New.
83197         (default_libc_fesetenv, default_libc_feupdateenv): New.
83198         (libc_feholdexcept): Only define if undefined.
83199         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83200         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83201         (libc_feholdexcept_setroundl): Likewise.
83202         (libc_feholdexcept_setround_53bit): Likewise.
83203         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83204         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83205         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83206         (libc_feupdateenv_53bit): Likewise.
83207         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83208         (libc_feholdexcept): Convert from macro to inline function.
83209         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83210         (libc_fesetenv, libc_feupdateenv): Likewise.
83212         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83213         not previously defined.
83214         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83215         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83216         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83217         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83218         * sysdeps/ieee754/flt-32/math_private.h: New file.
83219         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83220         math_private.h below SET_FLOAT_WORD.
83221         (__isnan, __isinf_ns, __finite): Remove.
83222         (__isnanf, __isinf_nsf, __finitef): Remove.
83224 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83228 2012-03-17  David S. Miller  <davem@davemloft.net>
83230         [BZ #6471]
83231         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83232         for 2.16.
83234 2012-03-16  David S. Miller  <davem@davemloft.net>
83236         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83237         warnings.
83239         [BZ #6471]
83240         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83241         properly.
83242         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83243         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83244         sysdep_routines when subdir is sysvipc.
83245         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83246         __getshmlba helper.
83248         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83250 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83252         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83253         [__LP64__].
83255 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83257         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83258         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83259         (__lround): Renamed to ...
83260         (__llround): This.  Replace long int with long long int.
83261         Define lround functions as aliases of llround functions.
83262         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83264 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83266         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83267         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
83268         adresses to uintptr_t.  Replace "long int" and "unsigned long
83269         int" with "greg_t" on va_arg.
83271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83273         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83274         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83276         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83277         Move e_machine check before EI_CLASS check.  Handle x32
83278         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83279         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83280         SKIP_EM_IA_64 and include
83281         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83283         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83284         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83285         (add_system_dir): New macro.
83287         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83288         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83290 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83292         [BZ #2551]
83293         [BZ #2552]
83294         [BZ #2553]
83295         [BZ #2554]
83296         [BZ #2562]
83297         [BZ #2563]
83298         [BZ #2565]
83299         [BZ #2566]
83300         [BZ #2576]
83301         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83302         (y0): Likewise.
83303         * math/w_j0f.c (j0f): Likewise.
83304         (y0f): Likewise.
83305         * math/w_j0l.c (__j0l): Likewise.
83306         (__y0l): Likewise.
83307         * math/w_j1.c (j1): Likewise.
83308         (y1): Likewise.
83309         * math/w_j1f.c (j1f): Likewise.
83310         (y1f): Likewise.
83311         * math/w_j1l.c (__j1l): Likewise.
83312         (__y1l): Likewise.
83313         * math/w_jn.c (jn): Likewise.
83314         (yn): Likewise.
83315         * math/w_jnf.c (jnf): Likewise.
83316         (ynf): Likewise.
83317         * math/w_jnl.c (__jnl): Likewise.
83318         (__ynl): Likewise.
83319         * math/libm-test.inc (j0_test): Add more tests.
83320         (j1_test): Likewise.
83321         (jn_test): Likewise.  Add trailing semicolon to existing test.
83322         (y0_test): Likewise.
83323         (y1_test): Likewise.
83324         * sysdeps/i386/fpu/libm-test-ulps: Update.
83325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83327         [BZ #13851]
83328         [BZ #13854]
83329         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83330         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83331         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83332         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83333         (__tanl): Set errno for infinite argument.
83334         * sysdeps/i386/fpu/mptan.c: Remove.
83335         * sysdeps/i386/fpu/s_tan.S: Likewise.
83336         * sysdeps/i386/fpu/s_tanl.S: Likewise.
83337         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83338         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83339         * math/libm-test.inc (tan_test): Add more tests and enable more
83340         tests for double and long double.
83341         * sysdeps/i386/fpu/libm-test-ulps: Update.
83342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83344 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
83346         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83347         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83349 2012-03-16  Roland McGrath  <roland@hack.frob.com>
83351         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83352         * configure.in: Use it for both main tree and add-ons.
83353         * configure: Regenerated.
83355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83357         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83359 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83361         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83362         in comment.
83364         [BZ #13851]
83365         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83366         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83367         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83368         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83369         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83370         infinite argument.
83371         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83372         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83373         != 0 for prec == 2.
83374         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83375         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83376         * sysdeps/i386/fpu/s_cosl.S: Likewise.
83377         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83378         * sysdeps/i386/fpu/s_sinl.S: Likewise.
83379         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83380         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83381         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83382         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83383         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83384         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83385         * math/libm-test.inc (cos_test): Add more tests and enable more
83386         tests for long double.
83387         (sin_test): Likewise.
83388         (sincos_test): Likewise.
83389         * sysdeps/i386/fpu/libm-test-ulps: Update.
83390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83392 2012-03-16  David S. Miller  <davem@davemloft.net>
83394         * sysdeps/sparc/fpu/math_private.h: New file.
83396 2012-03-15  David S. Miller  <davem@davemloft.net>
83398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83399         file.
83400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83402         file.
83403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83409         sysdep routines.
83410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83412         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83413         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83415         * sysdeps/sparc/sparc-ifunc.h: New file.
83416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83417         sparc-ifunc.h
83418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83420         Likewise.
83421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83422         Likewise.
83423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83427         Likewise.
83428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83433         Likewise.
83434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83435         Likewise.
83436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83442         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83444         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83450         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83454         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83456         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83458         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83459         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83461 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83463         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83464         scaling.
83465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83467 2012-03-15  Andreas Jaeger  <aj@suse.de>
83469         [BZ #13852]
83470         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83471         ieee754/flt-32 implementation for sin, cos and sincos.
83472         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83473         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83474         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83475         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83476         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83477         ieee754/flt-32 implementation for tan.
83479         * math/libm-test.inc (cos_test): Enable some large input tests for
83480         float as well
83481         (sin_test): Likewise.
83482         (sincos_test): Likewise.
83483         (tan_test): Add tests for large input.
83485         * sysdeps/i386/fpu/libm-test-ulps: Update.
83487 2012-03-15  Andreas Jaeger  <aj@suse.de>
83489         [BZ #13658]
83490         * math/libm-test.inc (cos_test): Add more test cases.
83491         (sin_test): Likewise.
83492         (sincos_test): Likewise.
83494 2012-03-15  Andreas Jaeger  <aj@suse.de>
83496         [BZ #13837]
83497         * math/libm-test.inc (cos_test): Add a test case for large input
83498         value.
83499         (sin_test): Likewise.
83500         (sincos_test): Likewise.
83502 2012-03-15  Andreas Jaeger  <aj@suse.de>
83503             Joseph Myers  <joseph@codesourcery.com>
83505         [BZ #13658]
83506         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83507         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83508         * sysdeps/i386/fpu/branred.c: Likewise.
83509         * sysdeps/i386/fpu/dosincos.c: Likewise.
83510         * sysdeps/i386/fpu/mpa.c: Likewise.
83511         * sysdeps/i386/fpu/s_cos.S: Likewise.
83512         * sysdeps/i386/fpu/s_sin.S: Likewise.
83513         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83514         * sysdeps/i386/fpu/sincos32.c: Likewise.
83516         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83517         Define.
83518         (libc_feupdateenv_53bit): Define.
83519         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83520         Define.
83521         (libc_feupdateenv_53bit): Define.
83523         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83524         53 bit (without extend i386 double precision).
83526         * math/libm-test.inc (sincos_test): Add tests for large input.
83527         (sin): Likewise.
83528         (cos): Likewise.
83530         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83532 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83536 2012-03-15  David S. Miller  <davem@davemloft.net>
83538         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83539         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83540         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83541         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83554         file.
83555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83557         file.
83558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83560         file.
83561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83563         file.
83564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83566         fmin/fmax sysdep routines.
83567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83569 2012-03-14  David S. Miller  <davem@davemloft.net>
83571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83575         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83576         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83577         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83578         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83579         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83585         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83586         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83587         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83591         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83594         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83595         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83596         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83597         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83600         routines.
83601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83602         file.
83603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83605         file.
83606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83608         file.
83609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83611         file.
83612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83614         file.
83615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83617         file.
83618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83619         file.
83620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83621         file.
83622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83623         file.
83624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83625         New file.
83626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83627         file.
83628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83629         file.
83630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83632         file.
83633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83635         file.
83636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83638         file.
83639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83641         VIS3 routines.
83643         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83644         New file.
83646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83648         * sysdeps/sparc/configure.in: New file.
83649         * sysdeps/sparc/configure: Generate.
83650         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83651         * configure: Regenerate.
83652         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83653         * config.make.in (have-as-vis3): New.
83654         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83655         available use -Av9d instead of -Av9a.
83656         * sysdeps/sparc/sparc64/Makefile: Likewise.
83657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83659         New file.
83660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83661         file.
83662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83663         New file.
83664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83665         file.
83666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83667         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83672         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83673         fzeros/fnegs to load 0x80000000 into a float register instead of
83674         using the stack.
83675         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83677 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83680         bits/syscall.h.
83681         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83682         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83683         ($(inst_includedir)/bits/syscall.h): Remove rule.
83684         ($(objpfx)bits/syscall.d): Include instead of
83685         $(objpfx)syscall-list.d.
83686         (generated): Change syscall-list.h and syscall-list.d to
83687         bits/syscall.h and bits/syscall.d.
83689 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83691         [BZ #13846]
83692         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83694 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83696         [BZ #13841]
83697         * math/s_csqrt.c: Include <float.h>.
83698         (__csqrt): Scale large or subnormal inputs.
83699         * math/s_csqrtf.c: Likewise.
83700         * math/s_csqrtl.c: Likewise.
83701         * math/libm-test.inc (csqrt_test): Add more tests.
83702         * sysdeps/i386/fpu/libm-test-ulps: Update.
83703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83705         [BZ #13840]
83706         * math/libm-test.inc (hypot_test): Add more tests.
83708 2012-03-13  David S. Miller  <davem@davemloft.net>
83710         [BZ #13840]
83711         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83712         double-precision for the calculation instead of scaling.
83714 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83716         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83717         manipulate bits before adding and subtracting TWO52[sx].
83718         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83719         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83720         Likewise.
83721         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83723 2012-03-13  David S. Miller  <davem@davemloft.net>
83725         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83726         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83727         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83728         rtld-global-offsets.h
83729         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83731         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83732         large parameters.
83734         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83736         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83737         'err' in the ifdef scope in which it is actually used.
83739         * nss/nss_db/db-init.c: Include string.h
83741 2012-03-12  David S. Miller  <davem@davemloft.net>
83743         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83744         masking out of the most significant byte of random value used.
83745         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83746         Fix coding style in previous change.
83748         * sysdeps/unix/sysv/linux/kernel-features.h
83749         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83750         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83751         expression.
83752         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83753         later.
83755 2012-03-11  David S. Miller  <davem@davemloft.net>
83757         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83758         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83759         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83760         for 'resultvar' otherwise things get truncated on 64-bit.
83762         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83763         Fix masking out of the most significant byte of random value used.
83765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83767 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83771 2012-03-09  David S. Miller  <davem@davemloft.net>
83773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83774         variables with appropriate CPP guards.
83775         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83776         from the frame pointer, not the stack pointer.  Correct layout
83777         comments.  Fix test on resulting framesize and the management of
83778         the outregs buffer for pltexit.  Preserve floating point return
83779         values across _dl_call_pltexit call.
83780         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83781         framesize and the management of the outregs buffer for pltexit.
83782         Preserve floating point return values across _dl_call_pltexit
83783         call.
83784         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83785         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83786         (la_sparc64_gnu_pltexit): New functions.
83787         (print_exit): Fix format string for return register value.
83789 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83791         * sunrpc/Makefile (others): Add rpcgen.
83792         ($(objpfx)rpcgen): Remove special build rule and dependency on
83793         libc.
83794         * sunrpc/rpcgen.c: New file.
83796 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83798         [BZ #13673]
83799         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83800         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83801         * sysdeps/i386/crti.S: Likewise.
83802         * sysdeps/i386/crtn.S: Likewise.
83803         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83804         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83805         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83806         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83807         * sysdeps/sh/crti.S: Likewise.
83808         * sysdeps/sh/crtn.S: Likewise.
83809         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83811         [BZ #13673]
83812         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83813         with URL.
83814         * locale/programs/locfile-kw.gperf: Likewise.
83815         * locale/programs/charmap-kw.h: Regenerated.
83816         * locale/programs/locfile-kw.h: Likewise.
83818         [BZ #13673]
83819         * intl/plural.y: Replace FSF snail mail address with URL.
83820         * intl/plural.c: Regenerated.
83822 2012-03-09  Richard Henderson  <rth@twiddle.net>
83824         * include/math_private.h: Remove file.
83825         * math/math_private.h: Move file ...
83826         * sysdeps/generic/math_private.h: ... here.
83828         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83829         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83830         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83832         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83833         and <math_private.h>.
83834         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83835         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83836         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83837         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83838         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83839         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83840         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83841         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83842         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83843         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83844         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83845         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83846         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83847         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83848         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83849         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83850         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83851         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83852         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83853         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83854         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83855         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83856         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83858         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83859         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83860         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83861         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83862         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83864         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83865         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83866         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83867         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83868         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83869         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83870         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83871         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83872         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83873         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83874         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83875         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83876         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83877         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83878         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83879         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83880         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83881         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83883         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83884         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83885         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83886         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83887         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83888         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83889         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83890         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83891         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83892         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83893         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83894         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83895         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83896         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83897         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83898         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83899         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83900         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83901         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83902         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83903         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83904         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83905         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83906         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83907         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83908         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83909         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83912         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83913         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83914         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83915         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83917         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83918         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83919         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83921         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83922         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83923         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83924         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83925         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83926         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83927         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83928         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83929         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83930         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83931         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83932         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83933         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83934         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83935         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83936         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83937         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83938         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83939         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83940         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83941         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83942         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83943         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83944         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83945         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83946         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83947         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83948         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83949         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83950         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83951         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83952         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83953         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83954         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83955         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83956         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83957         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83958         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83959         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83960         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83961         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83962         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83963         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83964         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83965         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83966         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83967         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83968         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83969         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83970         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83971         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83972         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83973         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83974         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83975         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83976         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83977         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83978         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83979         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83980         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83981         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83982         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83983         * sysdeps/ieee754/k_standard.c: Likewise.
83984         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83985         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83986         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83987         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83988         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83989         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83990         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83991         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83992         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83995         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83996         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83997         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83998         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83999         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84000         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84001         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84002         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84003         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84004         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84005         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84006         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84007         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84008         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84009         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84010         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84011         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84012         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84013         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84015         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84016         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84017         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84018         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84019         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84020         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84021         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84022         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84023         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84024         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84025         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84026         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84027         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84028         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84029         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84032         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84034         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84035         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84036         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84037         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84038         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84040         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84041         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84042         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84043         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84044         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84045         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84046         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84047         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84049         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84050         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84051         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84052         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84053         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84054         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84056         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84057         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84059         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84060         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84061         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84063         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84064         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84065         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84066         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84067         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84068         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84069         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84070         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84071         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84072         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84073         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84074         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84075         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84076         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84077         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84079         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84080         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84081         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84082         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84085         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84087         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84088         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84089         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84090         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84091         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84092         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84093         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84094         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84095         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84096         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84097         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84098         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84099         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84100         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84101         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84102         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84103         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84104         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84105         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84106         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84107         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84108         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84109         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84110         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84111         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84112         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84113         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84114         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84115         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84116         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84117         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84118         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84119         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84120         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84121         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84122         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84123         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84124         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84125         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84126         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84127         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84128         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84129         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84130         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84131         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84132         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84133         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84134         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84135         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84136         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84137         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84138         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84139         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84140         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84141         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84142         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84143         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84144         * sysdeps/ieee754/s_lib_version.c: Likewise.
84145         * sysdeps/ieee754/s_matherr.c: Likewise.
84146         * sysdeps/ieee754/s_signgam.c: Likewise.
84147         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84148         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84149         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84150         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84151         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84152         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84153         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84154         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84155         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84156         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84157         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84158         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84159         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84160         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84161         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84162         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84163         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84165         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84169 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84171         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84172         * sunrpc/rpc_main.c: Likewise.
84173         * sunrpc/rpc_svcout.c: Likewise.
84175 2012-03-09  David S. Miller  <davem@davemloft.net>
84177         * include/math_private.h: New file.
84179 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84181         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84182         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84183         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84184         from <bits/socket_type.h>.
84185         (enum __socket_type): Don't define here.
84186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84188         bits/socket_type.h.
84190         [BZ #13566]
84191         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84192         checking __USE_GNU.
84194         * Makerules ($(inst_includedir)/%.h): New rule.
84195         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84196         (install-others): Remove variable setting.
84197         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84199 2012-03-08  Richard Henderson  <rth@twiddle.net>
84201         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84202         from macro to inline function; merge with the
84203         !__LIBC_INTERNAL_MATH_INLINES version.
84204         (__ieee754_sqrtf): Likewise.
84206         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84207         to inline function.
84208         (__rintf, __floor, __floorf): Likewise.
84210         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84211         macro to inline function.
84212         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84214         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84215         not <math/math_private.h>.
84217 2012-03-08  David S. Miller  <davem@davemloft.net>
84219         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84220         copyright year.
84221         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84223 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84225         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84226         normalization.
84227         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84228         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84230 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84232         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84233         be defined individually, they must be defined as a block.  Define
84234         S for printing a string instead of hidint the different by using a
84235         macro for adding the 'l'.
84236         * stdio-common/tst-fphex-wide.c: Adjust.
84238 2012-03-07  Marek Polacek  <polacek@redhat.com>
84240         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84242 2012-03-08  Marek Polacek  <polacek@redhat.com>
84244         [BZ #13806]
84245         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84246         * stdio-common/tst-fphex.c: Define a few macros to make the
84247         test reusable.  Use them.
84248         * stdio-common/tst-fphex-wide.c: New file.
84250 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84252         [BZ #6911]
84253         * manual/macros.texi (gnusystems): New macro.
84254         (nongnusystems): Likewise.
84255         (gnulinuxhurdsystems): Likewise.
84256         (gnuhurdsystems): Likewise..
84257         (gnulinuxsystems): Likewise.
84258         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84259         variants of the GNU system, not "GNU system".
84260         * manual/conf.texi: Likewise.
84261         * manual/errno.texi: Likewise.  Update example of errno macro
84262         expansion.
84263         * manual/filesys.texi: Likewise.
84264         (getumask): Document as specific to GNU/Hurd.
84265         * manual/install.texi: Likewise.  Reword some references to
84266         GNU/Linux.
84267         * manual/intro.texi: Likewise.
84268         * manual/io.texi: Likewise.
84269         (File Name Portability): Detail which constraints are inapplicable
84270         to all GNU systems and which are only inapplicable to GNU/Hurd.
84271         * manual/job.texi: Likewise.
84272         * manual/llio.texi: Likewise.
84273         (O_NOCTTY): Document as present on GNU/Linux.
84274         * manual/maint.texi: Likewise.
84275         * manual/memory.texi: Likewise.
84276         * manual/pattern.texi: Likewise.
84277         * manual/pipe.texi: Likewise.
84278         * manual/process.texi: Likewise.
84279         * manual/resource.texi: Likewise.
84280         (RUSAGE_CHILDREN): Remove statement about specifying a particular
84281         child on GNU/Hurd.
84282         * manual/setjmp.texi: Likewise.
84283         * manual/signal.texi: Likewise.
84284         * manual/startup.texi: Likewise.
84285         * manual/stdio.texi: Likewise.
84286         * manual/terminal.texi: Likewise.
84287         (ONLCR): Document as POSIX.
84288         (OXTABS): Document availability on GNU/Linux as XTABS.
84289         (ONOEOT): Document availability separately from other bits.
84290         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84291         * manual/time.texi: Likewise.
84292         * manual/users.texi: Likewise.
84293         * INSTALL: Regenerated.
84294         * sysdeps/gnu/errlist.c: Regenerated.
84296         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84297         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84298         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
84299         puts.
84300         * configure: Regenerated.
84302 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
84304         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84305         default includes instead of AC_HEADER_CHECK.
84306         * sysdeps/i386/configure: Regenerated.
84308         [BZ #10716]
84309         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84310         * math/s_cacoshf.c (__cacoshf): Likewise.
84311         * math/s_cacoshl.c (__cacoshl): Likewise.
84312         * math/s_casinh.c (__casinh): Set signs of result from argument.
84313         * math/s_casinhf.c (__casinhf): Likewise.
84314         * math/s_casinhl.c (__casinhl): Likewise.
84315         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84316         (casinh_test): Add more tests.
84317         * sysdeps/i386/fpu/libm-test-ulps: Update.
84318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84320 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
84322         * po/zh_TW.po: Update from translation team.
84324         * login/Makefile (distribute): Remove variable.
84325         * catgets/Makefile: Likewise.
84326         * mach/Makefile: Likewise.
84327         * malloc/Makefile: Likewise.
84328         * misc/Makefile: Likewise.
84329         * iconv/Makefile: Likewise.
84330         * nscd/Makefile: Likewise.
84331         * hurd/Makefile: Likewise.
84332         * manual/Makefile: Likewise.
84333         * locale/Makefile: Likewise.
84334         * intl/Makefile: Likewise.
84335         * conform/Makefile: Likewise.
84336         * nss/Makefile: Likewise.
84337         * time/Makefile: Likewise.
84338         * soft-fp/Makefile: Likewise.
84339         * dirent/Makefile: Likewise.
84340         * gmon/Makefile: Likewise.
84341         * po/Makefile: Likewise.
84342         * rt/Makefile: Likewise.
84343         * socket/Makefile: Likewise.
84344         * math/Makefile: Likewise.
84345         * signal/Makefile: Likewise.
84346         * debug/Makefile: Likewise.
84347         * elf/Makefile: Likewise.
84348         * timezone/Makefile: Likewise.
84349         * stdlib/Makefile: Likewise.
84350         * iconvdata/Makefile: Likewise.
84351         * sunrpc/Makefile: Likewise.
84352         * io/Makefile: Likewise.
84353         * argp/Makefile: Likewise.
84354         * inet/Makefile: Likewise.
84355         * hesiod/Makefile: Likewise.
84356         * grp/Makefile: Likewise.
84357         * csu/Makefile: Likewise.
84358         * wctype/Makefile: Likewise.
84359         * crypt/Makefile: Likewise.
84360         * libio/Makefile: Likewise.
84361         * string/Makefile: Likewise.
84362         * nis/Makefile: Likewise.
84363         * resolv/Makefile: Likewise.
84364         * stdio-common/Makefile: Likewise.
84365         * wcsmbs/Makefile: Likewise.
84366         * dlfcn/Makefile: Likewise.
84367         * posix/Makefile: Likewise.
84369         [BZ #6959]
84370         * timezone/Makefile: Don't install timezone files, just the programs
84371         and scripts.
84373 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
84375         * nss/databases.def: Add missing gshadow entry.
84377         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
84379 2012-03-06  Marek Polacek  <polacek@redhat.com>
84381         [BZ #13726]
84382         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84383         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84384         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84385         * stdio-common/tst-long-dbl-fphex.c: New file.
84387 2012-03-06  David S. Miller  <davem@davemloft.net>
84389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84390         (set_obp_int): New function.
84391         (get_obp_int): New function.
84392         (__get_clockfreq_via_dev_openprom): Likewise.
84393         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84394         Avoid unused variable warnings on 'val' and use builtin_expect.
84395         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84396         __builtin_expect.
84397         (INLINE_CLONE_SYSCALL): Likewise.
84399 2012-03-05  David S. Miller  <davem@davemloft.net>
84401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84403 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84407         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84408         only for |x| >= 40.
84409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84411 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84414         Replace gettimeofday with __vdso_gettimeofday.
84416         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84417         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84418         __vdso_clock_gettime and __vdso_getcpu.
84420         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84421         time with __vdso_time.
84423 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84425         * manual/lang.texi (size_t): Note types to which size_t may be
84426         equivalent with the GNU C Library, but do not describe when
84427         differences between them are significant.
84429 2012-03-05  Andreas Jaeger  <aj@suse.de>
84431         * sysdeps/i386/fpu/libm-test-ulps: Update.
84433 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84435         [BZ #3976]
84436         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84437         (__ieee754_pow): Save and restore rounding mode and use
84438         round-to-nearest for main computations.
84439         * math/libm-test.inc (pow_test_tonearest): New function.
84440         (pow_test_towardzero): Likewise.
84441         (pow_test_downward): Likewise.
84442         (pow_test_upward): Likewise.
84443         (main): Call the new functions.
84444         * sysdeps/i386/fpu/libm-test-ulps: Update.
84445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84447         [BZ #3976]
84448         * math/libm-test.inc (cosh_test_tonearest): New function.
84449         (cosh_test_towardzero): Likewise.
84450         (cosh_test_downward): Likewise.
84451         (cosh_test_upward): Likewise.
84452         (sinh_test_tonearest): Likewise.
84453         (sinh_test_towardzero): Likewise.
84454         (sinh_test_downward): Likewise.
84455         (sinh_test_upward): Likewise.
84456         (main): Call the new functions.
84457         * sysdeps/i386/fpu/libm-test-ulps: Update.
84458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84460 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84462         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84463         default stack guard is set in last bytes.
84464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84466 2012-03-05  Kees Cook  <keescook@chromium.org>
84468         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84470         [BZ #13656]
84471         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84472         possibly allocate from heap instead of stack.
84473         * stdio-common/bug-vfprintf-nargs.c: New file.
84474         * stdio-common/Makefile (tests): Add nargs overflow test.
84476 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84480 2012-03-03  Marek Polacek  <polacek@redhat.com>
84482         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84483         * math/math_private.h: Likewise.
84484         * stdlib/tst-strtod.c: Likewise.
84485         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84486         * sysdeps/x86_64/bits/atomic.h: Likewise.
84488 2012-03-02  David S. Miller  <davem@davemloft.net>
84490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84494         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84495         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84496         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84497         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84499 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84501         [BZ #13792]
84502         * manual/examples/README: New file, says the example source files
84503         can be used under GPL>=2.
84504         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84505         line containing just "*/".
84506         * manual/examples/add.c: Add copyright header (GPL>=2).
84507         * manual/examples/argp-ex1.c: Likewise.
84508         * manual/examples/argp-ex2.c: Likewise.
84509         * manual/examples/argp-ex3.c: Likewise.
84510         * manual/examples/argp-ex4.c: Likewise.
84511         * manual/examples/atexit.c: Likewise.
84512         * manual/examples/db.c: Likewise.
84513         * manual/examples/dir.c: Likewise.
84514         * manual/examples/dir2.c: Likewise.
84515         * manual/examples/execinfo.c: Likewise.
84516         * manual/examples/filecli.c: Likewise.
84517         * manual/examples/filesrv.c: Likewise.
84518         * manual/examples/fmtmsgexpl.c: Likewise.
84519         * manual/examples/genpass.c: Likewise.
84520         * manual/examples/inetcli.c: Likewise.
84521         * manual/examples/inetsrv.c: Likewise.
84522         * manual/examples/isockad.c: Likewise.
84523         * manual/examples/longopt.c: Likewise.
84524         * manual/examples/memopen.c: Likewise.
84525         * manual/examples/memstrm.c: Likewise.
84526         * manual/examples/mkfsock.c: Likewise.
84527         * manual/examples/mkisock.c: Likewise.
84528         * manual/examples/mygetpass.c: Likewise.
84529         * manual/examples/pipe.c: Likewise.
84530         * manual/examples/popen.c: Likewise.
84531         * manual/examples/rprintf.c: Likewise.
84532         * manual/examples/search.c: Likewise.
84533         * manual/examples/select.c: Likewise.
84534         * manual/examples/setjmp.c: Likewise.
84535         * manual/examples/sigh1.c: Likewise.
84536         * manual/examples/sigusr.c: Likewise.
84537         * manual/examples/stpcpy.c: Likewise.
84538         * manual/examples/strdupa.c: Likewise.
84539         * manual/examples/strftim.c: Likewise.
84540         * manual/examples/strncat.c: Likewise.
84541         * manual/examples/subopt.c: Likewise.
84542         * manual/examples/swapcontext.c: Likewise.
84543         * manual/examples/termios.c: Likewise.
84544         * manual/examples/testopt.c: Likewise.
84545         * manual/examples/testpass.c: Likewise.
84546         * manual/examples/timeval_subtract.c: Likewise.
84548         [BZ #13792]
84549         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84550         function to ...
84551         * manual/timeval_subtract.c.texi: ... here, new file.
84553 2012-03-02  David S. Miller  <davem@davemloft.net>
84555         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84557 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84559         [BZ #3976]
84560         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84561         (__sin): Save and restore rounding mode and use round-to-nearest
84562         for all computations.
84563         (__cos): Save and restore rounding mode and use round-to-nearest
84564         for all computations.
84565         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84566         <fenv.h>.
84567         (tan): Save and restore rounding mode and use round-to-nearest for
84568         all computations.
84569         * math/libm-test.inc (cos_test_tonearest): New function.
84570         (cos_test_towardzero): Likewise.
84571         (cos_test_downward): Likewise.
84572         (cos_test_upward): Likewise.
84573         (sin_test_tonearest): Likewise.
84574         (sin_test_towardzero): Likewise.
84575         (sin_test_downward): Likewise.
84576         (sin_test_upward): Likewise.
84577         (tan_test_tonearest): Likewise.
84578         (tan_test_towardzero): Likewise.
84579         (tan_test_downward): Likewise.
84580         (tan_test_upward): Likewise.
84581         (main): Call the new functions.
84582         * sysdeps/i386/fpu/libm-test-ulps: Update.
84583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84585         [BZ #10135]
84586         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84587         small n, then large n, before computing and testing k+n.
84588         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84589         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84590         Likewise.
84591         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84592         Likewise.
84593         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84594         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84595         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84596         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84599         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84600         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84601         * math/libm-test.inc (scalbn_test): Add more tests.
84602         (scalbln_test): Likewise.
84604         * manual/filesys.texi (mode_t): Describe constraints on size and
84605         signedness, not exact equivalence to a particular type.
84606         (ino_t): Likewise.
84607         (ino64_t): Likewise.
84608         (dev_t): Likewise.
84609         (nlink_t): Likewise.
84610         (blkcnt_t): Likewise.
84611         (blkcnt64_t): Likewise.
84612         * manual/llio.texi (off_t): Likewise.
84614         [BZ #3976]
84615         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84616         (__ieee754_exp): Save and restore rounding mode and use
84617         round-to-nearest for all computations.
84618         * math/libm-test.inc (exp_test_tonearest): New function.
84619         (exp_test_towardzero): Likewise.
84620         (exp_test_downward): Likewise.
84621         (exp_test_upward): Likewise.
84622         (main): Call the new functions.
84623         * sysdeps/i386/fpu/libm-test-ulps: Update.
84624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84626 2012-03-01  Chris Demetriou  <cgd@google.com>
84628         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84629         have predictable order.
84631 2012-03-01  David S. Miller  <davem@davemloft.net>
84633         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84635         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84636         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84637         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84638         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84640         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84641         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84642         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84644         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84645         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84646         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84647         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84648         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84652         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84653         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84654         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84656         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84657         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84658         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84659         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84660         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84661         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84662         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84663         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84664         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84665         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84666         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84669         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84670         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84672         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84673         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84674         * sysdeps/sparc/elf/configure: Regenerated.
84676 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84678         * configure.in (AS, LD): Require binutils 2.20 or later.
84679         * configure: Regenerated.
84680         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84681         as required minimum version.
84682         * INSTALL: Regenerated.
84684         [BZ #2541]
84685         [BZ #4108]
84686         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84687         before squaring exponent.
84688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84689         bottom long double and 27 bits of top long double before squaring
84690         exponent.
84691         * math/libm-test.inc (erfc_test): Add more tests.
84692         * sysdeps/i386/fpu/libm-test-ulps: Update.
84693         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84696 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84698         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84699         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84700         containing bit-fields.
84701         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84702         * soft-fp/single.h (_FP_UNION_S): Likewise.
84703         * soft-fp/double.h (_FP_UNION_D): Likewise.
84705 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84707         [BZ #13786]
84708         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84709         not include ../strcmp.S.
84710         [USE_AS_STRNCASECMP_L]: Likewise.
84711         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84712         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84713         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84714         (__strncasecmp_l_ia32): Define as alias to
84715         __strncasecmp_l_nonascii.
84717         [BZ #5794]
84718         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84719         * sysdeps/i386/fpu/libm-test-ulps: Update.
84720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84722         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84725 2012-02-29  Jeff Law  <law@redhat.com>
84727         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84728         out of bounds read.
84730 2012-02-29  Marek Polacek  <polacek@redhat.com>
84732         [BZ #13706]
84733         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84734         * elf/Makefile: Add rules to run tst-unused-dep.out.
84736 2012-02-28  David S. Miller  <davem@davemloft.net>
84738         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84739         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84740         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84741         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84742         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84743         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84745 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84747         * math/libm-test.inc (llround_test): Move one test from
84748         lround_test.  Use TEST_f_L in moved test.
84749         (lround_test): Move misplaced test to llround_test.  Add testcase
84750         from bug 2561.
84752 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84754         * sysdeps/x86_64/fpu/e_expf.S: New file.
84755         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84757 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84759         [BZ #13637]
84760         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84761         of remain_len that may cause incomplete multi-byte character and
84762         false match.
84763         * posix/bug-regex33.c: New file.
84764         * posix/Makefile (tests): Add bug-regex33.
84766 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84768         * manual/macros.texi: New file.
84769         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84770         * manual/libc.texinfo: Include macros.texi.
84771         * manual/creatute.texi: Likewise.
84772         * manual/install.texi: Likewise.
84773         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84774         @glibcadj{} in references to the GNU C Library.
84775         * manual/charset.texi: Likewise.
84776         * manual/conf.texi: Likewise.
84777         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84778         when not using those macros.
84779         * manual/creature.texi: Likewise.
84780         * manual/crypt.texi: Likewise.
84781         * manual/errno.texi: Likewise.
84782         * manual/filesys.texi: Likewise.
84783         * manual/header.texi: Likewise.
84784         * manual/install.texi: Likewise.
84785         * manual/intro.texi: Likewise.
84786         * manual/io.texi: Likewise.
84787         * manual/job.texi: Likewise.
84788         * manual/lang.texi: Likewise.
84789         * manual/libc.texiinfo: Likewise.
84790         * manual/llio.texi: Likewise.
84791         * manual/locale.texi: Likewise.
84792         * manual/maint.texi: Likewise.
84793         * manual/math.texi: Likewise.
84794         * manual/memory.texi: Likewise.
84795         * manual/message.texi: Likewise.
84796         * manual/nss.texi: Likewise.
84797         * manual/pattern.texi: Likewise.
84798         * manual/process.texi: Likewise.
84799         * manual/resource.texi: Likewise.
84800         * manual/search.texi: Likewise.
84801         * manual/setjmp.texi: Likewise.
84802         * manual/signal.texi: Likewise.
84803         * manual/socket.texi: Likewise.
84804         * manual/startup.texi: Likewise.
84805         * manual/stdio.texi: Likewise.
84806         * manual/string.texi: Likewise.
84807         * manual/sysinfo.texi: Likewise.
84808         * manual/syslog.texi: Likewise.
84809         * manual/terminal.texi: Likewise.
84810         * manual/time.texi: Likewise.
84811         * manual/users.texi: Likewise.
84812         * INSTALL: Regenerated.
84813         * NOTES: Regenerated.
84814         * sysdeps/gnu/errlist.c: Regenerated.
84816 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84818         * include/dirent.h: Include <dirstream.h> before
84819         <dirent/dirent.h>.
84821 2012-02-28  David S. Miller  <davem@davemloft.net>
84823         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84824         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84825         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84826         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84828 2012-02-27  David S. Miller  <davem@davemloft.net>
84830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84832         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84833         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84836         frame pointer instead of stack pointer relative arg slot.
84837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84838         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84839         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84841 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84843         [BZ #3992]
84844         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84846 2012-02-27  David S. Miller  <davem@davemloft.net>
84848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84852         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84853         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84854         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84855         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84857 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84859         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84860         later.  Allow versions 5-9.
84861         * configure: Regenerated.
84862         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84863         required minimum version and 4.6 as recommended version.  Do not
84864         mention bugs in GCC 2.7 and 2.8.
84865         * INSTALL: Regenerated.
84867 2012-02-27  David S. Miller  <davem@davemloft.net>
84869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84873         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84874         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84875         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84876         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84878         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84879         manipulate bits before adding and subtracting TWO112[sx].
84880         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84882 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84884         [BZ #13775]
84885         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84886         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84887         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84888         being in POSIX, because they are in 1003.1-2008.
84890         * rt/tst-aio.c: Include <fcntl.h>.
84891         * rt/tst-aio7.c: Likewise.
84892         * rt/tst-aio64.c: Likewise.
84894         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84896 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84898         * manual/install.texi (--with-headers): Describe headers as
84899         interface headers, not private headers.
84900         (Specific advice for GNU/Linux systems): Describe use of headers
84901         from "make headers_install", not private headers from older
84902         kernels.
84903         * INSTALL: Regenerated.
84904         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84905         Change to 2.6.19.
84906         * sysdeps/unix/sysv/linux/configure: Regenerated.
84908         * manual/llio.texi (fclean): Remove documentation.
84910         * manual/Makefile (libc-texi-generated): New variable.  Include
84911         version.texi.
84912         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84913         $(libc-texi-generated), not duplicated list of files.
84914         (version.texi, stamp-version): New rules.
84915         (realclean): Remove $(libc-texi-generated), not individual files
84916         from that list.  Do not remove dir-add.texinfo.
84917         * manual/libc.texinfo: Comment out uses of edition numbers and
84918         references to printed manual.  Remove last-updated dates.
84919         (EDITION): Comment out.
84920         (ISBN): Likewise.
84921         (VERSION, UPDATED): Remove.
84922         (version.texi): Include.
84924 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84926         * sysdeps/posix/spawni.c: Include <signal.h>.
84927         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84928         * sysdeps/pthread/aio_fsync.c: Likewise.
84930 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84932         * conform/Makefile (tests): Run only when not cross-compiling and
84933         when fast-check is not defined.
84935         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84936         * conform/data/limits.h-data: Fixes for POSIX2008.
84937         * conform/run-conformtest.sh: Run all tests.
84938         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84939         headers.
84940         * include/bits/dlfcn.h: Likewise.
84941         * include/langinfo.h: Likewise.
84942         * include/monetary.h: Likewise.
84943         * include/sys/poll.h: Likewise.
84945         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84946         for __USE_GNU.
84947         * posix/spawn.h: Define __need_sigset_t.
84948         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84949         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84950         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84951         to get sigevent_t only.
84952         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84953         only for __USE_GNU.
84954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84955         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84956         process_vm_writev only for __USE_GNU.
84957         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84959         * conform/Makefile: For now ignore errors from run-conformtest.
84960         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84961         POSIX to avoid namespace pollution.  Don't prepend headers.
84962         * conform/data/aio.h-data: Fixes for POSIX testing.
84963         * conform/data/fcntl.h-data: Likewise.
84964         * conform/data/glob.h-data: Likewise.
84965         * conform/data/grp.h-data: Likewise.
84966         * conform/data/pthread.h-data: Likewise.
84967         * conform/data/pwd.h-data: Likewise.
84968         * conform/data/signal.h-data: Likewise.
84969         * conform/data/spawn.h-data: Likewise.
84970         * conform/data/stdio.h-data: Likewise.
84971         * conform/data/stdlib.h-data: Likewise.
84972         * conform/data/stropts.h-data: Likewise.
84973         * conform/data/sys/mman.h-data: Likewise.
84974         * conform/data/sys/stat.h-data: Likewise.
84975         * conform/data/sys/types.h-data: Likewise.
84976         * conform/data/sys/wait.h-data: Likewise.
84977         * conform/data/time.h-data: Likewise.
84978         * conform/data/unistd.h-data: Likewise.
84979         * conform/data/utime.h-data: Likewise.
84981         * io/sys/stat.h: fchmod was always in POSIX.
84982         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84983         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84984         * rt/aio.h: Define __need_timespec before including <time.h>.
84985         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84986         struct.  Add forward declaration of pthread_attr_t and use it in
84987         sigevent.
84988         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84989         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84990         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84991         always remove CLK_TCK definition.
84993 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84995         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84997 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84999         * conform/run-conformtest.sh: New file.
85000         * conform/Makefile: Run run-conformtest for tests.
85001         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85002         support.
85004         * conform/data/uchar.h-data: New file.
85005         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85006         * conform/data/arpa/inet.h-data: Likewise.
85007         * conform/data/assert.h-data: Likewise.
85008         * conform/data/complex.h-data: Likewise.
85009         * conform/data/cpio.h-data: Likewise.
85010         * conform/data/ctype.h-data: Likewise.
85011         * conform/data/dirent.h-data: Likewise.
85012         * conform/data/dlfcn.h-data: Likewise.
85013         * conform/data/errno.h-data: Likewise.
85014         * conform/data/fcntl.h-data: Likewise.
85015         * conform/data/float.h-data: Likewise.
85016         * conform/data/fmtmsg.h-data: Likewise.
85017         * conform/data/fnmatch.h-data: Likewise.
85018         * conform/data/ftw.h-data: Likewise.
85019         * conform/data/glob.h-data: Likewise.
85020         * conform/data/grp.h-data: Likewise.
85021         * conform/data/iconv.h-data: Likewise.
85022         * conform/data/inttypes.h-data: Likewise.
85023         * conform/data/langinfo.h-data: Likewise.
85024         * conform/data/libgen.h-data: Likewise.
85025         * conform/data/limits.h-data: Likewise.
85026         * conform/data/locale.h-data: Likewise.
85027         * conform/data/math.h-data: Likewise.
85028         * conform/data/monetary.h-data: Likewise.
85029         * conform/data/mqueue.h-data: Likewise.
85030         * conform/data/ndbm.h-data: Likewise.
85031         * conform/data/net/if.h-data: Likewise.
85032         * conform/data/netdb.h-data: Likewise.
85033         * conform/data/netinet/in.h-data: Likewise.
85034         * conform/data/nl_types.h-data: Likewise.
85035         * conform/data/poll.h-data: Likewise.
85036         * conform/data/pthread.h-data: Likewise.
85037         * conform/data/pwd.h-data: Likewise.
85038         * conform/data/regex.h-data: Likewise.
85039         * conform/data/sched.h-data: Likewise.
85040         * conform/data/search.h-data: Likewise.
85041         * conform/data/semaphore.h-data: Likewise.
85042         * conform/data/setjmp.h-data: Likewise.
85043         * conform/data/signal.h-data: Likewise.
85044         * conform/data/spawn.h-data: Likewise.
85045         * conform/data/stdarg.h-data: Likewise.
85046         * conform/data/stdio.h-data: Likewise.
85047         * conform/data/stdlib.h-data: Likewise.
85048         * conform/data/string.h-data: Likewise.
85049         * conform/data/strings.h-data: Likewise.
85050         * conform/data/stropts.h-data: Likewise.
85051         * conform/data/sys/ipc.h-data: Likewise.
85052         * conform/data/sys/mman.h-data: Likewise.
85053         * conform/data/sys/msg.h-data: Likewise.
85054         * conform/data/sys/resource.h-data: Likewise.
85055         * conform/data/sys/select.h-data: Likewise.
85056         * conform/data/sys/sem.h-data: Likewise.
85057         * conform/data/sys/shm.h-data: Likewise.
85058         * conform/data/sys/socket.h-data: Likewise.
85059         * conform/data/sys/stat.h-data: Likewise.
85060         * conform/data/sys/statvfs.h-data: Likewise.
85061         * conform/data/sys/time.h-data: Likewise.
85062         * conform/data/sys/timeb.h-data: Likewise.
85063         * conform/data/sys/times.h-data: Likewise.
85064         * conform/data/sys/types.h-data: Likewise.
85065         * conform/data/sys/uio.h-data: Likewise.
85066         * conform/data/sys/un.h-data: Likewise.
85067         * conform/data/sys/utsname.h-data: Likewise.
85068         * conform/data/sys/wait.h-data: Likewise.
85069         * conform/data/syslog.h-data: Likewise.
85070         * conform/data/tar.h-data: Likewise.
85071         * conform/data/termios.h-data: Likewise.
85072         * conform/data/utime.h-data: Likewise.
85073         * conform/data/utmpx.h-data: Likewise.
85074         * conform/data/varargs.h-data: Likewise.
85075         * conform/data/wchar.h-data: Likewise.
85076         * conform/data/wctype.h-data: Likewise.
85077         * conform/data/wordexp.h-data: Likewise.
85079         * include/stropts.h: New file.
85080         * include/uchar.h: New file.
85081         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85082         * include/assert.h: Likewise.
85083         * include/ctype.h: Likewise.
85084         * include/dirent.h: Likewise.
85085         * include/dlfcn.h: Likewise.
85086         * include/fcntl.h: Likewise.
85087         * include/fnmatch.h: Likewise.
85088         * include/glob.h: Likewise.
85089         * include/grp.h: Likewise.
85090         * include/libio.h: Likewise.
85091         * include/locale.h: Likewise.
85092         * include/math.h: Likewise.
85093         * include/net/if.h: Likewise.
85094         * include/netdb.h: Likewise.
85095         * include/netinet/in.h: Likewise.
85096         * include/pthread.h: Likewise.
85097         * include/pwd.h: Likewise.
85098         * include/regex.h: Likewise.
85099         * include/sched.h: Likewise.
85100         * include/search.h: Likewise.
85101         * include/setjmp.h: Likewise.
85102         * include/signal.h: Likewise.
85103         * include/stdio.h: Likewise.
85104         * include/stdlib.h: Likewise.
85105         * include/string.h: Likewise.
85106         * include/sys/cdefs.h: Likewise.
85107         * include/sys/mman.h: Likewise.
85108         * include/sys/msg.h: Likewise.
85109         * include/sys/resource.h: Likewise.
85110         * include/sys/select.h: Likewise.
85111         * include/sys/socket.h: Likewise.
85112         * include/sys/stat.h: Likewise.
85113         * include/sys/statvfs.h: Likewise.
85114         * include/sys/time.h: Likewise.
85115         * include/sys/times.h: Likewise.
85116         * include/sys/uio.h: Likewise.
85117         * include/sys/utsname.h: Likewise.
85118         * include/sys/wait.h: Likewise.
85119         * include/termios.h: Likewise.
85120         * include/time.h: Likewise.
85121         * include/ulimit.h: Likewise.
85122         * include/unistd.h: Likewise.
85123         * include/utime.h: Likewise.
85124         * include/wchar.h: Likewise.
85125         * include/wctype.h: Likewise.
85126         * include/wordexp.h: Likewise.
85128         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85130         * time/time.h: TIME_UTC must be a macro.
85131         Make timespec_get available for ISO C11 only as well.
85133 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85135         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85136         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85138 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85140         * configure.in: Use -o not -a in test for unsupported multi-arch.
85142 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85144         * manual/texinfo.tex: Update to version 2012-01-19.16.
85146 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85148         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85150 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85152         [BZ #13738]
85153         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85154         * manual/fdl-1.3.texi: New file.
85155         * manual/fdl-1.1.texi: File removed.
85157         [BZ #13738]
85158         * manual/libc.texinfo (FDL_VERSION): New @set.
85159         Use it for mention of FDL in cover text.
85160         (Documentation License): Use it in @include file name.
85162 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85163             Roland McGrath  <roland@hack.frob.com>
85165         [BZ #5461]
85166         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85167         (not LONG_LONG_MAX and LONG_LONG_MIN.
85168         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85169         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85170         name.
85171         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85173 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85175         [BZ #2547]
85176         [BZ #11365]
85177         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85178         manipulate bits before adding and subtracting TWO23[sx].
85179         * math/libm-test.inc (nearbyint_test): Add more tests.
85181 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85183         [BZ #2548]
85184         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85185         bits before adding and subtracting TWO23[sx].
85186         * math/libm-test.inc (rint_test): Add more tests.
85187         (rint_test_tonearest): Likewise.
85188         (rint_test_towardzero): Likewise.
85189         (rint_test_downward): Likewise.
85190         (rint_test_upward: Likewise.
85192 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85194         [BZ #10110]
85195         * include/stdc-predef.h: New file.  Extracted from features.h.
85196         * include/features.h: Include stdc-predef.h.
85197         * Makefile (headers): Add stdc-predef.h.
85198         * CONFORMANCE (Compiler limitations): Update.
85200 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85202         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85204 2012-02-21  David S. Miller  <davem@davemloft.net>
85206         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85207         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85209 2012-02-20  David S. Miller  <davem@davemloft.net>
85211         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85212         using a normal save/restore sequence, rather than allocating a
85213         dummy stack frame just to store a frame pointer and restore.
85214         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85216 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85218         * manual/install.texi: Fix stray word in line-wrapped comment.
85220 2012-02-20  David S. Miller  <davem@davemloft.net>
85222         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85223         both binutils and gcc support GOTDATA.
85225         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85226         "rd %pc" in the PIC register setup sequences.
85228         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85229         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85230         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85231         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85232         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85233         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85235         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85236         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85237         (SYSCALL_ERROR_HANDLER): Likewise.
85238         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85239         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85240         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85241         (SYSCALL_ERROR_HANDLER): Likewise.
85243         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85244         (HAVE_GCC_GOTDATA): New.
85245         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85246         relocation support in both binutils and gcc.
85247         * sysdeps/sparc/elf/configure: Regenerate.
85249         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85250         * sysdeps/sparc/sparc32/elf/configure: Delete.
85251         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85252         * sysdeps/sparc/sparc64/elf/configure: Delete.
85253         * sysdeps/sparc/elf/configure.in: New file.
85254         * sysdeps/sparc/elf/configure: Generate.
85256         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85257         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85258         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85259         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85260         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85262 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85264         * manual/install.texi: Do not mention specific glibc version
85265         numbers.
85266         * manual/libc.texinfo (VERSION, UPDATED): Update.
85267         (@copying): Use @copyright{} and range of years.
85269 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85271         [BZ #13695]
85272         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85273         [crti.S not in sysdirs] (generated): Do not append.
85274         [crti.S not in sysdirs] (omit-deps): Likewise.
85275         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85276         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85277         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85278         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85279         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85280         Likewise.
85281         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85282         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85283         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85284         * csu/defs.awk: Remove file.
85285         * sysdeps/generic/initfini.c: Likewise.
85286         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85287         variable.
85288         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85289         Likewise.
85291 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85293         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85294         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85295         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85296         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85297         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85298         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85299         <bits/epoll.h>.
85300         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85301         (__EPOLL_PACKED): Define to empty if not defined by
85302         <bits/epoll.h>.
85303         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85305         bits/epoll.h.
85307 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85309         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85310         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85311         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85312         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85313         <bits/timerfd.h>.
85314         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85316         bits/timerfd.h.
85318 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85320         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85321         in C locale.
85322         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85323         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85324         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85327 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
85329         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85330         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85332 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
85334         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85335         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85336         defined.
85337         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85338         Likewise.
85339         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85340         entry for 2.16.
85342 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
85344         * math/w_acos.c: Use non-signaling floating-point comparisons.
85345         * math/w_acosf.c: Likewise.
85346         * math/w_acosh.c: Likewise.
85347         * math/w_acoshf.c: Likewise.
85348         * math/w_acoshl.c: Likewise.
85349         * math/w_acosl.c: Likewise.
85350         * math/w_asin.c: Likewise.
85351         * math/w_asinf.c: Likewise.
85352         * math/w_asinl.c: Likewise.
85353         * math/w_atanh.c: Likewise.
85354         * math/w_atanhf.c: Likewise.
85355         * math/w_atanhl.c: Likewise.
85356         * math/w_exp2.c: Likewise.
85357         * math/w_exp2f.c: Likewise.
85358         * math/w_exp2l.c: Likewise.
85359         * math/w_j0.c: Likewise.
85360         * math/w_j0f.c: Likewise.
85361         * math/w_j0l.c: Likewise.
85362         * math/w_j1.c: Likewise.
85363         * math/w_j1f.c: Likewise.
85364         * math/w_j1l.c: Likewise.
85365         * math/w_jn.c: Likewise.
85366         * math/w_jnf.c: Likewise.
85367         * math/w_log.c: Likewise.
85368         * math/w_log10.c: Likewise.
85369         * math/w_log10f.c: Likewise.
85370         * math/w_log10l.c: Likewise.
85371         * math/w_log2.c: Likewise.
85372         * math/w_log2f.c: Likewise.
85373         * math/w_log2l.c: Likewise.
85374         * math/w_logf.c: Likewise.
85375         * math/w_logl.c: Likewise.
85376         * math/w_sqrt.c: Likewise.
85377         * math/w_sqrtf.c: Likewise.
85378         * math/w_sqrtl.c: Likewise.
85379         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85380         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85381         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85382         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85383         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85385 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85387         [BZ #9739]
85388         * manual/string.texi (strnlen): Use correct parameter name in
85389         equivalent expression.
85391 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85393         [BZ #11174]
85394         * manual/users.texi (seteuid): Consistently use neweuid for
85395         argument name.
85397 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85399         [BZ #13704]
85400         * manual/nss.texi (Services in the NSS configuration): Correct
85401         list of services in example configuration file.
85403 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85405         [BZ #11322]
85406         * manual/arith.texi: Remove statements about negative zero
85407         behaving identically to zero.
85409 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85411         [BZ #5993]
85412         * manual/install.texi: Do not document upgrading from libc5.
85414 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85416         [BZ #4596]
85417         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85419 2012-02-18  David S. Miller  <davem@davemloft.net>
85421         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85422         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85423         %o7 across the call.
85424         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85425         instead.
85426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85427         SETUP_PIC_REG_LEAF.
85428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85429         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85430         * sysdeps/sparc/crtn.S: Likewise.
85432 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85434         * aout/Makefile: Remove.
85436 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85438         [BZ #13058]
85439         * manual/examples/argp-ex1.c (main): Format definition in GNU
85440         style.
85441         * manual/examples/argp-ex2.c (main): Likewise.
85442         * manual/examples/argp-ex3.c (main): Likewise.
85443         * manual/examples/argp-ex4.c (main): Likewise.
85444         * manual/examples/longopt.c (main): Use new-style prototype
85445         definition.
85446         * manual/examples/strncat.c (main): Specify return type and use
85447         (void) for arguments.
85448         * manual/examples/subopt.c (main): Use char **argv argument.
85450 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85452         [BZ #5077]
85453         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85454         rounding modes.
85456 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85458         [BZ #6907]
85459         * manual/string.texi (strchr): Change when strchrnul is
85460         recommended.
85462 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85464         [BZ #174]
85465         * manual/locale.texi (setlocale): Document LOCPATH.
85467 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85469         [BZ #10210]
85470         * manual/process.texi (execle): Move @dots{} before last argument.
85472 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85474         [BZ #12047]
85475         * manual/charset.texi (Generic Charset Conversion): Fix typo
85476         (LC_TYPE -> LC_CTYPE).
85478 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85480         [BZ #5805]
85481         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85482         (scalbnf): Likewise.
85483         (scalbnl): Likewise.
85484         (scalbln): Likewise.
85485         (scalblnf): Likewise.
85486         (scalblnl): Likewise.
85487         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85488         (vwarnx): Likewise.
85489         (verr): Likewise.
85490         (verrx): Likewise.
85491         * manual/filesys.texi (telldir): Use braces around return type.
85492         * manual/llio.texi (mmap): Add space after comma.
85493         (mmap64): Likewise.
85494         * manual/math.texi (jn): Use @var{} on parameter names.
85495         (jnf): Likewise.
85496         (jnl): Likewise.
85497         (yn): Likewise.
85498         (ynf): Likewise.
85499         (ynl): Likewise.
85500         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85501         line.
85502         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85503         "...".
85504         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85505         (sched_get_priority_max): Likewise.
85506         * manual/signal.texi (sigvec): Add space after comma.
85507         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85508         names.
85509         (if_indextoname): Likewise.
85510         (if_freenameindex): Likewise.
85511         (sendto): Use ',' instead of '.' in prototype.
85512         * manual/startup.texi (syscall): Use @dots{} instead of literal
85513         "...".
85514         * manual/stdio.texi (__fpending): Separate initial words of
85515         paragraph from @deftypefun line.
85516         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85517         "...".
85518         (vsyslog): Use @var{} on parameter names.
85519         * manual/terminal.texi (stty): Use @var{} on parameter names.
85520         * manual/users.texi (getutmp): Use @var{} on parameter names.
85521         (getutmpx): Likewise.
85523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85525         [BZ #6884]
85526         * manual/stdio.texi (fopen): Fix typos in description of
85527         ",ccs=STRING".
85529 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85531         [BZ #4026]
85532         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85533         get clock_id definition.
85535 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85537         [BZ #4822]
85538         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85539         (madvise): Cast every argument to void on its own.
85541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85543         [BZ #9902]
85544         * manual/startup.texi (Exit Status): Fix typo.
85546 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85548         [BZ #10140]
85549         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85550         * manual/examples/argp-ex2.c: Likewise.
85551         * manual/examples/argp-ex3.c: Likewise.
85553 2012-02-16  Richard Henderson  <rth@redhat.com>
85555         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85556         * sysdeps/s390/s390-32/initfini.c: Remove.
85557         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85558         * sysdeps/s390/s390-64/initfini.c: Remove.
85560 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85562         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85563         compiler output for sysdeps/generic/initfini.c.
85564         * sysdeps/sh/elf/initfini.c: Remove file.
85566 2012-02-16  David S. Miller  <davem@davemloft.net>
85568         [BZ #11494]
85569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85571         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85572         * sysdeps/sparc/crti.S: New file.
85573         * sysdeps/sparc/crtn.S: New file.
85574         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85575         * sysdeps/sparc/sparc64/Makefile: Likewise.
85577 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85579         [BZ #3335]
85580         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85582 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85584         [BZ #4822]
85585         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85587         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85588         (write, read, close): Likewise.
85589         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85591 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85593         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85594         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85595         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85596         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85597         <bits/signalfd.h>.
85598         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85600         bits/signalfd.h.
85602 2012-02-14  Marek Polacek  <polacek@redhat.com>
85604         * sysdeps/x86_64/crti.S: New file.
85605         * sysdeps/x86_64/crtn.S: New file.
85606         * sysdeps/x86_64/elf/initfini.c: Remove file.
85608 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85610         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85611         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85612         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85613         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85614         <bits/inotify.h>.
85615         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85617         bits/inotify.h.
85619 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85621         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85622         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85623         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85624         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85625         <bits/eventfd.h>.
85626         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85628         bits/eventfd.h.
85630 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85632         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85633         __feraiseexcept instead of feraiseexcept.
85635         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85636         nanosleep invocations.
85637         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85638         strings, and add error checking for a nanosleep invocations.
85640 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85642         Replace FSF snail mail address with URLs, as per GNU coding standards.
85643         Most of the snail mail addresses were wrong anyway, and omitting
85644         them makes the source code easier to maintain.  Almost all of the
85645         changes are to license notices and to locale LC_IDENTIFICATION
85646         addresses, except for this one:
85647         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85648         not its snail mail address.
85650 2012-02-09  Richard Henderson  <rth@twiddle.net>
85652         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85653         of kernel-features.h.
85655         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85657 2012-02-08  Marek Polacek  <polacek@redhat.com>
85659         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85660         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85661         * sysdeps/gnu/_G_config.h: Likewise.
85662         * sysdeps/generic/_G_config.h: Likewise.
85664 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85666         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85667         tests.
85668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85670         * sysdeps/powerpc/powerpc32/crti.S: New file.
85671         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85672         * sysdeps/powerpc/powerpc64/crti.S: New file.
85673         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85675         * Makeconfig (have-initfini): Don't set.
85676         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85677         * configure.in (nopic_initfini): Don't substitute.
85678         * config.h.in (HAVE_INITFINI): Don't #undef.
85679         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85680         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85682 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85684         Support crti.S and crtn.S provided directly by architectures.
85685         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85686         [crti.S in sysdirs] (omit-deps): Likewise.
85687         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85688         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85689         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85690         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85691         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85692         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85693         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85694         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85695         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85696         compiler output for sysdeps/generic/initfini.c.
85697         * sysdeps/i386/elf/Makefile: Remove file.
85698         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85700 2012-02-07  Marek Polacek  <polacek@redhat.com>
85702         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85703         * sysdeps/gnu/_G_config.h: Likewise.
85704         * sysdeps/mach/hurd/_G_config.h: Likewise.
85706 2012-02-07  Marek Polacek  <polacek@redhat.com>
85708         * math/Makefile (tests): Add tst-CMPLX2.
85709         * math/tst-CMPLX2.c: New file.
85711 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85713         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85715         * math/libm-test.inc (jn_test): Add missing L suffix.
85717 2012-02-06  Marek Polacek  <polacek@redhat.com>
85719         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85720         * sysdeps/i386/fpu/e_powf.S: Likewise.
85721         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85722         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85723         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85724         * sysdeps/i386/fpu/e_pow.S: Likewise.
85725         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85726         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85727         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85728         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85729         * sysdeps/i386/fpu/e_log2.S: Likewise.
85730         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85731         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85732         * sysdeps/i386/fpu/e_powl.S: Likewise.
85733         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85734         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85735         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85736         * sysdeps/i386/fpu/e_logl.S: Likewise.
85737         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85738         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85739         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85740         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85741         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85742         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85743         * sysdeps/i386/fpu/e_log.S: Likewise.
85744         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85746         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85747         * sysdeps/i386/fpu/e_logf.S: Likewise.
85748         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85749         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85750         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85751         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85752         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85753         * sysdeps/i386/fpu/e_log10.S: Likewise.
85754         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85755         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85756         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85757         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85758         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85759         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85760         * sysdeps/i386/asm-syntax.h: Likewise.
85761         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85762         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85763         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85764         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85765         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85766         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85767         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85768         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85769         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85770         * sysdeps/powerpc/sysdep.h: Likewise.
85771         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85772         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85774 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85776         [BZ #411]
85777         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85779 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85781         * sysdeps/i386/sysdep.h: Include <features.h>.
85782         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85783         version.
85785 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85787         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85788         Define.
85789         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85790         LOAD_PIC_REG_STR.
85792 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85794         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85795         (SETUP_PIC_REG): Use GET_PC_THUNK.
85796         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85797         macro.
85799 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85801         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85802         for non-PIC compilation.
85803         (SETUP_PIC_REG): Add .p2align directive.
85804         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85805         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85806         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85807         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85808         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85809         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85810         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85811         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85812         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85813         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85814         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85815         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85816         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85818         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85819         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85820         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85821         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85822         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85823         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85825         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85826         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85827         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85828         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85830         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85831         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85832         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85833         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85834         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85835         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85836         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85837         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85838         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85839         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85840         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85841         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85842         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85843         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85844         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85846 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85848         * math/tst-CMPLX.c: Include <stdio.h>.
85850 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85852         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85853         float.
85854         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85855         * sysdeps/sparc/bits/mathdef.h: Likewise.
85857 2012-01-31  Marek Polacek  <polacek@redhat.com>
85859         * libio/libio.h: Don't define _PARAMS.
85860         * locale/programs/config.h: Don't define PARAMS.
85861         * stdlib/strtol_l.c: Likewise.
85862         (__strtol_l): Remove PARAMS from the prototype.
85864 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85866         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85867         names.  Just use the correct names.  Remove unnecessary wrapper
85868         functions.
85869         * malloc/arena.c: Likewise.
85870         * malloc/hooks.c: Likewise.
85872         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85873         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85874         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85876 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85878         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85879         into tail calls.
85880         (update_get_addr): New function.
85881         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85882         GET_ADDR_MODULE parameter.
85884 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85886         * crypt/cert.c: Remove __STDC__ conditionals.
85887         * crypt/crypt-entry.c: Likewise.
85888         * crypt/crypt_util.c: Likewise.
85889         * libio/filedoalloc.c: Likewise.
85890         * libio/fileops.c: Likewise.
85891         * libio/genops.c: Likewise.
85892         * libio/iofclose.c: Likewise.
85893         * libio/iofdopen.c: Likewise.
85894         * libio/iofopen.c: Likewise.
85895         * libio/iofopen64.c: Likewise.
85896         * libio/iogetdelim.c: Likewise.
85897         * libio/iopopen.c: Likewise.
85898         * libio/obprintf.c: Likewise.
85899         * libio/oldfileops.c: Likewise.
85900         * libio/oldiofclose.c: Likewise.
85901         * libio/oldiofdopen.c: Likewise.
85902         * libio/oldiofopen.c: Likewise.
85903         * libio/oldiopopen.c: Likewise.
85904         * libio/wfiledoalloc.c: Likewise.
85905         * libio/wgenops.c: Likewise.
85906         * locale/programs/xmalloc.c: Likewise.
85907         * misc/syslog.c: Likewise.
85908         * stdio-common/xbug.c: Likewise.
85909         * string/memchr.c: Likewise.
85910         * string/memcmp.c: Likewise.
85911         * string/memrchr.c: Likewise.
85912         * string/rawmemchr.c: Likewise.
85913         * sysdeps/posix/getcwd.c: Likewise.
85914         * time/strftime_l.c: Likewise.
85916 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85918         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85919         * config.make.in (config-cflags-sse2avx): Define.
85920         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85921         Fix typo.
85923 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85925         * scripts/config.guess: Update from upstream config git repository.
85926         * scripts/config.sub: Likewise.
85928 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85930         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85931         (EM_NUM): Update.
85932         (R_TILEPRO_*, R_TILEGX_*): New macros.
85934         * scripts/firstversions.awk: Fix bug in version range handling.
85936         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85938         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85940         * include/sys/epoll.h: New file.
85941         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85942         libc_hidden_def.
85944 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85946         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85947         Avoid unnecessary __WORDSIZE == 64 test.
85948         (fmaxf): Use VEX format if possible.
85949         (fmax): Likewise.
85950         (fminf): Likewise.
85951         (fmin): Likewise.
85953         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85954         * math/math_private.h: Remove libc_fegetround* and
85955         libc_fesetround*.
85956         * sysdeps/i386/configure.in: Check for -msse2avx.
85957         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85958         also if SSE2AVX is defined.
85959         Remove libc_fegetround* and libc_fesetround*.
85960         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85961         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85962         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85963         of HAS_YMM_USABLE.
85964         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85965         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85967         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85968         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85970         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85972 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85974         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85975         size is not set.
85976         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85978 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85980         [BZ #13618]
85981         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85982         relocation.
85983         * Makeconfig (libm): Define.
85984         * elf/Makefile: Add rules to build and run tst-relsort1.
85985         * elf/tst-relsort1.c: New file.
85986         * elf/tst-relsort1mod1.c: New file.
85987         * elf/tst-relsort1mod2.c: New file.
85989 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85991         * math/s_ldexp.c: Remove __STDC__ conditionals.
85992         * math/s_ldexpf.c: Likewise.
85993         * math/s_ldexpl.c: Likewise.
85994         * math/s_nextafter.c: Likewise.
85995         * math/s_nexttowardf.c: Likewise.
85996         * math/s_significand.c: Likewise.
85997         * math/s_significandf.c: Likewise.
85998         * math/s_significandl.c: Likewise.
85999         * math/w_jnl.c: Likewise.
86000         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86001         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86002         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86003         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86004         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86006         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86007         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86008         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86009         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86010         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86011         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86012         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86013         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86014         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86015         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86016         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86017         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86018         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86019         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86020         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86021         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86022         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86023         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86024         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86025         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86026         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86027         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86028         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86029         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86030         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86031         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86032         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86033         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86034         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86035         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86036         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86037         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86038         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86039         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86040         * sysdeps/ieee754/k_standard.c: Likewise.
86041         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86042         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86043         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86044         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86045         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86046         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86048         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86049         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86050         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86051         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86052         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86053         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86054         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86055         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86056         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86057         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86058         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86059         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86060         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86061         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86062         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86063         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86064         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86065         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86066         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86068         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86069         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86070         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86071         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86072         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86073         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86074         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86075         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86076         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86077         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86079         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86080         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86081         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86082         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86083         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86084         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86085         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86087         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86088         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86089         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86090         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86091         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86092         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86093         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86094         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86096         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86097         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86098         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86099         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86100         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86101         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86102         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86103         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86104         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86105         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86106         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86107         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86108         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86109         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86110         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86111         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86112         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86113         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86114         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86115         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86116         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86117         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86118         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86119         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86120         * sysdeps/ieee754/s_matherr.c: Likewise.
86121         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86122         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86126 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86128         * crypt/md5.h: Remove __STDC__ conditionals.
86129         * libio/libioP.h: Likewise.
86130         * locale/programs/config.h: Likewise.
86131         * sysdeps/generic/sysdep.h: Likewise.
86132         * sysdeps/i386/asm-syntax.h: Likewise.
86133         * sysdeps/s390/asm-syntax.h: Likewise.
86134         * sysdeps/unix/sysdep.h: Likewise.
86135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86138 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86140         * libio/libio.h: Remove __STDC__ conditionals.
86141         * malloc/obstack.h: Likewise.
86142         * math/complex.h: Likewise.
86143         * math/math.h: Likewise.
86144         * sysdeps/generic/_G_config.h: Likewise.
86145         * sysdeps/gnu/_G_config.h: Likewise.
86146         * sysdeps/mach/hurd/_G_config.h: Likewise.
86147         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86148         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86149         * sysdeps/sparc/bits/mathdef.h: Likewise.
86151 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86153         [BZ #13583]
86154         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86155         Clean up HAS_* macros.
86156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86157         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86158         possible.
86159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86160         HAS_AVX.
86161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86162         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86163         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86164         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86165         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86167 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86169         * elf/tst-unique3.cc (gets): Remove declaration.
86170         * elf/tst-unique3lib.cc (gets): Likewise.
86171         * elf/tst-unique3lib2.cc (gets): Likewise.
86172         * elf/tst-unique4.cc (gets): Likewise.
86174 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86176         * include/stdio.h: Add C++ protection.  Add gets declarations and
86177         definitions.
86178         * debug/tst-chk1.c: Don't declare gets here.
86179         * stdio-common/tst-gets.c: Likewise.
86181 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86183         * posix/glob: Remove directory.
86185 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86187         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86189 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86191         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86192         of the non-standard EPFNOSUPPORT.
86194 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86196         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86197         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86198         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86200 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86202         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86204 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86206         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86207         transient errors.
86208         * nscd/grpcache.c (cache_addgr): Likewise.
86209         * nscd/hstcache.c (cache_addhst): Likewise.
86210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86211         * nscd/pwdcache.c (cache_addpw): Likewise.
86212         * nscd/servicescache.c (cache_addserv): Likewise.
86214 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86216         * malloc/malloc.c: Various cleanups.
86217         * malloc/hooks.c: Likewise.
86219         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86220         * stdlib/bug-fmtmsg1.c: New file.
86222         * stdlib/fmtmsg.c (init): Add missing unlock.
86223         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86225 2012-01-12  Marek Polacek  <polacek@redhat.com>
86227         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86228         and _GNU_SOURCE.
86230 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86232         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86233         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86234         macro to ensure uniqueness of label name.
86235         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86236         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86238 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86240         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86242         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86243         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86244         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86245         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86247 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86249         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86251         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86252         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86253         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86255         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86257         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86258         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86259         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86262         * math/bits/math-finite.h: Add ldexp support.
86264 2012-01-10  Marek Polacek  <polacek@redhat.com>
86266         * locale/programs/localedef.h (show_archive_content): Add noreturn
86267         attribute.
86269 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
86271         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86273 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86275         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86277         * io/Makefile (headers): Add bits/poll2.h.
86279 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
86281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86282         typo #include statement.
86284 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86286         * include/sys/cdefs.h: Define __attribute_alloc_size.
86287         * catgets/gencat.c: Add alloc_size attribute and apply consistently
86288         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86289         * elf/pldd.c: Likewise.
86290         * iconv/iconv_charmap.c: Likewise.
86291         * iconv/iconvconfig.c: Likewise.
86292         * iconv/strtab.c: Likewise.
86293         * locale/programs/locale.c: Likewise.
86294         * locale/programs/localedef.h: Likewise.
86295         * locale/programs/simple-hash.c: Likewise.
86296         * nscd/nscd.h: Likewise.
86297         * nss/makedb.c: Likewise.
86298         * sysdeps/generic/ldconfig.h: Likewise.
86299         * locale/programs/localedef.c: Remove xmalloc prototype.
86300         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86302 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86304         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86305         appropriate.
86307 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86309         * math/Makefile (tests): Add tst-CMPLX.
86310         * math/tst-CMPLX.c: New file.
86312         * math/complex.h (CMPLXL): Fix typo.
86314         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86315         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86316         GLIBC_2.16.
86317         * debug/tst-chk1.c: Add poll and ppoll tests.
86318         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86319         * include/sys/poll.h: Add hidden proto for ppoll.
86320         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86321         * sysdeps/mach/hurd/ppoll.c: Likewise.
86322         * io/ppoll.c: Likewise.
86323         * debug/poll_chk.c: New file.
86324         * debug/ppoll_chk.c: New file.
86325         * include/bits/poll2.h: New file.
86326         * io/bits/poll2.h: New file.
86328         [BZ #1350]
86329         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86331         * configure.in: static is always set to yes.  Remove.
86332         * config.make.in: Don't set build-static.
86333         * Makeconfig: Remove use of build-static.
86334         * dlfcn/Makefile: Likewise.
86335         * elf/Makefile: Likewise.
86336         * math/Makefile: Likewise.
86337         * misc/Makefile: Likewise.
86338         * nptl/Makefile: Likewise.
86339         * sysdeps/mach/hurd/Makefile: Likewise.
86341         * configure.in: PWD_P is not used anymore.
86342         * config.make.in: Remove PWD_P entry.
86344         * configure.in: Remove last remnants of RANLIB.
86345         No need to check for signed size_t anymore.
86346         Don't set libc_commonpagesize and libc_relro_required here for Alpha
86347         and IA-64.
86348         Remove __builtin_expect test because we require at least gcc 3.4.
86349         * aclocal.m4: Likewise.
86351         * wcsmbs/mbrtoc16.c: Implement using towc function.
86352         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86353         * wcsmbs/wcsmbsload.c: Likewise.
86354         * iconv/gconv_simple.c: Likewise.
86355         * iconv/gconv_int.h: Likewise.
86356         * iconv/gconv_builtin.h: Likewise.
86357         * iconv/iconv_prog.c: Remove CHAR16 handling.
86359         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86361         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86363         * configure.in: Remove --with-elf and --enable-bounded options.
86364         Dont set base_machine for ia64.  More non-ELF conditions removed.
86365         Remove testing and setting of leading underscore information.
86366         * config.make.in (build-bounded): Set to no.
86367         * config.h.in: Remove NO_UNDERSCORES entry.
86368         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
86369         them.
86370         * csu/start.c: Remove !NO_UNDERSCORE code.
86371         * locale/localeinfo.h: Likewise.
86372         * sysdeps/generic/machine-gmon.h: Likewise.
86373         * sysdeps/generic/sysdep.h: Likewise.
86374         * sysdeps/i386/sysdep.h: Likewise.
86375         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86376         * sysdeps/mach/sysdep.h: Likewise.
86377         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86378         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86379         * sysdeps/sh/sysdep.h: Likewise.
86380         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86381         * sysdeps/unix/i386/sysdep.S: Likewise.
86382         * sysdeps/unix/sparc/start.c: Likewise.
86383         * sysdeps/unix/sparc/sysdep.S: Likewise.
86384         * sysdeps/unix/sparc/sysdep.h: Likewise.
86385         * sysdeps/unix/start.c: Likewise.
86386         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86387         * sysdeps/x86_64/sysdep.h: Likewise.
86389 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86391         [BZ #13553]
86392         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86393         for non-gcc.
86394         * argp/argp-fmtstream.h: Use const instead __const.
86395         * argp/argp.h: Likewise.
86396         * assert/assert.h: Likewise.
86397         * bits/fenv.h: Likewise.
86398         * bits/sched.h: Likewise.
86399         * bits/sigset.h: Likewise.
86400         * bits/sigthread.h: Likewise.
86401         * catgets/nl_types.h: Likewise.
86402         * conform/data/pthread.h-data: Likewise.
86403         * crypt/crypt-private.h: Likewise.
86404         * crypt/crypt.h: Likewise.
86405         * crypt/crypt_util.c: Likewise.
86406         * ctype/ctype.h: Likewise.
86407         * debug/execinfo.h: Likewise.
86408         * debug/mbsnrtowcs_chk.c: Likewise.
86409         * debug/mbsrtowcs_chk.c: Likewise.
86410         * debug/wcsnrtombs_chk.c: Likewise.
86411         * debug/wcsrtombs_chk.c: Likewise.
86412         * debug/wcstombs_chk.c: Likewise.
86413         * dirent/dirent.h: Likewise.
86414         * dlfcn/dlfcn.h: Likewise.
86415         * elf/neededtest4.c: Likewise.
86416         * grp/grp.h: Likewise.
86417         * gshadow/gshadow.h: Likewise.
86418         * iconv/gconv.h: Likewise.
86419         * iconv/gconv_int.h: Likewise.
86420         * iconv/gconv_simple.c: Likewise.
86421         * iconv/iconv.h: Likewise.
86422         * iconv/loop.c: Likewise.
86423         * iconv/skeleton.c: Likewise.
86424         * include/aio.h: Likewise.
86425         * include/aliases.h: Likewise.
86426         * include/argz.h: Likewise.
86427         * include/arpa/inet.h: Likewise.
86428         * include/assert.h: Likewise.
86429         * include/dirent.h: Likewise.
86430         * include/dlfcn.h: Likewise.
86431         * include/execinfo.h: Likewise.
86432         * include/fcntl.h: Likewise.
86433         * include/fenv.h: Likewise.
86434         * include/glob.h: Likewise.
86435         * include/grp.h: Likewise.
86436         * include/libintl.h: Likewise.
86437         * include/mntent.h: Likewise.
86438         * include/netdb.h: Likewise.
86439         * include/pwd.h: Likewise.
86440         * include/rpc/netdb.h: Likewise.
86441         * include/sched.h: Likewise.
86442         * include/search.h: Likewise.
86443         * include/shadow.h: Likewise.
86444         * include/signal.h: Likewise.
86445         * include/stdio.h: Likewise.
86446         * include/stdlib.h: Likewise.
86447         * include/string.h: Likewise.
86448         * include/sys/socket.h: Likewise.
86449         * include/sys/stat.h: Likewise.
86450         * include/sys/statfs.h: Likewise.
86451         * include/sys/statvfs.h: Likewise.
86452         * include/sys/syslog.h: Likewise.
86453         * include/sys/time.h: Likewise.
86454         * include/sys/uio.h: Likewise.
86455         * include/time.h: Likewise.
86456         * include/unistd.h: Likewise.
86457         * include/utmp.h: Likewise.
86458         * include/wchar.h: Likewise.
86459         * include/wctype.h: Likewise.
86460         * inet/aliases.h: Likewise.
86461         * inet/arpa/inet.h: Likewise.
86462         * inet/netinet/ether.h: Likewise.
86463         * inet/netinet/in.h: Likewise.
86464         * intl/libintl.h: Likewise.
86465         * io/bits/fcntl2.h: Likewise.
86466         * io/fcntl.h: Likewise.
86467         * io/ftw.h: Likewise.
86468         * io/sys/poll.h: Likewise.
86469         * io/sys/stat.h: Likewise.
86470         * io/sys/statfs.h: Likewise.
86471         * io/sys/statvfs.h: Likewise.
86472         * io/utime.h: Likewise.
86473         * libio/bits/stdio.h: Likewise.
86474         * libio/bits/stdio2.h: Likewise.
86475         * libio/libio.h: Likewise.
86476         * libio/libioP.h: Likewise.
86477         * libio/stdio.h: Likewise.
86478         * locale/lc-ctype.c: Likewise.
86479         * locale/locale.h: Likewise.
86480         * login/utmp.h: Likewise.
86481         * malloc/arena.c: Likewise.
86482         * malloc/malloc.c: Likewise.
86483         * malloc/malloc.h: Likewise.
86484         * malloc/mcheck.c: Likewise.
86485         * malloc/mtrace.c: Likewise.
86486         * math/bits/mathcalls.h: Likewise.
86487         * math/fenv.h: Likewise.
86488         * math/math_private.h: Likewise.
86489         * misc/bits/error.h: Likewise.
86490         * misc/bits/syslog.h: Likewise.
86491         * misc/err.h: Likewise.
86492         * misc/error.h: Likewise.
86493         * misc/fstab.h: Likewise.
86494         * misc/mntent.h: Likewise.
86495         * misc/regexp.h: Likewise.
86496         * misc/search.h: Likewise.
86497         * misc/sgtty.h: Likewise.
86498         * misc/sys/mman.h: Likewise.
86499         * misc/sys/syslog.h: Likewise.
86500         * misc/sys/uio.h: Likewise.
86501         * misc/sys/xattr.h: Likewise.
86502         * misc/ttyent.h: Likewise.
86503         * nis/rpcsvc/ypclnt.h: Likewise.
86504         * nss/nss.h: Likewise.
86505         * posix/bits/unistd.h: Likewise.
86506         * posix/fnmatch.h: Likewise.
86507         * posix/glob.h: Likewise.
86508         * posix/sched.h: Likewise.
86509         * posix/spawn.h: Likewise.
86510         * posix/sys/wait.h: Likewise.
86511         * posix/unistd.h: Likewise.
86512         * posix/wordexp.h: Likewise.
86513         * pwd/pwd.h: Likewise.
86514         * resolv/netdb.h: Likewise.
86515         * resource/sys/resource.h: Likewise.
86516         * rt/aio.h: Likewise.
86517         * rt/bits/mqueue2.h: Likewise.
86518         * rt/mqueue.h: Likewise.
86519         * shadow/shadow.h: Likewise.
86520         * signal/signal.h: Likewise.
86521         * socket/send.c: Likewise.
86522         * socket/sendto.c: Likewise.
86523         * socket/sys/socket.h: Likewise.
86524         * stdio-common/printf.h: Likewise.
86525         * stdlib/bits/stdlib.h: Likewise.
86526         * stdlib/fmtmsg.h: Likewise.
86527         * stdlib/monetary.h: Likewise.
86528         * stdlib/stdlib.h: Likewise.
86529         * stdlib/ucontext.h: Likewise.
86530         * streams/stropts.h: Likewise.
86531         * string/argz.h: Likewise.
86532         * string/bits/string2.h: Likewise.
86533         * string/string.h: Likewise.
86534         * string/strings.h: Likewise.
86535         * sunrpc/rpc/auth.h: Likewise.
86536         * sunrpc/rpc/auth_des.h: Likewise.
86537         * sunrpc/rpc/clnt.h: Likewise.
86538         * sunrpc/rpc/netdb.h: Likewise.
86539         * sunrpc/rpc/pmap_clnt.h: Likewise.
86540         * sunrpc/rpc/xdr.h: Likewise.
86541         * sysdeps/generic/inttypes.h: Likewise.
86542         * sysdeps/generic/net/if.h: Likewise.
86543         * sysdeps/generic/sys/swap.h: Likewise.
86544         * sysdeps/gnu/net/if.h: Likewise.
86545         * sysdeps/gnu/utmpx.h: Likewise.
86546         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86547         * sysdeps/i386/i486/bits/string.h: Likewise.
86548         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86549         * sysdeps/s390/bits/string.h: Likewise.
86550         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86551         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86552         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86553         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86554         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86555         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86556         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86557         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86558         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86559         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86560         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86561         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86562         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86563         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86564         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86565         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86566         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86568         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86569         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86570         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86571         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86572         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86573         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86574         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86575         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86576         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86577         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86578         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86579         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86580         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86581         * sysvipc/sys/ipc.h: Likewise.
86582         * sysvipc/sys/msg.h: Likewise.
86583         * sysvipc/sys/sem.h: Likewise.
86584         * sysvipc/sys/shm.h: Likewise.
86585         * termios/termios.h: Likewise.
86586         * time/sys/time.h: Likewise.
86587         * time/time.h: Likewise.
86588         * wcsmbs/bits/wchar2.h: Likewise.
86589         * wcsmbs/uchar.h: Likewise.
86590         * wcsmbs/wchar.h: Likewise.
86591         * wctype/wctype.h: Likewise.
86593         [BZ #13551]
86594         * Makeconfig: Remove all but ELF support including AIX support.
86595         * Makerules: Likewise.
86596         * config.h.in: Likewise.
86597         * config.make.in: Likewise.
86598         * configure: Likewise.
86599         * configure.in: Likewise.
86600         * csu/Makefile: Likewise.
86601         * csu/version.c: Likewise.
86602         * debug/Makefile: Likewise.
86603         * dlfcn/Makefile: Likewise.
86604         * elf/Makefile: Likewise.
86605         * extra-lib.mk: Likewise.
86606         * iconv/Makefile: Likewise.
86607         * include/libc-symbols.h: Likewise.
86608         * include/shlib-compat.h: Likewise.
86609         * resolv/Makefile: Likewise.
86610         * resolv/res_libc.c: Likewise.
86611         * rt/Makefile: Likewise.
86612         * sysdeps/i386/asm-syntax.h: Likewise.
86613         * sysdeps/i386/sysdep.h: Likewise.
86614         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86615         * sysdeps/mach/sysdep.h: Likewise.
86616         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86617         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86618         * sysdeps/s390/asm-syntax.h: Likewise.
86619         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86620         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86621         * sysdeps/sh/sysdep.h: Likewise.
86622         * sysdeps/unix/sparc/sysdep.h: Likewise.
86623         * sysdeps/wordsize-32/divdi3.c: Likewise.
86624         * sysdeps/x86_64/sysdep.h: Likewise.
86626         * argp/Versions: Remove _argp_unlock_xxx.
86628         [BZ #13559]
86629         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86630         * abilist/libBrokenLocale.abilist: Likewise.
86631         * abilist/libanl.abilist: Likewise.
86632         * abilist/libc.abilist: Likewise.
86633         * abilist/libcrypt.abilist: Likewise.
86634         * abilist/libdl.abilist: Likewise.
86635         * abilist/libm.abilist: Likewise.
86636         * abilist/libnsl.abilist: Likewise.
86637         * abilist/libpthread.abilist: Likewise.
86638         * abilist/libresolv.abilist: Likewise.
86639         * abilist/librt.abilist: Likewise.
86640         * abilist/libthread_db.abilist: Likewise.
86641         * abilist/libutil.abilist: Likewise.
86642         * abilist/libnss_db.abilist: New file.
86644         * scripts/abilist.awk: Add support for indirect functions.
86646         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86648         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86650         * shlib-versions: Remove entries for ports architectures.
86652         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86653         files in ports.
86654         * elf/stackguard-macros.h: Remove support for IA-64.
86655         * elf/tst-auditmod1.c: Likewise.
86656         * sysdeps/generic/ldsodefs.h: Likewise.
86658         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86659         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86660         configure files.
86662         [BZ #13552]
86663         * configure.in: Remove --enable-omitfp support.
86664         * FAQ.in: Adjust.
86665         * config.make.in: Likewise.
86666         * Makeconfig: Likewise.
86667         * manual/install.texi: Likewise.
86669         In case anyone cares, the IA-64 architecture could move to ports.
86670         * sysdeps/ia64/*: Removed.
86671         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86672         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86674         [BZ #13555]
86675         * configure.in: Remove entries for unsupported architectures.
86677         [BZ #13533]
86678         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86679         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86680         routines.
86681         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86682         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86683         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86684         fall back to using wcrtomb.
86685         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86686         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86687         renaming.
86688         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86689         * wcsmbs/tst-c16c32-1.c: New file.
86691         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86692         local variable.
86694         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86696         * elf/tst-unique3.cc: Add explicit declaration of gets.
86697         * elf/tst-unique3lib.cc: Likewise.
86698         * elf/tst-unique3lib2.cc: Likewise.
86699         * elf/tst-unique4.cc: Likewise.
86701         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86703 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86705         [BZ #13566]
86706         * assert/assert.h (static_assert): Don't define for C++.
86707         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86708         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86710 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86712         * iconv/loop.c (single loop): Fix assertion in storing of
86713         remaining bytes.
86715         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86717 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86719         * posix/getconf.c: Update copyright year.
86720         * nss/getent.c: Likewise.
86721         * nss/makedb.c: Likewise.
86722         * iconv/iconvconfig.c: Likewise.
86723         * iconv/iconv_prog.c: Likewise.
86724         * elf/ldconfig.c: Likewise.
86725         * elf/pldd.c: Likewise.
86726         * elf/sotruss.ksh: Likewise.
86727         * catgets/gencat.c: Likewise.
86728         * csu/version.c: Likewise.
86729         * elf/ldd.bash.in: Likewise.
86730         * elf/sprof.c (print_version): Likewise.
86731         * locale/programs/locale.c: Likewise.
86732         * locale/programs/localedef.c: Likewise.
86733         * login/programs/pt_chown.c: Likewise.
86734         * nscd/nscd.c (print_version): Likewise.
86735         * debug/xtrace.sh: Likewise.
86736         * malloc/memusage.sh: Likewise.
86737         * malloc/mtrace.pl: Likewise.
86738         * debug/catchsegv.sh: Likewise.
86740 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86742         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86743         pure attribute.
86745 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86747         [BZ #13533]
86748         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86749         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86750         transformations.
86751         * iconv/gconv_int.h: Likewise.
86752         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86753         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86754         from libc for GLIBC_2.16.
86755         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86756         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86757         * wcsmbs/uchar.h: Really define mbstate_t.
86758         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86759         * wcsmbs/c16rtomb.c: New file.
86760         * wcsmbs/mbrtoc16.c: New file.
86761         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86762         for C/POSIX locale.
86763         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86764         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86766         * wcsmbs/wchar.h: Add missing __restrict.
86768 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86770         [BZ #13532]
86771         * time/Makefile (routines): Add timespec_get.
86772         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86773         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86774         timespec for ISO C11.
86775         * time/timespec_get.c: New file.
86776         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86777         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86779         [BZ #13531]
86780         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86781         * stdlib/stdlib.h: Declare aligned_alloc.
86782         * Versions.def: Add GLIBC_2.16 for libc.
86783         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86785         [BZ 13527]
86786         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86787         ISO C11.
86789         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86790         code.
86792         [BZ #13528]
86793         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86795         [BZ #13529]
86796         * assert/assert.h (static_assert): Define.
86798         * version.h: Update for 2.16 development version.
86800         [BZ #13526]
86801         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86802         _ISOC11_SOURCE.
86804         * version.h (RELEASE): Bump for 2.15 release.
86805         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86807         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86808         Patch by Marek Polacek <mpolacek@redhat.com>.
86810         * bits/byteswap.h: Protect long long constants with __extension__.
86811         * sysdeps/i386/bits/byteswap.h: Likewise.
86812         * sysdeps/ia64/bits/byteswap.h: Likewise.
86813         * sysdeps/s390/bits/byteswap.h: Likewise.
86814         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86816 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86818         [BZ #13540]
86819         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86820         destination buffer.
86821         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86823 2011-12-23  Marek Polacek  <polacek@redhat.com>
86825         * elf/dl-addr.c (determine_info): Add inline keyword.
86826         * elf/tst-auditmod4b.c (check_avx): Likewise.
86827         * elf/tst-auditmod6b.c (check_avx): Likewise.
86828         * elf/tst-auditmod6c.c (check_avx): Likewise.
86829         * elf/tst-auditmod7b.c (check_avx): Likewise.
86831 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86833         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86834         !__SSE_MATH__.
86836 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86838         [BZ #13540]
86839         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86840         processing for last bytes.
86842 2011-08-06  Bruno Haible  <bruno@clisp.org>
86844         [BZ #13061]
86845         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86846         U+0385, not to U+1FEE.
86848         [BZ #13062]
86849         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86850         entry for U+00A5 U+0301.
86852 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86854         [BZ #13166]
86855         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86856         buffer for the output is too small.
86858         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86859         optimization.
86861         [BZ #13185]
86862         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86863         SSE flags if possible.
86865 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86867         [BZ #13540]
86868         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86869         processing for last bytes.
86871 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86873         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86874         (syscall-list-default-options, syscall-list-default-condition)
86875         (syscall-list-includes): Define.
86876         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86877         list of ABIs and options and #if conditions for each ABI.  Do not
86878         handle common syscalls between ABIs specially.
86879         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86880         Remove.
86881         (syscall-list-variants, syscall-list-32bit-options)
86882         (syscall-list-32bit-condition, syscall-list-64bit-options)
86883         (syscall-list-64bit-condition): Define.
86884         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86885         (syscall-list-variants, syscall-list-32bit-options)
86886         (syscall-list-32bit-condition, syscall-list-64bit-options)
86887         (syscall-list-64bit-condition): Define.
86888         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86889         Remove.
86890         (syscall-list-variants, syscall-list-32bit-options)
86891         (syscall-list-32bit-condition, syscall-list-64bit-options)
86892         (syscall-list-64bit-condition): Define.
86893         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86894         Remove.
86895         (syscall-list-variants, syscall-list-32bit-options)
86896         (syscall-list-32bit-condition, syscall-list-64bit-options)
86897         (syscall-list-64bit-condition): Define.
86899 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86901         * locale/iso-639.def: Add brx entry.
86903         [BZ #13328]
86904         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86905         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86907         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86908         __feraiseexcept_renamed.
86910 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86912         [BZ #13538]
86913         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86914         EPOLLET with unsigned values.
86915         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86916         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86918         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86919         to large cancellation.
86920         * math/s_cacoshf.c: Likewise.
86921         * math/s_cacoshl.c: Likewise.
86923 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86925         [BZ #13305]
86926         [BZ #12786]
86927         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86928         * math/s_cacoshf.c: Likewise.
86929         * math/s_cacoshl.c: Likewise.
86931 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86933         [BZ #13439]
86934         * iconv/gconv.h: Define __GCONV_SWAP.
86935         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86936         * iconvdata/utf-16.c: Likewise.
86937         * iconvdata/utf-32.c: Likewise.
86939 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86941         [BZ #13524]
86942         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86943         numerator after shifting it by one limb.
86945 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86947         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86948         under [__USE_EXTERN_INLINES].
86950 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86952         [BZ #13446]
86953         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86955 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86957         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86958         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86959         optimized code.
86960         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86961         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86962         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86963         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86964         for strncasecmp/strncasecmp_l compilation.
86965         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86966         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86968 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86970         [BZ #13484]
86971         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86972         of __asm__.
86974 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86976         [BZ #13506]
86977         * time/tzfile.c (__tzfile_read): Check values from file header.
86979 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86981         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86982         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86983         * powerpc/powerpc32/dl-start.S: Likewise.
86984         * powerpc/powerpc32/elf/start.S: Likewise.
86985         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86986         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86987         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86988         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86989         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86990         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86991         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86992         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86993         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86994         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86995         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86996         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86997         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86998         * powerpc/powerpc32/memset.S: Likewise.
86999         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87000         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87001         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87002         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87003         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87004         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87005         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87006         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87007         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87008         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87009         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87010         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87011         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87013 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87015         * math/libm-test.inc: Added more nearbyint tests.
87016         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87018         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87019         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87021 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87023         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87024         FD_CLOEXEC.
87026 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87028         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87029         Add wcscpy-ssse3 wcscpy-c.
87030         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87031         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87032         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87033         * sysdeps/x86_64/wcschr.S: New file.
87034         * sysdeps/x86_64/wcsrchr.S: New file.
87035         * string/test-strcmp.c: Remove checking of wcscmp function for
87036         wrong alignments.
87037         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87038         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87039         wcsrchr-sse2 wcsrchr-c.
87040         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87041         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87042         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87043         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87044         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87045         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87046         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87047         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87048         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87049         * wcsmbc/wcschr.c (WCSCHR): New macro.
87051 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87053         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87054         * wcsmbs/test-wcsrchr.c: New file.
87055         * string/test-strrchr.c: Add wcsrchr support.
87056         (WIDE): New macro.
87057         * wcsmbs/test-wcscpy.c: New file.
87058         * string/test-strcpy.c: Add wcscpy support.
87059         (WIDE): New macro.
87061 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87063         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87064         the inner loop.
87066 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87068         [BZ #13472]
87069         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87071 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87073         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87074         Minor optimizations.
87076         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87077         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87078         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87080 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87082         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87083         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87084         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87085         for gcc to avoid warnings.
87086         * inet/Makefile (tests): Add tst-checks.
87087         * inet/tst-checks.c: New file.
87089         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87090         warning.
87092         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87093         __wmemcmp_sse2.
87095         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87096         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87098         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87100 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87102         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87103         problem.
87105         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87107 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87109         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87110         conditional on GCC version.
87111         (__arch_compare_and_exchange_val_8_acq)
87112         (__arch_compare_and_exchange_val_16_acq)
87113         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87114         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87115         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87117 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87119         * sysdeps/sh/backtrace.c: New file.
87121 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87123         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87124         parenthesis.
87126 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87128         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87129         falling back to utime.
87131 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87133         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87134         expectations for float.
87136 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87138         * locale/weight.h (findidx): Add parameter len.
87139         * locale/weightwc.h (findidx): Likewise.
87140         * posix/fnmatch_loop.c (FCT): Adjust caller.
87141         * posix/regcomp.c (build_equiv_class): Likewise.
87142         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87143         * posix/regexec.c (check_node_accept_bytes): Likewise.
87144         * string/strcoll_l.c (STRCOLL): Likewise.
87145         * string/strxfrm_l.c (STRXFRM): Likewise.
87147 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87149         * Makefile.in: Remove CVSOPT handling.
87150         * configure.in: Remove use of AC_REVISION.
87151         * iconvdata/Makefile (distribute): No need to filter out CVS.
87152         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87153         handling.
87155 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87158         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87159         [USE_AS_STRNCASECMP_L]: Likewise.
87160         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87161         NO_TLS_DIRECT_SEG_REFS.
87162         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87163         Fix argument offsets for non-PIC.
87164         [USE_AS_STRNCASECMP_L]: Likewise.
87165         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87166         NO_TLS_DIRECT_SEG_REFS.
87168 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87170         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87171         O_CLOEXEC.
87172         * locale/loadlocale.c (_nl_load_locale): Likewise.
87174 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87176         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87177         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87178         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87179         (SYSCALL_GETTIME): Set errno on error.
87181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87182         count references to noai6ai_cached.
87184 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87186         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87188         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87189         FD_CLOEXEC for /proc/self/maps.
87191         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87192         FD_CLOEXEC for /proc/meminfo.
87194         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87195         gai.conf.
87197         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87198         FD_CLOEXEC for given file.
87200         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87202         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87203         FD_CLOEXEC for /etc/hosts.
87204         (_gethtent): Likewise.
87206         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87208         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87209         cancellation and set FD_CLOEXEC for /etc/netgroup.
87211         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87212         reading /etc/publickey.
87214         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87215         allow cancellation when reading /etc/group.
87217         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87218         cancellation.
87219         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87221         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87222         when using data file.
87224         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87226         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87227         (write_nis_obj): Use "c" and "e" in fopen.
87229         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87231         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87233         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87235         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87237         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87238         locale.alias.
87240         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87242         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87244         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87246         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87247         file parsing and set FD_CLOEXEC.
87249 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87251         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87253 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87255         * malloc/arena.c (arena_get2): Don't call reused_arena when
87256         _int_new_arena failed.
87258 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87260         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87261         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87262         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87263         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87264         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87265         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87266         to compile strcasecmp and strncasecmp.
87267         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87268         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87270         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87272 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
87274         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87275         locale-defines.sym to gen-as-const-headers.
87276         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87277         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87278         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87279         to compile strcasecmp and strncasecmp.
87280         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87281         strcasecmp_l and strncasecmp_l.
87282         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87283         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87284         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87285         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87286         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87287         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87288         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87289         * sysdeps/i386/i686/multiarch/strncase.S: New file.
87290         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87291         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87292         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87294 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
87296         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87297         result of SYSDEP_GETTIME_CPU to retval.
87298         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87299         parameter list to macro.  Remove trailing semicolon.  Adjust users.
87301         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87302         variable.
87304         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87305         mantissa words.
87306         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87308         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87309         from unused variable.
87311         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87312         DWARF definitions.
87313         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87314         for assembling.
87316         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87317         over namespaces.
87319         * sunrpc/rpc_prot.c (rejected): Fix case value.
87321         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87322         unsigned long long int to avoid warnings in shift.
87324         * posix/regex_internal.c (re_string_reconstruct): Actually use result
87325         of use of trans.
87326         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87327         variable tmp.
87329         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87330         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87331         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87333         * nis/nis_table.c (nis_list): Use variable of correct type for
87334         result of __follow_path call.
87336 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87338         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87339         of math functions ceil, trunc, floor, round, and sqrt, when
87340         avaliable on the platform.
87341         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87342         name clash.
87343         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87344         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87345         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87347 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
87349         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87350         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87352 2011-11-11  Roland McGrath  <roland@hack.frob.com>
87354         * include/unistd.h: Fix __readlink return type.
87355         Reported by Chris Metcalf <cmetcalf@tilera.com>.
87357 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
87359         * stdlib/ucontext.h: Undo last change for makecontext.
87361 2011-11-11  Andreas Schwab  <schwab@redhat.com>
87363         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87365         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87366         * setjmp/setjmp.h: Mark functions as non-leaf.
87367         * setjmp/bits/setjmp2.h: Likewise.
87368         * stdlib/ucontext.h: Likewise.
87370 2011-11-10  Andreas Schwab  <schwab@redhat.com>
87372         * malloc/arena.c (_int_new_arena): Don't increment narenas.
87373         (reused_arena): Don't check arena limit.
87374         (arena_get2): Atomically check arena limit.
87376 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
87378         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87379         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87382         instructions.
87384 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87386         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87387         handler when locking.
87389         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87390         Fix size of allocated buffer.
87392 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87394         [BZ #10103]
87395         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87396         declarations for long double functions.
87397         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87399         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87401 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87403         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87404         installed.
87406         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87407         is disabled.
87409 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87411         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87413 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87415         * include/alloca.h (stackinfo_alloca_round): Define.
87416         (extend_alloca): Use it.
87417         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87418         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87419         here.
87421         * scripts/check-local-headers.sh: Ignore libaudit.h.
87423         * nscd/Makefile (extra-objs): Make recursively expanded.
87425 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87427         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87428         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87430         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87431         * posix/tst-rfc3484-2.c: Likewise.
87432         * posix/tst-rfc3484-3.c: Likewise.
87434         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87435         process_vm_writev.
87436         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87437         process_vm_writev.
87438         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87439         process_vm_writev from libc using GLIBC_2.15 version.
87441         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87443 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87445         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87446         stack usage.
87448 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87450         [BZ #13367]
87451         * nss/getent.c (initgroups_keys): Show error message in case no group
87452         names are given.
87454         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87455         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87456         __bump_nl_timestamp.
87457         * nscd/connections (nscd_init): When host database is served open
87458         netlink socket and request notification about configuration changes.
87459         (main_loop_poll): Track netlink file descriptor and bump timestamp
87460         in case data becomes available.
87461         (main_loop_epoll): Likewise.
87462         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87463         (database_pers_head): Add extra_data fileds.
87464         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87465         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87466         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87467         Adjust caller.
87468         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87469         in6ai data, call __free_in6ai.
87470         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87471         Add -DHAVE_NETLINK.
87472         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87473         interface information.  Reuse previous data if netlink timestamp
87474         is not changed.
87475         (__bump_nl_timestamp): New function.
87476         (__free_in6ai): New function.
87478 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87480         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87481         close_not_cancel_no_status here.
87482         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87484 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87486         [BZ #13276]
87487         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87488         return value.
87490         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87491         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87492         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87494 2011-07-03  Andreas Jaeger  <aj@suse.de>
87496         [BZ #10709]
87497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87498         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87499         * math/libm-test.inc (sin_test): Add test case.
87501 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87503         [BZ #13337]
87504         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87505         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87507         * elf/chroot_canon.c (chroot_canon): Cleanups.
87509         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87511         [BZ #13335]
87512         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87513         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87515         * string/test-strchr.c: Make usable for strchrnul testing.
87516         * string/test-strchrnul.c: New file.
87517         * string/Makefile (strop-tests): Add strchrnul.
87519         * po/it.po: Update from translation team.
87520         * po/es.po: Likewise.
87522 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87524         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87525         the three constants needed as parameters.  Drop the others.
87526         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87527         __m128i_strloadu_tolower.
87528         Create and initialize variable zero and use it in all the places
87529         where _mm_setzero_si128 was used.
87531         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87532         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87533         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87534         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87535         anymore.
87536         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87537         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87538         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87539         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87540         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87541         __mpranred, __mptan.
87542         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87543         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87544         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87545         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87546         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87547         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87548         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87549         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87550         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87552 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87554         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87555         redefine if SHARED.
87556         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87559         wide char related routines to wcsmbs subdir.
87561 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87563         [BZ #13344]
87564         * misc/sys/cdefs.h (__THROWNL): Define.
87565         * posix/unistd.h: Use __THREADNL instead of __THREAD
87566         for memory synchronization functions.
87568 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87570         [BZ #13349]
87571         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87572         doesn't exist.
87573         * manual/stdio.texi (Obstack Streams): Node removed.
87575 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87577         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87578         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87579         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87581         * math/math_private.h (math_force_eval): Allow non-addressable
87582         arguments.
87583         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87585 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87587         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87588         file is not needed.
87590         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87591         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87592         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87593         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87594         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87595         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87596         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87597         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87598         Add AVX variants.
87599         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87600         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87601         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87602         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87603         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87604         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87605         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87606         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87607         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87608         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87609         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87610         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87611         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87612         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87613         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87614         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87615         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87616         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87617         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87619         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87620         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87622         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87623         place.  Use VEX encoding when compiling for AVX.
87625 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87627         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87628         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87630         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87632 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87634         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87635         useless if() expression.
87636         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87637         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87638         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87639         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87640         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87641         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87642         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87643         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87644         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87645         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87646         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87647         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87648         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87649         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87650         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87651         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87652         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87653         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87654         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87656         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87658 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87660         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87661         condition.
87662         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87664 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87666         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87667         .text section.  Avoid duplicate constants.
87668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87670         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87676         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87677         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87678         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87679         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87680         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87681         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87682         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87684         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87685         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87686         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87688         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87689         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87690         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87691         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87692         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87693         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87694         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87695         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87696         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87697         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87698         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87699         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87700         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87701         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87702         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87703         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87704         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87705         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87706         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87707         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87708         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87709         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87710         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87711         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87712         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87714 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87716         * sysdeps/x86_64/dla.h: Move to ...
87717         * sysdeps/x86_64/fpu/dla.h: ...here.
87718         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87719         situations.  Use __builtin_fma only for gcc 4.6 and up.
87721         * config.make.in: Add have-mfma4 entry.
87722         * configure.in: Substitute libc_cv_cc_fma4.
87723         * math/Makefile (dbl-only-routines): Add sincostab.
87724         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87725         Use __sincostab not sincos.
87726         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87727         name is a macro.
87728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87729         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87732         using __copysign.
87733         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87734         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87735         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87736         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87737         and __inv.
87738         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87739         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87740         __copysign.
87741         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87742         define aliases when function name is a macro.
87743         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87744         sysdeps/ieee754/dbl-64/sincos.tbl.
87745         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87746         fma4-enabled routines.
87747         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87748         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87749         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87750         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87751         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87752         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87753         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87754         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87755         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87756         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87757         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87758         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87759         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87760         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87761         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87762         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87763         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87764         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87765         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87766         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87767         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87768         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87769         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87770         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87771         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87772         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87773         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87774         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87775         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87776         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87778         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87779         rename.
87780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87786         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87789 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87791         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87793 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87797         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87798         prediction.
87799         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87801         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87802         Remove unused variable magic_bits.
87803         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87805         * string/strnlen.c: Define and use STRNLEN macro.
87806         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87807         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87808         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87809         * wcsmbs/wcslen.c: Define and use WCSLEN.
87810         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87811         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87812         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87813         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87814         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87815         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87816         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87818 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87821         strnlen-sse2-no-bsf.
87822         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87823         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87824         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87825         Add strnlen support.
87826         (USE_AS_STRNLEN): New macro.
87827         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87829         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87830         * sysdeps/x86_64/wcslen.S: New file.
87832 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87834         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87835         XMM-moves are used for copying on small sizes.
87837 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87839         * wcsmbs/Makefile (strop-tests): Add wcschr.
87840         * wcsmbs/test-wcschr.c: New file.
87841         * string/test-strchr.c: Update.
87842         Add wcschr support.
87843         (WIDE): New macro.
87845 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87847         * wcsmbs/Makefile (strop-tests): Add wcslen.
87848         * wcsmbs/test-wcslen.c: New file.
87849         * string/test-strlen.c: Update.
87850         Add wcslen support.
87851         (WIDE): New macro.
87853 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87855         * po/it.po: Update from translation team.
87857 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87859         * sysdeps/x86_64/wcscmp.S: Update.
87860         Fix wrong comparison semantics.
87861         wcscmp shall use signed comparison not unsigned.
87862         Don't use substraction to avoid overflow bug.
87863         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87864         * wcsmbc/wcscmp.c: Likewise.
87865         * string/test-strcmp.c: Likewise.
87866         Add new tests to check cases with negative values.
87868 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87870         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87871         * sysdeps/x86_64/dla.h: ...here.  New file.
87872         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87874         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87877         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87878         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87879         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87882 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87885         __ynl_finite aliases.
87887 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87891         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87892         define DLA_FMA.
87893         [DLA_FMA] (EMULV): Use DLA_FMA.
87894         [DLA_FMA] (MUL12): Use EMULV.
87895         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87896         that are not needed.
87897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87901         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87903         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87905 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87907         * math/s_nan.c: Undef __nan.
87908         * math/s_nanf.c: Undef __nanf.
87909         * math/s_nanl.c: Undef __nanl.
87910         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87911         "math_private.h".
87913 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87915         * math/s_catan.c: Add branch predictions.
87916         * math/s_catanf.c: Likewise.
87917         * math/s_catanh.c: Likewise.
87918         * math/s_catanhf.c: Likewise.
87919         * math/s_catanhl.c: Likewise.
87920         * math/s_catanl.c: Likewise.
87921         * math/s_cexp.c: Likewise.
87922         * math/s_cexpf.c: Likewise.
87923         * math/s_cexpl.c: Likewise.
87924         * math/s_clog.c: Likewise.
87925         * math/s_clog10.c: Likewise.
87926         * math/s_clog10f.c: Likewise.
87927         * math/s_clog10l.c: Likewise.
87928         * math/s_clogf.c: Likewise.
87929         * math/s_clogl.c: Likewise.
87930         * math/s_csqrt.c: Likewise.
87931         * math/s_csqrtf.c: Likewise.
87932         * math/s_csqrtl.c: Likewise.
87933         * math/s_ctanf.c: Likewise.
87934         * math/s_ctanh.c: Likewise.
87935         * math/s_ctanhf.c: Likewise.
87936         * math/s_ctanhl.c: Likewise.
87937         * math/s_ctanl.c: Likewise.
87939         * math/math_private.h: Define __nan, __nanf, __nanl.
87940         * math/s_cacosh.c: Include <math_private.h>.
87941         * math/s_cacoshl.c: Likewise.
87942         * math/s_casinh.c: Likewise.
87943         * math/s_casinhf.c: Likewise.
87944         * math/s_casinhl.c: Likewise.
87945         * math/s_ccos.c: Rely entire on ccosh.
87946         * math/s_ccosf.c: Rely entire on ccoshf.
87947         * math/s_ccosl.c: Rely entirely on ccoshl.
87948         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87949         Remove tests for FE_INVALID.
87950         * math/s_ccoshf.c: Likewise.
87951         * math/s_ccoshl.c: Likewise.
87952         * math/s_csin.c: Likewise.
87953         * math/s_csinf.c: Likewise.
87954         * math/s_csinh.c Likewise.
87955         * math/s_csinhf.c: Likewise.
87956         * math/s_csinhl.c: Likewise.
87957         * math/s_csinl.c: Likewise.
87958         * math/s_ctan.c: Likewise.
87959         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87960         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87961         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87963 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87966         compilation problems.
87968         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87969         __builtin_expect.
87971 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87973         * sysdeps/i386/configure.in: Test for -mfma4 option.
87974         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87975         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87976         COMMON_CPUID_INDEX_80000001.
87977         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87978         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87979         use it if FMA3 is not supported.
87980         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87982         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87983         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87985 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87987         [BZ #12892]
87988         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87989         it would create a cycle with a link time dependency.
87991 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87993         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87994         instruction.
87995         * string/Makefile (strop-tests): Add rawmemchr.
87996         * string/test-rawmemchr.c: New file.
87998         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88000         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88001         when compiling str{,n}casecmp and when AVX is available.  Hook up
88002         new optimized code in initializers.
88004 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88006         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88007         __feraiseexcept instead of feraiseexcept.
88009 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88011         * math/math_private.h: Define defaults for libc_fetestexcept and
88012         libc_feupdateenv.
88013         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88014         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88015         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88016         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88017         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88018         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88019         libc_fetestexcept and libc_feupdateenv.
88021         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88022         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88023         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88024         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88025         libc_feholdexcept_setround.
88027         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88028         Add s_nearbyint-c and s_nearbyintf-c.
88029         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88030         nearbyintf inlines.
88031         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88032         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88033         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88034         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88036         * math/math_private.h: Define defaults for libc_fegetround,
88037         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88038         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88039         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88040         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88041         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88042         standard functions.
88043         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88044         Remove comments and hacks for old compiler versions.
88045         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88046         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88047         libc_feholdexceptl.
88049 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88051         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88052         (__feraiseexcept_renamed): Add __NTH.
88053         (feraiseexcept): Add __NTH.  Rename local variables to fix
88054         namespace violations.
88056 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88058         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88060         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88062         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88063         recently added interfaces.
88064         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88066         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88067         about macro parameter expansion.
88069         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88070         __NO_MATH_INLINES is defined.  Cleanups.
88072         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88073         and __floorf is target has SSE4.1.
88074         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88075         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88076         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88077         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88079         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88080         name.
88081         (floorf): Likewise.
88083         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88085 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88087         * misc/sys/cdefs.h: Fix last change.
88089         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88090         database lookup.
88092 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88094         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88096         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88097         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88098         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88099         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88100         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88101         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88102         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88103         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88104         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88105         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88106         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88107         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88108         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88109         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88110         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88111         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88112         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88113         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88114         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88115         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88116         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88117         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88119         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88120         ceil, ceilf, floor, floorf.
88122         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88123         Perform IRELATIVE relocations last.
88125         * elf/do-rel.h: Add another parameter nrelative, replacing the
88126         local variable with the same name.  Change name of the function
88127         to end in Rel or Rela (uppercase).
88128         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88129         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88130         elf_dynamic_do_##reloc function.
88132 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88134         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88135         is sufficient, at least on modern CPUs.
88137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88139         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88140         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88142         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88143         __expl_finite.
88144         * math/bits/math-finite.h: Add entries for exp.
88145         * math/e_expl.c: Add __*_finite alias.
88146         * sysdeps/i386/fpu/e_exp.S: Likewise.
88147         * sysdeps/i386/fpu/e_expf.S: Likewise.
88148         * sysdeps/i386/fpu/e_expl.c: Likewise.
88149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88150         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88151         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88152         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88153         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88154         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88155         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88157         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88158         is sufficient, at least on modern CPUs.
88160         * ctype/ctype-info.c (__ctype_init): Define.
88161         * include/ctype.h (__ctype_init): Declare.
88162         (__ctype_b_loc): The variable is always initialized.
88163         (__ctype_toupper_loc): Likewise.
88164         (__ctype_tolower_loc): Likewise.
88165         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88166         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88168 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88170         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88172         * configure.in: Also look in $cxxmachine/include for C++ system
88173         headers.
88175 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88177         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88178         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88179         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88180         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88181         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88182         (USE_AS_WMEMCMP): New macro.
88183         Fixing indents.
88184         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88185         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88186         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88187         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88189         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88190         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88191         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88192         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88193         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88194         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88195         (USE_AS_WMEMCMP): New macro.
88196         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88197         * sysdeps/string/test-memcmp.c: Update.
88198         Fix simple_wmemcmp.
88199         Add new tests.
88200         * wcsmbs/wmemcmp.c: Update.
88201         (WMEMCMP): New macro.
88202         Fix overflow bug.
88204 2011-10-12  Andreas Jaeger  <aj@suse.de>
88206         [BZ #13268]
88207         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88209 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88211         * libio/iofwide.c (do_length): Avoid warning.
88213         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88215 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88217         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88219         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88220         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88221         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88222         * sysdeps/i386/i686/fpu/e_log.S: New file.
88223         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88224         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88226         * ctype/ctype.h: Add support for inlined isXXX functions when
88227         compiling C++ code.
88229 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88231         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88233         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88235 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88237         [BZ #13291]
88238         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88240 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88242         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88243         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88244         feraiseexcept.
88246         * sysdeps/x86_64/memrchr.S: Check for zero size.
88248         * string/stratcliff.c: Add memrchr tests.
88250 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88253         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88254         rawmemchr-sse2 rawmemchr-sse2-bsf.
88255         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88256         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88257         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88258         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88259         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88260         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88261         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88262         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88263         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88264         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88265         * string/memrchr.c (MEMRCHR): New macro.
88267 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
88269         Add integration with gcc's -ffinite-math-only and optimize wrapper
88270         functions in libm.
88271         * Versions.def: Define GLIBC_2.15 version for libm.
88272         * math/Makefile (headers): Add bits/math-finite.h.
88273         * math/bits/math-finite.h: New file.
88274         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88275         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88276         * math/e_acoshl.c: Add __*_finite alias.
88277         * math/e_acosl.c: Likewise.
88278         * math/e_asinl.c: Likewise.
88279         * math/e_atan2l.c: Likewise.
88280         * math/e_atanhl.c: Likewise.
88281         * math/e_coshl.c: Likewise.
88282         * math/e_exp10.c: Likewise.
88283         * math/e_exp10f.c: Likewise.
88284         * math/e_exp10l.c: Likewise.
88285         * math/e_exp2l.c: Likewise.
88286         * math/e_fmodl.c: Likewise.
88287         * math/e_gammal_r.c: Likewise.
88288         * math/e_hypotl.c: Likewise.
88289         * math/e_j0l.c: Likewise.
88290         * math/e_j1l.c: Likewise.
88291         * math/e_jnl.c: Likewise.
88292         * math/e_lgammal_r.c: Likewise.
88293         * math/e_log10l.c: Likewise.
88294         * math/e_log2l.c: Likewise.
88295         * math/e_logl.c: Likewise.
88296         * math/e_powl.c: Likewise.
88297         * math/e_sinhl.c: Likewise.
88298         * math/e_sqrtl.c: Likewise.
88299         * math/e_scalb.c: Completely rewritten and optimized.
88300         * math/e_scalbf.c: Likewise.
88301         * math/e_scalbl.c: Likewise.
88302         * math/w_acos.c: Likewise.
88303         * math/w_acosf.c: Likewise.
88304         * math/w_acosl.c: Likewise.
88305         * math/w_acosh.c: Likewise.
88306         * math/w_acoshf.c: Likewise.
88307         * math/w_acoshl.c: Likewise.
88308         * math/w_asin.c: Likewise.
88309         * math/w_asinf.c: Likewise.
88310         * math/w_asinl.c: Likewise.
88311         * math/w_atan2.c: Likewise.
88312         * math/w_atan2f.c: Likewise.
88313         * math/w_atan2l.c: Likewise.
88314         * math/w_atanh.c: Likewise.
88315         * math/w_atanhf.c: Likewise.
88316         * math/w_atanhl.c: Likewise.
88317         * math/w_exp10.c: Likewise.
88318         * math/w_exp10f.c: Likewise.
88319         * math/w_exp10l.c: Likewise.
88320         * math/w_fmod.c: Likewise.
88321         * math/w_fmodf.c: Likewise.
88322         * math/w_fmodl.c: Likewise.
88323         * math/w_j0.c: Likewise.
88324         * math/w_j0f.c: Likewise.
88325         * math/w_j0l.c: Likewise.
88326         * math/w_j1.c: Likewise.
88327         * math/w_j1f.c: Likewise.
88328         * math/w_j1l.c: Likewise.
88329         * math/w_jn.c: Likewise.
88330         * math/w_jnf.c: Likewise.
88331         * math/w_log.c: Likewise.
88332         * math/w_logf.c: Likewise.
88333         * math/w_logl.c: Likewise.
88334         * math/w_log10.c: Likewise.
88335         * math/w_log10f.c: Likewise.
88336         * math/w_log10l.c: Likewise.
88337         * math/w_log2.c: Likewise.
88338         * math/w_log2f.c: Likewise.
88339         * math/w_log2l.c: Likewise.
88340         * math/w_pow.c: Likewise.
88341         * math/w_powf.c: Likewise.
88342         * math/w_powl.c: Likewise.
88343         * math/w_remainder.c: Likewise.
88344         * math/w_remainderf.c: Likewise.
88345         * math/w_remainderl.c: Likewise.
88346         * math/w_scalb.c: Likewise.
88347         * math/w_scalbf.c: Likewise.
88348         * math/w_scalbl.c: Likewise.
88349         * math/w_sqrt.c: Likewise.
88350         * math/w_sqrtf.c: Likewise.
88351         * math/w_sqrtl.c: Likewise.
88352         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88353         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
88354         used.
88355         * math/math_private.h: Declare __kernel_standard_f.
88356         * math/w_cosh.c: Remove cruft and optimize a bit.
88357         * math/w_coshf.c: Likewise.
88358         * math/w_coshl.c: Likewise.
88359         * math/w_exp2.c: Likewise.
88360         * math/w_exp2f.c: Likewise.
88361         * math/w_exp2l.c: Likewise.
88362         * math/w_hypot.c: Likewise.
88363         * math/w_hypotf.c: Likewise.
88364         * math/w_hypotl.c: Likewise.
88365         * math/w_lgamma.c: Likewise.
88366         * math/w_lgamma_r.c: Likewise.
88367         * math/w_lgammaf.c: Likewise.
88368         * math/w_lgammaf_r.c: Likewise.
88369         * math/w_lgammal.c: Likewise.
88370         * math/w_lgammal_r.c: Likewise.
88371         * math/w_sinh.c: Likewise.
88372         * math/w_sinhf.c: Likewise.
88373         * math/w_sinhl.c: Likewise.
88374         * math/w_tgamma.c: Likewise.
88375         * math/w_tgammaf.c: Likewise.
88376         * math/w_tgammal.c: Likewise.
88377         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88378         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88379         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88380         Minor optimizations.  Pretty printing.  Remove cruft.
88381         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88382         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88383         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88384         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88385         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88386         * sysdeps/i386/fpu/e_asin.S: Likewise.
88387         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88388         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88389         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88390         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88391         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88392         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88393         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88394         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88395         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88396         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88397         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88398         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88399         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88400         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88401         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88402         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88403         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88404         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88405         * sysdeps/i386/fpu/e_log.S: Likewise.
88406         * sysdeps/i386/fpu/e_log10.S: Likewise.
88407         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88408         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88409         * sysdeps/i386/fpu/e_log2.S: Likewise.
88410         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88411         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88412         * sysdeps/i386/fpu/e_logf.S: Likewise.
88413         * sysdeps/i386/fpu/e_logl.S: Likewise.
88414         * sysdeps/i386/fpu/e_pow.S: Likewise.
88415         * sysdeps/i386/fpu/e_powf.S: Likewise.
88416         * sysdeps/i386/fpu/e_powl.S: Likewise.
88417         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88418         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88419         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88420         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88421         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88422         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88423         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88424         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88425         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88426         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88427         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88428         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88429         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88430         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88431         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88432         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88433         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88434         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88435         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88436         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88437         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88438         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88439         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88440         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88442         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88443         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88444         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88446         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88447         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88448         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88449         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88450         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88451         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88452         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88453         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88454         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88455         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88456         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88457         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88458         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88459         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88460         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88461         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88462         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88463         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88464         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88465         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88466         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88467         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88468         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88469         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88470         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88471         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88472         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88473         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88474         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88475         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88476         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88477         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88478         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88479         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88480         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88481         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88482         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88483         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88484         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88485         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88486         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88487         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88488         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88489         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88491         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88492         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88493         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88494         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88495         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88496         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88497         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88498         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88499         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88500         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88501         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88502         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88503         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88504         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88505         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88506         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88507         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88509         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88510         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88511         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88512         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88513         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88514         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88515         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88516         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88517         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88518         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88519         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88520         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88521         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88522         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88523         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88524         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88525         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88526         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88527         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88528         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88529         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88530         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88531         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88532         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88533         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88534         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88535         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88536         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88537         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88538         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88539         (__isnanf): Likewise.
88540         (__isinf_ns): Likewise.
88541         (__isinf_nsf): Likewise.
88542         (__finite): Likewise.
88543         (__finitef): Likewise.
88544         (__ieee754_sqrt): Define as macro.
88545         (__ieee754_sqrtf): Define as macro.
88546         (__ieee754_sqrtl): Define as macro.
88547         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88548         inlined copy.
88549         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88550         __FINITE_MATH_ONLY__ consistent.
88551         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88553 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88555         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88556         of rawmemchr.
88558         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88560 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88562         * po/ja.po: Update from translation team.
88564 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88566         * locale/programs/locarchive.c (prepare_address_space): New function.
88567         (create_archive, enlarge_archive, open_archive): Use it.
88569         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88570         inside [SHARED], where it is used.
88572         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88574         * nss/getent.c (netgroup_keys): Remove unused variable.
88575         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88577 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88579         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88581         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88582         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88583         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88584         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88585         * math/Makefile (libm-calls): Add s_isinf_ns.
88586         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88587         * math/multc3.c: Likewise.
88588         * math/s_casin.c: Likewise.
88589         * math/s_casinf.c: Likewise.
88590         * math/s_casinl.c: Likewise.
88591         * math/s_ccos.c: Likewise.
88592         * math/s_ccosf.c: Likewise.
88593         * math/s_ccosl.c: Likewise.
88594         * math/s_ctan.c: Likewise.
88595         * math/s_ctanf.c: Likewise.
88596         * math/s_ctanh.c: Likewise.
88597         * math/s_ctanhf.c: Likewise.
88598         * math/s_ctanhl.c: Likewise.
88599         * math/s_ctanl.c: Likewise.
88600         * math/w_fmod.c: Likewise.
88601         * math/w_fmodf.c: Likewise.
88602         * math/w_fmodl.c: Likewise.
88603         * math/w_remainder.c: Likewise.
88604         * math/w_remainderf.c: Likewise.
88605         * math/w_remainderl.c: Likewise.
88606         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88607         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88608         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88610         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88611         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88612         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88613         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88615         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88616         of the number.
88617         * stdio-common/printf_fphex.c: Likewise.
88618         * stdio-common/printf_size.c: Likewise.
88620         * math/e_exp10.c: Include math_private.h using <...> not "...".
88621         * math/e_exp10f.c: Likewise.
88622         * math/e_exp10l.c: Likewise.
88623         * math/e_exp2l.c: Likewise.
88624         * math/e_j0l.c: Likewise.
88625         * math/e_j1l.c: Likewise.
88626         * math/e_jnl.c: Likewise.
88627         * math/e_lgammal_r.c: Likewise.
88628         * math/e_rem_pio2l.c: Likewise.
88629         * math/e_scalb.c: Likewise.
88630         * math/e_scalbf.c: Likewise.
88631         * math/e_scalbl.c: Likewise.
88632         * math/k_cosl.c: Likewise.
88633         * math/k_sinl.c: Likewise.
88634         * math/k_tanl.c: Likewise.
88635         * math/s_cacoshf.c: Likewise.
88636         * math/s_catan.c: Likewise.
88637         * math/s_catanf.c: Likewise.
88638         * math/s_catanh.c: Likewise.
88639         * math/s_catanhf.c: Likewise.
88640         * math/s_catanhl.c: Likewise.
88641         * math/s_catanl.c: Likewise.
88642         * math/s_ccosh.c: Likewise.
88643         * math/s_ccoshf.c: Likewise.
88644         * math/s_ccoshl.c: Likewise.
88645         * math/s_cexp.c: Likewise.
88646         * math/s_cexpf.c: Likewise.
88647         * math/s_cexpl.c: Likewise.
88648         * math/s_clog.c: Likewise.
88649         * math/s_clog10.c: Likewise.
88650         * math/s_clog10f.c: Likewise.
88651         * math/s_clog10l.c: Likewise.
88652         * math/s_clogf.c: Likewise.
88653         * math/s_clogl.c: Likewise.
88654         * math/s_csin.c: Likewise.
88655         * math/s_csinf.c: Likewise.
88656         * math/s_csinh.c: Likewise.
88657         * math/s_csinhf.c: Likewise.
88658         * math/s_csinhl.c: Likewise.
88659         * math/s_csinl.c: Likewise.
88660         * math/s_csqrt.c: Likewise.
88661         * math/s_csqrtf.c: Likewise.
88662         * math/s_csqrtl.c: Likewise.
88663         * math/s_ctan.c: Likewise.
88664         * math/s_ctanf.c: Likewise.
88665         * math/s_ctanh.c: Likewise.
88666         * math/s_ctanhf.c: Likewise.
88667         * math/s_ctanhl.c: Likewise.
88668         * math/s_ctanl.c: Likewise.
88669         * math/s_ldexp.c: Likewise.
88670         * math/s_ldexpf.c: Likewise.
88671         * math/s_ldexpl.c: Likewise.
88672         * math/s_significand.c: Likewise.
88673         * math/s_significandf.c: Likewise.
88674         * math/s_significandl.c: Likewise.
88675         * math/w_acos.c: Likewise.
88676         * math/w_acosf.c: Likewise.
88677         * math/w_acosh.c: Likewise.
88678         * math/w_acoshf.c: Likewise.
88679         * math/w_acoshl.c: Likewise.
88680         * math/w_acosl.c: Likewise.
88681         * math/w_asin.c: Likewise.
88682         * math/w_asinf.c: Likewise.
88683         * math/w_asinl.c: Likewise.
88684         * math/w_atan2.c: Likewise.
88685         * math/w_atan2f.c: Likewise.
88686         * math/w_atan2l.c: Likewise.
88687         * math/w_atanh.c: Likewise.
88688         * math/w_atanhf.c: Likewise.
88689         * math/w_atanhl.c: Likewise.
88690         * math/w_cosh.c: Likewise.
88691         * math/w_coshf.c: Likewise.
88692         * math/w_coshl.c: Likewise.
88693         * math/w_dremf.c: Likewise.
88694         * math/w_exp10.c: Likewise.
88695         * math/w_exp10f.c: Likewise.
88696         * math/w_exp10l.c: Likewise.
88697         * math/w_exp2.c: Likewise.
88698         * math/w_exp2f.c: Likewise.
88699         * math/w_fmod.c: Likewise.
88700         * math/w_fmodf.c: Likewise.
88701         * math/w_fmodl.c: Likewise.
88702         * math/w_hypot.c: Likewise.
88703         * math/w_hypotf.c: Likewise.
88704         * math/w_hypotl.c: Likewise.
88705         * math/w_j0.c: Likewise.
88706         * math/w_j0f.c: Likewise.
88707         * math/w_j0l.c: Likewise.
88708         * math/w_j1.c: Likewise.
88709         * math/w_j1f.c: Likewise.
88710         * math/w_j1l.c: Likewise.
88711         * math/w_jn.c: Likewise.
88712         * math/w_jnf.c: Likewise.
88713         * math/w_jnl.c: Likewise.
88714         * math/w_lgamma.c: Likewise.
88715         * math/w_lgamma_r.c: Likewise.
88716         * math/w_lgammaf.c: Likewise.
88717         * math/w_lgammaf_r.c: Likewise.
88718         * math/w_lgammal.c: Likewise.
88719         * math/w_lgammal_r.c: Likewise.
88720         * math/w_log.c: Likewise.
88721         * math/w_log10.c: Likewise.
88722         * math/w_log10f.c: Likewise.
88723         * math/w_log10l.c: Likewise.
88724         * math/w_log2.c: Likewise.
88725         * math/w_log2f.c: Likewise.
88726         * math/w_log2l.c: Likewise.
88727         * math/w_logf.c: Likewise.
88728         * math/w_logl.c: Likewise.
88729         * math/w_pow.c: Likewise.
88730         * math/w_powf.c: Likewise.
88731         * math/w_powl.c: Likewise.
88732         * math/w_remainder.c: Likewise.
88733         * math/w_remainderf.c: Likewise.
88734         * math/w_remainderl.c: Likewise.
88735         * math/w_scalb.c: Likewise.
88736         * math/w_scalbf.c: Likewise.
88737         * math/w_scalbl.c: Likewise.
88738         * math/w_sinh.c: Likewise.
88739         * math/w_sinhf.c: Likewise.
88740         * math/w_sinhl.c: Likewise.
88741         * math/w_sqrt.c: Likewise.
88742         * math/w_sqrtf.c: Likewise.
88743         * math/w_sqrtl.c: Likewise.
88744         * math/w_tgamma.c: Likewise.
88745         * math/w_tgammaf.c: Likewise.
88746         * math/w_tgammal.c: Likewise.
88748         * po/ja.po: Update from translation team.
88750 2011-09-29  Andreas Jaeger  <aj@suse.de>
88752         [BZ #13179]
88753         * sunrpc/netname.c (netname2host): Fix logic.
88755         [BZ #6779]
88756         [BZ #6783]
88757         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88758         correctly.
88759         * math/w_remainder.c (__remainder): Likewise.
88760         * math/w_remainderf.c (__remainderf): Likewise.
88761         * math/libm-test.inc (remainder_test): Add test cases.
88763 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88765         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88766         sdiv_qrnnd.
88768 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88770         * string/test-memcmp.c: Avoid unncessary #defines.
88771         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88773 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88775         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88776         Use new sse2 version for core i3 - i7 as it's faster
88777         than sse42 version.
88778         (bit_Prefer_PMINUB_for_stringop): New.
88779         * sysdeps/x86_64/rawmemchr.S: Update.
88780         Replace with faster SSE2 version.
88781         * sysdeps/x86_64/memrchr.S: New file.
88782         * sysdeps/x86_64/memchr.S: Update.
88783         Replace with faster SSE2 version.
88785 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88787         * elf/dl-load.c (lose): Add cast to avoid warning.
88789 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88791         * po/ca.po: Update from translation team.
88793         * inet/getnetgrent_r.c: Hook up nscd.
88794         * nscd/Makefile (routines): Add nscd_netgroup.
88795         (nscd-modules): Add netgroupcache.
88796         (CFLAGS-netgroupcache.c): Define.
88797         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88798         (cache_search): Add const to second parameter.
88799         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88800         INNETGR.
88801         (dbs): Add netgrdb entry.
88802         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88803         (verify_persistent_db): Handle netgrdb.
88804         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88805         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88806         GETFDNETGR.
88807         (netgroup_response_header): Define.
88808         (innetgroup_response_header): Define.
88809         (datahead): Add netgroup_response_header and innetgroup_response_header
88810         elements.
88811         * nscd/nscd.conf: Add entries for netgroup cache.
88812         * nscd/nscd.h (dbtype): Add netgrdb.
88813         (_PATH_NSCD_NETGROUP_DB): Define.
88814         (netgroup_iov_disabled): Declare.
88815         (xmalloc, xcalloc, xrealloc): Move declarations here.
88816         (cache_search): Adjust prototype.
88817         Add netgroup-related prototypes.
88818         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88819         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88820         (__nscd_innetgr): Declare.
88821         * nscd/selinux.c (perms): Use access_vector_t as element type and
88822         add netgroup-related initializers.
88823         * nscd/netgroupcache.c: New file.
88824         * nscd/nscd_netgroup.c: New file.
88825         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88826         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88827         For four parameters use innetgr.
88828         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88829         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88830         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88831         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88833         * nscd/connections.c (register_traced_file): Don't register file
88834         for disabled databases.
88836 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88838         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88840         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88841         from tree and freeing node.
88843 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88845         * nss/nsswitch.c (__nss_database_lookup): Handle
88846         nss_parse_service_list out of memory case.
88848 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88850         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88851         out of memory case.
88853 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88855         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88856         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88857         pass it down.
88858         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88859         elf_machine_rela, elf_machine_lazy_rel.
88860         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88861         (ELF_DYNAMIC_DO_REL): Likewise.
88862         (ELF_DYNAMIC_DO_RELA): Likewise.
88863         (ELF_DYNAMIC_RELOCATE): Likewise.
88864         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88865         to ELF_DYNAMIC_DO_REL.
88866         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88867         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88868         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88869         elf_machine_rela.
88870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88871         skip_ifunc, don't call ifunc function if non-zero.
88872         (elf_machine_rela): Likewise.
88873         (elf_machine_lazy_rel): Likewise.
88874         (elf_machine_lazy_rela): Likewise.
88875         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88876         (elf_machine_lazy_rel): Likewise.
88877         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88878         Likewise.
88879         (elf_machine_lazy_rel): Likewise.
88880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88881         Likewise.
88882         (elf_machine_lazy_rel): Likewise.
88883         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88884         (elf_machine_lazy_rel): Likewise.
88885         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88886         (elf_machine_lazy_rel): Likewise.
88887         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88888         (elf_machine_lazy_rel): Likewise.
88889         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88890         (elf_machine_lazy_rel): Likewise.
88891         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88892         (elf_machine_lazy_rel): Likewise.
88893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88894         (elf_machine_lazy_rel): Likewise.
88896 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88898         * nss/nss_files/files-init.c (_nss_files_init): Use static
88899         initialization for all the *_traced_file variables.
88901 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88903         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88905 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88907         [BZ #13226]
88908         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88910 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88913         Reread the line before reparsing it.
88915 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88917         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88919 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88920             Maxim Kuvyrkov  <maxim@codesourcery.com>
88921             Joseph Myers  <joseph@codesourcery.com>
88923         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88924         if needed for __stack_chk_guard.
88926 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88928         * sysdeps/posix/spawni.c (script_execute): Always define it.
88929         It will be optimized away if unused.
88930         (maybe_script_execute): New function.
88931         (__spawni): Call it.
88933         * Makerules: Don't include tls.make.
88934         (config-tls): Always set to thread.
88935         * tls.make.c: File removed.
88937 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88939         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88940         * config.make.in (CPPFLAGS-config): New substituted variable.
88942 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88944         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88946         [BZ #13192]
88947         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88948         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88950 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88952         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88953         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88954         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88955         (CALL_FAIL): Likewise.
88956         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88957         (CALL_FAIL): Macro removed.
88958         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88960 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88962         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88963         for __FINITE_MATH_ONLY__ == 1.
88965 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88967         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88968         __ieee754_sqrt instead of sqrt.
88969         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88970         __ieee754_sqrtf instead of sqrtf.
88971         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88972         __floorf instead of floorf.
88973         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88974         __floorf, __truncf instead of floorf, truncf.
88976 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88978         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88980         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88981         __extern_always_inline.
88982         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88983         32-bit.
88985 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88987         * elf/rtld.c (dl_main): Also relocate in dependency order when
88988         doing symbol dependency testing.
88990 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88992         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88993         Always define `refsym'.
88995 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88997         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88998         (__FD_ELT): Renamed from __FDELT.
88999         * misc/bits/select2.h (__FD_ELT): Likewise.
89000         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89001         __FD_MASK instead of __FDELT, __FDMASK.
89002         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89003         Likewise.
89004         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89005         Likewise.
89007         * elf/Makefile (gen-ldd): Fix pattern.
89009         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89010         (init_tls): Likewise.
89012 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89014         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89016 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89018         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89019         `struct cmsghdr *' instead of `void *'.
89020         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89021         Likewise.
89023 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89025         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89026         if non-absolute.
89027         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89028         ldd_rewrite_script.
89030 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89032         * configure.in: Remove --with-tls option.
89033         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89034         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89035         out in case it is missing.
89036         * sysdeps/ia64/elf/configure.in: Likewise.
89037         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89038         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89039         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89040         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89041         * sysdeps/sh/elf/configure.in: Likewise.
89042         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89043         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89044         * sysdeps/x86_64/elf/configure.in: Likewise.
89045         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89046         * sysdeps/mach/hurd/tls.h: Likewise.
89048         [BZ #13067]
89049         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89051         [BZ #13090]
89052         * configure.in: Fix use of AC_INIT.
89054         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89056 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89058         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89059         __set_errno.
89060         * malloc/hooks.c: Likewise.
89062         [BZ #11929]
89063         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89064         variables statically.
89065         (narenas): Initialize.
89066         (list_lock): Initialize.
89067         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89068         initializtion of main_arena and list_lock.  Small cleanups.
89069         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89070         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89071         Add initializers to main_arena and mp_.
89072         (malloc_state): Remove pagesize member.  Change all users to use
89073         GLRO(dl_pagesize).
89075         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89076         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89077         is always initialized.
89079         * malloc/malloc.c: Removed unused configurations and dead code.
89080         * malloc/arena.c: Likewise.
89081         * malloc/hooks.c: Likewise.
89082         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89084         * include/tls.h: Removed.  USE___THREAD must always be defined.
89085         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89086         * elf/dl-libc.c: Likewise.
89087         * elf/dl-tsd.c: Likewise.
89088         * include/errno.h: Likewise.
89089         * include/netdb.h: Likewise.
89090         * include/resolv.h: Likewise.
89091         * inet/herrno-loc.c: Likewise.
89092         * inet/herrno.c: Likewise.
89093         * malloc/arena.c: Likewise.
89094         * malloc/hooks.c: Likewise.
89095         * malloc/malloc.c: Likewise.
89096         * resolv/res-state.c: Likewise.
89097         * resolv/res_libc.c: Likewise.
89098         * sysdeps/i386/dl-machine.h: Likewise.
89099         * sysdeps/ia64/dl-machine.h: Likewise.
89100         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89101         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89102         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89103         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89104         * sysdeps/sh/dl-machine.h: Likewise.
89105         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89106         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89107         * sysdeps/unix/i386/sysdep.S: Likewise.
89108         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89109         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89110         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89114         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89118         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89119         * sysdeps/x86_64/dl-machine.h: Likewise.
89120         * tls.make.c: Likewise.
89122         * configure.in: Remove --with-__thread option.  Make tests for
89123         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89124         tls_model attribute fail if no support is available.  Remove
89125         USE_IN_LIBIO.
89126         * Makeconfig: Adjust for dropped configure option.  All features are
89127         now mandatory.
89128         * Makerules: Likewise.
89129         * Versions.def: Likewise.
89130         * argp/argp-fmtstream.c: Likewise.
89131         * argp/argp-fmtstream.h: Likewise.
89132         * argp/argp-help.c: Likewise.
89133         * assert/assert.c: Likewise.
89134         * config.h.in: Likewise.
89135         * config.make.in: Likewise.
89136         * configure: Likewise.
89137         * configure.in: Likewise.
89138         * csu/Versions: Likewise.
89139         * csu/init.c: Likewise.
89140         * elf/tst-audit2.c: Likewise.
89141         * elf/tst-tls10.c: Likewise.
89142         * elf/tst-tls10.h: Likewise.
89143         * elf/tst-tls11.c: Likewise.
89144         * elf/tst-tls12.c: Likewise.
89145         * elf/tst-tls14.c: Likewise.
89146         * elf/tst-tlsmod11.c: Likewise.
89147         * elf/tst-tlsmod12.c: Likewise.
89148         * elf/tst-tlsmod13.c: Likewise.
89149         * elf/tst-tlsmod13a.c: Likewise.
89150         * elf/tst-tlsmod14a.c: Likewise.
89151         * elf/tst-tlsmod15b.c: Likewise.
89152         * elf/tst-tlsmod16a.c: Likewise.
89153         * elf/tst-tlsmod16b.c: Likewise.
89154         * elf/tst-tlsmod7.c: Likewise.
89155         * elf/tst-tlsmod8.c: Likewise.
89156         * elf/tst-tlsmod9.c: Likewise.
89157         * gmon/gmon.c: Likewise.
89158         * grp/fgetgrent_r.c: Likewise.
89159         * grp/putgrent.c: Likewise.
89160         * hurd/fopenport.c: Likewise.
89161         * include/libc-symbols.h: Likewise.
89162         * include/tls.h: Likewise.
89163         * intl/gettextP.h: Likewise.
89164         * intl/loadinfo.h: Likewise.
89165         * locale/global-locale.c: Likewise.
89166         * locale/localeinfo.h: Likewise.
89167         * mach/devstream.c: Likewise.
89168         * malloc/arena.c: Likewise.
89169         * malloc/set-freeres.c: Likewise.
89170         * misc/err.c: Likewise.
89171         * misc/getttyent.c: Likewise.
89172         * misc/mntent_r.c: Likewise.
89173         * posix/getopt.c: Likewise.
89174         * posix/wordexp.c: Likewise.
89175         * pwd/fgetpwent_r.c: Likewise.
89176         * resolv/Versions: Likewise.
89177         * resolv/res_hconf.c: Likewise.
89178         * shadow/fgetspent_r.c: Likewise.
89179         * shadow/putspent.c: Likewise.
89180         * stdio-common/printf_fphex.c: Likewise.
89181         * stdio-common/tmpfile.c: Likewise.
89182         * stdlib/abort.c: Likewise.
89183         * stdlib/fmtmsg.c: Likewise.
89184         * sunrpc/auth_unix.c: Likewise.
89185         * sunrpc/clnt_perr.c: Likewise.
89186         * sunrpc/clnt_tcp.c: Likewise.
89187         * sunrpc/clnt_udp.c: Likewise.
89188         * sunrpc/clnt_unix.c: Likewise.
89189         * sunrpc/openchild.c: Likewise.
89190         * sunrpc/svc_simple.c: Likewise.
89191         * sunrpc/svc_tcp.c: Likewise.
89192         * sunrpc/svc_udp.c: Likewise.
89193         * sunrpc/svc_unix.c: Likewise.
89194         * sunrpc/xdr.c: Likewise.
89195         * sunrpc/xdr_array.c: Likewise.
89196         * sunrpc/xdr_rec.c: Likewise.
89197         * sunrpc/xdr_ref.c: Likewise.
89198         * sunrpc/xdr_stdio.c: Likewise.
89200 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89202         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89204 2011-07-03  Andreas Jaeger  <aj@suse.de>
89206         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89207         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89208         regenerate with gen-libm-tests.pl.
89210 2010-05-12  Petr Baudis  <pasky@suse.cz>
89212         [BZ #11589]
89213         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89214         around j0() zero points by switching to j1().
89215         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89216         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89217         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89218         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89220 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89222         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89223         instead of 0.
89224         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89225         instead of 0.
89226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89227         Patch in part by Pavel Roskin <proski@gnu.org>.
89229         [BZ #13138]
89230         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89231         realloc.
89232         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89233         Free memory block if necessary.
89235         [BZ #12847]
89236         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89237         be NULL.  Don't lock in this case.
89239 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89241         * elf/elf.h (ELFOSABI_GNU): New macro.
89242         (ELFOSABI_LINUX): Define to that.
89244 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89246         * string/strncat.c (strncat): Undef the symbol in case it has been
89247         defined in bits/string.h.
89249 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89251         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89253         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89254         link map.
89256 2011-08-17  Andreas Jaeger  <aj@suse.de>
89258         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89260 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89261             Ian Lance Taylor  <iant@google.com>
89263         * math/libm-test.inc (lround_test): New testcase.
89264         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89266 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
89268         * Makefile: Remove support for automatic cvs check-ins.
89269         * Makerules: Likewise.
89270         * config.make.in: Likewise.
89271         * configure.in: Likewise.
89272         * intl/Makefile: Likewise.
89273         * locale/Makefile: Likewise.
89274         * po/Makefile: Likewise.
89275         * posix/Makefile: Likewise.
89276         * sysdeps/gnu/Makefile: Likewise.
89277         * sysdeps/mach/hurd/Makefile: Likewise.
89278         * sysdeps/sparc/sparc32/Makefile: Likewise.
89280         [BZ #13118]
89281         * posix/Makefile (bug-regex32-ENV): Define.
89282         Patch by John Stanley <jpsinthemix@verizon.net>.
89284         * misc/Makefile (headers): Add bits/select2.h.
89285         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89286         * misc/bits/select2.h: New file.
89287         * include/bits/select2.h: New file.
89288         * debug/Makefile (routines): Add fdelt_chk.
89289         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89290         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89291         FD_ISSET.
89292         * debug/fdelt_chk.c: New file.
89294         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
89295         * wcsmbs/test-wmemcmp.c: Likewise.
89296         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89297         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89299 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89301         * string/Makefile (strop-tests): Add memcmp.
89302         * string/test-wmemcmp.c: New file.
89303         * string/test-memcmp.c: Add wmemcmp support.
89305 2011-09-08  Roland McGrath  <roland@hack.frob.com>
89307         [BZ #13153]
89308         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89309         2011-07-19 change.
89311         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89312         garbage value in a __mach_port_mod_refs call in the cases of the
89313         task-self and thread-self ports.
89315 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89317         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89319 2011-09-08  Andreas Schwab  <schwab@redhat.com>
89321         * elf/dl-load.c (lose): Check for non-null L.
89323 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89325         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89327         * elf/dl-libc.c (dlerror_run): Pass back error code from
89328         dl_catch_error.
89330         [BZ #13123]
89331         * elf/dl-load.c (lose): Free l_origin if it is valid.
89333         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89334         names.
89335         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89336         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89337         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89338         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89339         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89340         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89342 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89344         * sysdeps/powerpc/fpu/e_hypot.c: New file.
89345         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89346         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89347         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89348         * sysdeps/powerpc/fpu/k_cosf.c: New file.
89349         * sysdeps/powerpc/fpu/k_sinf.c: New file.
89350         * sysdeps/powerpc/fpu/s_cosf.c: New file.
89351         * sysdeps/powerpc/fpu/s_sinf.c: New file.
89352         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89353         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89355 2011-08-15  Alan Modra  <amodra@gmail.com>
89357         [BZ #13092]
89358         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89359         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89360         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
89361         ppc_mcount to static-only-routines.
89362         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89363         __mcount_internal.
89364         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89365         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
89367 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
89369         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89370         for finite and infinity parameters.
89372 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89375         and add nop instructions for throughput optimization.
89376         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89378 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89380         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89381         aligned copy for power7 with vector-scalar instructions.
89382         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89384 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89387         AVX check.
89389 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89391         [BZ #13144]
89392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89393         last change.
89395 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89397         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89398         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89399         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89401         clock_gettime.
89403 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89405         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89406         Forgot to demangle the pointer.
89408         * sysdeps/i386/sysdep.h: Define atom_text_section.
89409         * sysdeps/x86_64/sysdep.h: Likewise.
89410         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89411         section with atom_text_section.
89412         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89413         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89414         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89415         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89416         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89418         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89419         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89420         already be defined.  Change to take two parameters and don't assign
89421         result to variable.  Adjust all users.
89422         Define INTERNAL_GETTIME if not already defined.
89423         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89424         call.
89425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89426         HAVE_CLOCK_GETTIME_VSYSCALL.
89427         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89430         gettimeofday vsyscall, just use time.
89432 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89435         <errno.h>.
89437 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89439         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89440         syscall on x86-64.
89441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89442         syscall.
89443         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89444         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89445         syscall if possible.
89447 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89449         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89450         e_ident.  Don't pass to find_mapsXX.
89451         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89453 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89456         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89457         * sysdeps/x86_64/multiarch/strchr.S: Update.
89458         Check bit_slow_BSF bit.
89459         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89460         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89461         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89463 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89465         [BZ #13134]
89466         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89467         before glibc 2.15.
89468         (tryshell): Define.
89469         (__spawni): Change last parameter to be flag.  Test
89470         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89471         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89472         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89473         * posix/spawni.c: Likewise.
89474         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89475         * posix/spawnp.c: Likewise.  Change normal version to use
89476         SPAWN_XFLAGS_USE_PATH.
89477         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89478         SPAWN_XFLAGS_TRY_SHELL.
89480         [BZ #13150]
89481         * posix/glob.h: Remove gcc 1.x support.
89483         [BZ #13068]
89484         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89486 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89489         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89490         strrchr-sse2-bsf
89491         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89492         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89493         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89494         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89495         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89496         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89498 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89500         * sysdeps/x86_64/wcscmp.S: New file.
89502         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89503         wcscmp-c wcscmp-sse2
89504         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89505         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89506         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89507         * wcsmbs/wcscmp.c: Allow renaming.
89509 2011-09-05  David S. Miller  <davem@davemloft.net>
89511         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89512         stack slot, rather than the struct return pointer slot.
89513         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89514         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89516         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89518 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89520         * po/ja.po: Update from translation team.
89522         [BZ #13144]
89523         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89524         kernel in 64-bit binaries.
89526 2011-09-01  David S. Miller  <davem@davemloft.net>
89528         * elf/elf.h (HWCAP_SPARC_*): Move to..
89529         * sysdeps/sparc/sysdep.h: this new file and add new values.
89530         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89531         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89532         _DL_HWCAP_COUNT to 24.
89533         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89534         entries.
89535         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89536         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89537         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89539         instead of magic constants.
89540         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89542 2011-08-31  David S. Miller  <davem@davemloft.net>
89544         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89546         Reimplement to do errno handling inline.
89547         (SYSCALL_ERROR_HANDLER): New macro.
89548         (__SYSCALL_STRING): Do not do errno handling in asm.
89549         (__CLONE_SYSCALL_STRING): Delete.
89550         (__INTERNAL_SYSCALL_STRING): Delete.
89551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89552         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89553         (PSEUDO): Reimplement to do errno handling inline.
89554         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89555         (SYSCALL_ERROR_HANDLER): New macro.
89556         (__SYSCALL_STRING): Do not do errno handling in asm.
89557         (__CLONE_SYSCALL_STRING): Delete.
89558         (__INTERNAL_SYSCALL_STRING): Delete.
89559         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89560         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89561         i386.
89562         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89563         (inline_syscall*): Add 'err' argument.
89564         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89565         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89566         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89567         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89569         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89570         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89572 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89574         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89576 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89578         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89579         directive.
89581 2011-08-24  David S. Miller  <davem@davemloft.net>
89583         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89585 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89587         * elf/Makefile: Add rules to build and run unload8 test.
89588         * elf/unload8.c: New file.
89589         * elf/unload8mod1.c: New file.
89590         * elf/unload8mod1x.c: New file.
89591         * elf/unload8mod2.c: New file.
89592         * elf/unload8mod3.c: New file.
89594         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89595         it wasn't used.
89597 2011-08-23  David S. Miller  <davem@davemloft.net>
89599         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89600         subtract stack bias.
89601         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89602         %sp not %fp in calculations.
89603         (_JMPBUF_UNWINDS_ADJ): Likewise.
89605         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89606         (aio_suspend): Call it to force an exception region around the
89607         AIO_MISC_WAIT() invocation.
89609 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89611         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89612         backslash.
89614 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89616         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89617         protection macro.
89618         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89619         and <dl-machine.h>.
89620         (Elf64_FuncDesc): Remove.
89622 2011-08-22  David S. Miller  <davem@davemloft.net>
89624         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89625         sigaltstack check, add missing cfi directives.
89626         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89627         missing cfi directives, and sigaltstack handling.
89629 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89631         [BZ #11724]
89632         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89633         object is seen twice.
89634         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89636         * elf/Makefile (distribute): Add tst-initorder2.c.
89637         (tests): Add tst-initorder2.
89638         (modules-names): Add tst-initorder2a tst-initorder2b
89639         tst-initorder2c tst-initorder2d.  Add rules to build them.
89640         ($(objpfx)tst-initorder2.out): New rule.
89641         * elf/tst-initorder2.c: New file.
89642         * elf/tst-initorder2.exp: New file.
89644 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89646         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89648         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89649         dependencies back to end of function.
89651         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89652         $(elfobjdir)/ld.so.
89654 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89656         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89657         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89658         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89659         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89660         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89661         of __vdso_gettimeofday.
89662         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89663         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89664         attribute_hidden.
89665         (_libc_vdso_platform_setup): Remove initialization of
89666         __vdso_gettimeofday and __vdso_time.
89668 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89670         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89671         and fgetc_unlocked.
89672         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89673         getc_unlocked.
89675         * elf/dl-open.c (add_to_global): Report additions to the global scope
89676         for LD_DEBUG=scopes.
89677         (dl_open_worker): Also print scope of newly loaded dependencies.
89678         (_dl_show_scope): Indicate if there is no scope.
89680         [BZ #13114]
89681         * stdio-common/Makefile (tests): Add bug24.
89682         * stdio-common/bug24.c: New file.
89684 2011-08-19  Andreas Jaeger  <aj@suse.de>
89686         [BZ #13114]
89687         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89688         non-existant file when using close-on-exec mode.
89690 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89692         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89693         the very first instruction.
89695         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89696         the CFI state in the end.
89697         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89698         inclusion of dl-trampoline.h.
89699         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89701 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89703         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89704         expectations for long double.
89706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89707         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89709 2011-08-14  David S. Miller  <davem@davemloft.net>
89711         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89712         artificual limit depends upon the system page size.
89714 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89716         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89717         * resolv/Makefile: Define CFLAGS-libresolv.
89719 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89721         * nss/makedb.c (compute_tables): Make variables used in nested
89722         function static.
89724 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89726         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89727         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89728         if buffer was too small.
89730         * elf/pldd.c (main): Attach to all threads in the process.
89731         Rewrite /proc handling to use *at functions.
89733 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89735         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89736         specifies first scope to show.
89737         (dl_open_worker): Update callers.  Move printing scope of new
89738         object to before the relocation.
89739         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89740         * sysdeps/generic/ldsodefs.h: Update declaration.
89742         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89743         string for the scope number.
89745 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89747         * nscd/servicescache.c (cache_addserv): Make sure written is always
89748         initialized.
89750 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89752         * sysdeps/i386/i486/bits/atomic.h
89753         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89754         statement expression, so as to suppress "set but not used" warning.
89755         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89757         * string/strncat.c (STRNCAT): Use prototype definition.
89759         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89760         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89761         -Iprograms here.
89762         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89763         (localedef-modules): Add localedef.
89764         (locale-modules): Add locale.
89766         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89767         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89768         to avoid a warning.
89770 2011-08-14  David S. Miller  <davem@davemloft.net>
89772         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89773         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89775 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89777         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89778         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89779         * elf/rtld.c (dl_main): Set l_name of vDSO.
89780         Call _dl_show_scope when DL_DEBUG_SCOPES.
89781         (process_dl_debug): Recognize scopes flag and also set it for all.
89782         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89783         Declare _dl_show_scope.
89785         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89786         (do_dlopen): Pass caller_dlopen to dl_open.
89787         (__libc_dlopen_mode): Initialize caller_dlopen.
89789         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89790         of libc.  Make tolower call locale-independent.  Optimize a bit by
89791         using isdigit instead of isalnum.
89792         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89794 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89796         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89797         was a dependency or dynamically loaded.
89799 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89801         * intl/l10nflist.c: Allow architecture-specific pop function.
89802         * sysdeps/x86_64/l10nflist.c: New file.
89804         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89805         classification.
89807 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89809         * include/dirent.h: Add libc_hidden_proto for scandirat and
89810         scandirat64.  Don't declare __scandirat64.
89811         * dirent/scandirat.c: Add libc_hidden_def.
89812         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89813         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89815 2011-08-10  David S. Miller  <davem@davemloft.net>
89817         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89818         enum.
89819         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89821         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89823 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89825         * Versions.def [libc]: Add GLIBC_2.15.
89826         * dirent/Makefile (routines): Add scandirat and scandirat64.
89827         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89828         GLIBC_2.15.
89829         * dirent/dirent.h: Declare scandirat and scandirat64.
89830         * dirent/scandirat.c: New file.
89831         * dirent/scandirat64.c: New file.
89832         * sysdeps/wordsize-64/scandirat.c: New file.
89833         * sysdeps/wordsize-64/scandirat64.c: New file.
89834         * dirent/opendir.c: Define opendirat.
89835         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89836         using scandirat.
89837         * dirent/scandir64.c: Adjust for scandir.c change.
89838         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89839         __scandirat64, and __scandir_cancel_handler.
89840         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89841         additional parameter and use openat instead of open (outside of ld.so).
89842         Add new __opendir as wrapper around __opendirat.
89843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89844         here without requiring old scandirat implementation.
89846 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89848         * dirent/scandir.c (cancel_handler): Renamed to
89849         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89850         defined.  Adjust users.
89851         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89852         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89854 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89856         * string/test-string.h (IMPL): Use __STRING to expand name and then
89857         stringify it.
89859         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89860         of cleanups.
89862 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89864         * string/Makefile: Update.
89865         (strop-tests): Append strncat.
89866         * string/test-wcscmp.c: New file.
89867         New comprehensive test for wcscmp.
89868         * string/test-strcmp.c: Update.
89869         (WIDE): New define.
89871 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89873         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89874         line.
89876 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89879         encoding to ACE if AI_IDN.
89881 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89884         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89886 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89888         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89889         Fix overflow bug in strncat.
89890         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89892         * string/test-strncat.c: Update.
89893         Add new tests for checking overflow bugs.
89895 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89897         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89898         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89899         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89900         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89901         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89902         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89903         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89904         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89905         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89907         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89908         (USE_AS_STRCAT): Define.
89909         Add strcat and strncat support.
89910         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89912 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89914         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89915         __n bigger than INT_MAX+1.
89916         (__strncmp_g): Likewise.
89918 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89920         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89921         * libio/stido.h: Likewise.
89923         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89924         (AF_NFC): Define.
89925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89926         (AF_NFC): Define.
89928         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89929         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89930         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89931         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89932         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89934         [BZ #13021]
89935         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89936         installed.
89938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89939         typo.
89940         (_dl_x86_64_save_sse): Likewise.
89942 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89945         OSXSAVE.
89946         (_dl_x86_64_save_sse): Likewise.
89948         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89950         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89952 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89955         change.
89956         (_dl_x86_64_save_sse): Use correct AVX check.
89958 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89960         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89961         bug in strncpy/strncat.
89962         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89964 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89966         * string/tester.c (test_strcat): Add tests for different alignments
89967         of source and destination.
89968         (test_strncat): Likewise.
89970 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89972         [BZ #12852]
89973         * posix/glob.c (glob): Check passed in values before using them in
89974         expressions to avoid some overflows.
89975         (glob_in_dir): Likewise.
89977         [BZ #13007]
89978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89979         check for AVX enablement so that we don't crash with old kernels and
89980         new hardware.
89981         * elf/tst-audit4.c: Add same checks here.
89982         * elf/tst-audit6.c: Likewise.
89984         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89986 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89988         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89990 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89992         * po/cs.po: Update from translation team.
89993         * po/bg.po: Likewise.
89995 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89997         * misc/sys/cdefs.h: Add support for const attribute.
89998         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89999         to gnu_dev_{major,minor,makedev} functions.
90001 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90003         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90005 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90007         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90008         strlen results.
90010 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90013         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90014         register in order to avoid conflicts with the soft frame pointer
90015         being held in r11 when necessary.
90016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90017         (INTERNAL_VSYSCALL_NCS): Likewise.
90019 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90021         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90022         * elf/dl-fini.c (_dl_fini): Adjust caller.
90023         * elf/dl-close.c (_dl_close_worker): Likewise.
90024         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90026 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90028         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90029         "aux_cache->nlibs < 0".
90031         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90032         in the reload-count case.
90034 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90037         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90038         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90039         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90040         * sysdeps/x86_64/multiarch/strcat.S: New file.
90041         * sysdeps/x86_64/multiarch/strncat.S: New file.
90042         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90043         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90044         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90045         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90047         (USE_AS_STRCAT): Define.
90048         Add strcat and strncat support.
90049         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90050         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90051         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90052         * string/strncat.c: Update.
90053         (USE_AS_STRNCAT): Define.
90054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90055         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90056         and i7.
90057         * sysdeps/x86_64/multiarch/init-arch.h
90058         (bit_Prefer_PMINUB_for_stringop): New.
90059         (index_Prefer_PMINUB_for_stringop): Likewise.
90060         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90061         bit_Prefer_PMINUB_for_stringop.
90063 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90065         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90066         buffer64.
90067         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90068         of casting of buffer.
90069         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90070         buffer32 and buffer64.
90071         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90072         writes instead of casting of buffer.
90073         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90074         buffer32.
90075         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90076         casting of buffer.
90078 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90080         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90082 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90084         * nscd/nscd.c (termination_handler): Don't do anything for a database
90085         if it has not yet been initialized.
90087 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90089         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90091 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90093         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90095 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90097         * po/nl.po: Update from translation team.
90098         * po/sv.po: Likewise.
90100 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90102         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90103         now disallowed by GCC.
90105         * configure.in (use-default-link): Default to yes if a test -shared
90106         link meets our qualifications.
90107         * configure: Regenerated.
90109         * config.make.in (output-format): New variable.
90110         * configure.in: Check for ld --print-output-format support.
90111         * configure: Regenerated.
90112         * Makerules ($(common-objpfx)format.lds)
90113         [$(output-format) != unknown]: Just use $(output-format),
90114         instead of the linker-script munging.
90116 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90118         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90119         of $(common-objpfx)shlib.lds.
90120         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90122         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90123         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90125         * configure.in (-z relro check): Adjust test code to add a large
90126         writable data section after it.
90127         * configure: Regenerated.
90129 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90131         * configure.in (-z relro check): Fix test code to make the variable
90132         truly const.
90133         * configure: Regenerated.
90135 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90137         * nscd/nscd.h (struct traced_file): Define.
90138         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90139         elements.  Add traced_files.
90140         (inotify_fd): Declare.
90141         (register_traced_file): Declare.
90142         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90143         (inotify_fd): Export.
90144         (resolv_conf_descr): Remove.
90145         (nscd_init): Move inotify descriptor creation to main.
90146         Don't register files for notification here.
90147         (register_traced_file): New function.
90148         (invalidate_cache): Don't use reset_res to determine whether to call
90149         res_init, go through the list of registered files.
90150         (main_loop_poll): The inotify descriptors are now stored in the
90151         structures for the traced files.
90152         (main_loop_epoll): Likewise.
90153         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90154         to __nss_disable_nscd.
90155         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90156         for a database anymore.  Check the records for all the registered
90157         files instead.
90158         * nss/Makefile (libnss_files-routines): Add files-init.
90159         (libnss_db-routines): Add db-init.
90160         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90161         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90162         * nss/nss_db/db-init.c: New file.
90163         * nss/nss_files/files-init.c: New file.
90164         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90165         __nss_lookup_function.
90166         (__nss_lookup_function): Call nss_load_library.
90167         (nss_load_all_libraries): New function.
90168         (__nss_disable_nscd): Take parameter with callback function for files
90169         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90170         used for the cached services.
90171         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90172         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90173         options for features to all the files in nscd.
90175         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90177 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90179         * csu/elf-init.c (__libc_csu_init): Comment typo.
90181 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90183         * po/pl.po: Update from translation team.
90184         * po/ja.po: Likewise.
90185         * po/ru.po: Likewise.
90186         * po/ko.po: Likewise.
90187         * po/fr.po: Likewise.
90189 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90191         * configure.in (.ctors/.dtors header and trailer check):
90192         Use an empirical test on a built program.
90193         * configure: Regenerated.
90195         * configure.in (-z relro check): Use an empirical test on a built DSO.
90196         Detect, but do not require, on ia64.
90197         * configure: Regenerated.
90199         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90200         Update tests that use readelf to use $READELF instead.
90201         * configure: Regenerated.
90203 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90205         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90206         if the result is not used.
90208 2011-07-05  Andreas Jaeger  <aj@suse.de>
90210         [BZ #9696]
90211         * stdlib/tst-strtod.c: Add testcase.
90213 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90215         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90216         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90217         The latter has a higher limit.  Take additional parameter to pass to
90218         the new function.
90219         (__pathconf): Pass file to __statfs_link_max.
90220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90221         __statfs_link_max.
90222         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90223         __statfs_link_max.
90225         [BZ #12868]
90226         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90227         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90228         Handle Lustre.
90229         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90230         (__statfs_filesize_max): Likewise.
90231         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90233 2011-07-05  Andreas Jaeger  <aj@suse.de>
90235         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90237 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90239         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90240         `status' variable.
90241         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90242         Likewise.
90244 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90246         * Makefile (strop-tests): Add strncat.
90247         * string/test-strncat.c: New file.
90249 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90251         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90253 2011-06-21  Andreas Jaeger  <aj@suse.de>
90255         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90256         Copy rule from iconvdata/Makefile.
90258 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90260         [BZ #12922]
90261         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90262         but no long options are defined, just return 'W'.
90264 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90266         [BZ #9696]
90267         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90269 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90271         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90272         netgroups to read.
90273         (innetgr): Likewise.
90275 2011-07-05  Roland McGrath  <roland@hack.frob.com>
90277         * config.make.in (install_root): Default to $(DESTDIR).
90279 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
90281         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90283 2011-07-02  Roland McGrath  <roland@hack.frob.com>
90285         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90287         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90288         containing directory rather than embedding absolute directory names.
90290         * scripts/check-local-headers.sh: Rewritten using awk.
90291         Match by word, not by line.  Print error messages for matches.
90292         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90294         * Makerules [shlib-lds-flags empty]:
90295         ($(common-objpfx)libc_pic.opts): New target.
90296         ($(common-objpfx)libc_pic.os.clean): New target.
90297         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90299         * config.make.in (OBJCOPY): New variable.
90300         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90301         * configure: Regenerated.
90303         * config.make.in (use-default-link): New variable.
90304         * configure.in (use_default_link): Grok --with-default-link to set it.
90305         * configure: Regenerated.
90306         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90307         (shlib-lds, shlib-lds-flags): Define to empty.
90309         * Makerules (shlib-lds): New variable.
90310         (shlib-lds-flags): New variable.
90311         (build-shlib, build-moduile, build-module-asneeded): Use it.
90312         ($(common-objpfx)libc.so): Use $(shlib-lds).
90313         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90314         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90316         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90317         DT_FLAGS/DT_FLAGS_1 with zero flags.
90319         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90320         linker script munging.
90322 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
90324         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90325         as 128-bit value.
90326         * crypt/sha512.c (sha512_process_block): Perform total addition using
90327         128-bit if possible.
90328         (__sha512_finish_ctx): Likewise.
90329         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90330         as 64-bit value.
90331         * crypt/sha256.c (SWAP64): Define.
90332         (sha256_process_block): Perform total addition using 64-bit if
90333         possible.
90334         (__sha256_finish_ctx): Likewise.
90336 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
90338         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
90339         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90340         * nscd/hstcache.c (cache_addhst): Likewise.
90341         * nscd/grpcache.c (cache_addgr): Likewise.
90342         * nscd/aicache.c (addhstaiX): Likewise.
90343         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90345 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
90347         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90348         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90349         * nscd/hstcache.c (cache_addhst): Likewise.
90350         * nscd/grpcache.c (cache_addgr): Likewise.
90351         * nscd/aicache.c (addhstaiX): Likewise.
90353 2011-07-01  Andreas Schwab  <schwab@redhat.com>
90355         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90356         domain only when needed.
90358 2011-06-30  Andreas Schwab  <schwab@redhat.com>
90360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90361         is always restored.
90363 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
90365         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90366         are re-adding the entry.
90367         * nscd/servicescache.c (cache_addserv): Likewise.
90369 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
90371         * sysdeps/generic/dl-irel.h: fix protection against multiple
90372         inclusions.
90373         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90375 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
90377         [BZ #12935]
90378         * malloc/memusage.sh: Fix quoting in message.
90379         * debug/xtrace.sh: Likewise.
90381         * configure.in: Remove support for --experimental-malloc option, make
90382         it the default.
90383         * config.make.in: Likewise.
90384         * malloc/Makefile: Likewise.
90386 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90388         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90389         two-byte characters.
90391 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90393         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90394         AC_CACHE_CHECK invocation.
90395         * configure: Regenerated.
90397         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90399 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90401         [BZ #12350]
90402         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90403         bit from old_res_options.
90405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90407         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90408         value type for setfct.
90410 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90412         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90413         __gettimeofday instead of gettimeofday.
90415 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90417         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90419 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90421         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90423         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90424         info.
90426 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90429         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90430         strcpy-sse2-unaligned strncpy-sse2-unaligned
90431         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90432         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90433         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90434         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90435         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90436         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90437         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90438         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90439         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90440         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90441         (STRCPY): Support SSE2 and SSSE3 versions.
90443 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90445         [BZ #12874]
90446         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90447         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90448         kernels which artificially limit size of requests.
90450 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90452         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90453         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90454         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90455         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90456         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90457         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90458         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90459         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90460         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90461         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90462         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90463         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90464         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90465         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90466         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90468         Enable unaligned load optimization for Intel Core i3, i5 and i7
90469         processors.
90470         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90471         Define.
90472         (index_Fast_Unaligned_Load): Define.
90473         (HAS_FAST_UNALIGNED_LOAD): Define.
90475 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90477         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90479 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90481         [BZ #12907]
90482         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90483         until it is clear that the information is realy needed.
90484         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90486 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90490 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90492         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90493         /sys/devices/system/cpu/online if it is usable.
90495         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90496         reading the information from the /proc filesystem to once a second.
90498 2011-06-21  Andreas Jaeger  <aj@suse.de>
90500         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90501         NULL after inclusion of kernel headers.
90503 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90505         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90506         calls to internal_setent.
90508         [BZ #12885]
90509         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90510         addresses using gethostbyname4_r ignore IPv4 addresses.
90512         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90513         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90515         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90517 2011-06-20  David S. Miller  <davem@davemloft.net>
90519         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90520         inclusions.
90521         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90523         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90524         (elf_irel): Use it.
90525         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90526         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90527         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90528         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90529         * sysdeps/x86_64/dl-irel.h: Likewise.
90531         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90532         * elf/dl-sym.c: Likewise.
90534 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90536         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90537         need to dereference resplen2.
90539 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90541         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90543 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90545         * Makeconfig: Define vardbdir and inst_vardbdir.
90546         * nss/Makefile: Add rules to install db-Makefile.
90548         * nss/nss_db/db-XXX.c: Cleanup.
90550         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90551         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90552         GLIBC_PRIVATE.
90553         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90554         * nss/makedb.c: Implement -g option to specify that value strings
90555         are generated and should not be added to table iterated over for
90556         get*ent calls.
90557         * nss/nss_db/db-initgroups.c: New file.
90559         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90560         interface.
90562         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90563         (internal_getgrouplist): Adjust to name change.
90564         Update use_initgroups_entry if this is not the first call.
90565         * nss/databases.def: Add initgroups entry.
90567         * nss/makedb.c (compute_tables): Check result of multiple hash table
90568         sizes to minimize maximum chain length.
90570 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90572         * Versions.def: Add entry for libnss_db.
90573         * shlib-versions: Likewise.
90574         * nss/Makefile: Add rules to build libnss_db.
90575         * nss/Versions: Add libnss_db information.  Organize libnss_files
90576         entries better.
90577         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90578         makedb progra.  Some minor improvements to generate smaller files.
90579         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90580         here from...
90581         * nss/makedb.c: ...here.
90582         Improve database format to be smaller and require less memory at
90583         runtime.
90584         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90585         db anymore.
90586         * nss/nss_db/db-netgrp.c: Likewise.
90587         * nss/nss_db/db-open.c: Likewise.
90588         * nss/nss_files/flies-XXX.x: Adjust comments.
90589         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90590         * nss/nss_files/files-grp.c: Likewise.
90591         * nss/nss_files/files-hosts.c: Likewise.
90592         * nss/nss_files/files-network.c: Likewise.
90593         * nss/nss_files/files-proto.c: Likewise.
90594         * nss/nss_files/files-pwd.c: Likewise.
90595         * nss/nss_files/files-rpc.c: Likewise.
90596         * nss/nss_files/files-service.c: Likewise.
90597         * nss/nss_files/files-sgrp.c: Likewise.
90598         * nss/nss_files/files-spwd.c: Likewise.
90599         * nss/nss_db/db-alias.c: Removed.
90600         * nss/nss_db/dummy-db.h: Removed.
90602 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90604         * nss/makedb.c: Rewritten to not use database library.
90605         * nss/Makefile: Update to build new makedb program.
90607 2011-06-14  Andreas Jaeger  <aj@suse.de>
90609         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90610         memset declaration.
90612 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90615         tmpbuf.
90617 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90619         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90620         * elf/Makefile ($(objpfx)ld.so): Likewise.
90622         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90623         Don't list ld.so twice in dependencies.
90625         * posix/bug-regex31.c: Include <stdlib.h>.
90627         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90629         * nis/nss_compat/compat-spwd.c
90630         (getspent_next_nss_netgr): Remove unused variable.
90631         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90633         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90634         nonmembers" output to use the right array.
90636         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90638         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90640         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90641         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90642         * catgets/gencat.c (read_input_file): Likewise.
90643         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90645         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90646         variable definition inside #if's controlling its use.
90648         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90650         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90652         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90654         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90655         unreachable code.
90657         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90659         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90660         * configure: Regenerated.
90662         * Makerules: Revert last change.
90663         * elf/Makefile: Likewise.
90665 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90667         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90668         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90669         (reloc-link): Likewise.
90671 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90673         * elf/Makefile: Add rules to build pldd.
90674         * elf/pldd.c: New file.
90675         * elf/pldd-xx.c: New file.
90677 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90679         * version.h: Update for 2.15 development version.
90681 2011-06-07  David S. Miller  <davem@davemloft.net>
90683         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90684         ifuncs.
90685         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90686         elf_machine_lazy_rel): Likewise.
90687         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90688         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90689         elf_machine_lazy_rel): Likewise.
90690         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90691         dl_hwcap via passed in argument.
90692         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90693         Likewise.
90695 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90697         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90699 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90701         [BZ #12849]
90702         * manual/fdl-1.1.texi: New file, verbatim from:
90703         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90704         * manual/lgpl-2.1.texi: New file, verbatim from:
90705         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90706         * manual/Makefile (licenses): New variable, list those new file names.
90707         (texis): Use it.
90708         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90710         * manual/fdl.texi: File removed.
90711         * manual/lesser.texi: File removed.
90712         * manual/libc.texinfo (Copying, Documentation License):
90713         Use new @include file names, put @appendix directive before @include.
90715 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90717         [BZ #12841]
90718         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90719         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90720         (mq_open): Add __NTH.
90722 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90725         Assume Intel Core i3/i5/i7 processor if AVX is available.
90727 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90730         typo.
90732 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90734         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90735         memory.  Use alloca_account.  Fix memory leak when retrying.
90737 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90739         * version.h (RELEASE): Bump for 2.14 release.
90740         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90742         * config.make.in (RANLIB): Remove entry.
90744 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90746         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90747         (libc.pot): Work around missing support for .ksh extension in xgettext.
90749         [BZ #12684]
90750         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90751         if both request failed.
90752         (send_dg): In case of server errors clear resplen or *resplen2.
90754         [BZ #12454]
90755         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90756         when there are multiple maps.
90757         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90758         (_dl_fini): Remove test here.
90760         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90762 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90764         [BZ #12350]
90765         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90766         bit from old_res_options.
90767         (gaih_inet): Likewise.
90769         [BZ #11099]
90770         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90771         as signed.
90773         * resolv/res_init.c (res_setoptions): Make the code more compact.
90775         [BZ #11558]
90776         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90777         set RES_USEVC.
90779         [BZ #11634]
90780         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90782         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90784         [BZ #11781]
90785         * malloc/malloc.h: Declare malloc hook variables as volatile.
90787         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90788         in last patch.
90790         [BZ #11799]
90791         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90792         raise in the comment.
90793         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90794         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90795         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90797 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90799         [BZ #12811]
90800         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90801         grow the buffers more if it already has to be sufficient.
90802         (build_wcs_upper_buffer): Likewise.
90803         * posix/regexec.c (check_matching): Likewise.
90804         (clean_state_log_if_needed): Likewise.
90805         (extend_buffers): Don't enlarge buffers beyond size of the input
90806         buffer.
90807         Patches mostly by Emil Wojak <emil@wojak.eu>.
90808         * posix/bug-regex32.c: New file.
90809         * posix/Makefile (tests): Add bug-regex32.
90811         * locale/findlocale.c (_nl_find_locale): Return right away if
90812         _nl_explode_name failed.
90813         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90815         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90817         * debug/xtrace.sh: Unify messages.
90818         * malloc/memusage.sh: Likewise.
90820         [BZ #12813]
90821         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90822         time symbol from vDSO.  Substitute with vsyscall if not available.
90823         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90824         __vdso_time.
90826         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90827         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90828         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90829         Add sendmmsg and internal_sendmmsg.
90830         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90831         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90832         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90834         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90835         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90836         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90838 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90840         [BZ #12813]
90841         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90842         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90843         available.
90844         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90845         __vdso_getcpu.
90847         [BZ #12814]
90848         * iconvdata/Makefile (tests): Add bug-iconv9.
90849         * iconvdata/bug-iconv9.c: New file.
90851 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90853         [BZ #12814]
90854         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90856 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90858         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90859         (struct user_regs_struct): Change intcs field back to cs.
90861 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90863         * po/ja.po: Update from translation team.
90865 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90867         [BZ #12795]
90868         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90869         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90871 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90873         * stdlib/longlong.h: Update from GCC.
90875 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90877         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90878         parameter name.
90879         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90880         Add parameter name.
90881         (__sysconf): Pass it down.
90883 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90885         [BZ #12671]
90886         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90887         some situations.
90888         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90889         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90890         add in in __libc_use_alloca calls.  Adjust callers.
90891         (glob): Use malloc in some situations.
90893         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90894         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90895         pltexit.
90897 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90899         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90900         and CLOCK_BOOTTIME_ALARM.
90902         [BZ #12782]
90903         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90904         is returned.
90906         * string/_strerror.c (__strerror_r): Print negative errors as signed
90907         numbers.
90909         [BZ #12777]
90910         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90911         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90912         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90914         * configure.in: Fix typo in redirection and correct removal of test
90915         files in two cases.
90917         [BZ #12788]
90918         * locale/setlocale.c (new_composite_name): Fix test to check for
90919         identical name of all categories.
90921         [BZ #12792]
90922         * libio/filedoalloc.c (local_isatty): New function.
90923         (_IO_file_doallocate): Use local_isatty.
90924         * stdio-common/perror.c (perror): In case a new stream is used
90925         forward the stream error.
90926         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90927         error flag.
90929 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90931         [BZ #11884]
90932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90933         alloca.
90934         * include/alloca.h (extend_alloca_account): Define.
90936         [BZ #11857]
90937         * posix/regex.h: Fix comments with documentation of user-accessible
90938         fields after compilation and describe correct free'ing of pattern
90939         after re_compile_pattern.
90940         Patch by Reuben Thomas <rrt@sc3d.org>.
90942 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90944         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90945         and -mno-altivec to prevent the compiler from using Altivec and/or
90946         VSX instructions when the corresponding registers are not available.
90948 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90950         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90952 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90954         * libio/freopen.c (freopen): Use __dup2, not dup2.
90955         * libio/freopen64.c (freopen64): Likewise.
90957 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90959         [BZ #12775]
90960         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90961         * math/Makefile (tests): Add test-powl.
90962         (CFLAGS-test-powl.c): Define.
90963         * math/test-powl.c: New file.
90965 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90967         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90969 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90971         [BZ #11837]
90972         * iconvdata/gb18030.c: Update to GB18020-2005.
90974 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90976         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90977         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90978         Patch by Aharon Robbins <arnold@skeeve.com>.
90980         [BZ #11892]
90981         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90982         on the stack.
90984         [BZ #11895]
90985         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90986         through underflows.
90988         [BZ #12766]
90989         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90990         point to strings before performing equality test for error_one_per_line
90991         mode.
90993         [BZ #11697]
90994         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90996         [BZ #11820]
90997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90998         (struct user_fpregs_struct): Avoid __uint*_t types.
91000         [BZ #6420]
91001         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91002         symbol info.  Use it instead of calling _dl_addr locally.
91003         (lock_and_info): New function.
91004         (tr_freehook): Call lock_and_info and pass symbol info as additional
91005         parameter to tr_where.
91006         (tr_mallochook): Likewise.
91007         (tr_reallochook): Likewise.
91008         (tr_memalignhook): Likewise.
91010         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91011         used and couldn't be at all thread-safe.
91013 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91015         * libio/freopen.c (freopen): Don't close old file descriptor
91016         before the new one is opened.  Instead dup the new file descriptor
91017         to the old one after the new stream is created.
91018         * libio/freopen64.c (freopen64): Likewise.
91019         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91020         * libio/fileops.c (_IO_new_file_close_it): Handle new
91021         _IO_FLAGS2_NOCLOSE flag.
91022         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91023         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91024         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91025         _IO_FLAGS2_NOCLOSE flag.
91026         * include/unistd.h: Add hidden_proto for dup3.
91027         Define __have_dup3.
91028         * io/dup3.c: Define hidden symbol.
91029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91031         [BZ #7101]
91032         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91033         when an incomplete long option is used.
91034         * posix/tst-getopt_long1.c: New file.
91035         * posix/Makefile (tests): Add tst-getopt_long1.
91037         [BZ #10138]
91038         * scripts/config.guess: Update from autoconf-2.68.
91039         * scripts/config.sub: Likewise.
91041         [BZ #10157]
91042         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91043         tests into ...
91044         (has_cpuclock): ...this.  New function.
91045         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91046         macro here based on has_cpuclock code.
91048         [BZ #10149]
91049         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91050         First byte (not low byte) is now always NUL.
91051         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91054         Use non-cancelable interfaces.
91056         [BZ #9809]
91057         * locale/iso-639.def: Add entry for Sorani.
91059         [BZ #11901]
91060         * include/stdlib.h: Move include protection to the right place.
91061         Define abort_msg_s.  Declare __abort_msg with it.
91062         * stdlib/abort.c (__abort_msg): Adjust type.
91063         * assert/assert.c (__assert_fail_base): New function.  Majority
91064         of code from __assert_fail.  Allocate memory for __abort_msg with
91065         mmap.
91066         (__assert_fail): Now call __assert_fail_base.
91067         * assert/assert-perr.c: Remove bulk of implementation.  Use
91068         __assert_fail_base.
91069         * include/assert.hL Declare __assert_fail_base.
91070         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91071         mmap.
91072         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91074 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91076         [BZ #11952]
91077         [BZ #12453]
91078         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91079         until all modules are registered in the DTV.
91080         * elf/Makefile: Add rules to build and run tst-tls19.
91081         * elf/tst-tls19.c: New file.
91082         * elf/tst-tls19mod1.c: New file.
91083         * elf/tst-tls19mod2.c: New file.
91084         * elf/tst-tls19mod3.c: New file.
91085         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91087         [BZ #12083]
91088         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91089         correctly.
91091         [BZ #12601]
91092         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91093         two-byte sequence errors.
91094         * iconvdata/Makefile (tests): Add bug-iconv8.
91095         * iconvdata/bug-iconv8.c: New file.
91097         [BZ #12626]
91098         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91099         buf2 definition.
91101         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91103         [BZ #12432]
91104         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91105         (dummy_getcfa): New function.
91106         (init): Get _Unwind_GetCFA address, use dummy if not found.
91107         (backtrace_helper): In recursion check, also check whether CFA changes.
91108         (__backtrace): Completely initialize arg.
91110         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91111         storing incomplete byte sequence in state object.  Avoid testing for
91112         guaranteed too small input if we know there is enough data available.
91114 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91116         * Makeconfig (+link-pie): Indent.
91117         * Rules (binaries-pie): Define if $(have-fpie) and
91118         $(build-shared).
91119         (binaries-shared): Also filter out $(binaries-pie).
91120         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91121         * nscd/Makefile (others-pie): Add nscd.
91122         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91123         ($(objpfx)nscd): Remove command override.
91124         * login/Makefile (others-pie): Add pt_chown.
91125         ($(objpfx)pt_chown): Remove command override.
91126         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91127         remove command overrides.
91129 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91131         * libio/tst_putwc.c: Fix error messages.
91133         [BZ #12724]
91134         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91135         currently writing and seek to current position when not.
91136         * libio/Makefile (tests): Add bug-fclose1.
91137         * libio/bug-fclose1.c: New file.
91139 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91141         [BZ #12511]
91142         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91143         don't set DF_1_NODELETE here.
91144         (do_lookup_x): When entering new entry test for copy relocation
91145         and if necessary set DF_1_NODELETE flag.
91146         * elf/tst-unique4.cc: New file.
91147         * elf/tst-unique4.h: New file.
91148         * elf/tst-unique4lib.cc: New file.
91149         * elf/Makefile: Add rules to build and run tst-unique4.
91150         Patch by Piotr Bury <pbury@goahead.com>.
91152 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91154         [BZ #12052]
91155         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91157         [BZ #12625]
91158         * misc/mntent_r.c (addmntent): Flush the stream after the output
91160         [BZ #12393]
91161         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91162         (is_trusted_path_normalize): Skip initial colon.  Append slash
91163         to empty buffer.  Duplicate is_trusted_path code but allow
91164         constructed patch to be prefix.
91165         (is_dst): Allow $ORIGIN followed by /.
91166         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91167         Correct testing of result of is_trusted_path_normalize
91168         (decompose_rpath): Fix warning.
91170 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91172         [BZ #11257]
91173         * grp/initgroups.c (internal_getgrouplist): When we found the service
91174         list through the initgroups entry in nsswitch.conf do not always
91175         continue on a successful lookup.  Don't always use the
91176         __nss_group_database value if it is set.
91177         * nss/nsswitch.conf (initgroups): Change action for successful db
91178         lookup to continue for compatibility.
91180 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91182         [BZ #11532]
91183         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91184         and CP774 modules.
91185         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91186         and CP774 modules.
91187         * iconvdata/tst-tables.sh: Likewise.
91188         * iconvdata/cp770.c: New file.
91189         * iconvdata/cp771.c: New file.
91190         * iconvdata/cp772.c: New file.
91191         * iconvdata/cp773.c: New file.
91192         * iconvdata/cp774.c: New file.
91193         * iconvdata/testdata/CP770: New file.
91194         * iconvdata/testdata/CP770..UTF8: New file.
91195         * iconvdata/testdata/CP771: New file.
91196         * iconvdata/testdata/CP771..UTF8: New file.
91197         * iconvdata/testdata/CP772: New file.
91198         * iconvdata/testdata/CP772..UTF8: New file.
91199         * iconvdata/testdata/CP773: New file.
91200         * iconvdata/testdata/CP773..UTF8: New file.
91201         * iconvdata/testdata/CP774: New file.
91202         * iconvdata/testdata/CP774..UTF8: New file.
91204         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91205         END CHARMAP line.
91206         * iconvdata/gen-8bit-gap.sh: Likewise.
91207         * iconvdata/gen-8bit.sh: Likewise.
91209         * locale/iso-639.def: Add ary entry.
91211         [BZ #11258]
91212         * locale/C-translit.h.in: Add U20A1 transliteration.
91214         [BZ #12178]
91215         * locale/iso-639.def: Add wae entry.
91216         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91218         [BZ #12545]
91219         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91220         for n.
91222         [BZ #12711]
91223         * locale/C-translit.h.in: Add entry for U20B9.
91224         Patch by pravin.d.s@gmail.com.
91226 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91228         [BZ #12713]
91229         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91230         ENAMETOOLONG use generic getcwd.
91231         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91232         in rtld.  Use *stat64.
91233         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91234         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91235         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91236         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91237         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91238         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91239         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91240         __fstatat64 macros.
91241         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91242         * dirent/rewinddir.c: Add libc_hidden_def.
91243         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91244         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91246         * include/dirent.h (__alloc_dir): Add flags parameter.
91247         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91248         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91249         __alloc_dir.
91250         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91251         from fdopendir if O_CLOEXEC is already set.
91253 2011-03-15  Alan Modra  <amodra@gmail.com>
91255         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91256         l_tls_firstbyte_offset non-zero.  Save padding offset in
91257         l_tls_firstbyte_offset for later use.
91258         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91259         freeing static tls block.
91261 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91263         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91264         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91265         being defined by the kernel headers.
91267 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
91269         [BZ #12734]
91270         * resolv/resolv.h: Define RES_NOTLDQUERY.
91271         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91272         no-tld-query and set RES_NOTLDQUERY.
91273         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91274         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91275         modern BIND to search name as TLD unless forbidden.
91277 2011-05-07  Petr Baudis  <pasky@suse.cz>
91278             Ulrich Drepper  <drepper@gmail.com>
91280         [BZ #12393]
91281         * elf/dl-load.c (fillin_rpath): Move trusted path check...
91282         (is_trusted_path): ...to here.
91283         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91284         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91285         using is_trusted_path_normalize() in setuid scripts.
91287 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
91289         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91290         __BEGIN/__END_DECLS.
91292 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
91294         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91295         NSS_STATUS_NOTFOUND if no record was found.
91297 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91299         * sunrpc/Makefile (headers): Add rpc/netdb.h.
91300         (headers-not-in-tirpc): Remove rpc/netdb.h
91301         * resolv/netdb.h: Revert last change.
91303 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
91305         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91306         circular dependency between libgcc.a and libc.a.
91308 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91310         * resolv/netdb.h: Don't include <rpc/netdb.h>.
91311         * nis/Makefile: Don't install rpcsvc/*.
91312         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91313         instead of <rpc/types.h>.
91314         (MAXHOSTNAMELEN): Define.
91316 2011-05-03  Andreas Schwab  <schwab@redhat.com>
91318         * elf/ldconfig.c (add_dir): Don't crash on empty path.
91320 2011-04-28  Maciej Babinski  <mbabinski@google.com>
91322         [BZ #12714]
91323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91324         gethostbyname4_r when IPv6 results are possible.
91326 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
91328         [BZ #12723]
91329         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91330         _PC_PIPE_BUF handling.
91332 2011-04-30  Bruno Haible  <bruno@clisp.org>
91334         [BZ #12717]
91335         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91336         * resolv/netdb.h (getnameinfo): Change type of flags parameter
91337         to 'int'.
91338         * inet/getnameinfo.c (getnameinfo): Likewise.
91340 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
91342         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91343         to groups setting in database lookup.
91344         * nss/nsswitch.conf: Add initgroups entry.
91346 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
91348         [BZ #12685]
91349         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91350         mode string.
91351         Patch by Eric Blake <eblake@redhat.com>.
91353 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
91355         * sunrpc/Makefile (need-export-routines): Add svc_run.
91356         (routines): Remove svc_run.
91357         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91358         * sunrpc/clnt_perr.c (clnt_perrno): Export.
91359         * sunrpc/svc_run.c (svc_run): Likewise.
91360         * sunrpc/svc_udp.c (svcudp_create): Likewise.
91362 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
91364         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91365         problem in reallocation in last patch.
91367 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
91369         * sunrpc/Makefile: Move inclusion of Rules.
91371 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91373         * nss/nss_files/files-initgroups.c: New file.
91374         * nss/Makefile (libnss_files-routines): Add files-initgroups.
91375         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91376         _nss_files_initgroups_dyn.
91378 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91380         * elf/elf.h (R_ARM_IRELATIVE): Define.
91382 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91384         * po/ru.po: Update from translation team.
91386 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91388         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91389         dependencies.
91391 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91393         [BZ #12653]
91394         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91395         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91396         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91398         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91400 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91402         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91403         differing bytes.
91404         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91405         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91408 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91410         [BZ #12420]
91411         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91412         storing it.
91413         * stdlib/bug-getcontext.c: New file.
91414         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91416 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91418         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91419         instructions into .machine "z9-109".
91420         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91421         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91423 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91425         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91426         between environment variables and auxiliary vector.
91428 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91430         * Makefile: Add rules to build linkobj/libc.so.
91431         * include/libc-symbols.h: Define libc_hidden_nolink.
91432         * include/rpc/auth.h: Mark functions which are to be hidden.
91433         * include/rpc/auth_des.h: Likewise.
91434         * include/rpc/auth_unix.h: Likewise.
91435         * include/rpc/clnt.h: Likewise.
91436         * include/rpc/des_crypt.h: Likewise.
91437         * include/rpc/key_prot.h: Likewise.
91438         * include/rpc/pmap_clnt.h: Likewise.
91439         * include/rpc/pmap_prot.h: Likewise.
91440         * include/rpc/pmap_rmt.h: Likewise.
91441         * include/rpc/rpc_msg.h: Likewise.
91442         * include/rpc/svc.h: Likewise.
91443         * include/rpc/svc_auth.h: Likewise.
91444         * include/rpc/xdr.h: Likewise.
91445         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91446         * nss/Makefile: Likewise.
91447         * sunrpc/Makefile: Don't install headers.  Build library with normal
91448         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91449         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91450         for the compat linking library.  Remove use of INTDEF/INTUSE.
91451         * sunrpc/auth_none.c: Likewise.
91452         * sunrpc/auth_unix.c: Likewise.
91453         * sunrpc/authdes_prot.c: Likewise.
91454         * sunrpc/authuxprot.c: Likewise.
91455         * sunrpc/clnt_gen.c: Likewise.
91456         * sunrpc/clnt_perr.c: Likewise.
91457         * sunrpc/clnt_raw.c: Likewise.
91458         * sunrpc/clnt_simp.c: Likewise.
91459         * sunrpc/clnt_tcp.c: Likewise.
91460         * sunrpc/clnt_udp.c: Likewise.
91461         * sunrpc/clnt_unix.c: Likewise.
91462         * sunrpc/des_crypt.c: Likewise.
91463         * sunrpc/des_soft.c: Likewise.
91464         * sunrpc/get_myaddr.c: Likewise.
91465         * sunrpc/key_call.c: Likewise.
91466         * sunrpc/key_prot.c: Likewise.
91467         * sunrpc/netname.c: Likewise.
91468         * sunrpc/pm_getmaps.c: Likewise.
91469         * sunrpc/pm_getport.c: Likewise.
91470         * sunrpc/pmap_clnt.c: Likewise.
91471         * sunrpc/pmap_prot.c: Likewise.
91472         * sunrpc/pmap_prot2.c: Likewise.
91473         * sunrpc/pmap_rmt.c: Likewise.
91474         * sunrpc/publickey.c: Likewise.
91475         * sunrpc/rpc_cmsg.c: Likewise.
91476         * sunrpc/rpc_common.c: Likewise.
91477         * sunrpc/rpc_dtable.c: Likewise.
91478         * sunrpc/rpc_prot.c: Likewise.
91479         * sunrpc/rpc_thread.c: Likewise.
91480         * sunrpc/rtime.c: Likewise.
91481         * sunrpc/svc.c: Likewise.
91482         * sunrpc/svc_auth.c: Likewise.
91483         * sunrpc/svc_authux.c: Likewise.
91484         * sunrpc/svc_raw.c: Likewise.
91485         * sunrpc/svc_run.c: Likewise.
91486         * sunrpc/svc_simple.c: Likewise.
91487         * sunrpc/svc_tcp.c: Likewise.
91488         * sunrpc/svc_udp.c: Likewise.
91489         * sunrpc/svc_unix.c: Likewise.
91490         * sunrpc/svcauth_des.c: Likewise.
91491         * sunrpc/xcrypt.c: Likewise.
91492         * sunrpc/xdr.c: Likewise.
91493         * sunrpc/xdr_array.c: Likewise.
91494         * sunrpc/xdr_float.c: Likewise.
91495         * sunrpc/xdr_intXX_t.c: Likewise.
91496         * sunrpc/xdr_mem.c: Likewise.
91497         * sunrpc/xdr_rec.c: Likewise.
91498         * sunrpc/xdr_ref.c: Likewise.
91499         * sunrpc/xdr_sizeof.c: Likewise.
91500         * sunrpc/xdr_stdio.c: Likewise.
91502 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91504         [BZ #12650]
91505         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91506         * sysdeps/ia64/dl-tls.h: Likewise.
91507         * sysdeps/powerpc/dl-tls.h: Likewise.
91508         * sysdeps/s390/dl-tls.h: Likewise.
91509         * sysdeps/sh/dl-tls.h: Likewise.
91510         * sysdeps/sparc/dl-tls.h: Likewise.
91511         * sysdeps/x86_64/dl-tls.h: Likewise.
91512         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91514 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91516         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91517         rpath element also skip the following colon.
91518         (expand_dynamic_string_token): Add is_path parameter and pass
91519         down to DL_DST_REQUIRED and _dl_dst_substitute.
91520         (decompose_rpath): Call expand_dynamic_string_token with
91521         non-zero is_path.  Ignore empty rpaths.
91522         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91523         with zero is_path.
91525 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91528         Make cancelable.
91530 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91532         [BZ #12655]
91533         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91534         Patch by Filipe David Manana <fdmanana@apache.org>.
91536 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91538         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91539         Maintain aligned stack.
91540         (CHECK_RSP): Remove unused macro.
91542 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91544         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91545         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91547 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91549         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91551         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91553 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91555         [BZ #12518]
91556         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91557         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91558         * sysdeps/x86_64/memmove.c: New file.
91559         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91560         (memcpy): Renamed to ...
91561         (__new_memcpy): This.
91562         (memcpy): Provide GLIBC_2_14 memcpy.
91563         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91564         (memcpy): Provide GLIBC_2_2_5 memcpy.
91566 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91568         [BZ #12631]
91569         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91571 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91573         * misc/syncfs.c: New file.
91574         * misc/Makefile (routines): Add syncfs.
91575         * posix/unistd.h: Declare syncfs.
91576         * sysdeps/unix/syscalls.list: Add syncfs.
91578 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91580         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91581         open_by_handle_at.
91582         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91583         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91585         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91587         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91590 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91592         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91593         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91594         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91600         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91601         sync_file_range.c with -fexceptions.
91602         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91603         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91604         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91605         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91606         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91607         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91609         sync_file_range as cancellation point
91610         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91611         now a wrapper around __call_sync_file_range with cancellation handling.
91612         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91613         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91614         function name to __call_sync_file_range.
91615         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91616         Add call_sync_file_range.
91618 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91621         bits/timex.h.
91623 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91625         * iconv/iconv.h: Fix typo in comment.
91626         * io/fcntl.h: Likewise.
91627         * libio/stdio.h: Likewise.
91628         * posix/spawn.h: Likewise.
91629         * posix/unistd.h: Likewise.
91630         * stdlib/stdlib.h: Likewise.
91631         * time/time.h: Likewise.
91632         * wcsmbs/wchar.h: Likewise.
91634         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91635         open_by_handle): Add.
91636         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91637         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91638         Augment a few comments.
91639         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91644         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91645         open_by_handle.
91647         * io/fcntl.h (AT_EMPTY_PATH): Define.
91649 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91651         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91652         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91653         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91654         to...
91655         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91656         * Versions.def: Add GLIBC_2.14.
91657         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91658         Export.
91660 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91662         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91663         round counter.
91664         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91666 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91668         [BZ #12597]
91669         * string/test-strncmp.c (do_page_test): New function.
91670         (check2): Likewise.
91671         (test_main): Call check2.
91672         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91674 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91676         [BZ #12587]
91677         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91678         Handle cache information in CPU leaf 4.
91679         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91681 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91683         [BZ #12583]
91684         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91685         character representation.
91686         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91688 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91690         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91691         END(__isnan) to END(__isnanf) to match function entry point/label
91692         EALIGN(__isnanf,...).
91694 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91696         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91698 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91700         [BZ #12510]
91701         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91702         copy from the symbol referenced in the relocation to initialize the
91703         used variable.
91704         Patch by Piotr Bury <pbury@goahead.com>.
91705         * elf/Makefile: Add rules to build and tst-unique3.
91706         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91707         * elf/tst-unique3.cc: New file.
91708         * elf/tst-unique3.h: New file.
91709         * elf/tst-unique3lib.cc: New file.
91710         * elf/tst-unique3lib2.cc: New file.
91712         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91714 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91716         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91717         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91718         to _start.
91720 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91722         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91723         to-be-loaded object along a path to loader is ld.so.
91725 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91726             Ulrich Drepper  <drepper@gmail.com>
91728         * sysdeps/x86_64/memset.S: After aligning destination, code
91729         branches to different locations depending on the value of
91730         misalignment, when multiarch is enabled. Fix this.
91732 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91734         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91735         Set _x86_64_preferred_memory_instruction for AMD processsors.
91736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91737         Set bit_Prefer_SSE_for_memop for AMD processors.
91739 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91741         * libio/fmemopen.c (fmemopen): Optimize a bit.
91743 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91745         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91747 2011-03-03  Roland McGrath  <roland@redhat.com>
91749         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91751 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91753         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91754         __bzero_ultra1 instead of __memset_ultra1.
91756 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91757             Ulrich Drepper  <drepper@gmail.com>
91759         [BZ #12509]
91760         * include/link.h (struct link_map): Add l_orig_initfini.
91761         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91762         returning unsuccessfully.
91763         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91764         close of a file loaded at startup, restore the original l_initfini
91765         list.
91766         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91767         list, store the pointer.
91768         * elf/Makefile ($(objpfx)noload-mem): New rule.
91769         (noload-ENV): Define.
91770         (tests): Add $(objpfx)noload-mem.
91771         * elf/noload.c: Include <memcheck.h>.
91772         (main): Call mtrace.  Close all opened handles.
91774 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91776         [BZ #12454]
91777         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91778         dependencies are missing.
91780 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91782         Fix __if_freereq crash: Unlike the generic version which uses free,
91783         Hurd needs munmap.
91784         * sysdeps/mach/hurd/ifreq.h: New file.
91786 2011-01-27  Petr Baudis  <pasky@suse.cz>
91787             Ulrich Drepper  <drepper@gmail.com>
91789         [BZ 12445]#
91790         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91791         to extend_alloca().
91792         * stdio-common/bug23.c: New file.
91793         * stdio-common/Makefile (tests): Add bug23.
91795 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91796             Ulrich Drepper  <drepper@gmail.com>
91798         [BZ #12489]
91799         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91800         before performing relro protection.  At old place add assertion
91801         to make sure nothing changed.
91803 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91804             Glauber de Oliveira Costa  <glommer@gmail.com>
91806         * elf/elf.h: Add new ARM TLS relocs.
91808 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91811         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91812         cast from r3.
91813         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91814         'tests' variable.
91815         * sysdeps/wordsize-64/tst-writev.c: New file.
91817 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91819         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91820         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91821         insns in _dl_start to prevent a TOC reference before relocs are
91822         resolved.
91824 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91826         [BZ #12469]
91827         * Makeconfig: Remove RANLIB definition.
91828         * Makerules: Don't use RANLIB.
91829         * aclocal.m4: Remove ranlib test.
91830         * configure.in: No need to check for ranlib.
91831         * elf/rtld-Rules: Don't use RANLIB.
91833 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91835         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91836         protection macro.
91837         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91838         inclusion protection macro.
91840         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91841         SIGRTMIN and SIGRTMAX and print information in that case only when
91842         SIGRTMIN is defined.
91844 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91846         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91847         arginfo fn returning -1.
91849         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91850         and thousands string is zero terminated.
91852 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91855         sysdeps/unix/sysv/linux/bits/socket.h.
91857 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91859         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91860         (__CPU_COUNT): Remove old macros.
91861         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91862         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91863         (__CPU_ALLOC, __CPU_FREE): Add macros.
91864         (__sched_cpualloc, __sched_cpufree): Add declarations.
91866 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91868         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91869         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91870         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91871         (readdhstai): Return value of addhstaiX call.
91872         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91873         (addgrbyX): Return value returned by cache_addgr.
91874         (readdgrbyname): Return value returned by addgrbyX.
91875         (readdgrbygid): Likewise.
91876         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91877         (addpwbyX): Return value returned by cache_addpw.
91878         (readdpwbyname): Return value returned by addhstbyX.
91879         (readdpwbyuid): Likewise.
91880         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91881         (addservbyX): Return value returned by cache_addserv.
91882         (readdservbyname): Return value returned by addservbyX:
91883         (readdservbyport): Likewise.
91884         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91885         (addhstbyX): Return value returned by cache_addhst.
91886         (readdhstbyname): Return value returned by addhstbyX.
91887         (readdhstbyaddr): Likewise.
91888         (readdhstbynamev6): Likewise.
91889         (readdhstbyaddrv6): Likewise.
91890         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91891         (readdinitgroups): Return value returned by addinitgroupsX.
91892         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91893         (prune_cache): Keep track of timeout value of re-added entries.
91894         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91895         * nscd/nscd.h: Adjust prototypes of readd* functions.
91897 2011-02-04  Roland McGrath  <roland@redhat.com>
91899         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91900         (nis_stats): Likewise.
91901         * nis/nis_modify.c (nis_modify): Likewise.
91902         * nis/nis_remove.c (nis_remove): Likewise.
91903         * nis/nis_add.c (nis_add): Likewise.
91905         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91907         * posix/fnmatch_loop.c: Add some consts.
91909         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91911 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91913         [BZ #12460]
91914         * config.make.in (config-cflags-novzeroupper): Define.
91915         * configure.in: Substitute libc_cv_cc_novzeroupper.
91916         * elf/Makefile (AVX-CFLAGS): Define.
91917         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91918         (CFLAGS-tst-auditmod4a.c): Likewise.
91919         (CFLAGS-tst-auditmod4b.c): Likewise.
91920         (CFLAGS-tst-auditmod6b.c): Likewise.
91921         (CFLAGS-tst-auditmod6c.c): Likewise.
91922         (CFLAGS-tst-auditmod7b.c): Likewise.
91923         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91925 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91927         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91928         function to the callback.
91929         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91931 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91933         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91934         of errno.
91936 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91938         [BZ #11724]
91939         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91940         of constructors.
91941         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91942         of destructors.
91943         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91945         [BZ #11724]
91946         * elf/Makefile: Add rules to build and run new test.
91947         * elf/tst-initorder.c: New file.
91948         * elf/tst-initorder.exp: New file.
91949         * elf/tst-initordera1.c: New file.
91950         * elf/tst-initordera2.c: New file.
91951         * elf/tst-initordera3.c: New file.
91952         * elf/tst-initordera4.c: New file.
91953         * elf/tst-initorderb1.c: New file.
91954         * elf/tst-initorderb2.c: New file.
91955         * elf/tst-order-a1.c: New file.
91956         * elf/tst-order-a2.c: New file.
91957         * elf/tst-order-a3.c: New file.
91958         * elf/tst-order-a4.c: New file.
91959         * elf/tst-order-b1.c: New file.
91960         * elf/tst-order-b2.c: New file.
91961         * elf/tst-order-main.c: New file.
91962         New test case by George Gensure <werkt0@gmail.com>.
91964 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91967         decoding ACE if AI_CANONIDN.
91969 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91971         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91973 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91975         * version.h (RELEASE): Bump for 2.13 release.
91976         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91978         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91980         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91981         MADV_NOHUGEPAGE.
91982         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91983         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91984         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91985         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91986         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91987         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91989         * posix/getconf.c: Update copyright year.
91990         * catgets/gencat.c: Likewise.
91991         * csu/version.c: Likewise.
91992         * debug/catchsegv.sh: Likewise.
91993         * debug/xtrace.sh: Likewise.
91994         * elf/ldconfig.c: Likewise.
91995         * elf/ldd.bash.in: Likewise.
91996         * elf/sprof.c (print_version): Likewise.
91997         * iconv/iconv_prog.c: Likewise.
91998         * iconv/iconvconfig.c: Likewise.
91999         * locale/programs/locale.c: Likewise.
92000         * locale/programs/localedef.c: Likewise.
92001         * malloc/memusage.sh: Likewise.
92002         * malloc/mtrace.pl: Likewise.
92003         * nscd/nscd.c (print_version): Likewise.
92004         * nss/getent.c: Likewise.
92006         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92007         PF_CAIF, and PF_ALG.
92008         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92010 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92012         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92013         (modules-names): Use them.
92014         (ifunc-test-modules, ifunc-pie-tests): Define.
92015         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92016         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92017         (test-extras): Likewise.
92018         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92019         $(compile-command.c).
92020         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92021         (all-built-dso): Define.
92022         (check-textrel.out, check-execstack.out): Depend on it.
92024         * configure.in: Don't override --enable-multi-arch.
92026 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92028         [BZ #6812]
92029         * nscd/hstcache.c (tryagain): Define.
92030         (cache_addhst): Return tryagain not notfound for temporary errors.
92031         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92032         failed.
92034 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92036         [BZ #10563]
92037         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92038         to make the syscall.
92039         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92041         [BZ #12378]
92042         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92043         and fall back to matching as normal character if the string ends before
92044         the matching ']' is found.  This is what POSIX requires.
92045         * posix/testfnm.c: Adjust test result.
92046         * posix/globtest.sh: Adjust test result.  Add new test.
92047         * posix/tst-fnmatch.input: Likewise.
92048         * posix/tst-fnmatch2.c: Add new test.
92050 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92052         * elf/Makefile (check-execstack): Revert last change.  Depend on
92053         check-execstack.h.
92054         (check-execstack.h): New target.
92055         (generated): Add check-execstack.h.
92056         * elf/check-execstack.c: Include "check-execstack.h".
92057         (main): Revert last change.
92058         (handle_file): Return zero if GNU_STACK is absent and
92059         DEFAULT_STACK_PERMS doesn't include PF_X.
92061 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92063         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92064         in child fails because the descriptor is already closed.
92065         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92066         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92067         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92069         [BZ #12397]
92070         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92071         syscall.
92073         [BZ #10484]
92074         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92075         temporary buffer used to handle multi lookups locally.
92076         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92078 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92080         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92081         loader is ld.so.
92083 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92085         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92086         alignment for SSE2.
92088 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92090         [BZ #12394]
92091         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92092         characters.  When rounding increased number of integer digits recompute
92093         number of groups.
92094         * stdio-common/tst-grouping.c: New file.
92095         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92097 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92099         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92100         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92102         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92103         void.
92104         * bits/select.h: Likewise.
92106 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92108         * po/ja.po: Update from translation team.
92110 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92112         [BZ #11155]
92113         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92114         implementation just like for lxstat, fxstatat, et al.
92116 2010-12-27  Jim Meyering  <meyering@redhat.com>
92118         [BZ #12348]
92119         * posix/regexec.c (build_trtable): Return failure indication upon
92120         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92122 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92124         [BZ #12201]
92125         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92126         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92127         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92128         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92130         [BZ #12207]
92131         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92133         [BZ #12204]
92134         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92135         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92137 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92139         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92140         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92141         script has SORT_BY_INIT_PRIORITY.
92142         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92143         NO_CTORS_DTORS_SECTIONS is defined.
92144         * elf/soinit.c: Likewise.
92145         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92146         NO_CTORS_DTORS_SECTIONS is defined.
92147         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92148         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92149         * sysdeps/sh/init-first.c: Likewise.
92150         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92152 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92154         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92155         always use the slow path.
92157 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92159         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92160         similar rule which adds the sysdep directories to the header search in
92161         order to pick up the correct platform stackinfo.h.
92162         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92163         perform test if it is, otherwise return successfully without testing.
92164         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92165         DEFAULT_STACK_PERMS define in stackinfo.h.
92166         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92167         defined in stackinfo.h.
92168         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92169         DEFAULT_STACK_PERMS defined in stackinfo.h.
92170         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92171         * sysdeps/ia64/stackinfo.h: Likewise.
92172         * sysdeps/s390/stackinfo.h: Likewise.
92173         * sysdeps/sh/stackinfo.h: Likewise.
92174         * sysdeps/sparc/stackinfo.h: Likewise.
92175         * sysdeps/x86_64/stackinfo.h: Likewise.
92176         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92177         PF_X for powerpc64.  Retain PF_X for powerpc32.
92179 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92181         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92182         accurately.
92183         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92184         GETDENTS_64BIT_ALIGNED.
92186 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92188         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92190 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92192         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92193         _GNU_SOURCE.
92195         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92196         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92197         Remove __restrict.
92198         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92199         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92201 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92203         [BZ #11655]
92204         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92205         are initialized.
92207 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92209         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92211 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92213         * po/it.po: Update from translation team.
92215 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92218         unused codes.
92220 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92222         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92224 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92226         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92227         specially.
92228         (gaih_getanswer_slice): Likewise.
92230 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92234 2010-05-31  Petr Baudis  <pasky@suse.cz>
92236         [BZ #11149]
92237         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92238         silently even in the chroot mode.
92240 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92242         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92243         last patch a bit.  Pretty printing
92245 2010-05-31  Petr Baudis <pasky@suse.cz>
92247         [BZ #10085]
92248         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92249         initialization of skip_initgroups_dyn.
92251 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92253         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92254         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92256 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92258         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92260 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92262         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92263         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92264         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92265         ($(objpfx)tst-fnmatch-mem): New rule.
92266         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92267         * posix/tst-fnmatch.c (main): Call mtrace.
92269 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
92271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92272         Support Intel processor model 6 and model 0x2c.
92274 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
92276         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92277           signed comparison.
92279 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
92281         [BZ #12205]
92282         * string/test-strncasecmp.c (check_result): New function.
92283         (do_one_test): Use it.
92284         (check1): New function.
92285         (test_main): Use it.
92286         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92287         Support strcasecmp and strncasecmp.
92289 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
92291         [BZ #12194]
92292         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92293         * sysdeps/x86_64/bits/byteswap.h: Likewise.
92295 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
92297         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92298         IFUNC support.
92299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92300         memset-x86-64.
92301         * sysdeps/x86_64/multiarch/bzero.S: New file.
92302         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92303         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92304         * sysdeps/x86_64/multiarch/memset.S: New file.
92305         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92307         Set bit_Prefer_SSE_for_memop for Intel processors.
92308         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92309         Define.
92310         (index_Prefer_SSE_for_memop): Define.
92311         (HAS_PREFER_SSE_FOR_MEMOP): Define.
92313 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
92315         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92316         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92318 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
92320         [BZ #12191]
92321         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92322         (__x86_64_raw_data_cache_size_half): Likewise.
92323         (__x86_64_raw_shared_cache_size): Likewise.
92324         (__x86_64_raw_shared_cache_size_half): Likewise.
92326         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92327         (__x86_64_raw_data_cache_size_half): Likewise.
92328         (__x86_64_raw_shared_cache_size): Likewise.
92329         (__x86_64_raw_shared_cache_size_half): Likewise.
92330         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92331         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92332         and __x86_64_raw_shared_cache_size_half.  Round
92333         __x86_64_data_cache_size_half, __x86_64_data_cache_size
92334         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92335         to multiple of 256 bytes.
92337 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
92339         [BZ #12167]
92340         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92341         of inacessible symlinks.  Verify result of symlink before returning it.
92342         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92343         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92345 2010-10-28  Erich Ritz  <erichritz@gmail.com>
92347         * math/math.h (isinf): Fix typo in comment.
92349 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
92351         * po/da.po: Update from translation team.
92353 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
92355         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92356         is added to the list.
92358 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92359             Ulrich Drepper  <drepper@gmail.com>
92361         * elf/dl-object.c (_dl_new_object): Don't append the new object to
92362         the global list here.  Move code to...
92363         (_dl_add_to_namespace_list): ...here.  New function.
92364         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92365         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92366         * elf/dl-load.c (lose): Don't remove the element from the list.
92367         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92368         (_dl_map_object): Likewise.
92370 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
92372         [BZ #12159]
92373         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92374         into all bytes of SSE register.
92375         Patch by Richard Li <richardpku@gmail.com>.
92377 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
92379         [BZ #12140]
92380         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92381         perturbing.
92383 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92385         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92386         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92387         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92388         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92390         submachine.
92391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92393 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92395         * include/dlfcn.h (__RTLD_SECURE): Define.
92396         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92397         mode & __RTLD_SECURE instead.
92398         (open_path): Rename preloaded parameter to secure.
92399         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92400         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92401         * elf/dl-deps.c (openaux): Likewise.
92402         * elf/rtld.c (struct map_args): Remove is_preloaded.
92403         (map_doit): Don't use it.
92404         (dl_main): Likewise.
92405         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92406         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92408 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92410         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92411         (sysd-rules-targets): Remove duplicates.
92412         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92413         rtld-%.$o dependency.
92415 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92417         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92418         _dl_map_object do it.
92420 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92422         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92423         fast fma builtins, define the macros in the C99 standard.
92424         (FP_FAST_FMAF): Likewise.
92425         (FP_FAST_FMAL): Likewise.
92426         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92428         * bits/mathdef.h: Update copyright year.
92429         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92431 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92433         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92434         builtins, define the macros in the C99 standard.
92435         (FP_FAST_FMAF): Likewise.
92436         (FP_FAST_FMAL): Likewise.
92437         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92438         multiply/add.
92439         (FP_FAST_FMAF): Likewise.
92441 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92443         [BZ #3268]
92444         * math/libm-test.inc (fma_test): Some new testcases.
92445         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92446         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92447         y and infinite z.  Do multiplication by C already in long double.
92448         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92450         y and infinite z.  Do bitwise or of inexact bit into u.d.
92451         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92452         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92453         * sysdeps/i386/fpu/s_fma.S: Removed.
92454         * sysdeps/i386/fpu/s_fmal.S: Removed.
92456 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92458         [BZ #3268]
92459         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92461         computation is not scheduled after fetestexcept.  Fix value
92462         of minimum denormal long double.
92464 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92466         [BZ #3268]
92467         * math/libm-test.inc (fma_test): Add some more tests.
92468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92469         correctly.
92471 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92473         * scripts/data/localplt-s390-linux-gnu.data: New file.
92474         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92476 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92478         [BZ #3268]
92479         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92480         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92481         instead of dbl-64.
92482         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92483         inlines.
92484         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92486         if one of x and y is very large and the other is subnormal.
92487         * sysdeps/s390/fpu/s_fmaf.c: New file.
92488         * sysdeps/s390/fpu/s_fma.c: New file.
92489         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92490         * sysdeps/powerpc/fpu/s_fma.S: New file.
92491         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92492         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92493         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92495 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92497         [BZ #3268]
92498         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92499         fma tests.
92500         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92501         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92502         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92503         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92504         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92505         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92506         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92508 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92510         [BZ #12078]
92511         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92512         * posix/bug-regex31.input: Add test case.
92514 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92516         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92517         * posix/bug-regex31.input: New file.
92519         [BZ #12078]
92520         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92521         (parse_sub_exp): Fix last change, use postorder.
92523         * posix/bug-regex31.c: New file.
92524         * posix/Makefile: Add rules to build and run bug-regex31.
92526         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92528         [BZ #12078]
92529         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92531         [BZ #12108]
92532         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92533         to have entries in sys_siglist.
92535         [BZ #12093]
92536         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92537         be NULL.
92539 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92541         [BZ #3268]
92542         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92543         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92544         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92545         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92546         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92547         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92548         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92549         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92550         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92551         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92552         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92553         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92554         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92555         * math/ftestexcept.c (fetestexcept): Likewise.
92556         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92557         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92558         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92559         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92560         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92561         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92562         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92564 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92566         [BZ #12107]
92567         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92568         newline.
92570 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92572         * string/bug-strstr1.c: New file.
92573         * string/Makefile: Add rules to build and run bug-strstr1.
92575 2010-10-05  Eric Blake  <eblake@redhat.com>
92577         [BZ #12092]
92578         * string/str-two-way.h (two_way_long_needle): Always clear memory
92579         when skipping input due to the shift table.
92581 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92583         [BZ #12005]
92584         * malloc/mcheck.c: Handle large requests.
92586         [BZ #12077]
92587         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92588         for strncmp and strncasecmp.
92589         * string/stratcliff.c: Add tests for strcmp and strncmp.
92590         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92592 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92594         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92595         __set_fpscr.
92597 2010-09-30  Andreas Jaeger  <aj@suse.de>
92599         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92600         (CGROUP_SUPER_MAGIC): Define.
92601         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92602         Handle btrfs and cgroup file systems.
92603         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92604         Likewise.
92606 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92608         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92609         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92611 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92613         [BZ #12067]
92614         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92615         trying to locate the ELF header.
92617 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92619         [BZ #11611]
92620         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92621         Mask out sign-bit copies when constructing f_fsid.
92623 2010-09-24  Petr Baudis <pasky@suse.cz>
92625         * debug/stack_chk_fail_local.c: Add missing licence exception.
92626         * debug/warning-nop.c: Likewise.
92628 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92630         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92631         implementing getdents64 using getdents syscall, set d_type if
92632         __ASSUME_GETDENTS32_D_TYPE.
92634 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92636         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92637         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92639 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92641         [BZ #12037]
92642         * posix/unistd.h: Undo change of feature selection for ftruncate from
92643         2010-01-11.
92645 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92647         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92648         detection.
92650 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92652         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92653         fanotify_mark.
92654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92656 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92658         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92659         variables after CHECK_SP call.
92660         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92662 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92663             Ulrich Drepper  <drepper@redhat.com>
92665         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92666         re-relocationg ld.so.
92667         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92668         _dl_init_paths call.
92669         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92670         here anymore.
92672 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92674         * resolv/res_init.c (__res_vinit): Count the default server we added.
92676 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92677             Ulrich Drepper  <drepper@redhat.com>
92679         [BZ #11968]
92680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92681         (____longjmp_chk): Use %ebx for saving value across system call.
92682         Add unwind info.
92684 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92686         * manual/Makefile: Don't mix pattern rules with normal rules.
92688 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92690         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92691         operation.
92692         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92693         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92694         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92695         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92697         Likewise.
92699 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92701         [BZ #11979]
92702         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92703         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92705 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92707         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92708         * sysdeps/x86_64/addmul_1.S: Likewise.
92709         * sysdeps/x86_64/lshift.S: Likewise.
92710         * sysdeps/x86_64/mul_1.S: Likewise.
92711         * sysdeps/x86_64/rshift.S: Likewise.
92712         * sysdeps/x86_64/sub_n.S: Likewise.
92713         * sysdeps/x86_64/submul_1.S: Likewise.
92715 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92717         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92718         Define __sched_param instead of SCHED_* and sched_param when
92719         <bits/sched.h> is included with __need_schedparam defined.
92720         * bits/sched.h [__need_schedparam]
92721         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92722         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92723         (__defined_schedparam): Define to 1.
92724         (__sched_param): New structure, identical to sched_param.
92725         (__need_schedparam): Undefine.
92727 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92729         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92730         (epoll_create1): Declare.
92732         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92734 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92736         [BZ #7066]
92737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92738         shifting retval into place.
92740 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92742         * nis/rpcsvc/nis.h: Update copyright notice.
92743         * nis/rpcsvc/nis.x: Likewise.
92744         * nis/rpcsvc/nis_callback.h: Likewise.
92745         * nis/rpcsvc/nis_callback.x: Likewise.
92746         * nis/rpcsvc/nis_object.x: Likewise.
92747         * nis/rpcsvc/nis_tags.h: Likewise.
92748         * nis/rpcsvc/yp.h: Likewise.
92749         * nis/rpcsvc/yp.x: Likewise.
92750         * nis/rpcsvc/ypupd.h: Likewise.
92751         * nis/yp_xdr.c: Likewise.
92752         * nis/ypupdate_xdr.c: Likewise.
92754         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92755         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92756         (pmap_getport): Use __libc_rpc_getport.
92757         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92758         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92759         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92761 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92764         fanotify_mark.
92766 2010-08-27  Roland McGrath  <roland@redhat.com>
92768         * sysdeps/i386/i686/multiarch/Makefile
92769         (CFLAGS-varshift.c): New variable.
92771 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92773         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92774         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92776         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92778         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92780 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92782         * sysdeps/x86_64/strlen.S: Unroll the loop.
92783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92784         strlen-sse2 strlen-sse2-bsf.
92785         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92786         __strlen_no_bsf if bit_Slow_BSF is set.
92787         (__strlen_sse42): Removed.
92788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92789         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92791 2010-08-25  Roland McGrath  <roland@redhat.com>
92793         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92794         * sysdeps/x86_64/multiarch/varshift.c: New file.
92795         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92796         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92797         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92798         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92800 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92803         strlen-sse2 strlen-sse2-bsf.
92804         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92805         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92806         (__strlen_sse2): Removed.
92807         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92808         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92810         bit_Slow_BSF for Atom.
92811         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92812         (index_Slow_BSF): Define.
92813         (HAS_SLOW_BSF): Define.
92815 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92817         [BZ #10851]
92818         * resolv/res_init.c (__res_vinit): When no server address at all
92819         is given default to loopback.
92821 2010-08-24  Roland McGrath  <roland@redhat.com>
92823         * configure.in: Remove config-name.h generation.
92824         * configure: Regenerated.
92825         * config-name.in: File removed.
92826         * scripts/config-uname.sh: New file.
92827         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92828         ($(objdir)config-name.h): New target.
92830         * sunrpc/rpc_parse.h: Avoid nested comment.
92832 2010-08-24  Richard Henderson  <rth@redhat.com>
92833             Ulrich Drepper  <drepper@redhat.com>
92834             H.J. Lu  <hongjiu.lu@intel.com>
92836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92838         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92839         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92840         _mm_alignr_epi8 with _mm_loadu_si128.
92841         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92842         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92843         (__m128i_shift_right): Removed.
92844         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92845         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92846         * sysdeps/x86_64/multiarch/varshift.h: New file.
92847         * sysdeps/x86_64/multiarch/varshift.S: New file.
92849 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92851         * configure.in: Move assembler checks to before sysdep dir checking.
92853 2010-08-20  Petr Baudis  <pasky@suse.cz>
92855         * LICENSES: Sync the sunrpc license.
92857 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92859         * sunrpc/auth_des.c: Update copyright notice once again.
92860         * sunrpc/auth_none.c: Likewise.
92861         * sunrpc/auth_unix.c: Likewise.
92862         * sunrpc/authdes_prot.c: Likewise.
92863         * sunrpc/authuxprot.c: Likewise.
92864         * sunrpc/bindrsvprt.c: Likewise.
92865         * sunrpc/clnt_gen.c: Likewise.
92866         * sunrpc/clnt_perr.c: Likewise.
92867         * sunrpc/clnt_raw.c: Likewise.
92868         * sunrpc/clnt_simp.c: Likewise.
92869         * sunrpc/clnt_tcp.c: Likewise.
92870         * sunrpc/clnt_udp.c: Likewise.
92871         * sunrpc/clnt_unix.c: Likewise.
92872         * sunrpc/des_crypt.c: Likewise.
92873         * sunrpc/des_soft.c: Likewise.
92874         * sunrpc/get_myaddr.c: Likewise.
92875         * sunrpc/getrpcport.c: Likewise.
92876         * sunrpc/key_call.c: Likewise.
92877         * sunrpc/key_prot.c: Likewise.
92878         * sunrpc/openchild.c: Likewise.
92879         * sunrpc/pm_getmaps.c: Likewise.
92880         * sunrpc/pm_getport.c: Likewise.
92881         * sunrpc/pmap_clnt.c: Likewise.
92882         * sunrpc/pmap_prot.c: Likewise.
92883         * sunrpc/pmap_prot2.c: Likewise.
92884         * sunrpc/pmap_rmt.c: Likewise.
92885         * sunrpc/rpc/auth.h: Likewise.
92886         * sunrpc/rpc/auth_unix.h: Likewise.
92887         * sunrpc/rpc/clnt.h: Likewise.
92888         * sunrpc/rpc/des_crypt.h: Likewise.
92889         * sunrpc/rpc/key_prot.h: Likewise.
92890         * sunrpc/rpc/netdb.h: Likewise.
92891         * sunrpc/rpc/pmap_clnt.h: Likewise.
92892         * sunrpc/rpc/pmap_prot.h: Likewise.
92893         * sunrpc/rpc/pmap_rmt.h: Likewise.
92894         * sunrpc/rpc/rpc.h: Likewise.
92895         * sunrpc/rpc/rpc_des.h: Likewise.
92896         * sunrpc/rpc/rpc_msg.h: Likewise.
92897         * sunrpc/rpc/svc.h: Likewise.
92898         * sunrpc/rpc/svc_auth.h: Likewise.
92899         * sunrpc/rpc/types.h: Likewise.
92900         * sunrpc/rpc/xdr.h: Likewise.
92901         * sunrpc/rpc_clntout.c: Likewise.
92902         * sunrpc/rpc_cmsg.c: Likewise.
92903         * sunrpc/rpc_common.c: Likewise.
92904         * sunrpc/rpc_cout.c: Likewise.
92905         * sunrpc/rpc_dtable.c: Likewise.
92906         * sunrpc/rpc_hout.c: Likewise.
92907         * sunrpc/rpc_main.c: Likewise.
92908         * sunrpc/rpc_parse.c: Likewise.
92909         * sunrpc/rpc_parse.h: Likewise.
92910         * sunrpc/rpc_prot.c: Likewise.
92911         * sunrpc/rpc_sample.c: Likewise.
92912         * sunrpc/rpc_scan.c: Likewise.
92913         * sunrpc/rpc_scan.h: Likewise.
92914         * sunrpc/rpc_svcout.c: Likewise.
92915         * sunrpc/rpc_tblout.c: Likewise.
92916         * sunrpc/rpc_util.c: Likewise.
92917         * sunrpc/rpc_util.h: Likewise.
92918         * sunrpc/rpcinfo.c: Likewise.
92919         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92920         * sunrpc/rpcsvc/key_prot.x: Likewise.
92921         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92922         * sunrpc/rpcsvc/mount.x: Likewise.
92923         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92924         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92925         * sunrpc/rpcsvc/rex.x: Likewise.
92926         * sunrpc/rpcsvc/rstat.x: Likewise.
92927         * sunrpc/rpcsvc/rusers.x: Likewise.
92928         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92929         * sunrpc/rpcsvc/spray.x: Likewise.
92930         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92931         * sunrpc/rtime.c: Likewise.
92932         * sunrpc/svc.c: Likewise.
92933         * sunrpc/svc_auth.c: Likewise.
92934         * sunrpc/svc_authux.c: Likewise.
92935         * sunrpc/svc_raw.c: Likewise.
92936         * sunrpc/svc_run.c: Likewise.
92937         * sunrpc/svc_simple.c: Likewise.
92938         * sunrpc/svc_tcp.c: Likewise.
92939         * sunrpc/svc_udp.c: Likewise.
92940         * sunrpc/svc_unix.c: Likewise.
92941         * sunrpc/svcauth_des.c: Likewise.
92942         * sunrpc/xcrypt.c: Likewise.
92943         * sunrpc/xdr.c: Likewise.
92944         * sunrpc/xdr_array.c: Likewise.
92945         * sunrpc/xdr_float.c: Likewise.
92946         * sunrpc/xdr_mem.c: Likewise.
92947         * sunrpc/xdr_rec.c: Likewise.
92948         * sunrpc/xdr_ref.c: Likewise.
92949         * sunrpc/xdr_sizeof.c: Likewise.
92950         * sunrpc/xdr_stdio.c: Likewise.
92952         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92953         handling.
92955 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92957         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92959 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92961         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92962         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92963         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92964         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92965         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92966         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92967         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92968         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92969         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92970         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92971         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92972         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92973         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92974         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92976 2010-07-26  Anton Blanchard  <anton@samba.org>
92978         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92979         * malloc/arena.c (heap_trim): Likewise.
92981 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92983         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92984         here.  Not...
92985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92986         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92988 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92990         * sysdeps/i386/elf/Makefile: New file.
92992 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92994         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92995         from fanotify_init.
92996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92997         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92999 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93001         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93002         of strncasecmp_l.
93003         * sysdeps/multiarch/strcmp.S: Likewise.
93005 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93007         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93008         strncase_l-nonascii.
93009         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93010         Add strncase_l-ssse3.
93011         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93012         * sysdeps/x86_64/strcmp.S: Likewise.
93013         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93014         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93015         * sysdeps/x86_64/strncase.S: New file.
93016         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93017         * sysdeps/x86_64/strncase_l.S: New file.
93018         * string/Makefile (strop-tests): Add strncasecmp.
93019         * string/test-strncasecmp.c: New file.
93021         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93022         warning.
93024         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93025         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93027 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93029         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93031 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93033         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93034         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93035         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93037 2010-05-01  Alan Modra  <amodra@gmail.com>
93039         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93040         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93041         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93042         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93043         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93044         tidying.  Don't tail-call __sigjmp_save for static lib.
93045         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93046         save location.
93047         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93048         (CALL_MCOUNT): Add eh info, and nop after bl.
93049         (TAIL_CALL_SYSCALL_ERROR): New macro.
93050         (PSEUDO_RET): Use it.
93051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93052         Correct save location of integer regs and cr.
93053         (_dl_profile_resolve): Correct cr save location.  Delete nops
93054         after bl when SHARED.  Reduce cfi size a little by better
93055         placement of cfi directives.
93056         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93057         make a stack frame.  Instead use parm save area as a temp.
93058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93059         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93061         Don't make a stack frame for parent, use parm save area.
93062         Increase child stack frame to 112 bytes.  Don't save unused reg,
93063         and adjust reg usage.  Set up cfi on error recovery and
93064         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93066         (__makecontext): Add dummy nop after jump to exit.
93067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93068         Use correct parm save area and cr save, reduce stack frame.
93069         Correct cfi for possible PSEUDO_RET frame setup.
93070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93071         Branch to local label emitted by PSEUDO_RET rather than
93072         __syscall_error.
93074 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93076         [BZ #11904]
93077         * locale/programs/locale.c (print_assignment): New function.
93078         (show_locale_vars): Use it.
93080 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93082         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93083         field.
93084         (struct statfs64): Likewise.
93085         (_STATFS_F_FLAGS): Define.
93086         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93088         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93089         (ST_VALID): Define locally.
93090         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93091         __statvfs_getflags, use the provided value.
93092         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93093         __ASSUME_STATFS_F_FLAGS.
93095         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93097         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93098         Add sys/fanotify.h.
93099         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93100         fanotify_mask for GLIBC_2.13.
93101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93102         fanotify_init and fanotify_mark.
93103         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93104         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93106         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93107         Add prlimit.
93108         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93109         prlimit64 for GLIBC_2.13.
93110         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93111         prlimit64.
93112         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93113         syscall.
93114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93115         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93116         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93117         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93119         add prlimit alias.
93120         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93122         [BZ #11903]
93123         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93124         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93126         * nss/Makefile: Add rules to build and run tst-nss-test1.
93127         * shlib-versions: Add entry for libnss_test1.
93128         * nss/nss_test1.c: New file.
93129         * nss/tst-nss-test1.c: New file.
93131         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93132         (__nss_configure_lookup): Set appropriate entry in
93133         __nss_configure_lookup to true.
93134         * nss/nsswitch.h: Define enum with indeces of databases in
93135         databases and __nss_database_custom arrays.  Declare
93136         __nss_database_custom.
93137         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93138         to avoid using nscd when custom rules are installed.
93139         * nss/getXXbyYY_r.c: Likewise.
93140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93142         * nss/nss_files/files-parse.c: Whitespace fixes.
93144 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93146         [BZ #11883]
93147         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93148         * posix/fnmatch_loop.c: Likewise.
93150 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93152         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93153         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93154         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93155         * Versions.def [GLIBC_2.13]: Add.
93157 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93159         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93160         Also fail if tpwd after pwuid call is NULL.
93162 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93164         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93165         when converting to ms.
93167 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93169         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93170         EOPNOTSUPP errors with ENOTTY.
93171         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93172         EOPNOTSUPP errors with ENOTTY.
93174 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93176         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93177         Add strcasecmp_l-ssse3.
93178         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93179         strcasecmp.
93180         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93181         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93182         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93184 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93186         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93188         * string/Makefile (strop-tests): Add strcasecmp.
93189         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93190         strcasecmp_l-nonascii.
93191         (gen-as-const-headers): Add locale-defines.sym.
93192         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93193         * sysdeps/x86_64/strcasecmp.S: New file.
93194         * sysdeps/x86_64/strcasecmp_l.S: New file.
93195         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93196         * sysdeps/x86_64/locale-defines.sym: New file.
93197         * string/test-strcasecmp.c: New file.
93199         * string/test-strcasestr.c: Test both ends of the range of characters.
93200         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93202 2010-07-29  Roland McGrath  <roland@redhat.com>
93204         [BZ #11856]
93205         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93207 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93209         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93210         for ld.so.
93212 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93214         * manual/memory.texi (Malloc Tunable Parameters): Document
93215         M_PERTURB.
93217 2010-07-26  Roland McGrath  <roland@redhat.com>
93219         [BZ #11840]
93220         * configure.in (-fgnu89-inline check): Set and substitute
93221         gnu89_inline, not libc_cv_gnu89_inline.
93222         * configure: Regenerated.
93223         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93225 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93227         * string/test-strnlen.c: New file.
93228         * string/Makefile (strop-tests): Add strnlen.
93229         * string/tester.c (test_strnlen): Add a few more test cases.
93230         * string/tst-strlen.c: Better error reporting.
93232         * sysdeps/x86_64/strnlen.S: New file.
93234 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93237         lower-latency instructions.
93239 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93241         * string/test-strcasestr.c: New file.
93242         * string/test-strstr.c: New file.
93243         * string/Makefile (strop-tests): Add strstr and strcasestr.
93244         * string/str-two-way.h: Don't undefine MAX.
93245         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93247 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93249         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93250         strcasestr-nonascii.
93251         (CFLAGS-strcasestr-nonascii.c): Define.
93252         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93253         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93254         Remove unused attribute.
93256 2010-07-20  Roland McGrath  <roland@redhat.com>
93258         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93259         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93260         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93261         like LD_HWCAP_MASK can disable hwcaps.
93263 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93265         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93267 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
93269         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93270         call in strcasestr.
93271         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93272         __strcasestr_sse42_nonascii.
93273         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93274         strcasestr-nonascii.c.
93275         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93277 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
93279         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93281         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93282         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93284 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
93286         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93287         fcntl.
93289 2010-07-06  Andreas Schwab  <schwab@redhat.com>
93291         [BZ #11577]
93292         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93293         dl_signal_cerror.
93295 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
93297         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93298         _PC_PIPE_BUF using F_GETPIPE_SZ.
93300 2010-07-05  Roland McGrath  <roland@redhat.com>
93302         * manual/arith.texi (Rounding Functions): Fix rint description
93303         implicit in round description.
93305 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
93307         * elf/Makefile: Fix linking for a few tests to make recent linker
93308         happy.
93310 2010-06-30  Andreas Schwab  <schwab@redhat.com>
93312         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93313         $(common-objpfx)libc_nonshared.a.
93315 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
93317         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93318         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93319         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93320         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93321         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93322         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93323         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93324         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93339         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93340         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93341         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93342         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93343         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93344         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93345         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93346         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93347         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93348         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93349         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93350         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93366 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
93368         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93369         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
93370         * string/memmove.c (memmove): Renamed to ...
93371         (MEMMOVE): ...this.  Default to memmove.
93372         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93373         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93374         (END_CHK): Define.
93375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93376         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93377         mempcpy-ssse3-back memmove-ssse3-back.
93378         * sysdeps/x86_64/multiarch/bcopy.S: New file .
93379         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93380         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93381         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93382         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93383         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93384         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93385         * sysdeps/x86_64/multiarch/memmove.c: New file.
93386         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93387         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93388         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93389         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93390         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93391         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93392         Define.
93393         (index_Fast_Copy_Backward): Define.
93394         (HAS_ARCH_FEATURE): Define.
93395         (HAS_FAST_REP_STRING): Define.
93396         (HAS_FAST_COPY_BACKWARD): Define.
93398 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93400         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93401         Restore proper fallback handling.
93403 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93405         [BZ #11701]
93406         * posix/group_member.c (__group_member): Correct checking loop.
93408         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93409         OOM in getpwuid_r correctly.  Return error number when the caller
93410         should return, otherwise -1.
93411         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93412         call returning > 0 value.
93413         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93415 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93417         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93418         libc_nonshared.a from targets in modules-names.
93420 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93422         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93423         requires it.
93425 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93427         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93428         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93429         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93432 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93434         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93436 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93438         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93439         and F_GETPIPE_SZ.
93440         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93441         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93444         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93445         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93447 2010-06-14  Roland McGrath  <roland@redhat.com>
93449         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93451 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93453         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93454         __REDIRECT followed by __THROW.
93455         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93456         * posix/getopt.h (getopt): Likewise.
93458 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93460         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93461         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93462         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93463         in AT_FLAGS.
93464         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93465         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93467 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93469         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93471 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93473         [BZ #11640]
93474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93475         Properly check family and model.
93477 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93479         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93481 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93483         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93485 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93487         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93488         symbol reference.
93490 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93492         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93493         symbol reference.
93495 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93497         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93498         and internal_recvmmsg.
93499         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93500         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93501         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93502         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93504         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93505         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93506         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93508 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93510         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93512 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93514         POWER7 optimizations.
93515         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93516         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93518 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93520         * version.h: Update for 2.13 development version.
93522 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93524         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93525         exceptions.  Return 0.
93527 2010-05-07  Roland McGrath  <roland@redhat.com>
93529         * elf/ldconfig.c (main): Add a const.
93531 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93533         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93534         (args_options): Add no-idn option.
93535         (ahosts_keys_int): Add idn_flags to ai_flags.
93536         (parse_option): Handle 'i' option to clear idn_flags.
93538         * malloc/malloc.c (_int_free): Possible race in the most recently
93539         added check.  Only act on the data if no current modification
93540         happened.
93542 See ChangeLog.17 for earlier changes.